fe7d25bba9
Expand shorthand `margin` and `width` properties for `.section` and `.brightness-levelbar` to individual longhand properties, likely to avoid issues with older GTK/CSS parsing.
104 lines
2.2 KiB
CSS
104 lines
2.2 KiB
CSS
* {
|
|
margin: 0;
|
|
padding: 0;
|
|
/* E-ink displays ghost badly with animations/transitions */
|
|
transition: none;
|
|
animation: none;
|
|
}
|
|
|
|
window.pinenote-shell-widget {
|
|
background-color: rgba(20, 20, 30, 0.95);
|
|
color: #ffffff;
|
|
font-family: "Ubuntu", "Noto Sans", sans-serif;
|
|
border-radius: 8px;
|
|
margin: 16px;
|
|
}
|
|
|
|
window.pinenote-shell-widget .title-big {
|
|
font-size: 24px;
|
|
font-weight: bold;
|
|
color: #61afef;
|
|
margin: 16px;
|
|
}
|
|
|
|
window.pinenote-shell-widget .header {
|
|
background-color: rgba(0, 0, 0, 0.3);
|
|
padding: 8px;
|
|
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
|
|
}
|
|
|
|
window.pinenote-shell-widget .section {
|
|
background-color: rgba(255, 255, 255, 0.05);
|
|
padding: 16px;
|
|
margin-top: 8px;
|
|
margin-bottom: 8px;
|
|
margin-left: 16px;
|
|
margin-right: 16px;
|
|
border-radius: 6px;
|
|
border: 1px solid rgba(255, 255, 255, 0.1);
|
|
}
|
|
|
|
window.pinenote-shell-widget .title {
|
|
font-size: 18px;
|
|
font-weight: bold;
|
|
color: #98c379;
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
window.pinenote-shell-widget .brightness-levelbar {
|
|
min-height: 200px;
|
|
min-width: 20px;
|
|
max-width: 20px;
|
|
margin-top: 0;
|
|
margin-bottom: 0;
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
background-color: rgba(255, 255, 255, 0.05);
|
|
border-radius: 10px;
|
|
}
|
|
|
|
window.pinenote-shell-widget .brightness-levelbar.fill-block {
|
|
background-color: #e5c07b;
|
|
}
|
|
|
|
window.pinenote-shell-widget .footer {
|
|
padding: 16px;
|
|
background-color: rgba(0, 0, 0, 0.3);
|
|
font-size: 12px;
|
|
color: #7f848f;
|
|
}
|
|
|
|
window.pinenote-shell-widget .status-label {
|
|
padding-left: 16px;
|
|
}
|
|
|
|
window.pinenote-shell-widget button {
|
|
background-color: rgba(97, 175, 239, 0.2);
|
|
border: 1px solid #61afef;
|
|
border-radius: 6px;
|
|
padding: 12px;
|
|
margin: 8px;
|
|
color: #ffffff;
|
|
/* E-ink: no hover transitions */
|
|
transition: none;
|
|
}
|
|
|
|
window.pinenote-shell-widget button:hover {
|
|
background-color: rgba(97, 175, 239, 0.4);
|
|
/* E-ink: avoid transform/scale which causes ghosting */
|
|
}
|
|
|
|
window.pinenote-shell-widget .brightness-button {
|
|
padding: 8px;
|
|
min-width: 60px;
|
|
}
|
|
|
|
window.pinenote-shell-widget .waveform-label {
|
|
font-size: 14px;
|
|
color: #c678dd;
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
window.pinenote-shell-widget Icon {
|
|
color: #61afef;
|
|
} |