2022-07-24 17:29:50 +00:00
|
|
|
.quick-settings {
|
2022-08-31 17:25:33 +00:00
|
|
|
padding: $base_padding*3;
|
|
|
|
border-radius: $modal_radius*2.25;
|
|
|
|
|
|
|
|
.icon-button, .button {
|
|
|
|
padding: $base_padding*1.75;
|
|
|
|
}
|
2022-07-24 17:29:50 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.quick-settings-grid {
|
2022-08-15 17:30:47 +00:00
|
|
|
spacing-rows: $base_padding*2;
|
|
|
|
spacing-columns: $base_padding*2;
|
2022-07-24 17:29:50 +00:00
|
|
|
}
|
2022-07-24 17:29:50 +00:00
|
|
|
|
2022-08-22 23:29:10 +00:00
|
|
|
.quick-toggle, .quick-menu-toggle {
|
2022-07-24 17:29:50 +00:00
|
|
|
border-radius: 99px;
|
2022-08-31 17:25:33 +00:00
|
|
|
min-width: 12em;
|
|
|
|
max-width: 12em;
|
2023-02-04 13:01:34 +00:00
|
|
|
min-height: 48px;
|
2022-08-15 17:30:47 +00:00
|
|
|
border:none;
|
2022-08-22 23:29:10 +00:00
|
|
|
}
|
2022-07-24 17:29:50 +00:00
|
|
|
|
2022-08-22 23:29:10 +00:00
|
|
|
.quick-toggle {
|
2022-11-03 15:28:24 +00:00
|
|
|
&:checked { @include button(default, $c:$selected_bg_color); }
|
2022-07-24 17:29:50 +00:00
|
|
|
|
2023-02-09 18:52:37 +00:00
|
|
|
& > StBoxLayout { spacing: $base_padding*1.5; }
|
2022-07-24 17:29:50 +00:00
|
|
|
|
2022-07-29 16:33:54 +00:00
|
|
|
/* Move padding into the box; this is to allow menu arrows
|
|
|
|
to extend to the border */
|
|
|
|
&.button { padding: 0; }
|
2022-08-15 17:30:47 +00:00
|
|
|
& > StBoxLayout { padding: 0 $base_padding*2; }
|
|
|
|
&:ltr > StBoxLayout { padding-left: $base_padding*2.5; }
|
|
|
|
&:rtl > StBoxLayout { padding-right: $base_padding*2.5; }
|
2022-07-29 16:33:54 +00:00
|
|
|
|
2023-01-30 20:32:39 +00:00
|
|
|
.quick-toggle-title { font-weight: bold; }
|
2023-01-30 20:57:42 +00:00
|
|
|
|
|
|
|
& StBoxLayout > .quick-toggle-subtitle {
|
|
|
|
font-weight: normal;
|
|
|
|
font-size: 12px;
|
|
|
|
}
|
|
|
|
|
2022-08-22 23:29:10 +00:00
|
|
|
.quick-toggle-icon { icon-size: $base_icon_size; }
|
2022-07-29 16:33:54 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.quick-menu-toggle {
|
2022-08-22 23:29:10 +00:00
|
|
|
& .quick-toggle {
|
|
|
|
min-width: auto;
|
|
|
|
max-width: auto;
|
|
|
|
|
|
|
|
&:ltr { border-radius: 99px 0 0 99px; }
|
2023-03-07 14:11:22 +00:00
|
|
|
&:ltr > StBoxLayout { padding-right: $base_padding*1.5; }
|
2022-08-22 23:29:10 +00:00
|
|
|
&:rtl { border-radius: 0 99px 99px 0; }
|
2023-03-07 14:11:22 +00:00
|
|
|
&:rtr > StBoxLayout { padding-left: $base_padding*1.5; }
|
2022-08-22 23:29:10 +00:00
|
|
|
|
|
|
|
&:ltr:last-child { border-radius: 99px; }
|
|
|
|
&:rtl:last-child { border-radius: 99px; }
|
|
|
|
}
|
2022-07-29 16:33:54 +00:00
|
|
|
|
|
|
|
& .quick-toggle-arrow {
|
2022-08-15 17:30:47 +00:00
|
|
|
padding: $base_padding $base_padding*1.75;
|
2023-01-18 16:46:35 +00:00
|
|
|
border-width: 0;
|
2022-08-22 23:29:10 +00:00
|
|
|
|
2023-02-16 15:10:30 +00:00
|
|
|
&:checked {
|
|
|
|
@include button(default, $c:$selected_bg_color);
|
|
|
|
border-color: $selected_borders_color;
|
|
|
|
}
|
2022-07-29 16:33:54 +00:00
|
|
|
|
2023-01-18 16:46:35 +00:00
|
|
|
&:ltr {
|
|
|
|
border-radius: 0 99px 99px 0;
|
|
|
|
border-left-width: 1px;
|
|
|
|
}
|
|
|
|
&:rtl {
|
|
|
|
border-radius: 99px 0 0 99px;
|
|
|
|
border-right-width: 1px;
|
|
|
|
}
|
2022-07-29 16:33:54 +00:00
|
|
|
}
|
2022-07-24 17:29:50 +00:00
|
|
|
}
|
2022-07-29 13:22:37 +00:00
|
|
|
|
2022-07-29 22:23:30 +00:00
|
|
|
.quick-slider {
|
2022-08-04 14:34:12 +00:00
|
|
|
& > StBoxLayout { spacing: $base_padding; }
|
2022-07-29 22:23:30 +00:00
|
|
|
|
2023-02-08 00:32:52 +00:00
|
|
|
.icon-button { padding: $base_padding; }
|
|
|
|
|
2022-07-29 22:23:30 +00:00
|
|
|
.slider-bin {
|
|
|
|
&:focus {@include button(focus);}
|
|
|
|
min-height: 16px; // slider size
|
|
|
|
padding: $base_padding;
|
|
|
|
border-radius: 99px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-07-29 13:22:37 +00:00
|
|
|
.quick-toggle-menu {
|
2022-11-03 15:28:24 +00:00
|
|
|
@include card;
|
2022-10-13 16:51:17 +00:00
|
|
|
|
|
|
|
// override some card styles
|
|
|
|
background-color: $bg_color !important;
|
|
|
|
color: $fg_color !important;
|
|
|
|
|
2022-08-31 17:25:33 +00:00
|
|
|
border-radius: $base_border_radius*3;
|
|
|
|
padding: $base_padding*2;
|
|
|
|
margin: $base_padding*2 $base_padding*3 0;
|
2022-07-29 21:41:33 +00:00
|
|
|
|
2022-08-30 16:31:06 +00:00
|
|
|
.popup-menu-item > StIcon { -st-icon-style: symbolic; }
|
|
|
|
|
2022-07-29 21:41:33 +00:00
|
|
|
& .header {
|
|
|
|
spacing-rows: 0.5 * $base_padding;
|
2022-08-04 14:34:12 +00:00
|
|
|
spacing-columns: $base_padding*2;
|
2022-07-29 21:41:33 +00:00
|
|
|
padding-bottom: 2 * $base_padding;
|
|
|
|
|
|
|
|
& .icon {
|
2022-08-04 14:34:12 +00:00
|
|
|
icon-size: $base_icon_size*1.5; // a non-standard symbolic size but ok
|
2022-07-29 21:41:33 +00:00
|
|
|
border-radius: 999px;
|
|
|
|
padding: 1.5 * $base_padding;
|
2022-11-03 15:28:24 +00:00
|
|
|
background-color: transparentize($fg_color, 0.8);
|
2022-07-29 22:06:49 +00:00
|
|
|
|
2022-10-13 16:51:17 +00:00
|
|
|
&.active {
|
|
|
|
background-color: $selected_bg_color;
|
|
|
|
color: $selected_fg_color;
|
|
|
|
}
|
2022-07-29 21:41:33 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
& .title {
|
|
|
|
@extend %title_3;
|
|
|
|
}
|
|
|
|
|
|
|
|
& .subtitle {
|
|
|
|
@extend %caption_heading;
|
|
|
|
}
|
|
|
|
}
|
2022-07-29 13:22:37 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.quick-toggle-menu-container {
|
2022-08-31 17:25:33 +00:00
|
|
|
}
|
2022-07-30 00:17:15 +00:00
|
|
|
|
|
|
|
.quick-settings-system-item {
|
|
|
|
& > StBoxLayout { spacing: 2 * $base_padding; }
|
2022-07-30 01:32:05 +00:00
|
|
|
|
|
|
|
& .power-item {
|
|
|
|
min-height: 0;
|
|
|
|
min-width: 0;
|
|
|
|
|
|
|
|
&:insensitive {
|
|
|
|
@include button(normal);
|
|
|
|
background-color: transparent;
|
|
|
|
}
|
|
|
|
}
|
2022-07-30 00:17:15 +00:00
|
|
|
}
|
2022-08-06 00:43:29 +00:00
|
|
|
|
|
|
|
.nm-network-item {
|
|
|
|
.wireless-secure-icon { icon-size: 0.5 * $base_icon_size; }
|
|
|
|
}
|
2023-02-08 15:03:24 +00:00
|
|
|
|
2022-08-08 10:08:26 +00:00
|
|
|
.bt-device-item {
|
|
|
|
.popup-menu-icon { -st-icon-style: symbolic; }
|
|
|
|
}
|
|
|
|
|
2023-03-07 19:02:10 +00:00
|
|
|
.bt-menu-placeholder.popup-menu-item {
|
2022-08-08 10:08:26 +00:00
|
|
|
@extend %title_4;
|
|
|
|
text-align: center;
|
|
|
|
|
|
|
|
padding: 2em 4em;
|
|
|
|
}
|
|
|
|
|
2023-02-08 15:03:24 +00:00
|
|
|
.device-subtitle { color: transparentize($fg_color, 0.5); }
|
2023-02-02 18:58:43 +00:00
|
|
|
|
|
|
|
// background apps
|
|
|
|
|
|
|
|
.background-apps-quick-toggle {
|
|
|
|
min-height: 40px;
|
|
|
|
background-color: transparent;
|
|
|
|
|
|
|
|
& StIcon { icon-size: $base_icon_size !important; }
|
|
|
|
}
|
|
|
|
|
|
|
|
.background-app-item {
|
|
|
|
& .title { @extend %heading; }
|
|
|
|
& .subtitle { @extend %caption; }
|
|
|
|
& .popup-menu-icon {
|
|
|
|
icon-size: $large_icon_size !important;
|
|
|
|
-st-icon-style: regular !important;
|
|
|
|
}
|
|
|
|
& .close-button {
|
|
|
|
@extend .icon-button;
|
|
|
|
padding: $base_padding;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.popup-inactive-menu-item { color: $fg_color; }
|
|
|
|
}
|