2023-05-25 17:25:11 -04:00
|
|
|
/* App Grid */
|
|
|
|
|
|
|
|
$app_icon_size: 96px;
|
2024-03-25 13:34:36 -04:00
|
|
|
$app_folder_size: 720px;
|
2023-05-25 17:25:11 -04:00
|
|
|
|
|
|
|
// app icons
|
|
|
|
.icon-grid {
|
|
|
|
row-spacing: $base_padding * 2;
|
|
|
|
column-spacing: $base_padding * 2;
|
2024-03-25 13:34:36 -04:00
|
|
|
max-row-spacing: $base_padding * 6;
|
|
|
|
max-column-spacing: $base_padding * 6;
|
2023-05-25 17:25:11 -04:00
|
|
|
page-padding-top: $base_padding * 4;
|
|
|
|
page-padding-bottom: $base_padding * 4;
|
|
|
|
page-padding-left: $base_padding * 3;
|
|
|
|
page-padding-right: $base_padding * 3;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* App Icons */
|
|
|
|
|
2024-03-25 13:34:36 -04:00
|
|
|
// items in the app grid and dash
|
|
|
|
.overview-tile {
|
|
|
|
@include tile_button($bg:$system_base_color);
|
2023-05-25 17:25:11 -04:00
|
|
|
|
2024-03-25 13:34:36 -04:00
|
|
|
// override the %tile style
|
|
|
|
border-radius: $base_border_radius*3;
|
|
|
|
padding: $base_padding * 2;
|
|
|
|
|
|
|
|
// the icon itself
|
2023-05-25 17:25:11 -04:00
|
|
|
.overview-icon {
|
2024-03-25 13:34:36 -04:00
|
|
|
// item with a label
|
|
|
|
&.overview-icon-with-label {
|
|
|
|
> StBoxLayout {
|
|
|
|
spacing: $base_padding;
|
|
|
|
}
|
2023-05-25 17:25:11 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// app folders
|
2024-03-25 13:34:36 -04:00
|
|
|
.app-folder {
|
|
|
|
@include tile_button($bg:$system_base_color, $raised: true);
|
|
|
|
}
|
|
|
|
|
|
|
|
// Running app indicator (also shown in dash)
|
|
|
|
.app-grid-running-dot {
|
|
|
|
height: 5px;
|
|
|
|
width: 5px;
|
|
|
|
border-radius:5px;
|
|
|
|
background-color: $system_fg_color;
|
2024-09-19 20:40:52 -04:00
|
|
|
offset-y: 6px;
|
2024-03-25 13:34:36 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.app-folder-dialog-container {
|
|
|
|
// pad the top with panel height so the folder doesn't overlap the panel on smaller resolutions
|
|
|
|
padding-top: $panel_height;
|
2023-05-25 17:25:11 -04:00
|
|
|
}
|
|
|
|
|
2024-03-25 13:34:36 -04:00
|
|
|
// Expanded app folder dialog
|
2023-05-25 17:25:11 -04:00
|
|
|
.app-folder-dialog {
|
2024-03-25 13:34:36 -04:00
|
|
|
width: $app_folder_size;
|
|
|
|
height: $app_folder_size;
|
|
|
|
|
|
|
|
border-radius: $modal_radius * 4;
|
2023-10-09 22:24:14 -04:00
|
|
|
background-color: $system_overlay_bg_color;
|
2024-03-25 13:34:36 -04:00
|
|
|
color: $system_fg_color;
|
2023-05-25 17:25:11 -04:00
|
|
|
|
2024-03-25 13:34:36 -04:00
|
|
|
@if $contrast == 'high' {
|
|
|
|
padding: 0 2px;
|
|
|
|
box-shadow: inset 0 0 0 2px $hc_inset_color;
|
|
|
|
} @else {
|
|
|
|
padding: 0 1px;
|
|
|
|
box-shadow: inset 0 0 0 1px $system_borders_color;
|
2023-05-25 17:25:11 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
& .folder-name-container {
|
2024-03-25 13:34:36 -04:00
|
|
|
padding: $base_padding * 4 $base_padding * 6;
|
|
|
|
padding-bottom: 0;
|
2023-05-25 17:25:11 -04:00
|
|
|
|
|
|
|
& .folder-name-label,
|
|
|
|
& .folder-name-entry {
|
|
|
|
@extend %title_1;
|
|
|
|
}
|
|
|
|
|
|
|
|
& .folder-name-entry {
|
2024-03-25 13:34:36 -04:00
|
|
|
@extend %system_entry;
|
2023-05-25 17:25:11 -04:00
|
|
|
width: 12em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2024-03-25 13:34:36 -04:00
|
|
|
& .icon-button {
|
|
|
|
@include button(normal, $tc:$system_fg_color, $c:$system_overlay_bg_color, $always_dark: true);
|
|
|
|
&:hover { @include button(hover, $tc:$system_fg_color, $c:$system_overlay_bg_color, $always_dark: true);}
|
|
|
|
&:active { @include button(active, $tc:$system_fg_color, $c:$system_overlay_bg_color, $always_dark: true);}
|
2023-05-25 17:25:11 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
& .page-indicators {
|
2024-03-25 13:34:36 -04:00
|
|
|
margin-bottom: $base_padding * 4;
|
2023-05-25 17:25:11 -04:00
|
|
|
}
|
|
|
|
|
2024-03-25 13:34:36 -04:00
|
|
|
& .page-navigation-arrow {
|
|
|
|
@include button(normal, $tc:$system_fg_color, $c:$system_overlay_bg_color, $style: flat, $always_dark: true);
|
|
|
|
&:hover { @include button(hover, $tc:$system_fg_color, $c:$system_overlay_bg_color, $style: flat, $always_dark: true);}
|
|
|
|
&:active { @include button(active, $tc:$system_fg_color, $c:$system_overlay_bg_color, $style: flat, $always_dark: true);}
|
|
|
|
}
|
2023-05-25 17:25:11 -04:00
|
|
|
|
2024-03-25 13:34:36 -04:00
|
|
|
& .overview-tile {
|
|
|
|
@include tile_button($bg:$system_overlay_bg_color);
|
|
|
|
}
|
2023-05-25 17:25:11 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
// Rename popup for app folders
|
|
|
|
.rename-folder-popup {
|
|
|
|
.rename-folder-popup-item {
|
|
|
|
spacing: $base_padding;
|
|
|
|
&:ltr, &:rtl { padding: 0 $base_padding * 2; }
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// App Grid pagination indicators
|
2024-03-25 13:34:36 -04:00
|
|
|
$page_indicator_size: 10px;
|
2023-05-25 17:25:11 -04:00
|
|
|
.page-indicator {
|
|
|
|
padding: $base_padding $base_padding * 2 0;
|
|
|
|
transition-duration:400ms;
|
|
|
|
|
|
|
|
.page-indicator-icon {
|
2024-03-25 13:34:36 -04:00
|
|
|
width: $page_indicator_size;
|
|
|
|
height: $page_indicator_size;
|
|
|
|
border-radius: $forced_circular_radius;
|
|
|
|
background-color: $system_fg_color;
|
2023-10-09 22:24:14 -04:00
|
|
|
transition-duration: 400ms;
|
2023-05-25 17:25:11 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.apps-scroll-view {
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
// shutdown and other actions in the grid
|
|
|
|
.system-action-icon {
|
|
|
|
background-color: transparentize($system_fg_color,.9);
|
|
|
|
color: $system_fg_color;
|
2024-03-25 13:34:36 -04:00
|
|
|
border-radius: $forced_circular_radius;
|
2023-05-25 17:25:11 -04:00
|
|
|
icon-size: $app_icon_size * 0.5;
|
2024-03-25 13:34:36 -04:00
|
|
|
@if $contrast == 'high' {
|
2023-05-25 17:25:11 -04:00
|
|
|
box-shadow: inset 0 0 0 2px $hc_inset_color;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2024-03-25 13:34:36 -04:00
|
|
|
// page navigation
|
2023-05-25 17:25:11 -04:00
|
|
|
.page-navigation-hint {
|
|
|
|
&.dnd {
|
|
|
|
background: rgba(255, 255, 255, 0.1);
|
|
|
|
}
|
|
|
|
|
|
|
|
&.next:ltr,
|
|
|
|
&.previous:rtl {
|
|
|
|
background-gradient-start: rgba(255, 255, 255, 0.05);
|
|
|
|
background-gradient-end: transparent;
|
|
|
|
background-gradient-direction: horizontal;
|
2024-03-25 13:34:36 -04:00
|
|
|
border-radius: $modal_radius * 1.5 0px 0px $modal_radius * 1.5;
|
2023-05-25 17:25:11 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
&.previous:ltr,
|
|
|
|
&.next:rtl {
|
|
|
|
background-gradient-start: transparent;
|
|
|
|
background-gradient-end: rgba(255, 255, 255, 0.05);
|
|
|
|
background-gradient-direction: horizontal;
|
2024-03-25 13:34:36 -04:00
|
|
|
border-radius: 0px $modal_radius * 1.5 $modal_radius * 1.5 0px;
|
2023-05-25 17:25:11 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.page-navigation-arrow {
|
2024-03-25 13:34:36 -04:00
|
|
|
margin: $base_padding;
|
|
|
|
padding: $base_padding * 3;
|
|
|
|
width: $medium_icon_size;
|
|
|
|
height: $medium_icon_size;
|
|
|
|
border-radius: $forced_circular_radius;
|
2023-10-09 22:24:14 -04:00
|
|
|
transition-duration: 100ms;
|
2023-05-25 17:25:11 -04:00
|
|
|
|
|
|
|
> StIcon { color: $system_fg_color;}
|
|
|
|
|
2024-03-25 13:34:36 -04:00
|
|
|
@include button(normal, $tc:$system_fg_color, $c:$system_base_color, $style: flat, $always_dark: true);
|
|
|
|
&:hover { @include button(hover, $tc:$system_fg_color, $c:$system_base_color, $style: flat, $always_dark: true);}
|
|
|
|
&:active { @include button(active, $tc:$system_fg_color, $c:$system_base_color, $style: flat, $always_dark: true);}
|
2023-05-25 17:25:11 -04:00
|
|
|
}
|