2019-12-18 21:25:03 +00:00
|
|
|
/* App Grid */
|
|
|
|
|
|
|
|
$app_icon_size: 96px;
|
2019-12-19 18:05:28 +00:00
|
|
|
$app_icon_padding: 24px;
|
2019-12-18 21:25:03 +00:00
|
|
|
|
|
|
|
// app icons
|
|
|
|
.icon-grid {
|
2019-12-19 15:38:27 +00:00
|
|
|
-shell-grid-horizontal-item-size: $app_icon_size + $app_icon_padding * 2;
|
|
|
|
-shell-grid-vertical-item-size: $app_icon_size + $app_icon_padding * 2;
|
2019-12-19 18:05:28 +00:00
|
|
|
spacing: $base_spacing * 6;
|
2019-12-18 21:25:03 +00:00
|
|
|
|
2019-12-19 15:38:27 +00:00
|
|
|
.overview-icon {
|
|
|
|
icon-size: $app_icon_size;
|
2019-12-19 18:05:28 +00:00
|
|
|
StIcon { margin-bottom: $base_margin; } // margin on icon so label isn't close
|
2019-12-19 15:38:27 +00:00
|
|
|
}
|
2019-12-18 21:25:03 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
//.app-display { spacing: 20px; }
|
|
|
|
|
|
|
|
/* App Icons */
|
|
|
|
|
|
|
|
$app_grid_fg_color: #fff;
|
|
|
|
|
|
|
|
// Outline for low res icons
|
|
|
|
.lowres-icon {
|
2019-12-19 15:38:27 +00:00
|
|
|
icon-shadow: 0 1px 2px rgba(0,0,0,0.3);
|
2019-12-18 21:25:03 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
// Dropshadow for large icons
|
|
|
|
.icon-dropshadow {
|
2019-12-19 15:38:27 +00:00
|
|
|
icon-shadow: 0 1px 2px rgba(0,0,0,0.4);
|
2019-12-18 21:25:03 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
// Icon tiles in the app grid
|
|
|
|
.app-well-app,
|
|
|
|
.app-folder {
|
|
|
|
|
2019-12-19 15:38:27 +00:00
|
|
|
.overview-icon {
|
|
|
|
@extend %icon_tile;
|
|
|
|
color: $app_grid_fg_color !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:selected {
|
|
|
|
.overview-icon {
|
|
|
|
background-color: transparentize($osd_bg_color,0.7);
|
|
|
|
color: $app_grid_fg_color;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-12-19 20:56:45 +00:00
|
|
|
&:hover,
|
|
|
|
&:focus,
|
|
|
|
&:selected {
|
|
|
|
.overview-icon {
|
|
|
|
background-color: transparentize($osd_fg_color,0.9);
|
|
|
|
color: $osd_fg_color;
|
|
|
|
}
|
2019-12-19 15:38:27 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&:focus {
|
|
|
|
.overview-icon {
|
|
|
|
background-color: transparentize($osd_fg_color,0.7 );
|
|
|
|
// border-color: $selected_bg_color;
|
|
|
|
color: $app_grid_fg_color;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&:drop {
|
|
|
|
.overview-icon {
|
|
|
|
background-color: transparentize($selected_bg_color,.15);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&:active,
|
|
|
|
&:checked {
|
|
|
|
.overview-icon {
|
|
|
|
background-color: transparentize(darken($osd_bg_color,10%), 0.5);
|
|
|
|
}
|
|
|
|
}
|
2019-12-18 21:25:03 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/* App Folders */
|
|
|
|
.app-folder {
|
2019-12-19 15:38:27 +00:00
|
|
|
.overview-icon {
|
|
|
|
@extend %icon_tile;
|
|
|
|
}
|
2019-12-18 21:25:03 +00:00
|
|
|
}
|
|
|
|
|
2019-12-19 18:05:28 +00:00
|
|
|
// expanded folder
|
2019-12-18 21:25:03 +00:00
|
|
|
.app-folder-popup {
|
2019-12-19 15:38:27 +00:00
|
|
|
-arrow-border-radius: 8px;
|
|
|
|
-arrow-background-color: transparentize(darken($osd_bg_color,10%), 0.5);
|
|
|
|
-arrow-base: 24px;
|
|
|
|
-arrow-rise: 11px;
|
2019-12-18 21:25:03 +00:00
|
|
|
}
|
|
|
|
|
2019-12-19 20:56:45 +00:00
|
|
|
.app-folder-popup-bin { padding: $base_padding - 1px; }
|
2019-12-19 18:05:28 +00:00
|
|
|
|
2019-12-18 21:25:03 +00:00
|
|
|
.app-folder-icon {
|
2019-12-19 15:38:27 +00:00
|
|
|
padding: $base_padding;
|
|
|
|
spacing-rows: $base_spacing;
|
|
|
|
spacing-columns: $base_spacing;
|
2019-12-18 21:25:03 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// Running app indicator (also shown in dash)
|
|
|
|
.app-well-app-running-dot {
|
2019-12-19 15:38:27 +00:00
|
|
|
height: 5px;
|
|
|
|
width: 5px;
|
|
|
|
border-radius:5px;
|
|
|
|
background-color: $osd_fg_color;
|
|
|
|
margin-bottom: 1px;
|
2019-12-18 21:25:03 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
// Rename popup for app folders
|
|
|
|
.rename-folder-popup {
|
2019-12-19 15:38:27 +00:00
|
|
|
.rename-folder-popup-item {
|
|
|
|
spacing: $base_spacing;
|
2019-12-19 20:56:45 +00:00
|
|
|
&:ltr, &:rtl { padding: 0 $base_padding * 2; }
|
2019-12-19 15:38:27 +00:00
|
|
|
}
|
2019-12-18 21:25:03 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
// right-click app menu
|
|
|
|
.app-menu,
|
|
|
|
.app-well-menu {
|
2019-12-19 15:38:27 +00:00
|
|
|
max-width: 27.25em;
|
2019-12-18 21:25:03 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
// App Grid pagination indicators
|
|
|
|
.page-indicator {
|
2019-12-19 15:38:27 +00:00
|
|
|
padding: 15px 20px;
|
|
|
|
|
|
|
|
.page-indicator-icon {
|
2019-12-19 20:56:45 +00:00
|
|
|
width: 10px;
|
|
|
|
height: 10px;
|
|
|
|
border-radius: 10px; // the same as height&width
|
|
|
|
background-color: white;
|
2019-12-19 15:38:27 +00:00
|
|
|
}
|
2019-12-18 21:25:03 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
// Some hacks I don't even know
|
|
|
|
.all-apps,
|
|
|
|
.frequent-apps > StBoxLayout {
|
2019-12-19 15:38:27 +00:00
|
|
|
// horizontal padding to make sure scrollbars or dash don't overlap content
|
|
|
|
padding: 0px 88px 10px 88px;
|
2019-12-18 21:25:03 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.app-well-app > .overview-icon.overview-icon-with-label {
|
2019-12-19 15:38:27 +00:00
|
|
|
padding: 10px 8px 5px 8px;
|
|
|
|
spacing: $base_spacing;
|
2019-12-18 21:25:03 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
// Label when no frequent apps
|
|
|
|
.no-frequent-applications-label { @extend %status_text; }
|
|
|
|
|
|
|
|
// shutdown and other actions in the grid
|
|
|
|
.system-action-icon {
|
2019-12-19 15:38:27 +00:00
|
|
|
background-color: rgba(0,0,0,0.8);
|
|
|
|
color: #fff;
|
2019-12-20 21:33:13 +00:00
|
|
|
border-radius: 99px;
|
2019-12-19 15:38:27 +00:00
|
|
|
icon-size: $app_icon_size * 0.5;
|
2019-12-18 21:25:03 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Frequent | All toggle */
|
|
|
|
|
|
|
|
// container
|
|
|
|
.app-view-controls {
|
2019-12-19 15:38:27 +00:00
|
|
|
padding-bottom: 32px;
|
2019-12-18 21:25:03 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
// buttons
|
|
|
|
.app-view-control {
|
2019-12-19 18:05:28 +00:00
|
|
|
padding: $base_padding $base_padding*5;
|
2019-12-19 15:38:27 +00:00
|
|
|
margin: 0;
|
|
|
|
background-color: transparentize($osd_bg_color, 0.5);
|
|
|
|
border-width: 1px;
|
|
|
|
color: darken($osd_fg_color, 25%);
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background-color: transparentize($osd_bg_color, 0.5) !important;
|
|
|
|
box-shadow:none !important;
|
|
|
|
color: darken($osd_fg_color, 25%);
|
|
|
|
}
|
|
|
|
|
|
|
|
&:active {
|
2019-12-19 18:05:28 +00:00
|
|
|
box-shadow: none;
|
|
|
|
background-color: $selected_bg_color !important;
|
|
|
|
&:hover {
|
|
|
|
background-color: lighten($selected_bg_color, 11%) !important;
|
|
|
|
}
|
2019-12-19 15:38:27 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&:checked {
|
2019-12-19 18:05:28 +00:00
|
|
|
background-color: $selected_bg_color !important;
|
|
|
|
color: $selected_fg_color;
|
2019-12-19 15:38:27 +00:00
|
|
|
box-shadow: none;
|
2019-12-19 18:05:28 +00:00
|
|
|
&:active { background-color: darken($selected_bg_color, 4%) !important; }
|
|
|
|
&:hover { background-color: lighten($selected_bg_color, 7%) !important; }
|
2019-12-19 15:38:27 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&:first-child {
|
|
|
|
border-right-width: 0 !important;
|
|
|
|
border-radius: $base_border_radius 0 0 $base_border_radius;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:last-child {
|
|
|
|
border-radius: 0 $base_border_radius $base_border_radius 0;
|
|
|
|
}
|
2019-12-18 21:25:03 +00:00
|
|
|
}
|