Update #173
This commit is contained in:
parent
949c611ec6
commit
2230540f9b
8 changed files with 75 additions and 80 deletions
|
@ -28,52 +28,3 @@ stage {
|
||||||
@include fontsize($base_font_size);
|
@include fontsize($base_font_size);
|
||||||
color: $fg_color;
|
color: $fg_color;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Common Stylings
|
|
||||||
%osd_panel {
|
|
||||||
color: $fg_color;
|
|
||||||
background-color: $base_color;
|
|
||||||
border: 1px solid if($variant=='light', rgba(black, 0), rgba(black, 0.75));
|
|
||||||
box-shadow: 0 3px 8px 0 rgba(black, 0.25);
|
|
||||||
border-radius: $bt_radius;
|
|
||||||
padding: 12px;
|
|
||||||
}
|
|
||||||
|
|
||||||
%overview_panel {
|
|
||||||
color: $light_alt_fg_color;
|
|
||||||
background-color: $light_divider_color;
|
|
||||||
border: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
%status_text {
|
|
||||||
@include font(display-2);
|
|
||||||
color: $light_hint_fg_color;
|
|
||||||
}
|
|
||||||
|
|
||||||
%bubble_button {
|
|
||||||
@include button(normal);
|
|
||||||
padding: $container_padding * 2;
|
|
||||||
border-style: solid;
|
|
||||||
border-width: 0;
|
|
||||||
border-left-width: 0;
|
|
||||||
border-bottom-width: 0;
|
|
||||||
|
|
||||||
&:insensitive { @include button(insensitive); }
|
|
||||||
&:hover { @include button(hover); }
|
|
||||||
&:focus { @include button(focus); }
|
|
||||||
&:active { @include button(active); }
|
|
||||||
|
|
||||||
// radius is 2 pixel less to fit in bubble
|
|
||||||
&:first-child {
|
|
||||||
border-radius: 0 0 0 $bt_radius;
|
|
||||||
}
|
|
||||||
|
|
||||||
&:last-child {
|
|
||||||
border-right-width: 0;
|
|
||||||
border-radius: 0 0 $bt_radius 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
&:first-child:last-child {
|
|
||||||
border-radius: 0 0 $bt_radius $bt_radius;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
|
@ -3,20 +3,15 @@
|
||||||
|
|
||||||
$app_grid_fg_color: #fff;
|
$app_grid_fg_color: #fff;
|
||||||
|
|
||||||
%icon_tile {
|
|
||||||
color: $light_alt_fg_color;
|
|
||||||
border-radius: $bd_radius * 1.5;
|
|
||||||
padding: 8px;
|
|
||||||
border: none;
|
|
||||||
transition-duration: $longer_duration;
|
|
||||||
text-align: center;
|
|
||||||
}
|
|
||||||
|
|
||||||
%app-well-app,
|
|
||||||
.show-apps,
|
.show-apps,
|
||||||
.app-well-app {
|
.app-well-app,
|
||||||
|
.grid-search-result {
|
||||||
& .overview-icon {
|
& .overview-icon {
|
||||||
@extend %icon_tile !optional;
|
color: $light_alt_fg_color;
|
||||||
|
border-radius: $bd_radius * 1.5;
|
||||||
|
padding: 8px;
|
||||||
|
border: none;
|
||||||
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
&:hover .overview-icon,
|
&:hover .overview-icon,
|
||||||
|
|
|
@ -1,7 +1,31 @@
|
||||||
// hotplug
|
// hotplug
|
||||||
|
|
||||||
.hotplug-notification-item {
|
.hotplug-notification-item {
|
||||||
@extend %bubble_button !optional;
|
@include button(normal);
|
||||||
|
padding: $container_padding * 2;
|
||||||
|
border-style: solid;
|
||||||
|
border-width: 0;
|
||||||
|
border-left-width: 0;
|
||||||
|
border-bottom-width: 0;
|
||||||
|
|
||||||
|
&:insensitive { @include button(insensitive); }
|
||||||
|
&:hover { @include button(hover); }
|
||||||
|
&:focus { @include button(focus); }
|
||||||
|
&:active { @include button(active); }
|
||||||
|
|
||||||
|
// radius is 2 pixel less to fit in bubble
|
||||||
|
&:first-child {
|
||||||
|
border-radius: 0 0 0 $bt_radius;
|
||||||
|
}
|
||||||
|
|
||||||
|
&:last-child {
|
||||||
|
border-right-width: 0;
|
||||||
|
border-radius: 0 0 $bt_radius 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
&:first-child:last-child {
|
||||||
|
border-radius: 0 0 $bt_radius $bt_radius;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.hotplug-notification-item-icon {
|
.hotplug-notification-item-icon {
|
||||||
|
|
|
@ -2,6 +2,15 @@
|
||||||
|
|
||||||
$osd_levelbar_height: 8px;
|
$osd_levelbar_height: 8px;
|
||||||
|
|
||||||
|
%osd_panel {
|
||||||
|
color: $fg_color;
|
||||||
|
background-color: $base_color;
|
||||||
|
border: 1px solid if($variant=='light', rgba(black, 0), rgba(black, 0.75));
|
||||||
|
box-shadow: 0 3px 8px 0 rgba(black, 0.25);
|
||||||
|
border-radius: $bt_radius;
|
||||||
|
padding: 12px;
|
||||||
|
}
|
||||||
|
|
||||||
.osd-window {
|
.osd-window {
|
||||||
@extend %osd_panel !optional;
|
@extend %osd_panel !optional;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
|
|
@ -1,5 +1,24 @@
|
||||||
/* Search */
|
/* Search */
|
||||||
|
|
||||||
|
%search-section-content-item {
|
||||||
|
border-radius: $bt_radius;
|
||||||
|
padding: $base_padding;
|
||||||
|
transition-duration: 100ms;
|
||||||
|
text-align: center;
|
||||||
|
|
||||||
|
&:focus,
|
||||||
|
&:hover,
|
||||||
|
&:selected {
|
||||||
|
background-color: $light_divider_color;
|
||||||
|
transition-duration: 200ms;
|
||||||
|
}
|
||||||
|
|
||||||
|
&:active,
|
||||||
|
&:checked {
|
||||||
|
background-color: $light_track_color;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
// search results sections "the boxes"
|
// search results sections "the boxes"
|
||||||
.search-section {
|
.search-section {
|
||||||
// This should be equal to #searchResultsContent spacing
|
// This should be equal to #searchResultsContent spacing
|
||||||
|
@ -15,7 +34,7 @@
|
||||||
// content
|
// content
|
||||||
.search-section-content { // This is the space between the provider icon and the results container
|
.search-section-content { // This is the space between the provider icon and the results container
|
||||||
spacing: $base_margin * 2;
|
spacing: $base_margin * 2;
|
||||||
border-radius: $bt_radius;
|
border-radius: $modal_radius;
|
||||||
padding: $base_padding * 3;
|
padding: $base_padding * 3;
|
||||||
border: none;
|
border: none;
|
||||||
box-shadow: none;
|
box-shadow: none;
|
||||||
|
@ -26,7 +45,13 @@
|
||||||
|
|
||||||
// "no results" text
|
// "no results" text
|
||||||
.search-statustext {
|
.search-statustext {
|
||||||
@extend %status_text !optional;
|
font-size: 2em;
|
||||||
|
font-weight: bold;
|
||||||
|
color: $light_hint_fg_color;
|
||||||
|
}
|
||||||
|
|
||||||
|
.grid-search-results {
|
||||||
|
spacing: $base_spacing * 6;
|
||||||
}
|
}
|
||||||
|
|
||||||
//Icon tile
|
//Icon tile
|
||||||
|
@ -42,9 +67,10 @@
|
||||||
|
|
||||||
// search result provider
|
// search result provider
|
||||||
.search-provider-icon {
|
.search-provider-icon {
|
||||||
|
@extend %search-section-content-item;
|
||||||
// content
|
// content
|
||||||
.list-search-provider-content {
|
.list-search-provider-content {
|
||||||
spacing: 12px;
|
spacing: $base_spacing * 2;
|
||||||
|
|
||||||
// provider labels
|
// provider labels
|
||||||
.list-search-provider-details {
|
.list-search-provider-details {
|
||||||
|
|
|
@ -7,7 +7,9 @@
|
||||||
padding: $base_padding;
|
padding: $base_padding;
|
||||||
|
|
||||||
.workspace-thumbnail {
|
.workspace-thumbnail {
|
||||||
@extend %overview_panel !optional;
|
color: $light_alt_fg_color;
|
||||||
|
background-color: $light_divider_color;
|
||||||
|
border: none;
|
||||||
border-radius: $bt_radius;
|
border-radius: $bt_radius;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -4,15 +4,6 @@
|
||||||
spacing: $base_margin * 2;
|
spacing: $base_margin * 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
.grid-search-results {
|
|
||||||
spacing: $base_spacing * 6;
|
|
||||||
}
|
|
||||||
|
|
||||||
// Search results with icons
|
|
||||||
.grid-search-result {
|
|
||||||
@extend %app-well-app;
|
|
||||||
}
|
|
||||||
|
|
||||||
// search results list
|
// search results list
|
||||||
.list-search-results {
|
.list-search-results {
|
||||||
spacing: $base_spacing;
|
spacing: $base_spacing;
|
||||||
|
@ -20,6 +11,7 @@
|
||||||
|
|
||||||
// search result listitem
|
// search result listitem
|
||||||
.list-search-result {
|
.list-search-result {
|
||||||
|
@extend %search-section-content-item;
|
||||||
// content
|
// content
|
||||||
.list-search-result-content {
|
.list-search-result-content {
|
||||||
spacing: $base_padding;
|
spacing: $base_padding;
|
||||||
|
|
|
@ -95,11 +95,7 @@ while [[ $# -gt 0 ]]; do
|
||||||
-g|--gdm)
|
-g|--gdm)
|
||||||
gdm="true"; full_rootify "${1}"
|
gdm="true"; full_rootify "${1}"
|
||||||
|
|
||||||
if [[ "${GNOME_VERSION}" == 'new' ]]; then
|
if [[ ! "$(which gdm 2> /dev/null)" && ! "$(which gdm3 2> /dev/null)" ]]; then
|
||||||
prompt -e "SORRY: WhiteSur GDM theme for GNOME 40 is in development and not yet available"
|
|
||||||
prompt -e "SORRY: We can't do a GDM removal here either"
|
|
||||||
has_any_error="true"
|
|
||||||
elif [[ ! "$(which gdm 2> /dev/null)" && ! "$(which gdm3 2> /dev/null)" ]]; then
|
|
||||||
prompt -e "'${1}' ERROR: There's no GDM installed in your system"
|
prompt -e "'${1}' ERROR: There's no GDM installed in your system"
|
||||||
has_any_error="true"
|
has_any_error="true"
|
||||||
fi; shift ;;
|
fi; shift ;;
|
||||||
|
|
Loading…
Reference in a new issue