2019-12-18 16:25:03 -05:00
|
|
|
/* Top Bar */
|
|
|
|
// a.k.a. the panel
|
|
|
|
|
|
|
|
$panel_corner_radius: $base_border_radius+1;
|
2020-02-06 20:17:53 -05:00
|
|
|
$panel_bg_color: #000;
|
2021-03-01 04:21:58 -05:00
|
|
|
$panel_fg_color: #ddd;
|
2020-08-04 07:47:59 -04:00
|
|
|
$panel_height: 2.2em;
|
2020-08-06 14:58:44 -04:00
|
|
|
$panel_transition_duration: 250ms; // same as the overview transition duration
|
2019-12-18 16:25:03 -05:00
|
|
|
|
|
|
|
#panel {
|
|
|
|
background-color: $panel_bg_color;
|
|
|
|
font-weight: bold;
|
|
|
|
height: $panel_height;
|
|
|
|
font-feature-settings: "tnum";
|
2020-08-06 14:58:44 -04:00
|
|
|
transition-duration: $panel_transition_duration;
|
2019-12-18 16:25:03 -05:00
|
|
|
|
|
|
|
// transparent panel on lock & login screens
|
|
|
|
&.unlock-screen,
|
2020-08-06 14:58:44 -04:00
|
|
|
&.login-screen,
|
|
|
|
&:overview {
|
2019-12-18 16:25:03 -05:00
|
|
|
background-color: transparent;
|
|
|
|
|
|
|
|
.panel-corner {
|
2020-08-06 14:58:44 -04:00
|
|
|
-panel-corner-opacity: 0;
|
2019-12-18 16:25:03 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-03-12 19:27:12 -05:00
|
|
|
// spacing between activities, app menu and such
|
|
|
|
#panelLeft, #panelCenter {
|
|
|
|
spacing: $base_spacing;
|
|
|
|
}
|
|
|
|
|
2019-12-18 16:25:03 -05:00
|
|
|
// the rounded outset corners
|
|
|
|
.panel-corner {
|
|
|
|
-panel-corner-radius: $panel_corner_radius;
|
|
|
|
-panel-corner-background-color: $panel_bg_color;
|
|
|
|
-panel-corner-border-width: 2px;
|
2020-08-06 14:58:44 -04:00
|
|
|
-panel-corner-border-color: transparent;
|
2019-02-11 17:05:31 -05:00
|
|
|
-panel-corner-opacity: 1;
|
2020-08-06 14:58:44 -04:00
|
|
|
transition-duration: $panel_transition_duration;
|
2019-12-18 16:25:03 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
// panel menus
|
|
|
|
.panel-button {
|
|
|
|
font-weight: bold;
|
|
|
|
color: $panel_fg_color;
|
|
|
|
-natural-hpadding: $base_padding * 2;
|
|
|
|
-minimum-hpadding: $base_padding;
|
2020-08-04 07:47:59 -04:00
|
|
|
transition-duration: 150ms;
|
|
|
|
border: 3px solid transparent;
|
|
|
|
border-radius: 99px;
|
2019-12-18 16:25:03 -05:00
|
|
|
|
2020-08-04 07:47:59 -04:00
|
|
|
&.clock-display {
|
|
|
|
.clock {
|
|
|
|
transition-duration: 150ms;
|
|
|
|
border: 3px solid transparent;
|
|
|
|
border-radius: 99px;
|
|
|
|
}
|
2019-12-18 16:25:03 -05:00
|
|
|
}
|
|
|
|
|
2020-08-04 07:47:59 -04:00
|
|
|
&:hover, &:active, &:overview, &:focus, &:checked {
|
|
|
|
box-shadow: inset 0 0 0 100px rgba(255, 255, 255, 0.20);
|
|
|
|
|
|
|
|
// The clock display needs to have the background on .clock because
|
|
|
|
// we want to exclude the do-not-disturb indicator from the background
|
|
|
|
&.clock-display {
|
|
|
|
box-shadow: none;
|
|
|
|
|
|
|
|
.clock {
|
|
|
|
box-shadow: inset 0 0 0 100px rgba(255, 255, 255, 0.20);
|
|
|
|
}
|
|
|
|
}
|
2019-12-18 16:25:03 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
// status area icons
|
|
|
|
.system-status-icon {
|
|
|
|
icon-size: $base_icon_size;
|
|
|
|
padding: $base_padding - 1px;
|
2021-02-01 19:51:15 -05:00
|
|
|
margin: 0 $base_margin;
|
|
|
|
}
|
|
|
|
|
|
|
|
.panel-status-indicators-box .system-status-icon,
|
|
|
|
.panel-status-menu-box .system-status-icon {
|
|
|
|
margin: 0;
|
2019-12-18 16:25:03 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
// app menu icon
|
|
|
|
.app-menu-icon {
|
|
|
|
-st-icon-style: symbolic;
|
|
|
|
// dimensions of the icon are hardcoded
|
|
|
|
}
|
|
|
|
|
2020-08-04 05:47:18 -04:00
|
|
|
&#panelActivities {
|
|
|
|
-natural-hpadding: $base_padding * 3;
|
|
|
|
}
|
2019-12-18 16:25:03 -05:00
|
|
|
}
|
|
|
|
|
2020-08-06 14:58:44 -04:00
|
|
|
&.unlock-screen,
|
|
|
|
&.login-screen,
|
|
|
|
&:overview {
|
|
|
|
.panel-button {
|
|
|
|
&:hover, &:active, &:overview, &:focus, &:checked {
|
|
|
|
box-shadow: inset 0 0 0 100px rgba(255, 255, 255, 0.15);
|
|
|
|
|
|
|
|
&.clock-display {
|
|
|
|
box-shadow: none;
|
|
|
|
|
|
|
|
.clock {
|
|
|
|
box-shadow: inset 0 0 0 100px rgba(255, 255, 255, 0.15);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2020-02-20 14:10:54 -05:00
|
|
|
|
2019-12-18 16:25:03 -05:00
|
|
|
.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
|
|
|
|
.screencast-indicator,
|
|
|
|
.remote-access-indicator { color: $warning_color; }
|
|
|
|
}
|
|
|
|
|
|
|
|
// App Menu
|
|
|
|
#appMenu {
|
|
|
|
spacing: $base_spacing;
|
|
|
|
.label-shadow { color: transparent; }
|
2020-01-08 05:08:14 -05:00
|
|
|
}
|
2021-02-01 19:54:48 -05:00
|
|
|
|
|
|
|
#appMenu .panel-status-menu-box {
|
|
|
|
padding: 0 $base_padding;
|
|
|
|
spacing: $base_spacing;
|
2021-03-01 04:21:58 -05:00
|
|
|
}
|