1
0
mirror of https://codeberg.org/nobody/LocalCDN.git synced 2024-12-23 00:25:15 +01:00
LocalCDN-Firefox-Chrome-Brave/pages/options/options.css

472 lines
8.0 KiB
CSS
Raw Normal View History

2020-02-27 13:45:29 +01:00
body {
color: #555;
cursor: default;
font-family: 'Noto Sans', Arial, sans-serif !important;
font-size: 14px;
margin-left: auto;
margin-right: auto;
2021-02-17 06:59:56 +01:00
margin-top: -15px;
max-width: 800px;
padding: 10px !important;
2020-02-27 13:45:29 +01:00
}
2020-08-30 19:07:14 +02:00
.option-buttons {
background-color: transparent;
2021-02-17 06:59:56 +01:00
border: none;
2020-08-30 19:07:14 +02:00
cursor: pointer;
2021-02-17 06:59:56 +01:00
font-weight: normal;
margin: 5px 10px;
padding: 5px 10px;
2020-08-30 19:07:14 +02:00
}
.option-buttons-active {
border-bottom: 1px solid #555;
2021-02-17 06:59:56 +01:00
font-weight: bold;
2020-08-30 19:07:14 +02:00
}
.option-buttons:hover {
background-color: #ccc;
}
2020-02-27 13:45:29 +01:00
.option {
display: flex;
flex-direction: column;
2020-06-28 07:43:08 +02:00
padding-bottom: 20px;
}
2020-02-27 13:45:29 +01:00
.notice {
border-radius: 3px;
box-sizing: border-box;
margin-top: 25px;
padding: 14px 16px;
}
.notice-default {
background-color: #f1f1f1;
}
.notice-warning {
background-color: #ffa500;
color: #fff;
}
2020-04-07 12:19:32 +02:00
.without-checkbox {
2021-02-17 06:59:56 +01:00
margin: 0 !important;
padding: 0 !important;
2020-04-07 12:19:32 +02:00
}
2020-08-30 19:07:14 +02:00
#advanced-tab, #export-import-tab, #info-tab {
display: none;
}
.btn-group {
margin-top: 2rem;
}
.footer {
text-align: center;
}
.div-selected-icon {
margin-top: 10px;
2021-02-17 06:59:56 +01:00
padding-right: 25px;
2021-11-28 09:28:49 +01:00
width: 100%;
}
.div-selected-icon > label {
margin-bottom: 1em;
}
.div-selected-icon > label > .b-input {
margin-top: 8px;
}
.div-selected-icon > label > img {
margin-right: 10px;
}
.monoblock {
font-family: monospace;
font-style: normal;
}
2020-02-27 13:45:29 +01:00
@font-face {
font-family: 'Noto Sans';
font-style: normal;
font-weight: 400;
2021-02-17 06:59:56 +01:00
src: url('../../modules/noto-sans/noto-sans.woff2') format('woff2');
2020-02-27 13:45:29 +01:00
}
@font-face {
font-family: 'Noto Sans';
font-style: normal;
font-weight: 600;
2021-02-17 06:59:56 +01:00
src: url('../../modules/noto-sans/noto-sans-bold.woff2') format('woff2');
2020-02-27 13:45:29 +01:00
}
@font-face {
font-family: 'Noto Sans';
font-style: italic;
font-weight: 400;
2021-02-17 06:59:56 +01:00
src: url('../../modules/noto-sans/noto-sans-italic.woff2') format('woff2');
2020-02-27 13:45:29 +01:00
}
.title-option {
align-items: center;
display: flex;
font-weight: 600;
}
.input-text {
2020-06-16 07:10:22 +02:00
border: 1px solid darkgrey;
2021-02-17 06:59:56 +01:00
border-radius: 3px;
2020-06-16 07:10:22 +02:00
color: #555;
2021-02-17 06:59:56 +01:00
margin-top: 10px !important;
padding: 5px !important;
2020-02-27 13:45:29 +01:00
}
2020-08-30 19:07:14 +02:00
.options-help-icon {
2021-02-07 08:06:34 +01:00
background-image: url("../../icons/help-dark.svg");
background-position: left;
background-repeat: no-repeat;
2021-02-17 06:59:56 +01:00
background-size: contain;
cursor: pointer;
display: inline-block;
height: 15px;
margin-left: 5px;
width: 15px;
}
2020-02-27 13:45:29 +01:00
.button {
background-color: #f5f5f5;
border: 1px solid #cfcfcf;
2021-02-17 06:59:56 +01:00
border-radius: 2px;
2020-02-27 13:45:29 +01:00
color: #5f5f5f;
cursor: pointer;
float: right;
font-size: 12px;
padding: 5px 22px;
2021-02-17 06:59:56 +01:00
text-align: center;
2020-02-27 13:45:29 +01:00
text-decoration: none;
2021-02-17 06:59:56 +01:00
-moz-user-select: none;
-ms-user-select: none;
-webkit-user-select: none;
2020-02-27 13:45:29 +01:00
user-select: none;
}
.button-warning {
background-color: #ea9700;
border: 1px solid #d88c00;
color: #fff;
2020-08-30 19:07:14 +02:00
font-weight: 600;
2020-02-27 13:45:29 +01:00
}
.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;
}
.div-icons-badge-colors {
display: flex;
flex-wrap: wrap;
2020-09-12 17:58:07 +02:00
}
.div-badge {
margin-top: 10px;
padding: 0 30px 0 0;
}
#badge-preview-top,
#html-badge-preview-top,
#missing-badge-preview-top {
position: relative;
width: 38px;
}
#counter-preview-badge,
#html-counter-preview-badge,
#missing-counter-preview-badge {
background: black;
border-radius: 5px;
2021-02-17 06:59:56 +01:00
color: white;
font-size: 10px;
padding: 1px 6px;
position: absolute;
right: -5px;
top: 0;
}
#pre-badged-background-color, #pre-badged-text-color,
#html-pre-badged-background-color, #html-pre-badged-text-color,
#missing-pre-badged-background-color, #missing-pre-badged-text-color {
height: 30px;
margin-right: 5px;
2021-02-17 06:59:56 +01:00
width: 30px;
}
#icon-badge-preview,
#html-icon-badge-preview,
#missing-icon-badge-preview {
2020-09-25 18:43:58 +02:00
margin-top: 5px;
}
.colorpicker {
2021-02-17 06:59:56 +01:00
align-items: center;
display: flex;
margin-top: 10px;
2021-02-17 06:59:56 +01:00
padding-bottom: 5px;
}
.colorpicker > input {
2021-02-17 06:59:56 +01:00
margin-top: 0 !important;
}
div[class="color-picker:a"] {
display: none;
}
.color-error {
color: red;
}
#badged-background-color, #badged-text-color,
#html-badged-background-color, #html-badged-text-color,
#missing-badged-background-color, #missing-badged-text-color {
max-width: 150px;
}
.img-restore-color {
cursor: pointer;
2021-02-17 06:59:56 +01:00
height: 15px;
margin-left: 5px;
}
.import-export > input[type="button"] {
margin-bottom: 5px;
}
2020-02-27 13:45:29 +01:00
.description-option {
color: #777;
2021-02-17 06:59:56 +01:00
font-size: 12px;
2020-02-27 13:45:29 +01:00
font-style: italic;
2020-07-09 20:57:04 +02:00
padding-left: 25px;
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;
}
#negate-html-filter-list-warning {
2021-02-17 06:59:56 +01:00
margin: 10px 0 30px 0;
}
2020-02-27 13:45:29 +01:00
.hidden {
display: none !important;
}
.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, #unsupported-frameworks {
display: none;
2020-03-05 07:45:41 +01:00
}
#generated-list {
margin-top: 15px;
}
.info > p {
cursor: pointer;
padding-left: 25px;
}
2020-03-05 07:45:41 +01:00
.ruleset-generator {
align-items: center;
2021-02-17 06:59:56 +01:00
display: flex;
padding: 5px 0;
}
.last-update {
2020-04-07 12:19:32 +02:00
background-color: #ffa500;
border-radius: 3px;
color: #fff;
font-size: 12px;
2021-02-17 06:59:56 +01:00
font-style: normal;
font-weight: 600;
2020-04-07 12:19:32 +02:00
padding: 3px 5px !important;
text-transform: uppercase;
}
2020-08-30 19:07:14 +02:00
.storage-type {
2021-02-17 06:59:56 +01:00
margin: 5px 0;
2020-08-30 19:07:14 +02:00
}
2020-07-05 06:44:53 +02:00
.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-10-17 07:09:30 +02:00
#div-domains-allowlist-google-fonts {
margin-top: 1em;
}
2021-04-17 06:35:15 +02:00
#allowedDomainsGoogleFonts {
box-sizing: border-box;
2021-02-17 06:59:56 +01:00
margin-top: 0 !important;
width: 100%;
}
2020-02-27 13:45:29 +01:00
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;
2020-08-30 19:07:14 +02:00
border-radius: 5px;
2021-02-17 06:59:56 +01:00
margin: 20px 0;
padding: 1.5rem;
2020-06-28 07:43:08 +02:00
}
2020-02-27 13:45:29 +01:00
2020-06-28 14:59:07 +02:00
.option-links {
2021-02-21 19:28:18 +01:00
list-style-type: none;
2021-02-17 06:59:56 +01:00
margin-top: 0;
2020-06-28 14:59:07 +02:00
padding-top: 2rem;
}
.option-links > li {
2021-02-17 06:59:56 +01:00
padding-bottom: 0.5rem;
2020-06-28 14:59:07 +02:00
}
2021-08-15 07:39:00 +02:00
.checked-unchecked {
width: 10px;
}
.chromium-banner {
background-color: #ffcccc;
border: 1px solid red;
border-radius: 3px;
display: none;
font-weight: bold;
margin-top: 20px;
padding: 0.8em;
text-align: center;
}
@media only screen and (max-width: 760px) {
.div-badge {
border: none;
2021-02-17 06:59:56 +01:00
padding-left: 0;
}
}
@media only screen and (max-width: 500px) {
.option-group {
padding: 0.7rem;
}
}
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
}
2020-09-25 18:38:22 +02:00
.img-restore-color {
filter: invert(1);
}
2021-02-09 06:04:19 +01:00
.options-help-icon {
background-image: url("../../icons/help-light.svg");
}
.chromium-banner {
background-color: #A20B0B;
color: white;
}
2020-02-27 13:45:29 +01:00
}