Fixed issues

This commit is contained in:
vinceliuice 2023-03-11 16:12:19 +08:00
parent 3219627f07
commit 9c0ae6714e
2 changed files with 23 additions and 17 deletions

View file

@ -26,8 +26,6 @@ $panel_height: $menuitem_size;
.clock { .clock {
border-radius: $bt_radius * 2 !important; border-radius: $bt_radius * 2 !important;
padding: 0 $base_padding * 6 !important;
spacing: $base_padding * 2 !important;
} }
} }
@ -168,16 +166,26 @@ $panel_height: $menuitem_size;
.system-status-icon { .system-status-icon {
icon-size: $base_icon_size; icon-size: $base_icon_size;
padding: $base_padding; padding: $base_padding;
margin: 0 $base_padding; margin: 0;
} }
.panel-status-menu-box .system-status-icon { margin: 0; } // .panel-status-menu-box .system-status-icon { margin: 0; }
.panel-status-menu-box StLabel { padding: 0 0 0 $base_padding / 2; } .panel-status-menu-box StLabel { padding: 0 0 0 $base_padding / 2; }
.appindicator-trayicons-box { margin: 0 $base_padding; } // .appindicator-trayicons-box { margin: 0 $base_padding; }
// .appindicator-box { margin: 0 0; } // .appindicator-box { margin: 0 0; }
// .panel-status-indicators-box,
// .panel-status-menu-box {
// spacing: 2px;
// }
// spacing between power icon and (optional) percentage label
// .power-status.panel-status-indicators-box {
// spacing: 0;
// }
// app menu icon // app menu icon
.app-menu-icon { .app-menu-icon {
-st-icon-style: symbolic; -st-icon-style: symbolic;
@ -216,7 +224,8 @@ $panel_height: $menuitem_size;
} }
Gjs_AggregateMenu.panel-button, Gjs_AggregateMenu.panel-button,
Gjs_ui_panel_AggregateMenu.panel-button { Gjs_ui_panel_AggregateMenu.panel-button,
Gjs_ui_panel_QuickSettings.panel-button {
.system-status-icon { .system-status-icon {
margin: 0 $base_padding / 2 !important; margin: 0 $base_padding / 2 !important;
} }
@ -228,6 +237,13 @@ $panel_height: $menuitem_size;
font-weight: bold !important; font-weight: bold !important;
} }
// Input indicators
Gjs_status_keyboard_InputSourceIndicator.panel-button, // Ibus
Gjs_appindicatorsupport_rgcjonas_gmail_com_indicatorStatusIcon_AppIndicatorsIndicatorStatusIcon.panel-button { // Fcitx
-natural-hpadding: 12px + $base_padding !important;
-minimum-hpadding: 12px + $base_padding !important;
}
// transparent panel on lock & login screens // transparent panel on lock & login screens
&:overview, &:overview,
&.unlock-screen, &.unlock-screen,
@ -283,16 +299,6 @@ $panel_height: $menuitem_size;
} }
} }
.panel-status-indicators-box,
.panel-status-menu-box {
spacing: 2px;
}
// spacing between power icon and (optional) percentage label
.power-status.panel-status-indicators-box {
spacing: 0;
}
// indicator for active // indicator for active
.screencast-indicator, .screencast-indicator,
.remote-access-indicator { color: $warning_color; } .remote-access-indicator { color: $warning_color; }

View file

@ -111,7 +111,7 @@ $raven_padding: 8px;
border: none; border: none;
} }
separator { margin: $container_padding / 2 0; } widget > separator { margin: $container_padding / 2 0; }
border { border: none; } border { border: none; }