Panel, dash improvements

This commit is contained in:
Vladyslav Hroshev
2025-03-08 22:27:55 +02:00
parent 3e02c0dd88
commit e54823adb8
2 changed files with 18 additions and 13 deletions

View File

@@ -221,8 +221,7 @@
} }
#dash .app-grid-running-dot { #dash .app-grid-running-dot {
margin-bottom: 12px !important; /* override because of gdm */ offset-y: -4px;
offset-y: 8px; /* 46.2 fix */
} }
#dash .app-well-app:hover .app-well-app-running-dot, #dash .app-well-app:hover .app-well-app-running-dot,

View File

@@ -2,8 +2,8 @@
#panel { #panel {
background-color: BACKGROUND-OPAQUE-COLOR; background-color: BACKGROUND-OPAQUE-COLOR;
height: 36px; height: 34px;
font-size: 14px; font-size: 13px;
box-shadow: none; box-shadow: none;
} }
@@ -13,14 +13,25 @@
transition-duration: 0.25s; transition-duration: 0.25s;
} }
/* i know margin are not used cuz hitboxes of buttons don't expand to screen edges */
/* however with this trick i cannot paint button borders */
.panel-button {
margin: 4px 3px;
}
/* allows to shrink horizontal padding for app icons */
.panel-button { -natural-hpadding: 6px; }
.panel-status-indicators-box:first-child { padding-left: 3px; }
.panel-status-indicators-box:last-child { padding-right: 3px; }
.panel-status-indicators-box:first-child:last-child { padding: 0; }
.panel-button#panelActivities { -natural-hpadding: 10px; }
/* panel buttons */ /* panel buttons */
.panel-button, .panel-button,
.panel-button .clock, /* Date & clock */ .panel-button .clock { /* DND / new messages icon */
.clock-display StIcon { /* DND / new messages icon */
color: TEXT-PRIMARY-COLOR; color: TEXT-PRIMARY-COLOR;
border-radius: 14px; border-radius: 9px;
border: 4px solid transparent !important; border-width: 0px;
background-color: ACCENT-DISABLED-COLOR; background-color: ACCENT-DISABLED-COLOR;
box-shadow: inset 0 0 0 1px BORDER-SHADOW; box-shadow: inset 0 0 0 1px BORDER-SHADOW;
} }
@@ -64,11 +75,6 @@
font-size: 12px; font-size: 12px;
} }
/* battery icon */
#panel .power-status.panel-status-indicators-box StIcon {
font-size: 14px;
}
/* panel buttons in lock screen / overview */ /* panel buttons in lock screen / overview */
#panel.unlock-screen .panel-button, #panel.unlock-screen .panel-button,