mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-14 18:52:05 +03:00
First pass colour audit
This gets rid of old and un-used, or lesser-used colour variables.
This commit is contained in:
parent
9b7dc0d53b
commit
b9793c0364
@ -16,7 +16,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.image-uploader a {
|
.image-uploader a {
|
||||||
color: var(--brown);
|
color: var(--midgrey);
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -31,7 +31,7 @@
|
|||||||
left: 0;
|
left: 0;
|
||||||
display: block;
|
display: block;
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
color: var(--brown);
|
color: var(--midgrey);
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
line-height: 12px;
|
line-height: 12px;
|
||||||
}
|
}
|
||||||
@ -130,7 +130,7 @@
|
|||||||
height: auto;
|
height: auto;
|
||||||
background: rgba(0, 0, 0, 0.1);
|
background: rgba(0, 0, 0, 0.1);
|
||||||
border-radius: 2px;
|
border-radius: 2px;
|
||||||
color: var(--brown);
|
color: var(--midgrey);
|
||||||
}
|
}
|
||||||
|
|
||||||
.pre-image-uploader input {
|
.pre-image-uploader input {
|
||||||
@ -141,7 +141,7 @@
|
|||||||
|
|
||||||
.pre-image-uploader a {
|
.pre-image-uploader a {
|
||||||
z-index: 10000;
|
z-index: 10000;
|
||||||
color: var(--brown);
|
color: var(--midgrey);
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -172,7 +172,7 @@
|
|||||||
|
|
||||||
.entry-preview-content .btn,
|
.entry-preview-content .btn,
|
||||||
.content-preview-content .btn {
|
.content-preview-content .btn {
|
||||||
color: var(--grey);
|
color: #e1e1e1;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -180,7 +180,7 @@
|
|||||||
.content-preview-content .img-placeholder {
|
.content-preview-content .img-placeholder {
|
||||||
position: relative;
|
position: relative;
|
||||||
height: 100px;
|
height: 100px;
|
||||||
border: 5px dashed var(--grey);
|
border: 5px dashed #e1e1e1;
|
||||||
}
|
}
|
||||||
|
|
||||||
.entry-preview-content .img-placeholder span,
|
.entry-preview-content .img-placeholder span,
|
||||||
|
@ -404,7 +404,8 @@
|
|||||||
.view-title i {
|
.view-title i {
|
||||||
margin: 0 10px;
|
margin: 0 10px;
|
||||||
color: #818181;
|
color: #818181;
|
||||||
font-size: 1.4rem;
|
font-size: 14px;
|
||||||
|
line-height: 12px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.view-actions {
|
.view-actions {
|
||||||
|
@ -135,7 +135,7 @@
|
|||||||
|
|
||||||
.settings-code-editor.focused {
|
.settings-code-editor.focused {
|
||||||
outline: 0;
|
outline: 0;
|
||||||
border-color: var(--brown);
|
border-color: var(--midgrey);
|
||||||
}
|
}
|
||||||
|
|
||||||
.settings-code-editor .CodeMirror {
|
.settings-code-editor .CodeMirror {
|
||||||
|
@ -109,7 +109,7 @@
|
|||||||
|
|
||||||
.settings-tag .tag-description {
|
.settings-tag .tag-description {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
color: var(--midbrown);
|
color: #e1e1e1;
|
||||||
font-size: 13px;
|
font-size: 13px;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -117,6 +117,6 @@
|
|||||||
position: absolute;
|
position: absolute;
|
||||||
top: 20px;
|
top: 20px;
|
||||||
right: 12px;
|
right: 12px;
|
||||||
color: var(--midbrown);
|
color: #e1e1e1;
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
}
|
}
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
|
|
||||||
.user-list-title {
|
.user-list-title {
|
||||||
margin-bottom: 14px;
|
margin-bottom: 14px;
|
||||||
color: var(--midbrown);
|
color: #a1a1a1;
|
||||||
font-size: 13px;
|
font-size: 13px;
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
}
|
}
|
||||||
@ -74,7 +74,7 @@ a.user-list-item {
|
|||||||
right: 0;
|
right: 0;
|
||||||
left: 0;
|
left: 0;
|
||||||
margin-top: -7px;
|
margin-top: -7px;
|
||||||
color: var(--brown);
|
color: var(--midgrey);
|
||||||
text-align: center;
|
text-align: center;
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
}
|
}
|
||||||
@ -129,7 +129,7 @@ a.user-list-item {
|
|||||||
.user-list-item-body .description {
|
.user-list-item-body .description {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
margin-top: 3px;
|
margin-top: 3px;
|
||||||
color: var(--midbrown);
|
color: #a1a1a1;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
}
|
}
|
||||||
|
@ -182,7 +182,7 @@ textarea {
|
|||||||
width: 18px;
|
width: 18px;
|
||||||
height: 18px;
|
height: 18px;
|
||||||
border: 1px solid #e1e1e1;
|
border: 1px solid #e1e1e1;
|
||||||
background: #f7f7f3;
|
background: #f7f7f7;
|
||||||
}
|
}
|
||||||
|
|
||||||
.for-radio p,
|
.for-radio p,
|
||||||
|
@ -8,19 +8,14 @@
|
|||||||
:root {
|
:root {
|
||||||
/* Colours */
|
/* Colours */
|
||||||
--darkgrey: #242628;
|
--darkgrey: #242628;
|
||||||
--grey: #242628;
|
|
||||||
--midgrey: #7d878a;
|
--midgrey: #7d878a;
|
||||||
--lightgrey: #e2edf2;
|
--lightgrey: #e2edf2;
|
||||||
--lightestgrey: #fcfcfc;
|
|
||||||
--brown: #aaa9a2;
|
|
||||||
--midbrown: #c0bfb6;
|
|
||||||
--blue: #5ba4e5;
|
--blue: #5ba4e5;
|
||||||
--red: #e25440;
|
--red: #e25440;
|
||||||
--orange: #f2a925;
|
--orange: #f2a925;
|
||||||
--green: #9fbb58;
|
--green: #9fbb58;
|
||||||
/* Style values */
|
/* Style values */
|
||||||
--border-radius: 4px;
|
--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: "Open Sans", sans-serif;
|
||||||
--font-family-mono: Consolas, "Liberation Mono", Menlo, Courier, monospace;
|
--font-family-mono: Consolas, "Liberation Mono", Menlo, Courier, monospace;
|
||||||
}
|
}
|
||||||
@ -188,7 +183,7 @@ blockquote p {
|
|||||||
blockquote small {
|
blockquote small {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
margin: 0.8em 0 0.8em 1.5em;
|
margin: 0.8em 0 0.8em 1.5em;
|
||||||
color: var(--brown);
|
color: var(--midgrey);
|
||||||
font-size: 0.9em;
|
font-size: 0.9em;
|
||||||
}
|
}
|
||||||
/* Quotation marks */
|
/* Quotation marks */
|
||||||
|
@ -30,7 +30,7 @@ table td,
|
|||||||
}
|
}
|
||||||
|
|
||||||
.table th {
|
.table th {
|
||||||
color: var(--brown);
|
color: var(--midgrey);
|
||||||
}
|
}
|
||||||
|
|
||||||
.table caption + thead tr:first-child th,
|
.table caption + thead tr:first-child th,
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
<input data-url="upload" class="gh-input btn btn-green" type="file" name="importfile" accept="{{options.acceptEncoding}}">
|
<input data-url="upload" class="gh-input btn-block" type="file" name="importfile" accept="{{options.acceptEncoding}}">
|
||||||
<button type="submit" class="btn btn-blue" id="startupload" disabled={{uploadButtonDisabled}} {{action "upload"}}>
|
<button type="submit" class="btn btn-green btn-block" id="startupload" disabled={{uploadButtonDisabled}} {{action "upload"}}>
|
||||||
{{uploadButtonText}}
|
{{uploadButtonText}}
|
||||||
</button>
|
</button>
|
||||||
|
@ -19,8 +19,8 @@
|
|||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label>Import</label>
|
<label>Import</label>
|
||||||
{{partial "import-errors"}}
|
{{partial "import-errors"}}
|
||||||
{{gh-file-upload id="importfile" uploadButtonText=uploadButtonText}}
|
{{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 & log you out.</p>
|
<p>Import from another Ghost installation. If you import a user, this will replace the current user & log you out.</p>
|
||||||
</div>
|
</div>
|
||||||
</fieldset>
|
</fieldset>
|
||||||
{{/gh-form}}
|
{{/gh-form}}
|
||||||
|
Loading…
Reference in New Issue
Block a user