2019-12-18 21:25:03 +00:00
|
|
|
/* Dash */
|
|
|
|
|
2021-12-28 13:46:54 +00:00
|
|
|
$dash_background_color: lighten($system_bg_color, 5%);
|
2019-12-18 21:25:03 +00:00
|
|
|
$dash_placeholder_size: 32px;
|
2022-02-07 18:22:40 +00:00
|
|
|
$dash_padding: $base_padding*2; // 12px
|
|
|
|
$dash_border_radius: $modal_radius + $dash_padding;
|
2021-02-04 17:27:30 +00:00
|
|
|
|
2021-12-28 13:46:54 +00:00
|
|
|
// container for the dash
|
2019-12-18 21:25:03 +00:00
|
|
|
#dash {
|
2022-02-07 18:22:40 +00:00
|
|
|
@extend %caption;
|
|
|
|
margin: 2em;
|
2019-12-18 21:25:03 +00:00
|
|
|
|
2019-12-19 15:38:27 +00:00
|
|
|
.placeholder {
|
|
|
|
// background-image: url("resource:///org/gnome/shell/theme/dash-placeholder.svg");
|
|
|
|
background-image:none;
|
|
|
|
background-size: contain;
|
|
|
|
height: $dash_placeholder_size;
|
|
|
|
}
|
2019-12-18 21:25:03 +00:00
|
|
|
|
2019-12-19 15:38:27 +00:00
|
|
|
.empty-dash-drop-target {
|
|
|
|
width: $dash_placeholder_size;
|
|
|
|
height: $dash_placeholder_size;
|
|
|
|
}
|
2019-12-18 21:25:03 +00:00
|
|
|
|
2021-12-28 13:46:54 +00:00
|
|
|
// Running app indicator (also shown in app grid)
|
|
|
|
.app-well-app-running-dot {
|
2022-02-07 18:22:40 +00:00
|
|
|
margin-bottom: 15px; // hardcoded
|
2021-02-04 12:26:23 +00:00
|
|
|
}
|
2019-12-18 21:25:03 +00:00
|
|
|
}
|
|
|
|
|
2021-12-28 13:46:54 +00:00
|
|
|
// background of the dash behind app icons
|
2021-02-09 18:57:55 +00:00
|
|
|
.dash-background {
|
|
|
|
background-color: $dash_background_color;
|
|
|
|
border-radius: $dash_border_radius;
|
2021-12-28 13:46:54 +00:00
|
|
|
padding: $dash_padding;
|
2022-02-07 18:22:40 +00:00
|
|
|
spacing: $base_padding;
|
2021-02-09 18:57:55 +00:00
|
|
|
}
|
|
|
|
|
2021-12-28 13:46:54 +00:00
|
|
|
// items on the dash
|
|
|
|
.dash-item-container {
|
|
|
|
// each app item on the dash
|
2022-02-07 18:22:40 +00:00
|
|
|
.app-well-app .overview-icon {
|
|
|
|
margin: 0 4px;
|
|
|
|
padding: $base_padding;
|
2021-12-28 13:46:54 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
// show apps button
|
2022-02-07 18:22:40 +00:00
|
|
|
.show-apps { @include overview_icon($osd_fg_color);}
|
2021-02-04 12:26:23 +00:00
|
|
|
}
|
2021-02-04 17:27:30 +00:00
|
|
|
|
2021-12-28 13:46:54 +00:00
|
|
|
// separator between favourites and running apps
|
2021-02-04 17:27:30 +00:00
|
|
|
.dash-separator {
|
|
|
|
width: 1px;
|
2022-02-07 17:37:54 +00:00
|
|
|
background-color: $borders_color;
|
2021-01-28 22:24:44 +00:00
|
|
|
}
|
|
|
|
|
2019-12-18 21:25:03 +00:00
|
|
|
// OSD Tooltip
|
|
|
|
.dash-label {
|
2019-12-19 15:38:27 +00:00
|
|
|
color: $osd_fg_color;
|
2021-02-16 00:28:00 +00:00
|
|
|
background-color: $osd_bg_color;
|
|
|
|
border-radius: 99px;
|
|
|
|
padding: $base_padding $base_padding * 2;
|
2019-12-19 15:38:27 +00:00
|
|
|
text-align: center;
|
2021-12-28 13:46:54 +00:00
|
|
|
-y-offset: $base_margin * 2; // distance from the dash edge
|
2019-12-18 21:25:03 +00:00
|
|
|
}
|