Fixed #117 Dash to panel view problem

This commit is contained in:
vinceliuice
2023-06-21 18:10:24 +08:00
parent f2b285c0d4
commit 57d7d8c1ed
2 changed files with 33 additions and 2 deletions

View File

@@ -30,8 +30,8 @@
// panel menus // panel menus
.panel-button { .panel-button {
-natural-hpadding: 12px; -natural-hpadding: $base_padding * 2;
-minimum-hpadding: 12px; -minimum-hpadding: $base_padding;
font-weight: bold; font-weight: bold;
color: $panel-text-secondary; color: $panel-text-secondary;
transition-duration: 150ms; transition-duration: 150ms;
@@ -61,6 +61,26 @@
} }
} }
&.screen-recording-indicator {
box-shadow: inset 0 0 0 100px $error;
}
&.screen-sharing-indicator {
box-shadow: inset 0 0 0 100px $warning;
StBoxLayout { margin: 0 $base_padding; }
}
&.screen-recording-indicator,
&.screen-sharing-indicator {
StBoxLayout {
spacing: $base_padding;
}
StIcon {
icon-size: $base_icon_size;
}
}
&:hover { &:hover {
color: $panel-text; color: $panel-text;
background-color: transparent; background-color: transparent;

View File

@@ -222,3 +222,14 @@
background-color: transparent !important; background-color: transparent !important;
} }
} }
// Dash to panel
.dashtopanelMainPanel {
.show-apps .overview-icon {
color: $panel-text !important;
}
&:overview, #panel, .dash-background {
background-color: transparent !important;
}
}