2019-12-18 21:25:03 +00:00
|
|
|
/* Dash */
|
|
|
|
|
|
|
|
$dash_placeholder_size: 32px;
|
2020-01-13 04:58:20 +00:00
|
|
|
$dash_spacing: $base_padding + 4px;
|
2019-12-18 21:25:03 +00:00
|
|
|
$dash_border_radius: $modal_radius * 1.5;
|
|
|
|
|
|
|
|
#dash {
|
2019-12-19 15:38:27 +00:00
|
|
|
@extend %overview_panel;
|
2019-12-19 16:09:33 +00:00
|
|
|
@include fontsize($base_font_size - 2);
|
2020-01-13 04:58:20 +00:00
|
|
|
padding: ($dash_spacing / 2) 0;
|
2019-12-18 21:25:03 +00:00
|
|
|
|
2019-12-19 15:38:27 +00:00
|
|
|
border-radius: 0 $dash_border_radius $dash_border_radius 0;
|
2020-01-25 02:37:16 +00:00
|
|
|
border-left-width: 0;
|
|
|
|
&:rtl {
|
2019-12-19 15:38:27 +00:00
|
|
|
border-radius: $dash_border_radius 0 0 $dash_border_radius;
|
2020-01-25 02:37:16 +00:00
|
|
|
border-right-width: 0;
|
2019-12-19 15:38:27 +00:00
|
|
|
}
|
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
|
|
|
}
|
|
|
|
|
|
|
|
// Dash Items
|
|
|
|
.dash-item-container > StWidget {
|
2020-01-13 04:58:20 +00:00
|
|
|
padding: ($dash_spacing / 2) $dash_spacing;
|
2019-12-18 21:25:03 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
// OSD Tooltip
|
|
|
|
.dash-label {
|
2019-12-19 15:38:27 +00:00
|
|
|
background-color: transparentize($osd_bg_color,0.05);
|
|
|
|
border-radius: $base_border_radius + 2px;
|
|
|
|
border:none;
|
|
|
|
box-shadow:0 0 0 1px $osd_outer_borders_color;
|
|
|
|
color: $osd_fg_color;
|
|
|
|
padding: $base_padding $base_padding + 2px;
|
|
|
|
text-align: center;
|
|
|
|
-x-offset: $base_margin * 2; // distance from the dash edge
|
2019-12-18 21:25:03 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
// Show apps button
|
|
|
|
.show-apps {
|
2020-01-25 08:53:17 +00:00
|
|
|
@include overview-icon($osd_fg_color);
|
2019-12-18 21:25:03 +00:00
|
|
|
|
2019-12-19 19:11:59 +00:00
|
|
|
&:focus,
|
2020-01-25 08:53:17 +00:00
|
|
|
&:checked {
|
2019-12-19 19:11:59 +00:00
|
|
|
.overview-icon {
|
|
|
|
background-color: darken($osd_bg_color,10%);
|
|
|
|
color: $fg_color;
|
|
|
|
}
|
2019-12-19 15:38:27 +00:00
|
|
|
}
|
2019-12-18 21:25:03 +00:00
|
|
|
}
|
|
|
|
|