First pass colour audit

This gets rid of old and un-used, or lesser-used colour variables.
This commit is contained in:
John O'Nolan 2015-06-24 12:15:48 +01:00
parent 9b7dc0d53b
commit b9793c0364
11 changed files with 21 additions and 25 deletions

View File

@ -16,7 +16,7 @@
}
.image-uploader a {
color: var(--brown);
color: var(--midgrey);
text-decoration: none;
}
@ -31,7 +31,7 @@
left: 0;
display: block;
padding: 10px;
color: var(--brown);
color: var(--midgrey);
text-decoration: none;
line-height: 12px;
}
@ -130,7 +130,7 @@
height: auto;
background: rgba(0, 0, 0, 0.1);
border-radius: 2px;
color: var(--brown);
color: var(--midgrey);
}
.pre-image-uploader input {
@ -141,7 +141,7 @@
.pre-image-uploader a {
z-index: 10000;
color: var(--brown);
color: var(--midgrey);
text-decoration: none;
}

View File

@ -172,7 +172,7 @@
.entry-preview-content .btn,
.content-preview-content .btn {
color: var(--grey);
color: #e1e1e1;
text-decoration: none;
}
@ -180,7 +180,7 @@
.content-preview-content .img-placeholder {
position: relative;
height: 100px;
border: 5px dashed var(--grey);
border: 5px dashed #e1e1e1;
}
.entry-preview-content .img-placeholder span,

View File

@ -404,7 +404,8 @@
.view-title i {
margin: 0 10px;
color: #818181;
font-size: 1.4rem;
font-size: 14px;
line-height: 12px;
}
.view-actions {

View File

@ -135,7 +135,7 @@
.settings-code-editor.focused {
outline: 0;
border-color: var(--brown);
border-color: var(--midgrey);
}
.settings-code-editor .CodeMirror {

View File

@ -109,7 +109,7 @@
.settings-tag .tag-description {
margin: 0;
color: var(--midbrown);
color: #e1e1e1;
font-size: 13px;
}
@ -117,6 +117,6 @@
position: absolute;
top: 20px;
right: 12px;
color: var(--midbrown);
color: #e1e1e1;
font-size: 16px;
}

View File

@ -16,7 +16,7 @@
.user-list-title {
margin-bottom: 14px;
color: var(--midbrown);
color: #a1a1a1;
font-size: 13px;
font-weight: normal;
}
@ -74,7 +74,7 @@ a.user-list-item {
right: 0;
left: 0;
margin-top: -7px;
color: var(--brown);
color: var(--midgrey);
text-align: center;
font-size: 14px;
}
@ -129,7 +129,7 @@ a.user-list-item {
.user-list-item-body .description {
display: inline-block;
margin-top: 3px;
color: var(--midbrown);
color: #a1a1a1;
white-space: nowrap;
font-size: 12px;
}

View File

@ -182,7 +182,7 @@ textarea {
width: 18px;
height: 18px;
border: 1px solid #e1e1e1;
background: #f7f7f3;
background: #f7f7f7;
}
.for-radio p,

View File

@ -8,19 +8,14 @@
:root {
/* Colours */
--darkgrey: #242628;
--grey: #242628;
--midgrey: #7d878a;
--lightgrey: #e2edf2;
--lightestgrey: #fcfcfc;
--brown: #aaa9a2;
--midbrown: #c0bfb6;
--blue: #5ba4e5;
--red: #e25440;
--orange: #f2a925;
--green: #9fbb58;
/* Style values */
--border-radius: 4px;
--box-shadow: rgba(0,0,0,0.05) 0 1px 5px; /* TODO: not used? */
--font-family: "Open Sans", sans-serif;
--font-family-mono: Consolas, "Liberation Mono", Menlo, Courier, monospace;
}
@ -188,7 +183,7 @@ blockquote p {
blockquote small {
display: inline-block;
margin: 0.8em 0 0.8em 1.5em;
color: var(--brown);
color: var(--midgrey);
font-size: 0.9em;
}
/* Quotation marks */

View File

@ -30,7 +30,7 @@ table td,
}
.table th {
color: var(--brown);
color: var(--midgrey);
}
.table caption + thead tr:first-child th,

View File

@ -1,4 +1,4 @@
<input data-url="upload" class="gh-input btn btn-green" type="file" name="importfile" accept="{{options.acceptEncoding}}">
<button type="submit" class="btn btn-blue" id="startupload" disabled={{uploadButtonDisabled}} {{action "upload"}}>
<input data-url="upload" class="gh-input btn-block" type="file" name="importfile" accept="{{options.acceptEncoding}}">
<button type="submit" class="btn btn-green btn-block" id="startupload" disabled={{uploadButtonDisabled}} {{action "upload"}}>
{{uploadButtonText}}
</button>

View File

@ -19,8 +19,8 @@
<div class="form-group">
<label>Import</label>
{{partial "import-errors"}}
{{gh-file-upload id="importfile" uploadButtonText=uploadButtonText}}
<p>Import from another Ghost installation. If you import a user, this will replace the current user & log you out.</p>
{{gh-file-upload id="importfile" class="flex" uploadButtonText=uploadButtonText}}
<p>Import from another Ghost installation. If you import a user, this will replace the current user &amp; log you out.</p>
</div>
</fieldset>
{{/gh-form}}