2019-12-18 16:25:03 -05:00
|
|
|
/* Dash */
|
|
|
|
|
2021-12-28 08:46:54 -05:00
|
|
|
$dash_background_color: lighten($system_bg_color, 5%);
|
2019-12-18 16:25:03 -05:00
|
|
|
$dash_placeholder_size: 32px;
|
2021-02-04 12:27:30 -05:00
|
|
|
$dash_padding: $base_padding + 4px; // 10px
|
|
|
|
$dash_spacing: $base_padding / 4;
|
2021-02-09 13:57:55 -05:00
|
|
|
$dash_bottom_margin: $base_margin * 4;
|
2021-12-28 08:46:54 -05:00
|
|
|
$dash_border_radius: $modal_radius + 8px;
|
2021-02-04 12:27:30 -05:00
|
|
|
|
2021-12-28 08:46:54 -05:00
|
|
|
// container for the dash
|
2019-12-18 16:25:03 -05:00
|
|
|
#dash {
|
2019-12-19 11:09:33 -05:00
|
|
|
@include fontsize($base_font_size - 2);
|
2021-12-28 08:46:54 -05:00
|
|
|
margin-top: $base_margin * 3;
|
|
|
|
padding: $dash_padding;
|
2019-12-18 16:25:03 -05:00
|
|
|
|
2019-12-19 10:38:27 -05: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 16:25:03 -05:00
|
|
|
|
2019-12-19 10:38:27 -05:00
|
|
|
.empty-dash-drop-target {
|
|
|
|
width: $dash_placeholder_size;
|
|
|
|
height: $dash_placeholder_size;
|
|
|
|
}
|
2019-12-18 16:25:03 -05:00
|
|
|
|
2021-12-28 08:46:54 -05:00
|
|
|
// icon on the dash
|
2021-02-04 12:27:30 -05:00
|
|
|
.overview-icon {
|
2021-12-28 08:46:54 -05:00
|
|
|
padding: $base_padding+2px;
|
|
|
|
}
|
|
|
|
|
|
|
|
// Running app indicator (also shown in app grid)
|
|
|
|
.app-well-app-running-dot {
|
|
|
|
height: 5px;
|
|
|
|
width: 5px;
|
|
|
|
border-radius:5px;
|
|
|
|
background-color: $osd_fg_color;
|
2022-02-02 13:17:42 -05:00
|
|
|
margin-top: 2px;
|
2021-12-28 08:46:54 -05:00
|
|
|
margin-bottom: 12px;
|
2021-02-04 07:26:23 -05:00
|
|
|
}
|
2019-12-18 16:25:03 -05:00
|
|
|
}
|
|
|
|
|
2021-12-28 08:46:54 -05:00
|
|
|
// background of the dash behind app icons
|
2021-02-09 13:57:55 -05:00
|
|
|
.dash-background {
|
|
|
|
background-color: $dash_background_color;
|
|
|
|
border-radius: $dash_border_radius;
|
2021-12-28 08:46:54 -05:00
|
|
|
margin-bottom: 0; // this keeps things vertically centered
|
|
|
|
padding: $dash_padding;
|
2021-02-09 13:57:55 -05:00
|
|
|
}
|
|
|
|
|
2021-12-28 08:46:54 -05:00
|
|
|
// items on the dash
|
|
|
|
.dash-item-container {
|
|
|
|
|
|
|
|
// each app item on the dash
|
|
|
|
.app-well-app {
|
|
|
|
margin: 2px;
|
|
|
|
}
|
|
|
|
|
|
|
|
// show apps button
|
|
|
|
.show-apps {
|
|
|
|
@include overview_icon($osd_fg_color);
|
|
|
|
margin: 2px;
|
|
|
|
}
|
2021-02-04 07:26:23 -05:00
|
|
|
}
|
2021-02-04 12:27:30 -05:00
|
|
|
|
2021-12-28 08:46:54 -05:00
|
|
|
// separator between favourites and running apps
|
2021-02-04 12:27:30 -05:00
|
|
|
.dash-separator {
|
|
|
|
width: 1px;
|
2021-12-28 08:46:54 -05:00
|
|
|
margin: 0 $base_margin*2;
|
2022-02-02 13:17:42 -05:00
|
|
|
background-color: transparentize($borders_color,0.2);
|
2021-01-28 17:24:44 -05:00
|
|
|
}
|
|
|
|
|
2019-12-18 16:25:03 -05:00
|
|
|
// OSD Tooltip
|
|
|
|
.dash-label {
|
2019-12-19 10:38:27 -05:00
|
|
|
color: $osd_fg_color;
|
2021-02-15 19:28:00 -05:00
|
|
|
background-color: $osd_bg_color;
|
|
|
|
border-radius: 99px;
|
|
|
|
padding: $base_padding $base_padding * 2;
|
2019-12-19 10:38:27 -05:00
|
|
|
text-align: center;
|
2021-12-28 08:46:54 -05:00
|
|
|
-y-offset: $base_margin * 2; // distance from the dash edge
|
2019-12-18 16:25:03 -05:00
|
|
|
}
|