Light grey theme

This commit is contained in:
narcolepticinsomniac 2018-07-18 20:34:47 -04:00 committed by GitHub
parent a0170359b9
commit b2a74a4cb9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -13,6 +13,8 @@ body {
/* Firefox: fill the entire page for drag'n'drop to work */ /* Firefox: fill the entire page for drag'n'drop to work */
display: flex; display: flex;
height: 100%; height: 100%;
color: hsl(0, 0%, 20%);
background-color: hsl(0, 0%, 88%);
} }
body.all-styles-hidden-by-filters:before, body.all-styles-hidden-by-filters:before,
@ -55,12 +57,12 @@ select {
position: fixed; position: fixed;
top: 0; top: 0;
padding: 1rem; padding: 1rem;
border-right: 1px dashed #AAA;
-webkit-box-shadow: 0 0 50px -18px black;
box-shadow: 0 0 50px -18px black;
overflow: auto; overflow: auto;
box-sizing: border-box; box-sizing: border-box;
z-index: 9; z-index: 9;
background-color: hsl(0, 0%, 88%);
border-right: 1px solid hsl(0, 0%, 80%);
box-shadow: inset -1px 0 0 0 hsla(0, 0%, 100%, .4), 0 0 50px -18px #000;
} }
#update-check, #update-check,
@ -136,11 +138,11 @@ select {
transition: fill .5s; transition: fill .5s;
width: 20px; width: 20px;
height: 20px; height: 20px;
fill: #666; fill: hsl(0, 0%, 56%);
} }
.svg-icon:hover { .svg-icon:hover {
fill: #000; fill: hsl(0, 0%, 10%);
} }
.svg-icon.info { .svg-icon.info {
@ -150,7 +152,9 @@ select {
} }
.svg-icon.config { .svg-icon.config {
transform: scale(.8); height: 16px;
width: 16px;
margin: 2px 0 0 2px;
} }
.homepage { .homepage {
@ -245,7 +249,7 @@ select {
.entry.usercss .style-name-link::after { .entry.usercss .style-name-link::after {
content: "usercss"; content: "usercss";
background-color: hsla(180, 100%, 20%, 1); background-color: hsla(180, 100%, 20%, 1);
color: white; color: #fff;
} }
.disabled h2 .style-name-link, .disabled h2 .style-name-link,
@ -287,10 +291,19 @@ select {
} }
#options-buttons button, #options-buttons button,
#backup-buttons button { #backup-buttons button,
#find-editor-styles {
margin: 0 .2rem .5rem 0; margin: 0 .2rem .5rem 0;
} }
#options-buttons #find-editor-styles button {
margin: 0;
}
#find-editor-styles {
height: min-content;
}
#header details:not([open]), #header details:not([open]),
#header details:not([open]) h2 { #header details:not([open]) h2 {
padding-bottom: 0; padding-bottom: 0;
@ -305,6 +318,11 @@ select {
align-items: center; align-items: center;
margin-left: -13px; margin-left: -13px;
cursor: pointer; cursor: pointer;
transition: .25s color;
}
#header summary:hover {
color: #000;
} }
#header #filters summary { #header #filters summary {
@ -321,10 +339,11 @@ select {
border-bottom: 1px dotted transparent; border-bottom: 1px dotted transparent;
margin-top: .1em; margin-top: .1em;
margin-bottom: .1em; margin-bottom: .1em;
transition: .25s border-color;
} }
#header summary:hover h2 { #header summary:hover h2 {
border-color: #bbb; border-color: #000;
} }
/* compact layout */ /* compact layout */
@ -340,13 +359,18 @@ select {
} }
.newUI .entry { .newUI .entry {
border: 0;
display: table-row; display: table-row;
padding-top: 0; padding-top: 0;
padding-bottom: 0; padding-bottom: 0;
} }
.newUI .entry.even {
background-color: hsl(0, 0%, 88%);
}
.newUI .entry.odd { .newUI .entry.odd {
background-color: rgba(128, 128, 128, 0.05); background-color: hsl(0, 0%, 90%);
} }
.newUI .entry > * { .newUI .entry > * {
@ -356,6 +380,21 @@ select {
vertical-align: middle; vertical-align: middle;
} }
.newUI .entry:not(:first-of-type):not(:last-of-type) > * {
border-bottom: 1px solid hsl(0, 0%, 80%);
box-shadow: inset 0 1px 0 0 hsla(0, 0%, 100%, .4), inset 0 -1px 0 0 hsla(0, 0%, 100%, .4);
}
.newUI .entry.even:first-of-type > * {
border-bottom: 1px solid hsl(0, 0%, 80%);
box-shadow: inset 0 -1px 0 0 hsla(0, 0%, 100%, .4);
}
.newUI .entry.even:last-of-type > *,
.newUI .entry.odd:last-of-type > * {
box-shadow: inset 0 1px 0 0 hsla(0, 0%, 100%, .4);
}
.newUI .entry .actions { .newUI .entry .actions {
position: relative; position: relative;
} }
@ -375,12 +414,30 @@ select {
left: -9px; left: -9px;
} }
#header .filter-selection label {
transition: fill .25s, transform .25s;
will-change transform;
}
#header .filter-selection label:hover + .select-resizer select:not(:hover) {
color: hsl(0, 0%, 14%);
}
#header .filter-selection label:hover + .select-resizer select:not(:hover) + .select-arrow {
fill: hsl(0, 0%, 30%);
transform: rotate(270deg);
}
#header label { #header label {
padding-left: 16px; padding-left: 16px;
position: relative; position: relative;
white-space: nowrap; white-space: nowrap;
} }
.favicon-help-wrapper {
display: inline-flex;
}
#header .filter-selection label { #header .filter-selection label {
display: flex; display: flex;
box-sizing: border-box; box-sizing: border-box;
@ -400,10 +457,13 @@ select {
.filter-selection select { .filter-selection select {
height: 18px; height: 18px;
border: none; border: 0;
max-width: 100%; max-width: 100%;
padding-left: 4px; padding-left: 4px;
padding-right: 14px; padding-right: 14px;
background-image: none;
box-shadow: none;
background-color: transparent;
} }
.filter-selection .select-arrow { .filter-selection .select-arrow {
@ -456,7 +516,12 @@ select {
.newUI .entry .svg-icon.checked, .newUI .entry .svg-icon.checked,
.newUI .entry:hover .svg-icon.checked { .newUI .entry:hover .svg-icon.checked {
fill: #000; fill: hsl(0, 0%, 30%);
}
.newUI .entry input[type="checkbox"]:not(.slider):hover .svg-icon.checked,
.newUI .entry:hover input[type="checkbox"]:not(.slider):hover + .svg-icon.checked {
fill: hsl(0, 0%, 10%);
} }
.newUI .entry input[type="checkbox"]:not(.slider) { .newUI .entry input[type="checkbox"]:not(.slider) {
@ -491,8 +556,12 @@ select {
opacity: 1; opacity: 1;
} }
.newUI .entry .style-name .style-name-link {
color: hsl(0, 0%, 14%);
}
.newUI .entry.enabled .style-name:hover .style-name-link { .newUI .entry.enabled .style-name:hover .style-name-link {
color: hsla(180, 100%, 15%, 1); color: hsl(180, 100%, 15%);
} }
.newUI .style-name:after { .newUI .style-name:after {
@ -519,6 +588,8 @@ select {
margin: 0 6px 0 0; margin: 0 6px 0 0;
width: 20px; width: 20px;
height: 20px; height: 20px;
display: inline-block;
vertical-align: middle;
} }
.newUI .updater-icons > * { .newUI .updater-icons > * {
@ -527,15 +598,15 @@ select {
} }
.newUI .entry .svg-icon { .newUI .entry .svg-icon {
fill: #999; fill: hsl(0, 0%, 70%)
} }
.newUI .entry:hover .svg-icon { .newUI .entry:hover .svg-icon {
fill: #666; fill: hsl(0, 0%, 56%)
} }
.newUI .entry:hover .svg-icon:hover { .newUI .entry:hover a:hover .svg-icon {
fill: #000; fill: hsl(0, 0%, 10%)
} }
.newUI .checking-update .check-update { .newUI .checking-update .check-update {
@ -571,17 +642,17 @@ select {
.newUI .can-update[data-details$="locally edited"] .update svg, .newUI .can-update[data-details$="locally edited"] .update svg,
.newUI .update-problem .check-update svg { .newUI .update-problem .check-update svg {
fill: #ef6969; fill: hsl(0, 42%, 66%);
} }
.newUI .can-update[data-details$="locally edited"]:hover .update svg, .newUI .can-update[data-details$="locally edited"]:hover .update svg,
.newUI .entry.update-problem:hover .check-update svg { .newUI .entry.update-problem:hover .check-update svg {
fill: #fd4040; fill: hsl(0, 60%, 56%);
} }
.newUI .can-update[data-details$="locally edited"]:hover .update svg:hover, .newUI .can-update[data-details$="locally edited"]:hover .update svg:hover,
.newUI .entry.update-problem:hover .check-update svg:hover { .newUI .entry.update-problem:hover .check-update svg:hover {
fill: red; fill: hsl(0, 100%, 36%);
} }
.newUI .actions { .newUI .actions {
@ -594,8 +665,8 @@ select {
margin-top: 18px; margin-top: 18px;
margin-left: -36px; margin-left: -36px;
padding: 1ex 1.5ex; padding: 1ex 1.5ex;
border: 1px solid #ded597; border: 1px solid hsl(0, 0%, 66%);
background-color: #fffbd6; background-color: hsl(0, 0%, 90%);
border-radius: 4px; border-radius: 4px;
box-shadow: 2px 3px 10px rgba(0,0,0,.25); box-shadow: 2px 3px 10px rgba(0,0,0,.25);
font-size: 90%; font-size: 90%;
@ -604,9 +675,9 @@ select {
} }
.newUI .update-problem .check-update:after { .newUI .update-problem .check-update:after {
background-color: red; background-color: hsl(0, 50%, 50%);
border: 1px solid #d40000; border: 1px solid hsl(0, 100%, 25%);
color: white; color: #fff;
animation: none; animation: none;
} }
@ -643,16 +714,31 @@ select {
line-height: 18px; line-height: 18px;
} }
.newUI .applies-to.has-more .targets {
margin-bottom: 12px;
}
.newUI .applies-to.has-more {
position: relative;
}
.newUI .applies-to .expander { .newUI .applies-to .expander {
position: absolute;
left: 0;
bottom: 4px;
margin: 0; margin: 0;
cursor: pointer; cursor: pointer;
font-size: 3ex; font-size: 3ex;
line-height: .5ex; line-height: 2px;
vertical-align: super; height: 12px;
letter-spacing: .1ex; letter-spacing: .1ex;
text-decoration: none; text-decoration: none;
} }
.newUI.firefox .applies-to .expander {
line-height: 0;
}
.newUI .applies-to:not(.has-more) .expander { .newUI .applies-to:not(.has-more) .expander {
display: none; display: none;
} }
@ -720,10 +806,19 @@ select {
#newUIoptions [data-toggle-on-click="#faviconsHelp"] { #newUIoptions [data-toggle-on-click="#faviconsHelp"] {
width: 14px; width: 14px;
height: 14px; height: 14px;
display: inline-block; display: inline-flex;
vertical-align: middle; }
position: relative;
top: -1px; #newUIoptions [data-toggle-on-click="#faviconsHelp"] .svg-icon.select-arrow {
fill: hsl(0, 0%, 56%);
}
#newUIoptions label[for="manage.newUI.favicons"] {
padding-right: 1px;
}
#newUIoptions [data-toggle-on-click="#faviconsHelp"]:hover .svg-icon.select-arrow {
fill: hsl(0, 0%, 10%);
} }
#newUIoptions [data-toggle-on-click] > svg { #newUIoptions [data-toggle-on-click] > svg {
@ -861,7 +956,7 @@ input[id^="manage.newUI"] {
.active #filters-stats { .active #filters-stats {
background-color: darkcyan; background-color: darkcyan;
border-color: darkcyan; border-color: darkcyan;
color: white; color: #fff;
font-size: 0.7rem; font-size: 0.7rem;
font-weight: normal; font-weight: normal;
padding: 2px 5px; padding: 2px 5px;
@ -918,28 +1013,29 @@ input[id^="manage.newUI"] {
max-width: calc(100% - 30px); max-width: calc(100% - 30px);
} }
#manage\.newUI\.sort { #search {
max-width: 100%; font: 400 12px Arial;
max-width: calc(100% - 30px);
background-color: hsl(0, 0%, 92%);
border: 1px solid hsl(0, 0%, 66%);
transition: border-color .25s;
} }
#search { #search[data-focused-via-click]:focus {
max-width: calc(100% - 30px); border-color: hsl(180, 100%, 34%);
} }
#search, #manage\.newUI\.sort { #search, #manage\.newUI\.sort {
flex-grow: 1; flex-grow: 1;
background: #fff;
height: 20px; height: 20px;
box-sizing: border-box; box-sizing: border-box;
padding: 3px 3px 3px 4px; padding: 3px 3px 3px 4px;
font: 400 12px Arial;
color: #000;
border: 1px solid hsl(0, 0%, 66%);
} }
#manage\.newUI\.sort { #manage\.newUI\.sort {
padding: 0 18px 0 4px; padding: 0 18px 0 4px;
width: 100%; width: 100%;
max-width: 100%;
} }
.firefox #manage\.newUI\.sort { .firefox #manage\.newUI\.sort {
@ -999,7 +1095,7 @@ input[id^="manage.newUI"] {
/* drag-n-drop on import button */ /* drag-n-drop on import button */
.dropzone:after { .dropzone:after {
background-color: rgba(0, 0, 0, 0.7); background-color: rgba(0, 0, 0, 0.7);
color: white; color: #fff;
left: 0; left: 0;
top: 0; top: 0;
right: 0; right: 0;
@ -1085,6 +1181,7 @@ input[id^="manage.newUI"] {
@media (max-width: 850px) { @media (max-width: 850px) {
body { body {
display: table; display: table;
background-color: hsl(0, 0%, 93%);
} }
body.all-styles-hidden-by-filters:before { body.all-styles-hidden-by-filters:before {
@ -1102,6 +1199,14 @@ input[id^="manage.newUI"] {
word-break: break-all; word-break: break-all;
} }
.newUI .entry.even {
background-color: hsl(0, 0%, 93%);
}
.newUI .entry.odd {
background-color: hsl(0, 0%, 90%);
}
#installed { #installed {
table-layout: fixed; table-layout: fixed;
} }
@ -1134,7 +1239,7 @@ input[id^="manage.newUI"] {
width: 100%; width: 100%;
position: static; position: static;
border-right: none; border-right: none;
border-bottom: 1px dashed #AAA; background-color: hsl(0, 0%, 90%);
} }
#manage-settings { #manage-settings {
@ -1142,6 +1247,8 @@ input[id^="manage.newUI"] {
flex-wrap: wrap; flex-wrap: wrap;
width: 100%; width: 100%;
padding: .5rem 0 1rem; padding: .5rem 0 1rem;
border-bottom: 1px solid hsl(0, 0%, 80%);
box-shadow: inset 0 0 0 1px hsla(0, 0%, 100%, .4);
} }
#manage-settings > .settings-column { #manage-settings > .settings-column {
@ -1216,10 +1323,6 @@ input[id^="manage.newUI"] {
display: none; display: none;
} }
#header .filter-selection label .checkmate {
margin: 0;
}
.filter-selection select { .filter-selection select {
padding-left: 0; padding-left: 0;
} }