Set a name on the fullscreen window, and require it in all selectors in the custom CSS. Fixes style leaking to other g-c-c bits. https://gitlab.gnome.org/GNOME/gnome-control-center/issues/504
47 lines
864 B
CSS
47 lines
864 B
CSS
#calibrator {
|
|
background-color: #000;
|
|
}
|
|
|
|
#calibrator * {
|
|
color: #fff;
|
|
}
|
|
|
|
#calibrator label {
|
|
font-size: larger;
|
|
}
|
|
|
|
#calibrator #title {
|
|
font-weight: bold;
|
|
color: #888;
|
|
}
|
|
|
|
#calibrator #error {
|
|
font-weight: bold;
|
|
}
|
|
|
|
#calibrator #target {
|
|
background-image: url('target.svg');
|
|
background-repeat: no-repeat;
|
|
background-position: 50% 50%;
|
|
}
|
|
|
|
@keyframes target-enabled-animation {
|
|
0% { background-size: 0px }
|
|
90% { background-size: 120px }
|
|
100% { background-size: 100px }
|
|
}
|
|
|
|
@keyframes target-disabled-animation {
|
|
0% { background-size: 100px }
|
|
100% { background-size: 0px }
|
|
}
|
|
|
|
#calibrator #target:not(disabled) {
|
|
animation: target-enabled-animation 1 ease 0.5s;
|
|
background-size: 100px;
|
|
}
|
|
|
|
#calibrator #target:disabled {
|
|
animation: target-disabled-animation 1 ease 0.2s;
|
|
background-size: 0px;
|
|
}
|