[gnome-shell/wip/snwh/sass-cleanup] theme: bring over %status_text
- From: Sam Hewitt <snwh src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/wip/snwh/sass-cleanup] theme: bring over %status_text
- Date: Mon, 2 Dec 2019 15:49:49 +0000 (UTC)
commit db08043c45a395c4c82e2e12aa832038e5399caf
Author: Sam Hewitt <sam snwh org>
Date: Mon Dec 2 10:40:22 2019 -0500
theme: bring over %status_text
data/theme/gnome-shell-sass/_common.scss | 10 +++++++++-
data/theme/gnome-shell-sass/widgets/_app-grid.scss | 7 +------
data/theme/gnome-shell-sass/widgets/_search-results.scss | 8 +++-----
3 files changed, 13 insertions(+), 12 deletions(-)
---
diff --git a/data/theme/gnome-shell-sass/_common.scss b/data/theme/gnome-shell-sass/_common.scss
index 902e71598a..12450fc165 100644
--- a/data/theme/gnome-shell-sass/_common.scss
+++ b/data/theme/gnome-shell-sass/_common.scss
@@ -94,7 +94,15 @@ stage {
@import 'widgets/window-picker';
@import 'widgets/workspace-switcher';
-// Common Stylings
+/* Common Stylings */
+
+// Text
+%status_text {
+ font-size: 2em;
+ font-weight: bold;
+ color: $osd_fg_color;
+}
+
// osd panels
diff --git a/data/theme/gnome-shell-sass/widgets/_app-grid.scss
b/data/theme/gnome-shell-sass/widgets/_app-grid.scss
index 6212572d47..0216dd9071 100644
--- a/data/theme/gnome-shell-sass/widgets/_app-grid.scss
+++ b/data/theme/gnome-shell-sass/widgets/_app-grid.scss
@@ -140,11 +140,7 @@ $app_grid_fg_color: #fff;
}
// Label when no frequent apps
-.no-frequent-applications-label {
- font-size: 2em;
- font-weight: bold;
- color: $osd_fg_color;
-}
+.no-frequent-applications-label { @extend %status_text; }
// shutdown and other actions in the grid
.system-action-icon {
@@ -154,7 +150,6 @@ $app_grid_fg_color: #fff;
icon-size: calc($app_icon_size * 0.5);
}
-
/* Frequent | All toggle */
// container
diff --git a/data/theme/gnome-shell-sass/widgets/_search-results.scss
b/data/theme/gnome-shell-sass/widgets/_search-results.scss
index 4626594d95..3c5731db16 100644
--- a/data/theme/gnome-shell-sass/widgets/_search-results.scss
+++ b/data/theme/gnome-shell-sass/widgets/_search-results.scss
@@ -23,11 +23,9 @@
spacing: 0;
}
-// "no results"
-.search-statustext {
- font-size: 2em;
- font-weight: bold;
- color: $osd_fg_color;
+// "no results" text
+.search-statustext {
+ @extend %status_text;
}
.search-section-separator {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]