2019-12-18 16:25:03 -05:00
|
|
|
/* App Grid */
|
|
|
|
|
|
|
|
$app_icon_size: 96px;
|
2019-12-19 13:05:28 -05:00
|
|
|
$app_icon_padding: 24px;
|
2019-12-18 16:25:03 -05:00
|
|
|
|
|
|
|
// app icons
|
|
|
|
.icon-grid {
|
2019-12-19 10:38:27 -05: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 13:05:28 -05:00
|
|
|
spacing: $base_spacing * 6;
|
2019-12-18 16:25:03 -05:00
|
|
|
|
2019-12-19 10:38:27 -05:00
|
|
|
.overview-icon {
|
|
|
|
icon-size: $app_icon_size;
|
|
|
|
}
|
2019-12-18 16:25:03 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
//.app-display { spacing: 20px; }
|
|
|
|
|
|
|
|
/* App Icons */
|
|
|
|
|
|
|
|
$app_grid_fg_color: #fff;
|
|
|
|
|
|
|
|
// Outline for low res icons
|
|
|
|
.lowres-icon {
|
2019-12-19 10:38:27 -05:00
|
|
|
icon-shadow: 0 1px 2px rgba(0,0,0,0.3);
|
2019-12-18 16:25:03 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
// Dropshadow for large icons
|
|
|
|
.icon-dropshadow {
|
2019-12-19 10:38:27 -05:00
|
|
|
icon-shadow: 0 1px 2px rgba(0,0,0,0.4);
|
2019-12-18 16:25:03 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
// Icon tiles in the app grid
|
|
|
|
.app-well-app,
|
2020-01-25 03:53:17 -05:00
|
|
|
%app-well-app {
|
|
|
|
@include overview-icon($app_grid_fg_color);
|
2019-12-19 10:38:27 -05:00
|
|
|
|
2020-02-04 11:03:05 -05:00
|
|
|
.overview-icon.overview-icon-with-label {
|
2020-01-25 03:53:17 -05:00
|
|
|
padding: 10px 8px 5px 8px;
|
2020-02-04 11:03:05 -05:00
|
|
|
|
|
|
|
> StBoxLayout {
|
|
|
|
spacing: $base_spacing;
|
|
|
|
}
|
2019-12-19 10:38:27 -05:00
|
|
|
}
|
2019-12-18 16:25:03 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
/* App Folders */
|
|
|
|
.app-folder {
|
2019-12-19 10:38:27 -05:00
|
|
|
.overview-icon {
|
|
|
|
}
|
2019-12-18 16:25:03 -05:00
|
|
|
}
|
|
|
|
|
2019-12-19 13:05:28 -05:00
|
|
|
// expanded folder
|
2019-12-12 13:54:18 -05:00
|
|
|
.app-folder-dialog {
|
2020-02-02 09:35:35 -05:00
|
|
|
border-radius: $modal_radius * 1.5;
|
|
|
|
border: 1px solid $osd_outer_borders_color;
|
|
|
|
spacing: 12px;
|
2019-12-12 13:54:18 -05:00
|
|
|
background-color: transparentize(darken($osd_bg_color,10%), 0.05);
|
2019-12-17 14:39:24 -05:00
|
|
|
|
|
|
|
& .folder-name-container {
|
2020-02-02 09:35:35 -05:00
|
|
|
padding: 24px 36px 0;
|
2019-12-17 14:39:24 -05:00
|
|
|
spacing: 12px;
|
|
|
|
|
|
|
|
& .folder-name-label,
|
|
|
|
& .folder-name-entry {
|
|
|
|
font-size: 18pt;
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
|
|
|
& .folder-name-entry { width: 300px }
|
|
|
|
|
|
|
|
/* FIXME: this is to keep the label in sync with the entry */
|
|
|
|
& .folder-name-label { padding: 5px 7px }
|
|
|
|
|
|
|
|
& .edit-folder-button {
|
|
|
|
@extend %button;
|
|
|
|
|
|
|
|
padding: 0;
|
|
|
|
width: 36px;
|
|
|
|
height: 36px;
|
|
|
|
border-radius: 18px;
|
|
|
|
|
|
|
|
& > StIcon { icon-size: 16px }
|
|
|
|
}
|
|
|
|
}
|
2020-02-02 09:35:35 -05:00
|
|
|
|
|
|
|
& StButton#vhandle,
|
|
|
|
& StButton#vhandle:hover,
|
|
|
|
& StButton#vhandle:active { background-color: transparent; }
|
2019-12-12 13:54:18 -05:00
|
|
|
}
|
|
|
|
.app-folder-dialog-container {
|
|
|
|
padding: 12px;
|
|
|
|
width: 800px;
|
|
|
|
height: 600px;
|
2019-12-18 16:25:03 -05:00
|
|
|
}
|
2019-12-19 13:05:28 -05:00
|
|
|
|
2019-12-18 16:25:03 -05:00
|
|
|
.app-folder-icon {
|
2019-12-19 10:38:27 -05:00
|
|
|
padding: $base_padding;
|
|
|
|
spacing-rows: $base_spacing;
|
|
|
|
spacing-columns: $base_spacing;
|
2019-12-18 16:25:03 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// Running app indicator (also shown in dash)
|
|
|
|
.app-well-app-running-dot {
|
2019-12-19 10:38:27 -05:00
|
|
|
height: 5px;
|
|
|
|
width: 5px;
|
|
|
|
border-radius:5px;
|
|
|
|
background-color: $osd_fg_color;
|
|
|
|
margin-bottom: 1px;
|
2019-12-18 16:25:03 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
// Rename popup for app folders
|
|
|
|
.rename-folder-popup {
|
2019-12-19 10:38:27 -05:00
|
|
|
.rename-folder-popup-item {
|
|
|
|
spacing: $base_spacing;
|
2019-12-19 15:56:45 -05:00
|
|
|
&:ltr, &:rtl { padding: 0 $base_padding * 2; }
|
2019-12-19 10:38:27 -05:00
|
|
|
}
|
2019-12-18 16:25:03 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
// right-click app menu
|
|
|
|
.app-menu,
|
|
|
|
.app-well-menu {
|
2019-12-19 10:38:27 -05:00
|
|
|
max-width: 27.25em;
|
2019-12-18 16:25:03 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
// App Grid pagination indicators
|
|
|
|
.page-indicator {
|
2019-12-19 10:38:27 -05:00
|
|
|
padding: 15px 20px;
|
|
|
|
|
|
|
|
.page-indicator-icon {
|
2019-12-19 15:56:45 -05:00
|
|
|
width: 10px;
|
|
|
|
height: 10px;
|
|
|
|
border-radius: 10px; // the same as height&width
|
|
|
|
background-color: white;
|
2019-12-19 10:38:27 -05:00
|
|
|
}
|
2019-12-18 16:25:03 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
// Some hacks I don't even know
|
|
|
|
.all-apps,
|
|
|
|
.frequent-apps > StBoxLayout {
|
2019-12-19 10:38:27 -05:00
|
|
|
// horizontal padding to make sure scrollbars or dash don't overlap content
|
|
|
|
padding: 0px 88px 10px 88px;
|
2019-12-18 16:25:03 -05: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 10:38:27 -05:00
|
|
|
background-color: rgba(0,0,0,0.8);
|
|
|
|
color: #fff;
|
2019-12-20 16:33:13 -05:00
|
|
|
border-radius: 99px;
|
2019-12-19 10:38:27 -05:00
|
|
|
icon-size: $app_icon_size * 0.5;
|
2019-12-18 16:25:03 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Frequent | All toggle */
|
|
|
|
|
|
|
|
// container
|
|
|
|
.app-view-controls {
|
2019-12-19 10:38:27 -05:00
|
|
|
padding-bottom: 32px;
|
2019-12-18 16:25:03 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
// buttons
|
2020-02-05 11:30:42 -05:00
|
|
|
.app-view-control {
|
|
|
|
padding: 4px 32px;
|
|
|
|
margin: 0 4px;
|
2020-01-24 21:37:16 -05:00
|
|
|
|
2020-02-05 11:30:42 -05:00
|
|
|
&, &:hover, &:checked {
|
|
|
|
@include button(undecorated);
|
2019-12-19 10:38:27 -05:00
|
|
|
color: darken($osd_fg_color, 25%);
|
2020-02-05 11:30:42 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
color: $osd_fg_color;
|
|
|
|
box-shadow: inset 0 -2px darken($osd_fg_color, 25%);
|
2019-12-19 10:38:27 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
&:active {
|
2020-02-05 11:30:42 -05:00
|
|
|
box-shadow: inset 0 -2px $osd_fg_color;
|
2019-12-19 10:38:27 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
&:checked {
|
2020-02-05 11:30:42 -05:00
|
|
|
color: $osd_fg_color;
|
|
|
|
box-shadow: inset 0 -2px $selected_bg_color;
|
2019-12-19 10:38:27 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
&:first-child {
|
2020-02-05 11:30:42 -05:00
|
|
|
border-right-width: 0;
|
|
|
|
border-radius: 0;
|
2019-12-19 10:38:27 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
&:last-child {
|
2020-01-24 21:37:16 -05:00
|
|
|
border-radius: 0;
|
2019-12-19 10:38:27 -05:00
|
|
|
}
|
2019-12-12 13:54:18 -05:00
|
|
|
}
|