2021-06-03 04:43:31 +03:00
|
|
|
/* Controls */
|
|
|
|
/* Switchers, Checkboxes, etc. */
|
|
|
|
|
|
|
|
@namespace xul "http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul";
|
|
|
|
|
|
|
|
/* Switchers */
|
|
|
|
.protections-popup-tp-switch-box {
|
|
|
|
padding: 0 !important;
|
|
|
|
-moz-box-pack: start !important;
|
|
|
|
}
|
|
|
|
#protections-popup-tp-switch:not([enabled])[showdotindicator]::after {
|
|
|
|
display: none !important;
|
|
|
|
}
|
|
|
|
#protections-popup-tp-switch {
|
2023-07-13 03:50:17 +03:00
|
|
|
background: var(--gnome-trough-background) !important;
|
2022-05-22 06:15:54 +03:00
|
|
|
border: 0 !important;
|
2021-06-03 04:43:31 +03:00
|
|
|
border-radius: 24px !important;
|
2022-05-22 06:15:54 +03:00
|
|
|
min-width: 48px !important;
|
|
|
|
width: 48px !important;
|
2021-06-03 04:43:31 +03:00
|
|
|
min-height: 26px !important;
|
|
|
|
padding: 0 !important;
|
|
|
|
position: relative !important;
|
|
|
|
display: block !important;
|
|
|
|
margin: 0 !important;
|
|
|
|
}
|
2023-07-13 03:50:17 +03:00
|
|
|
#protections-popup-tp-switch:hover {
|
|
|
|
background-image: var(--gnome-trough-hover-background) !important;
|
|
|
|
}
|
2021-06-03 04:43:31 +03:00
|
|
|
#protections-popup-tp-switch::before {
|
|
|
|
position: absolute !important;
|
2022-05-22 06:15:54 +03:00
|
|
|
top: 2px;
|
|
|
|
left: 2px;
|
2023-07-13 03:50:17 +03:00
|
|
|
background: #fff !important;
|
2022-05-22 06:15:54 +03:00
|
|
|
box-shadow: 0 2px 4px rgba(0, 0, 0, .2);
|
|
|
|
border: 0 !important;
|
2021-06-03 04:43:31 +03:00
|
|
|
border-radius: 24px !important;
|
2022-05-22 06:15:54 +03:00
|
|
|
height: 22px !important;
|
|
|
|
width: 22px !important;
|
2021-06-03 04:43:31 +03:00
|
|
|
transition: left .2s ease;
|
|
|
|
outline: 0 !important;
|
|
|
|
}
|
|
|
|
#protections-popup-tp-switch[enabled] {
|
2023-07-13 03:50:17 +03:00
|
|
|
background: var(--gnome-accent-bg) !important;
|
2021-06-03 04:43:31 +03:00
|
|
|
padding-inline-start: 24px !important;
|
|
|
|
}
|
|
|
|
#protections-popup-tp-switch[enabled]::before {
|
2023-07-13 03:50:17 +03:00
|
|
|
background: #fff !important;
|
2021-06-03 04:43:31 +03:00
|
|
|
left: 24px;
|
|
|
|
}
|