Files
pineNoteShell/pinenote-shell/style.css
T
fegger c88527b4bd Expand CSS shorthand for GTK4 compatibility
Breaks apart margin, padding, and transition shorthand properties into their
component forms and lowercases the `Icon` selector, matching GTK4 CSS
expectations. Also removes an explicit max-width from the brightness levelbar.
2026-07-13 14:39:24 +02:00

127 lines
2.8 KiB
CSS

* {
margin-top: 0;
margin-bottom: 0;
margin-left: 0;
margin-right: 0;
padding-top: 0;
padding-bottom: 0;
padding-left: 0;
padding-right: 0;
/* E-ink displays ghost badly with animations/transitions */
transition-property: none;
transition-duration: 0s;
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-top: 16px;
margin-bottom: 16px;
margin-left: 16px;
margin-right: 16px;
}
window.pinenote-shell-widget .title-big {
font-size: 24px;
font-weight: bold;
color: #61afef;
margin-top: 16px;
margin-bottom: 16px;
margin-left: 16px;
margin-right: 16px;
}
window.pinenote-shell-widget .header {
background-color: rgba(0, 0, 0, 0.3);
padding-top: 8px;
padding-bottom: 8px;
padding-left: 8px;
padding-right: 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;
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-top: 8px;
margin-bottom: 8px;
margin-left: 8px;
margin-right: 8px;
color: #ffffff;
/* E-ink: no hover transitions */
transition-property: none;
transition-duration: 0s;
}
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-top: 8px;
padding-bottom: 8px;
padding-left: 8px;
padding-right: 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;
}