1
0
mirror of https://codeberg.org/nobody/LocalCDN.git synced 2024-12-16 21:28:31 +01:00
LocalCDN-Firefox-Chrome-Brave/pages/options/options.css

367 lines
5.6 KiB
CSS
Raw Normal View History

2020-02-27 13:45:29 +01:00
/**
* Sections
*/
body {
color: #555;
cursor: default;
font-family: 'Noto Sans', Arial, sans-serif !important;
font-size: 14px;
2020-02-27 13:45:29 +01:00
margin-top: -15px;
padding: 10px !important;
}
.option {
display: flex;
flex-direction: column;
2020-06-28 07:43:08 +02:00
padding-bottom: 20px;
}
.html-filter-section {
background-color: lightgrey;
margin-top: 15px;
border-radius: 3px;
}
.html-filter-section > .option {
margin-top: 0px;
2020-02-27 13:45:29 +01:00
}
.notice {
border-radius: 3px;
box-sizing: border-box;
margin-top: 25px;
max-width: 470px;
padding: 14px 16px;
}
.notice-default {
background-color: #f1f1f1;
}
.notice-warning {
background-color: #ffa500;
color: #fff;
}
2020-04-07 12:19:32 +02:00
#notice-locale {
background-color: #ffa500;
color: white;
font-weight: 600;
}
.without-checkbox {
margin: 0px !important;
padding: 0px !important;
}
2020-02-27 13:45:29 +01:00
/**
* Fonts
*/
@font-face {
font-family: 'Noto Sans';
font-style: normal;
font-weight: 400;
src: url('../../modules/noto-sans/noto-sans.woff2')
format('woff2');
}
@font-face {
font-family: 'Noto Sans';
font-style: normal;
font-weight: 600;
src: url('../../modules/noto-sans/noto-sans-bold.woff2')
format('woff2');
}
@font-face {
font-family: 'Noto Sans';
font-style: italic;
font-weight: 400;
src: url('../../modules/noto-sans/noto-sans-italic.woff2')
format('woff2');
}
/**
* Titles
*/
.title-option {
align-items: center;
display: flex;
font-weight: 600;
}
/**
* Controls
*/
.input-checkbox {
margin: 0 4px 0 0;
outline: 0;
}
.input-text {
2020-06-16 07:10:22 +02:00
border-radius: 3px;
border: 1px solid darkgrey;
padding: 5px !important;
2020-06-28 07:43:08 +02:00
margin-top: 10px !important;
2020-06-16 07:10:22 +02:00
color: #555;
2020-02-27 13:45:29 +01:00
}
/**
* Icons
*/
.icon {
margin-right: 3px;
}
/**
* Buttons
*/
.button {
-moz-user-select: none;
background-color: #f5f5f5;
border-radius: 2px;
border: 1px solid #cfcfcf;
color: #5f5f5f;
cursor: pointer;
float: right;
font-size: 12px;
outline: 0;
padding: 5px 22px;
text-decoration: none;
user-select: none;
text-align: center;
background: none;
2020-02-27 13:45:29 +01:00
}
.button:hover {
background-color: #fff;
}
.button:active {
background-color: #dedede;
}
.button-warning {
background-color: #ea9700;
border: 1px solid #d88c00;
color: #fff;
}
.button-warning:hover {
background-color: #d88c00;
border-color: #c98200;
color: #fff !important;
2020-02-27 13:45:29 +01:00
}
.button-warning:active {
background-color: #c07c00;
border-color: #b47400;
}
.button-notice {
margin-left: auto;
padding: 5px 9px;
}
2020-06-27 11:49:45 +02:00
#html-filter-domains-title-exclude {
display: none;
}
2020-02-27 13:45:29 +01:00
/**
* Links
*/
.link-text {
color: #999;
}
/**
* Miscellaneous
*/
.description-option {
color: #777;
font-style: italic;
padding-left: 1.5rem;
font-size: 12px;
2020-02-27 13:45:29 +01:00
}
.badge {
border-radius: 3px;
color: #fff;
font-size: 8px;
margin-left: 6px;
padding: 3px 5px;
text-transform: uppercase;
}
.badge-warning {
background-color: #ffa500;
}
.warning-red {
color: red;
background-color: transparent;
margin-left: 0px;
display: block;
font-size: 10px;
}
.warning-red > a {
color: red;
font-weight: bold;
}
#negate-html-filter-list-warning {
2020-06-28 07:43:08 +02:00
margin: 10px 0px 30px 0px;
}
2020-02-27 13:45:29 +01:00
.hidden {
display: none !important;
}
.label-checkbox {
align-items: center;
display: flex;
}
.notice-head {
font-weight: 600;
margin-bottom: 6px;
}
.notice-body {
align-items: center;
display: flex;
}
.notice-message {
line-height: 1.3;
margin-right: 14px;
}
#generated-rules {
display: none;
2020-03-05 07:45:41 +01:00
}
.ruleset-generator {
display: flex;
align-items: center;
2020-04-07 12:19:32 +02:00
padding: 5px 0px;
}
.last-update {
2020-04-07 12:19:32 +02:00
font-weight: 600;
background-color: #ffa500;
border-radius: 3px;
color: #fff;
font-size: 12px;
padding: 3px 5px !important;
text-transform: uppercase;
font-style: normal;
}
#block-google-fonts {
padding-left: 1.5rem;
2020-07-05 06:44:53 +02:00
padding-bottom: 0px;
padding-top: 0.5rem;
}
2020-07-05 06:44:53 +02:00
#block-google-fonts-desc {
padding-left: 0px;
}
.option-disabled > .title-option > .b-contain,
.b-contain input[type="checkbox"]:disabled ~ .b-input {
cursor: default !important;
}
.option-disabled {
color: gray !important;
}
.option-disabled > .title-option > .b-contain > .b-input {
background: gray !important;
cursor: default;
}
.option-disabled > .title-option > .b-contain input:checked ~ .b-input {
background: gray !important;
border-color: gray !important;
}
2020-02-27 13:45:29 +01:00
/**
* Right to Left
*/
body[dir="rtl"] .badge {
margin-left: 0;
margin-right: 6px;
}
body[dir="rtl"] .description-option {
margin-left: 0;
margin-right: 29px;
}
body[dir="rtl"] .input-checkbox {
margin: 0 0 0 4px;
}
body[dir="rtl"] .input-text {
margin-left: 0;
margin-right: 29px;
}
2020-06-28 07:43:08 +02:00
.option-group {
background-color: #e1e1e1;
margin-top: 2rem;
padding: .7rem;
border-radius: 3px;
}
2020-02-27 13:45:29 +01:00
2020-06-28 14:59:07 +02:00
.option-links {
list-style-type: disclosure-closed;
}
.option-links-div > ul {
padding-top: 2rem;
}
.option-links-div > ul > li {
padding-bottom: .5rem;
}
2020-02-27 13:45:29 +01:00
@media (prefers-color-scheme: dark) {
body {
background-color: #202023;
}
2020-06-16 07:10:22 +02:00
body, .title-option {
color: #aeaeae;
2020-02-27 13:45:29 +01:00
}
.description-option {
color: #b1b1b3;
}
2020-06-16 07:10:22 +02:00
.notice-head > span, #last-mapping-update, .badge-warning, .notice-message, .button-warning {
2020-06-28 07:43:08 +02:00
color: #4b3000 !important;
}
.option-group {
background-color: #1d1d1d;
}
.input-text {
background-color: #434343;
color: #aeaeae !important;
2020-02-27 13:45:29 +01:00
}
}