2022-07-24 13:29:50 -04:00
|
|
|
.quick-settings {
|
2022-08-31 13:25:33 -04:00
|
|
|
padding: $base_padding*3;
|
|
|
|
border-radius: $modal_radius*2.25;
|
|
|
|
|
|
|
|
.icon-button, .button {
|
|
|
|
padding: $base_padding*1.75;
|
|
|
|
}
|
2022-07-24 13:29:50 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.quick-settings-grid {
|
2022-08-15 13:30:47 -04:00
|
|
|
spacing-rows: $base_padding*2;
|
|
|
|
spacing-columns: $base_padding*2;
|
2022-07-24 13:29:50 -04:00
|
|
|
}
|
2022-07-24 13:29:50 -04:00
|
|
|
|
|
|
|
.quick-toggle {
|
|
|
|
border-radius: 99px;
|
2022-08-31 13:25:33 -04:00
|
|
|
min-width: 12em;
|
|
|
|
max-width: 12em;
|
|
|
|
min-height: 40px;
|
2022-08-15 13:30:47 -04:00
|
|
|
border:none;
|
2022-07-24 13:29:50 -04:00
|
|
|
|
2022-11-03 11:28:24 -04:00
|
|
|
&:checked { @include button(default, $c:$selected_bg_color); }
|
2022-07-24 13:29:50 -04:00
|
|
|
|
|
|
|
& > StBoxLayout { spacing: $base_padding; }
|
|
|
|
|
2022-07-29 12:33:54 -04:00
|
|
|
/* Move padding into the box; this is to allow menu arrows
|
|
|
|
to extend to the border */
|
|
|
|
&.button { padding: 0; }
|
2022-08-15 13:30:47 -04: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 12:33:54 -04:00
|
|
|
|
2023-01-30 15:32:39 -05:00
|
|
|
.quick-toggle-title { font-weight: bold; }
|
2022-07-29 12:33:54 -04:00
|
|
|
.quick-toggle-icon, .quick-toggle-arrow { icon-size: $base_icon_size; }
|
|
|
|
}
|
|
|
|
|
|
|
|
.quick-menu-toggle {
|
|
|
|
&:ltr > StBoxLayout { padding-right: 0; }
|
|
|
|
&:rtl > StBoxLayout { padding-left: 0; }
|
|
|
|
|
|
|
|
& .quick-toggle-arrow {
|
|
|
|
background-color: transparentize($fg_color, 0.9);
|
2022-08-15 13:30:47 -04:00
|
|
|
padding: $base_padding $base_padding*1.75;
|
2022-07-29 12:33:54 -04:00
|
|
|
|
|
|
|
&:ltr { border-radius: 0 99px 99px 0; }
|
|
|
|
&:rtl { border-radius: 99px 0 0 99px; }
|
|
|
|
}
|
2022-07-24 13:29:50 -04:00
|
|
|
}
|
2022-07-29 09:22:37 -04:00
|
|
|
|
2022-07-29 18:23:30 -04:00
|
|
|
.quick-slider {
|
2022-08-04 10:34:12 -04:00
|
|
|
& > StBoxLayout { spacing: $base_padding; }
|
2022-07-29 18:23:30 -04:00
|
|
|
|
|
|
|
.slider-bin {
|
|
|
|
&:focus {@include button(focus);}
|
|
|
|
min-height: 16px; // slider size
|
|
|
|
padding: $base_padding;
|
|
|
|
border-radius: 99px;
|
|
|
|
}
|
2022-10-13 12:51:17 -04:00
|
|
|
.quick-toggle-icon {
|
|
|
|
icon-size: $base_icon_size;
|
|
|
|
|
|
|
|
&:ltr { margin-left: $base_padding; }
|
|
|
|
&:rtl { margin-right: $base_padding; }
|
|
|
|
}
|
2022-07-29 18:23:30 -04:00
|
|
|
}
|
|
|
|
|
2022-07-29 09:22:37 -04:00
|
|
|
.quick-toggle-menu {
|
2022-11-03 11:28:24 -04:00
|
|
|
@include card;
|
2022-08-31 13:25:33 -04:00
|
|
|
border-radius: $base_border_radius*3;
|
|
|
|
padding: $base_padding*2;
|
|
|
|
margin: $base_padding*2 $base_padding*3 0;
|
2022-07-29 17:41:33 -04:00
|
|
|
|
2022-08-30 12:31:06 -04:00
|
|
|
.popup-menu-item > StIcon { -st-icon-style: symbolic; }
|
|
|
|
|
2022-07-29 17:41:33 -04:00
|
|
|
& .header {
|
|
|
|
spacing-rows: 0.5 * $base_padding;
|
2022-08-04 10:34:12 -04:00
|
|
|
spacing-columns: $base_padding*2;
|
2022-07-29 17:41:33 -04:00
|
|
|
padding-bottom: 2 * $base_padding;
|
|
|
|
|
|
|
|
& .icon {
|
2022-08-04 10:34:12 -04:00
|
|
|
icon-size: $base_icon_size*1.5; // a non-standard symbolic size but ok
|
2022-07-29 17:41:33 -04:00
|
|
|
border-radius: 999px;
|
|
|
|
padding: 1.5 * $base_padding;
|
2022-11-03 11:28:24 -04:00
|
|
|
background-color: transparentize($fg_color, 0.8);
|
2022-07-29 18:06:49 -04:00
|
|
|
|
2022-11-03 11:28:24 -04:00
|
|
|
&.active { background-color: $selected_bg_color;}
|
2022-07-29 17:41:33 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
& .title {
|
|
|
|
@extend %title_3;
|
|
|
|
}
|
|
|
|
|
|
|
|
& .subtitle {
|
|
|
|
@extend %caption_heading;
|
|
|
|
}
|
|
|
|
}
|
2022-07-29 09:22:37 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.quick-toggle-menu-container {
|
2022-08-31 13:25:33 -04:00
|
|
|
}
|
2022-07-29 20:17:15 -04:00
|
|
|
|
|
|
|
.quick-settings-system-item {
|
|
|
|
& > StBoxLayout { spacing: 2 * $base_padding; }
|
2022-07-29 21:32:05 -04:00
|
|
|
|
|
|
|
& .power-item {
|
|
|
|
min-height: 0;
|
|
|
|
min-width: 0;
|
|
|
|
|
|
|
|
&:insensitive {
|
|
|
|
@include button(normal);
|
|
|
|
background-color: transparent;
|
|
|
|
}
|
|
|
|
}
|
2022-07-29 20:17:15 -04:00
|
|
|
}
|
2022-08-05 20:43:29 -04:00
|
|
|
|
|
|
|
.nm-network-item {
|
|
|
|
.wireless-secure-icon { icon-size: 0.5 * $base_icon_size; }
|
|
|
|
}
|