152 lines
3.3 KiB
SCSS
Raw Normal View History

2021-04-08 22:59:05 +08:00
/* App Icons */
2021-04-13 19:42:12 +08:00
%app-well-app {
2022-10-10 23:22:02 +08:00
.overview-icon {
2021-05-24 12:49:48 +08:00
color: $light_fg_color;
2022-10-10 23:22:02 +08:00
border-radius: $wm_radius * 1.5;
padding: 12px;
2021-04-09 11:45:08 +08:00
border: none;
2021-04-21 12:29:03 +08:00
transition-duration: 100ms;
2021-04-09 11:45:08 +08:00
text-align: center;
2021-05-24 12:49:48 +08:00
text-shadow: none;
2024-03-29 01:49:55 +08:00
background-color: transparent;
2021-04-08 22:59:05 +08:00
}
&:hover .overview-icon,
&:focus .overview-icon,
&:selected .overview-icon {
background-color: $light_divider_color;
border-image: none;
background-image: none;
}
&:active .overview-icon,
&:checked .overview-icon {
background-color: $light_track_color;
box-shadow: none;
}
}
// expanded folder
.app-folder-dialog {
border-radius: $bd_radius * 4;
2023-04-21 16:33:11 +08:00
border: none;
box-shadow: none;
2024-10-13 20:36:04 +08:00
background-color: rgba(if($scheme == 'nord', #20242c, #262626), 0.9);
2024-03-29 01:49:55 +08:00
color: $light_alt_fg_color;
2021-04-08 22:59:05 +08:00
2022-11-11 18:39:37 +08:00
.folder-name-container {
2022-10-10 23:22:02 +08:00
padding: 24px 36px 0;
spacing: 12px;
2021-04-08 22:59:05 +08:00
2022-11-11 18:39:37 +08:00
.folder-name-label,
.folder-name-entry {
2021-05-15 14:11:23 +08:00
font-size: if($laptop == 'true', 16pt, 18pt);
2021-04-08 22:59:05 +08:00
font-weight: bold;
}
2022-11-11 18:39:37 +08:00
.folder-name-entry {
2021-04-24 23:14:31 +08:00
@extend %search-entry;
2021-05-15 14:11:23 +08:00
width: if($laptop == 'true', 240px, 320px) !important;
2021-04-08 22:59:05 +08:00
}
/* FIXME: this is to keep the label in sync with the entry */
2022-11-11 18:39:37 +08:00
.folder-name-label { padding: $base_padding; color: $light_alt_fg_color; }
2021-04-08 22:59:05 +08:00
2022-11-11 18:39:37 +08:00
.edit-folder-button {
2022-10-28 18:34:59 +08:00
background-color: $light_fill_color;
2021-04-08 22:59:05 +08:00
color: $light_alt_fg_color;
border: none;
padding: 0;
width: 36px;
height: 36px;
2022-10-10 23:22:02 +08:00
border-radius: $circular_radius;
2021-04-08 22:59:05 +08:00
2022-11-11 18:39:37 +08:00
> StIcon { icon-size: $base_icon_size; }
2021-04-08 22:59:05 +08:00
&:hover { background-color: $light_divider_color; }
&:checked, &:active { background-color: $light_track_color; }
}
}
2022-11-11 18:39:37 +08:00
.icon-grid {
2021-05-15 14:11:23 +08:00
row-spacing: 12px;
2022-10-10 23:22:02 +08:00
column-spacing: if($laptop == 'true', 12px, 18px);
2021-04-08 22:59:05 +08:00
page-padding-top: 0;
page-padding-bottom: 0;
page-padding-left: 0;
page-padding-right: 0;
}
& .page-indicators {
margin-bottom: 18px;
}
}
.app-folder-dialog-container {
2022-10-10 23:22:02 +08:00
padding: 6px !important;
width: if($laptop == 'true', 580px, 680px);
height: if($laptop == 'true', 580px, 680px);
2021-04-08 22:59:05 +08:00
}
// Running app indicator (also shown in dash)
.app-well-app-running-dot {
width: 5px; height: 5px;
2022-10-10 23:22:02 +08:00
border-radius: 5px;
2021-04-08 22:59:05 +08:00
background-color: $light_alt_fg_color;
2022-10-10 23:22:02 +08:00
margin-bottom: 6px;
2021-04-08 22:59:05 +08:00
StWidget.focused & {
background-color: $primary_color;
}
}
2021-04-28 23:28:20 +08:00
.page-indicator {
padding: $base_padding $base_padding * 2;
.page-indicator-icon {
width: 12px;
height: 12px;
border-radius: 12px;
margin: 0;
padding: 0;
background-image: none;
color: transparent;
border: none;
box-shadow: none;
background-color: $light_alt_disabled_fg_color;
}
2022-11-11 18:39:37 +08:00
2021-04-28 23:28:20 +08:00
&:hover .page-indicator-icon {
background-image: none;
background-color: $light_disabled_fg_color;
}
2022-11-11 18:39:37 +08:00
2021-04-28 23:28:20 +08:00
&:active .page-indicator-icon {
margin: 0;
padding: 0;
background-image: none;
color: transparent;
border: none;
box-shadow: none;
background-color: $light_alt_fg_color;
}
2022-11-11 18:39:37 +08:00
2021-04-28 23:28:20 +08:00
&:checked .page-indicator-icon {
background-image: none;
background-color: $light_alt_fg_color;
}
2022-11-11 18:39:37 +08:00
2021-04-28 23:28:20 +08:00
&:checked:active { background-image: none; }
}
2021-04-08 22:59:05 +08:00
// shutdown and other actions in the grid
.system-action-icon {
box-shadow: 0 4px 4px rgba(0, 0, 0, 0.2); // FIXME: this should really have a highlight
background-color: $dark_bg_color;
color: white;
border-radius: 100px;
icon-size: 48px;
}