summaryrefslogtreecommitdiff
path: root/widgets/_app-grid.scss
diff options
context:
space:
mode:
Diffstat (limited to 'widgets/_app-grid.scss')
-rw-r--r--widgets/_app-grid.scss46
1 files changed, 31 insertions, 15 deletions
diff --git a/widgets/_app-grid.scss b/widgets/_app-grid.scss
index 9da650c..31d4382 100644
--- a/widgets/_app-grid.scss
+++ b/widgets/_app-grid.scss
@@ -20,7 +20,10 @@ $app_icon_size: 96px;
.app-well-app {
@include overview_icon($osd_fg_color);
- .overview-icon { padding: $base_padding*2;}
+ .overview-icon {
+ padding: $base_padding*2;
+ border-radius: $base_border_radius*3;
+ }
.overview-icon.overview-icon-with-label {
> StBoxLayout {
spacing: $base_padding;
@@ -30,13 +33,19 @@ $app_icon_size: 96px;
// app folders
.app-well-app.app-folder {
- @include overview_icon($osd_fg_color, $flat: false);
+ @include overview_icon($fg_color, $flat: false);
}
// expanded folder
.app-folder-dialog {
- border-radius: $modal_radius*2;
- background-color: $dash_background_color;
+ border-radius: $modal_radius*4;
+ background-color: $bg_color;
+ padding: $base_padding*2;
+ box-shadow:inset 0 0 0 1px $outer_borders_color;
+
+ @if $is_highcontrast {
+ box-shadow:inset 0 0 0 2px $hc_inset_color;
+ }
& .folder-name-container {
padding: 24px 36px 0;
@@ -47,7 +56,10 @@ $app_icon_size: 96px;
@extend %title_1;
}
- & .folder-name-entry { width: 300px }
+ & .folder-name-entry {
+ width: 12em;
+ border-radius: $base_border_radius*2;
+ }
/* FIXME: this is to keep the label in sync with the entry */
& .folder-name-label { padding: 5px 7px; color: $osd_fg_color; }
@@ -119,9 +131,12 @@ $app_icon_size: 96px;
// shutdown and other actions in the grid
.system-action-icon {
background-color: rgba(0,0,0,0.8);
- color: #fff;
+ color: white;
border-radius: 99px;
icon-size: $app_icon_size * 0.5;
+ @if $is_highcontrast {
+ box-shadow: inset 0 0 0 2px $hc_inset_color;
+ }
}
.page-navigation-hint {
@@ -147,15 +162,16 @@ $app_icon_size: 96px;
}
.page-navigation-arrow {
- & > StIcon {
- margin: 6px;
- padding: 18px;
- width: 24px;
- height: 24px;
- border-radius: 99px;
+ margin: 6px;
+ padding: 18px;
+ width: 24px;
+ height: 24px;
+ border-radius: 99px;
+ @if $is_highcontrast {
+ @include button(normal, $osd_fg_color, transparentize($osd_bg_color, 0.5));
}
- &:insensitive > StIcon { @include button(undecorated, $osd_fg_color, transparentize($osd_bg_color, 0.5));}
- &:hover > StIcon { @include button(hover, $osd_fg_color, transparentize($osd_bg_color, 0.5));}
- &:active > StIcon { @include button(active, $osd_fg_color, transparentize($osd_bg_color, 0.5));}
+ &:insensitive { @include button(undecorated, $osd_fg_color, transparentize($osd_bg_color, 0.5));}
+ &:hover { @include button(hover, $osd_fg_color, transparentize($osd_bg_color, 0.5));}
+ &:active { @include button(active, $osd_fg_color, transparentize($osd_bg_color, 0.5));}
}