LocalCDN-Firefox-Chrome-Brave/pages/base.css

304 lines
6.4 KiB
CSS
Raw Normal View History

2020-06-28 07:43:08 +02:00
a {
background: url('../../icons/link-dark.svg') no-repeat right center;
background-size: 10px 10px;
2021-02-17 06:59:56 +01:00
color: #777;
2020-06-28 14:59:07 +02:00
padding-right: 13px;
2020-06-28 07:43:08 +02:00
text-decoration: underline;
}
a:hover {
2021-02-17 06:59:56 +01:00
background: url('../../icons/link-light.svg') no-repeat right center;
background-size: 10px 10px;
color: #c4c4c4;
2020-06-28 07:43:08 +02:00
cursor: pointer;
2021-02-17 06:59:56 +01:00
filter: invert(0.2);
text-decoration: none;
2020-06-28 07:43:08 +02:00
}
.no-icon {
2020-09-05 17:04:20 +02:00
background-image: none !important;
}
2020-09-05 17:04:20 +02:00
#button-copy-rule-set, textarea {
2020-06-28 07:43:08 +02:00
-moz-box-sizing: border-box;
2021-02-17 06:59:56 +01:00
-webkit-box-sizing: border-box;
2020-06-28 07:43:08 +02:00
box-sizing: border-box;
width: 100%;
}
#button-copy-rule-set {
display: none;
font-size: 1.3em;
line-height: 2;
2021-02-17 06:59:56 +01:00
padding: 5px;
2020-06-28 14:59:07 +02:00
text-align: center;
2020-06-28 07:43:08 +02:00
}
#button-copy-rule-set:hover {
cursor: pointer;
}
2020-06-28 14:59:07 +02:00
#button-copy-rule-set-icon {
background: url('../../icons/copy-dark.svg') no-repeat right center;
background-size: 20px 20px;
padding-right: 23px;
}
2020-06-28 07:43:08 +02:00
#generated-rules {
display: none;
2020-09-05 17:04:20 +02:00
}
textarea {
2020-06-28 14:59:07 +02:00
margin-top: 20px;
2020-06-28 07:43:08 +02:00
}
.btns {
background-color: #f0f0f0;
2021-02-17 06:59:56 +01:00
border: 1px solid #aeaeae;
-moz-box-sizing: border-box;
2021-02-17 06:59:56 +01:00
-webkit-box-sizing: border-box;
box-sizing: border-box;
font-size: 1em;
line-height: 1.5;
2021-02-17 06:59:56 +01:00
padding: 5px 10px;
text-align: center;
}
.btns:hover {
background-color: #c1c1c1;
2021-02-17 06:59:56 +01:00
cursor: pointer;
}
.btns-active {
background-color: #c4c4c4 !important;
color: #515151 !important;
}
2020-06-28 07:43:08 +02:00
.b-contain *, .b-contain *::before, .b-contain *::after {
box-sizing: content-box !important;
}
.b-contain input {
2021-02-17 06:59:56 +01:00
opacity: 0;
2020-06-28 07:43:08 +02:00
position: absolute;
z-index: -1;
}
.b-contain span {
font-family: inherit;
2021-02-17 06:59:56 +01:00
font-size: 12px;
2020-06-28 07:43:08 +02:00
}
.b-contain {
cursor: pointer;
2021-02-17 06:59:56 +01:00
display: table;
2020-08-30 19:07:14 +02:00
line-height: 1.2;
2021-02-17 06:59:56 +01:00
padding-left: 25px;
position: relative;
2020-06-28 07:43:08 +02:00
}
.b-contain input[type="checkbox"] ~ .b-input {
background: rgba(241, 245, 248, 1);
border: 1px solid rgba(184, 194, 204, 1);
border-radius: 2px;
2021-02-17 06:59:56 +01:00
height: 16px;
left: 0;
2020-06-28 07:43:08 +02:00
position: absolute;
top: 0;
2021-02-17 06:59:56 +01:00
transition: background 250ms;
width: 16px;
2021-02-17 06:59:56 +01:00
}
.b-contain input[type="radio"] ~ .b-input {
2020-06-28 07:43:08 +02:00
background: rgba(241, 245, 248, 1);
border: 1px solid rgba(184, 194, 204, 1);
border-radius: 10px;
2021-02-17 06:59:56 +01:00
height: 16px;
left: 0;
position: absolute;
top: 0;
transition: background 250ms;
width: 16px;
2020-06-28 07:43:08 +02:00
}
.b-contain input[type="checkbox"] ~ .b-input::after {
2021-02-17 06:59:56 +01:00
border: solid rgba(255, 255, 255, 1);
border-width: 0 2px 2px 0;
2020-06-28 07:43:08 +02:00
content: '';
display: none;
2021-02-17 06:59:56 +01:00
height: 10px;
left: 5px;
2021-02-17 06:59:56 +01:00
position: absolute;
top: 1px;
2020-06-28 07:43:08 +02:00
transform: rotate(45deg);
2021-02-17 06:59:56 +01:00
transition: background 250ms;
width: 4px;
2020-06-28 07:43:08 +02:00
}
.b-contain input[type="radio"] ~ .b-input::after {
2021-02-17 06:59:56 +01:00
background: rgba(255, 255, 255, 1);
border-radius: 4px;
2020-06-28 07:43:08 +02:00
content: '';
display: none;
2021-02-17 06:59:56 +01:00
height: 8px;
left: 4px;
2021-02-17 06:59:56 +01:00
position: absolute;
top: 4px;
2020-06-28 07:43:08 +02:00
transition: background 250ms;
2021-02-17 06:59:56 +01:00
width: 8px;
2020-06-28 07:43:08 +02:00
}
.b-contain input:disabled ~ .b-input::after {
border-color: rgba(135, 149, 161, 1);
}
.b-contain input:checked ~ .b-input::after {
display: block;
}
.b-contain:hover input ~ .b-input,
.b-contain input:focus ~ .b-input {
background: rgb(231, 238, 243);
}
.b-contain input:focus ~ .b-input {
2021-02-17 06:59:56 +01:00
box-shadow: 0 0 0 2px rgba(52, 144, 220, 0.5);
2020-06-28 07:43:08 +02:00
}
.b-contain input:checked ~ .b-input {
background: rgba(0, 130, 243, 1);
border-color: rgba(0, 130, 243, 1);
}
.b-contain input[type="checkbox"]:disabled ~ .b-input {
background: rgba(241, 245, 248, 1);
border-color: rgba(184, 194, 204, 1);
cursor: not-allowed;
2021-02-17 06:59:56 +01:00
opacity: 0.6;
2020-06-28 07:43:08 +02:00
}
.b-contain input[type="radio"]:disabled ~ .b-input {
background: rgba(241, 245, 248, 1);
border-color: rgba(184, 194, 204, 1);
cursor: not-allowed;
2021-02-17 06:59:56 +01:00
opacity: 0.6;
2020-06-28 07:43:08 +02:00
}
.b-contain input[type="radio"]:disabled ~ .b-input::after {
background: rgba(135, 149, 161, 1);
}
.b-contain input:checked:focus ~ .b-input, .b-contain:hover input:not([disabled]):checked ~ .b-input {
background: rgba(13, 143, 255, 1);
border-color: rgba(13, 143, 255, 1);
}
.b-contain .b-input::before {
2021-02-17 06:59:56 +01:00
background: rgba(0, 130, 243, 1);
border-radius: 2rem;
2020-06-28 07:43:08 +02:00
content: '';
display: block;
height: 3rem;
2021-02-17 06:59:56 +01:00
left: 0;
2020-06-28 07:43:08 +02:00
margin-left: -0.85rem;
margin-top: -0.85rem;
2021-02-17 06:59:56 +01:00
opacity: 0.6;
position: absolute;
top: 0;
2020-06-28 07:43:08 +02:00
transform: scale(0);
2020-09-13 20:11:19 +02:00
visibility: hidden;
2021-02-17 06:59:56 +01:00
width: 3rem;
z-index: 99999;
2020-06-28 07:43:08 +02:00
}
.b-contain input + .b-input::before {
animation: b-ripple 250ms ease-out;
}
.b-contain input:checked + .b-input::before {
animation-name: b-ripple-duplicate;
}
.b-contain input:focus + .b-input::before {
visibility: visible;
}
.b-contain:first-child .b-input::before {
visibility: hidden;
}
@media (prefers-color-scheme: dark) {
a {
background: url('../../icons/link-light.svg') no-repeat right center;
background-size: 10px 10px;
2021-02-17 06:59:56 +01:00
color: #f2f2f2;
font-weight: bold;
padding-right: 13px;
2020-06-28 07:43:08 +02:00
}
2021-02-17 06:59:56 +01:00
a:hover {
background: url('../../icons/link-dark.svg') no-repeat right center; /* csslint allow: duplicate-background-images */
2020-06-28 07:43:08 +02:00
background-size: 10px 10px;
}
2020-09-05 17:04:20 +02:00
.subtle-hint, body, h3, p, .option-buttons {
2020-06-28 07:43:08 +02:00
color: #aeaeae !important;
}
2020-09-05 17:04:20 +02:00
.option-buttons:hover {
background-color: #434343;
}
#button-copy-rule-set, textarea {
2020-06-28 07:43:08 +02:00
border: 1px solid #222;
}
2020-09-05 17:04:20 +02:00
textarea {
2020-06-28 07:43:08 +02:00
background-color: #434343;
color: #aeaeae !important;
}
#button-copy-rule-set {
color: #aeaeae;
}
2020-06-28 14:59:07 +02:00
#button-copy-rule-set-icon {
background: url('../../icons/copy-light.svg') no-repeat right center;
background-size: 20px 20px;
}
2020-09-05 17:04:20 +02:00
.important, .important > p {
color: #555 !important;
}
.important > p > a {
2021-02-17 06:59:56 +01:00
background: url('../../icons/link-dark.svg') no-repeat right center; /* csslint allow: duplicate-background-images */
2020-09-05 17:04:20 +02:00
background-size: 10px 10px;
2021-02-17 06:59:56 +01:00
color: #555;
font-weight: normal;
2020-09-05 17:04:20 +02:00
padding-right: 13px;
text-decoration: underline;
}
.important > p > a:hover {
color: #777;
cursor: pointer;
2021-02-17 06:59:56 +01:00
text-decoration: none;
2020-09-05 17:04:20 +02:00
}
.btns {
background-color: #3c3c3c;
border-color: #616161;
color: #bbb;
}
.btns:hover {
background-color: #616161;
}
.btns-active {
background-color: #9f9f9f !important;
color: #222 !important;
}
2020-06-28 07:43:08 +02:00
}