forked from Ponysearch/Ponysearch
[theme] replace all hardcoded colors by css vars and drop ununsed vars
This commit is contained in:
parent
452b266387
commit
7c2a518d12
6 changed files with 74 additions and 81 deletions
|
@ -9,7 +9,7 @@
|
||||||
&:active,
|
&:active,
|
||||||
&:focus,
|
&:focus,
|
||||||
&:hover {
|
&:hover {
|
||||||
background-color: var(--background_color);
|
background-color: var(--color-autocompoleter-background);
|
||||||
}
|
}
|
||||||
|
|
||||||
&:empty {
|
&:empty {
|
||||||
|
@ -45,7 +45,7 @@
|
||||||
|
|
||||||
&.open {
|
&.open {
|
||||||
display: block;
|
display: block;
|
||||||
background-color: var(--background_color);
|
background-color: var(--color-autocompleter-background);
|
||||||
border: 1px solid var(--color-base);
|
border: 1px solid var(--color-base);
|
||||||
max-height: 500px;
|
max-height: 500px;
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
|
|
|
@ -11,9 +11,8 @@ html {
|
||||||
--color-base-light: #ecf0f1;
|
--color-base-light: #ecf0f1;
|
||||||
--color-highlight: #094089;
|
--color-highlight: #094089;
|
||||||
--color-black: #000;
|
--color-black: #000;
|
||||||
|
--color-base-border: #d7d7d7;
|
||||||
/// From autocomplete.less
|
--color-base-shadow: #ccc;
|
||||||
--background_color: white;
|
|
||||||
|
|
||||||
/// Modal Colors
|
/// Modal Colors
|
||||||
--color-error: #db3434;
|
--color-error: #db3434;
|
||||||
|
@ -26,65 +25,43 @@ html {
|
||||||
/// General Colors
|
/// General Colors
|
||||||
--color-font: #444;
|
--color-font: #444;
|
||||||
--color-font-light: #888;
|
--color-font-light: #888;
|
||||||
--color-red: #25a55b;
|
|
||||||
--color-url-font: #29314d;
|
--color-url-font: #29314d;
|
||||||
--color-url-visited-font: #684898;
|
--color-url-visited-font: #684898;
|
||||||
|
|
||||||
/// Link Colors
|
|
||||||
--color-a-font: var(--color-base);
|
|
||||||
--color-a-font-hover: var(--color-base);
|
|
||||||
|
|
||||||
/// Header
|
/// Header
|
||||||
--color-header-background: #f7f7f7;
|
--color-header-background: #f7f7f7;
|
||||||
--color-header-border: #d7d7d7;
|
|
||||||
|
|
||||||
/// Footer
|
/// Footer
|
||||||
--color-footer-background: #f7f7f7;
|
--color-footer-background: #f7f7f7;
|
||||||
--color-footer-border: #d7d7d7;
|
|
||||||
|
|
||||||
/// Search-Input
|
/// Search-Input
|
||||||
--color-search-border: var(--color-base);
|
--color-search-border: var(--color-base);
|
||||||
--color-search-background: #fff;
|
--color-search-background: #fff;
|
||||||
--color-search-font: #222;
|
--color-search-font: #222;
|
||||||
|
--color-search-help: white;
|
||||||
|
|
||||||
/// Autocompleter
|
/// Autocompleter
|
||||||
--color-autocompleter-choices-background: #fff;
|
--color-autocompleter-background: white;
|
||||||
--color-autocompleter-choices-border: var(--color-base);
|
|
||||||
--color-autocompleter-choices-border-left-right: var(--color-base);
|
|
||||||
--color-autocompleter-choices-border-bottom: var(--color-base);
|
|
||||||
--color-autocompleter-choices-font: #444;
|
|
||||||
|
|
||||||
/// Answers
|
|
||||||
--color-answers-border: var(--color-base-dark);
|
|
||||||
|
|
||||||
// Selected
|
|
||||||
--color-autocompleter-selected-background: #444;
|
|
||||||
--color-autocompleter-selected-font: #fff;
|
|
||||||
--color-autocompleter-selected-queried-font: #9fcfff;
|
|
||||||
|
|
||||||
/// Categories
|
/// Categories
|
||||||
--color-categories-item-selected: var(--color-base);
|
--color-categories-item-selected: var(--color-base);
|
||||||
--color-categories-item-selected-font: #fff;
|
--color-categories-item-selected-font: #fff;
|
||||||
--color-categories-item-border-selected: var(--color-base-dark);
|
--color-categories-item-border-selected: var(--color-base-dark);
|
||||||
--color-categories-item-border-unselected: #e8e7e6;
|
--color-categories-item-border-unselected: #e8e7e6;
|
||||||
--color-categories-item-border-unselected-hover: var(--color-base);
|
|
||||||
|
|
||||||
/// Results
|
/// Results
|
||||||
--color-suggestions-button-background: var(--color-base);
|
|
||||||
--color-suggestions-button-font: #fff;
|
|
||||||
--color-download-button-background: var(--color-base);
|
--color-download-button-background: var(--color-base);
|
||||||
--color-download-button-font: #fff;
|
--color-download-button-font: #fff;
|
||||||
--color-result-search-background: var(--color-base-light);
|
|
||||||
--color-result-definition-border: gray;
|
|
||||||
--color-result-torrent-border: lightgray;
|
--color-result-torrent-border: lightgray;
|
||||||
--color-result-top-border: #e8e7e6;
|
--color-result-top-border: #e8e7e6;
|
||||||
|
--color-result-vim-selected: #f7f7f7;
|
||||||
|
|
||||||
// Link to result
|
// Link to result
|
||||||
--color-result-link-font: var(--color-base-dark);
|
--color-result-link-font: var(--color-base-dark);
|
||||||
--color-result-link-visited-font: var(--color-url-visited-font);
|
--color-result-link-visited-font: var(--color-url-visited-font);
|
||||||
|
|
||||||
// Url to result
|
// Url to result
|
||||||
--color-result-url-font: var(--color-red);
|
--color-result-url-font: #25a55b;
|
||||||
|
|
||||||
// Publish Date
|
// Publish Date
|
||||||
--color-result-publishdate-font: var(--color-font-light);
|
--color-result-publishdate-font: var(--color-font-light);
|
||||||
|
@ -98,21 +75,40 @@ html {
|
||||||
--color-result-search-url-font: #444;
|
--color-result-search-url-font: #444;
|
||||||
|
|
||||||
/// Settings
|
/// Settings
|
||||||
--color-settings-fieldset: var(--color-base);
|
|
||||||
--color-settings-table-striped: #dbdbdb;
|
|
||||||
--color-settings-tr-hover: #ececec;
|
--color-settings-tr-hover: #ececec;
|
||||||
|
--color-settings-engine-description-font: darken(#dcdcdc, 30%);
|
||||||
|
|
||||||
// Labels
|
// Labels
|
||||||
--color-settings-label-allowed-background: #e74c3c;
|
|
||||||
--color-settings-label-allowed-font: #fff;
|
|
||||||
--color-settings-label-deny-background: #2eee71;
|
|
||||||
--color-settings-label-deny-font: var(--color-font);
|
|
||||||
--color-settings-return-background: var(--color-base);
|
--color-settings-return-background: var(--color-base);
|
||||||
--color-settings-return-font: #fff;
|
--color-settings-return-font: #fff;
|
||||||
|
|
||||||
/// Other
|
/// Other
|
||||||
--color-engines-font: var(--color-font-light);
|
--color-engines-font: var(--color-font-light);
|
||||||
--color-percentage-div-background: #444;
|
|
||||||
|
/// From Toolkit
|
||||||
|
--color-toolkit-badge-font: #fff;
|
||||||
|
--color-toolkit-badge-background: #777;
|
||||||
|
--color-toolkit-kbd-font: #fff;
|
||||||
|
--color-toolkit-kbd-background: #000;
|
||||||
|
--color-toolkit-dialog-border: #000;
|
||||||
|
--color-toolkit-dialog-background: #fff;
|
||||||
|
--color-toolkit-tabs-label-border: #fff;
|
||||||
|
--color-toolkit-tabs-section-border: #000;
|
||||||
|
--color-toolkit-select-border: #d7d7d7;
|
||||||
|
--color-toolkit-checkbox-onoff-background: #dcdcdc;
|
||||||
|
--color-toolkit-checkbox-onoff-label-shadow: rgba(0, 0, 0, 0.3);
|
||||||
|
--color-toolkit-checkbox-onoff-label-background: #3498db;
|
||||||
|
--color-toolkit-checkbox-onoff-checked-background: #dcdcdc;
|
||||||
|
--color-toolkit-checkbox-label-background: #fff;
|
||||||
|
--color-toolkit-checkbox-label-shadow1: #fff;
|
||||||
|
--color-toolkit-checkbox-label-shadow2: rgba(0, 0, 0, 0.5);
|
||||||
|
--color-toolkit-checkbox-label-border: #333;
|
||||||
|
--color-toolkit-checkbox-input-border: #3498db;
|
||||||
|
--color-toolkit-loader-border: rgba(0, 0, 0, 0.2);
|
||||||
|
--color-toolkit-loader-borderleft: rgba(255, 255, 255, 0);
|
||||||
|
--color-toolkit-engine-tooltip-border: #ddd;
|
||||||
|
--color-toolkit-engine-tooltip-shadow: rgba(0, 0, 0, 0.1);
|
||||||
|
--color-toolkit-engine-tooltip-background: #fff;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// General Size
|
/// General Size
|
||||||
|
@ -122,6 +118,9 @@ html {
|
||||||
@results-gap: 5rem;
|
@results-gap: 5rem;
|
||||||
@search-width: 40rem;
|
@search-width: 40rem;
|
||||||
|
|
||||||
|
/// From style.less
|
||||||
|
@stacked-bar-chart: rgb(0, 0, 0);
|
||||||
|
|
||||||
/// Load fonts from this directory.
|
/// Load fonts from this directory.
|
||||||
@icon-font-path: "../../../fonts/";
|
@icon-font-path: "../../../fonts/";
|
||||||
//** File name for all font files.
|
//** File name for all font files.
|
||||||
|
|
|
@ -40,7 +40,7 @@
|
||||||
padding: 5px 0 0 0;
|
padding: 5px 0 0 0;
|
||||||
float: left;
|
float: left;
|
||||||
width: 50%;
|
width: 50%;
|
||||||
color: darken(#dcdcdc, 30%);
|
color: var(--color-settings-engine-description-font);
|
||||||
font-size: 90%;
|
font-size: 90%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -84,7 +84,7 @@
|
||||||
|
|
||||||
.preferences_back {
|
.preferences_back {
|
||||||
background: none repeat scroll 0 0 var(--color-settings-return-background);
|
background: none repeat scroll 0 0 var(--color-settings-return-background);
|
||||||
color: white;
|
color: var(--color-settings-return-font);
|
||||||
border: 0 none;
|
border: 0 none;
|
||||||
.rounded-corners;
|
.rounded-corners;
|
||||||
|
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
padding: 0 2em 0 @results-offset;
|
padding: 0 2em 0 @results-offset;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
background: var(--color-header-background);
|
background: var(--color-header-background);
|
||||||
border-bottom: 1px solid var(--color-header-border);
|
border-bottom: 1px solid var(--color-base-border);
|
||||||
}
|
}
|
||||||
|
|
||||||
#search_wrapper {
|
#search_wrapper {
|
||||||
|
@ -225,13 +225,9 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
input[type="checkbox"]:focus + label {
|
input[type="checkbox"]:focus + label {
|
||||||
box-shadow: 0 0 8px #3498db;
|
box-shadow: 0 0 8px var(--color-base);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* label:hover {
|
|
||||||
border-bottom: 2px solid @color-categories-item-border-unselected-hover;
|
|
||||||
} */
|
|
||||||
|
|
||||||
input[type="checkbox"]:checked + label {
|
input[type="checkbox"]:checked + label {
|
||||||
background: var(--color-categories-item-selected);
|
background: var(--color-categories-item-selected);
|
||||||
color: var(--color-categories-item-selected-font);
|
color: var(--color-categories-item-selected-font);
|
||||||
|
@ -251,7 +247,7 @@
|
||||||
transition: opacity 1s ease;
|
transition: opacity 1s ease;
|
||||||
font-size: 0.8em;
|
font-size: 0.8em;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
background: white;
|
background: var(--color-search-help);
|
||||||
}
|
}
|
||||||
|
|
||||||
&:hover .help {
|
&:hover .help {
|
||||||
|
|
|
@ -6,8 +6,6 @@
|
||||||
|
|
||||||
// stylelint-disable no-descending-specificity
|
// stylelint-disable no-descending-specificity
|
||||||
|
|
||||||
@stacked-bar-chart: rgb(0, 0, 0);
|
|
||||||
|
|
||||||
@import "../../__common__/less/new_issue.less";
|
@import "../../__common__/less/new_issue.less";
|
||||||
@import "../../__common__/less/stats.less";
|
@import "../../__common__/less/stats.less";
|
||||||
@import "../../__common__/less/result_templates.less";
|
@import "../../__common__/less/result_templates.less";
|
||||||
|
@ -79,7 +77,7 @@ footer {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
background-color: var(--color-footer-background);
|
background-color: var(--color-footer-background);
|
||||||
border-top: 1px solid var(--color-footer-border);
|
border-top: 1px solid var(--color-base-border);
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
|
|
||||||
p {
|
p {
|
||||||
|
@ -125,7 +123,7 @@ a {
|
||||||
}
|
}
|
||||||
|
|
||||||
article[data-vim-selected] {
|
article[data-vim-selected] {
|
||||||
background: #f7f7f7;
|
background: var(--color-result-vim-selected);
|
||||||
}
|
}
|
||||||
|
|
||||||
article[data-vim-selected]::before {
|
article[data-vim-selected]::before {
|
||||||
|
@ -452,9 +450,9 @@ article.result-images[data-vim-selected]::before {
|
||||||
|
|
||||||
#answers {
|
#answers {
|
||||||
grid-area: answers;
|
grid-area: answers;
|
||||||
border: 1px solid #ddd;
|
border: 1px solid var(--color-base-border);
|
||||||
padding: 0.9em;
|
padding: 0.9em;
|
||||||
box-shadow: 0 0 5px #ccc;
|
box-shadow: 0 0 5px var(--color-base-shadow);
|
||||||
|
|
||||||
h4 {
|
h4 {
|
||||||
display: none;
|
display: none;
|
||||||
|
@ -480,10 +478,10 @@ article.result-images[data-vim-selected]::before {
|
||||||
|
|
||||||
.infobox {
|
.infobox {
|
||||||
margin: 10px 0 10px;
|
margin: 10px 0 10px;
|
||||||
border: 1px solid #ddd;
|
border: 1px solid var(--color-base-border);
|
||||||
padding: 0.9em;
|
padding: 0.9em;
|
||||||
font-size: 0.9em;
|
font-size: 0.9em;
|
||||||
box-shadow: 0 0 5px #ccc;
|
box-shadow: 0 0 5px var(--color-base-shadow);
|
||||||
|
|
||||||
h2 {
|
h2 {
|
||||||
margin: 0 0 0.5em 0;
|
margin: 0 0 0.5em 0;
|
||||||
|
@ -571,11 +569,11 @@ article.result-images[data-vim-selected]::before {
|
||||||
}
|
}
|
||||||
|
|
||||||
#backToTop {
|
#backToTop {
|
||||||
border: 1px solid #ddd;
|
border: 1px solid var(--color-base-border);
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
font-size: 1em;
|
font-size: 1em;
|
||||||
box-shadow: 0 0 5px #ccc;
|
box-shadow: 0 0 5px var(--color-base-shadow);
|
||||||
background: white;
|
background: white;
|
||||||
position: fixed;
|
position: fixed;
|
||||||
bottom: 8rem;
|
bottom: 8rem;
|
||||||
|
|
|
@ -49,8 +49,8 @@ html.js .show_if_nojs {
|
||||||
|
|
||||||
.badge {
|
.badge {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
color: #fff;
|
color: var(--color-toolkit-badge-font);
|
||||||
background-color: #777;
|
background-color: var(--color-toolkit-badge-background);
|
||||||
text-align: center;
|
text-align: center;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
vertical-align: baseline;
|
vertical-align: baseline;
|
||||||
|
@ -64,8 +64,8 @@ kbd {
|
||||||
padding: 2px 4px;
|
padding: 2px 4px;
|
||||||
margin: 1px;
|
margin: 1px;
|
||||||
font-size: 90%;
|
font-size: 90%;
|
||||||
color: white;
|
color: var(--color-toolkit-kbd-font);
|
||||||
background: black;
|
background: var(--color-toolkit-kbd-background);
|
||||||
}
|
}
|
||||||
|
|
||||||
// table
|
// table
|
||||||
|
@ -122,7 +122,7 @@ div.selectable_url {
|
||||||
position: relative;
|
position: relative;
|
||||||
padding: 1em 1em 1em 2.7em;
|
padding: 1em 1em 1em 2.7em;
|
||||||
margin: 0 0 1em 0;
|
margin: 0 0 1em 0;
|
||||||
border: 1px solid black;
|
border: 1px solid var(--color-toolkit-dialog-border);
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
text-align: left;
|
text-align: left;
|
||||||
|
|
||||||
|
@ -191,7 +191,7 @@ div.selectable_url {
|
||||||
.dialog-modal {
|
.dialog-modal {
|
||||||
.dialog();
|
.dialog();
|
||||||
|
|
||||||
background: white;
|
background: var(--color-toolkit-dialog-background);
|
||||||
position: fixed;
|
position: fixed;
|
||||||
top: 50%;
|
top: 50%;
|
||||||
left: 50%;
|
left: 50%;
|
||||||
|
@ -244,7 +244,7 @@ div.selectable_url {
|
||||||
margin: 0 0.7em;
|
margin: 0 0.7em;
|
||||||
letter-spacing: 0.5px;
|
letter-spacing: 0.5px;
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
border: solid white;
|
border: solid var(--color-toolkit-tabs-label-border);
|
||||||
border-width: 0 0 2px 0;
|
border-width: 0 0 2px 0;
|
||||||
|
|
||||||
.disable-user-select();
|
.disable-user-select();
|
||||||
|
@ -260,7 +260,7 @@ div.selectable_url {
|
||||||
min-width: 100%;
|
min-width: 100%;
|
||||||
padding: 0.7rem 0;
|
padding: 0.7rem 0;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
border-top: 1px solid black;
|
border-top: 1px solid var(--color-toolkit-tabs-section-border);
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -327,7 +327,7 @@ select {
|
||||||
-webkit-appearance: none;
|
-webkit-appearance: none;
|
||||||
-moz-appearance: none;
|
-moz-appearance: none;
|
||||||
border: none;
|
border: none;
|
||||||
border-bottom: 1px solid #d7d7d7;
|
border-bottom: 1px solid var(--color-toolkit-select-border);
|
||||||
background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCFET0NUWVBFIHN2ZyBQVUJMSUMgIi0vL1czQy8vRFREIFNWRyAxLjEvL0VOIiAiaHR0cDovL3d3dy53My5vcmcvR3JhcGhpY3MvU1ZHLzEuMS9EVEQvc3ZnMTEuZHRkIj4KPHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeD0iMHB4IiB5PSIwcHgiIHdpZHRoPSI1MTJweCIgaGVpZ2h0PSI1MTJweCIgdmlld0JveD0iMCAwIDUxMiA1MTIiIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDUxMiA1MTIiIHhtbDpzcGFjZT0icHJlc2VydmUiPjxnPjxwb2x5Z29uIHBvaW50cz0iMTI4LDE5MiAyNTYsMzIwIDM4NCwxOTIiLz48L2c+PC9zdmc+Cg==) no-repeat;
|
background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCFET0NUWVBFIHN2ZyBQVUJMSUMgIi0vL1czQy8vRFREIFNWRyAxLjEvL0VOIiAiaHR0cDovL3d3dy53My5vcmcvR3JhcGhpY3MvU1ZHLzEuMS9EVEQvc3ZnMTEuZHRkIj4KPHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeD0iMHB4IiB5PSIwcHgiIHdpZHRoPSI1MTJweCIgaGVpZ2h0PSI1MTJweCIgdmlld0JveD0iMCAwIDUxMiA1MTIiIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDUxMiA1MTIiIHhtbDpzcGFjZT0icHJlc2VydmUiPjxnPjxwb2x5Z29uIHBvaW50cz0iMTI4LDE5MiAyNTYsMzIwIDM4NCwxOTIiLz48L2c+PC9zdmc+Cg==) no-repeat;
|
||||||
background-position-x: 105%;
|
background-position-x: 105%;
|
||||||
background-size: 2em;
|
background-size: 2em;
|
||||||
|
@ -347,7 +347,7 @@ select {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
width: 40px;
|
width: 40px;
|
||||||
height: 10px;
|
height: 10px;
|
||||||
background: #dcdcdc;
|
background: var(--color-toolkit-checkbox-onoff-background);
|
||||||
margin: 8px 1rem;
|
margin: 8px 1rem;
|
||||||
position: relative;
|
position: relative;
|
||||||
border-radius: 50px;
|
border-radius: 50px;
|
||||||
|
@ -360,10 +360,10 @@ select {
|
||||||
top: -5px;
|
top: -5px;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
border-radius: 50px;
|
border-radius: 50px;
|
||||||
box-shadow: 0 3px 5px 0 rgba(0, 0, 0, 0.3);
|
box-shadow: 0 3px 5px 0 var(--color-toolkit-checkbox-onoff-label-shadow);
|
||||||
transition: all 0.4s ease;
|
transition: all 0.4s ease;
|
||||||
left: 27px;
|
left: 27px;
|
||||||
background-color: #3498db;
|
background-color: var(--color-toolkit-checkbox-onoff-label-background);
|
||||||
}
|
}
|
||||||
|
|
||||||
input[type=checkbox] {
|
input[type=checkbox] {
|
||||||
|
@ -371,7 +371,7 @@ select {
|
||||||
|
|
||||||
&:checked + label {
|
&:checked + label {
|
||||||
left: -5px;
|
left: -5px;
|
||||||
background: #dcdcdc;
|
background: var(--color-toolkit-checkbox-onoff-checked-background);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -391,9 +391,9 @@ select {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 0;
|
top: 0;
|
||||||
left: 0;
|
left: 0;
|
||||||
background: white;
|
background: var(--color-toolkit-checkbox-label-background);
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
box-shadow: inset 0 1px 1px white, 0 1px 4px rgba(0, 0, 0, 0.5);
|
box-shadow: inset 0 1px 1px var(--color-toolkit-checkbox-label-shadow1), 0 1px 4px var(--color-toolkit-checkbox-label-shadow2);
|
||||||
|
|
||||||
&::after {
|
&::after {
|
||||||
content: '';
|
content: '';
|
||||||
|
@ -402,7 +402,7 @@ select {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 4px;
|
top: 4px;
|
||||||
left: 4px;
|
left: 4px;
|
||||||
border: 3px solid #333;
|
border: 3px solid var(--color-toolkit-checkbox-label-border);
|
||||||
border-top: none;
|
border-top: none;
|
||||||
border-right: none;
|
border-right: none;
|
||||||
background: transparent;
|
background: transparent;
|
||||||
|
@ -415,7 +415,7 @@ select {
|
||||||
visibility: hidden;
|
visibility: hidden;
|
||||||
|
|
||||||
&:checked + label::after {
|
&:checked + label::after {
|
||||||
border-color: #3498db;
|
border-color: var(--color-toolkit-checkbox-input-border);
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -453,10 +453,10 @@ select {
|
||||||
font-size: 10px;
|
font-size: 10px;
|
||||||
position: relative;
|
position: relative;
|
||||||
text-indent: -9999em;
|
text-indent: -9999em;
|
||||||
border-top: 0.5em solid rgba(0, 0, 0, 0.2);
|
border-top: 0.5em solid var(--color-toolkit-loader-border);
|
||||||
border-right: 0.5em solid rgba(0, 0, 0, 0.2);
|
border-right: 0.5em solid var(--color-toolkit-loader-border);
|
||||||
border-bottom: 0.5em solid rgba(0, 0, 0, 0.2);
|
border-bottom: 0.5em solid var(--color-toolkit-loader-border);
|
||||||
border-left: 0.5em solid rgba(255, 255, 255, 0);
|
border-left: 0.5em solid var(--color-toolkit-loader-borderleft);
|
||||||
-webkit-transform: translateZ(0);
|
-webkit-transform: translateZ(0);
|
||||||
-ms-transform: translateZ(0);
|
-ms-transform: translateZ(0);
|
||||||
transform: translateZ(0);
|
transform: translateZ(0);
|
||||||
|
@ -494,9 +494,9 @@ select {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
padding: 0.5rem 1rem;
|
padding: 0.5rem 1rem;
|
||||||
margin: 0 0 0 2rem;
|
margin: 0 0 0 2rem;
|
||||||
border: 1px solid #ddd;
|
border: 1px solid var(--color-toolkit-engine-tooltip-border);
|
||||||
box-shadow: 2px 2px 2px 0 rgba(0, 0, 0, 0.1);
|
box-shadow: 2px 2px 2px 0 var(--color-toolkit-engine-tooltip-shadow);
|
||||||
background: white;
|
background: var(--color-toolkit-engine-tooltip-background);
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
z-index: 1000000;
|
z-index: 1000000;
|
||||||
|
|
Loading…
Reference in a new issue