[gnome-shell-sass] theme > search results: revisions to padding, drop bg from app results
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell-sass] theme > search results: revisions to padding, drop bg from app results
- Date: Thu, 9 Jan 2020 17:29:13 +0000 (UTC)
commit 7f3fa8ffb605d4c3fe90daba66713648a855c5ee
Author: Sam Hewitt <sam snwh org>
Date: Fri Dec 20 12:20:52 2019 -0500
theme > search results: revisions to padding, drop bg from app results
https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/904
widgets/_message-list.scss | 4 +++-
widgets/_search-results.scss | 44 ++++++++++++++++++++++----------------------
2 files changed, 25 insertions(+), 23 deletions(-)
---
diff --git a/widgets/_message-list.scss b/widgets/_message-list.scss
index a51b07d..56541ba 100644
--- a/widgets/_message-list.scss
+++ b/widgets/_message-list.scss
@@ -59,9 +59,11 @@
// close button
.message-close-button {
color: lighten($fg_color, 15%);
- &:hover { color: darken($fg_color, 10%);}
+ &:hover { color: if($variant=='light', lighten($fg_color, 30%), darken($fg_color, 10%)); }
+ &:active { color: if($variant=='light', lighten($fg_color, 40%), darken($fg_color, 20%)); }
}
+
// icon container
.message-icon-bin {
padding: $base_padding;
diff --git a/widgets/_search-results.scss b/widgets/_search-results.scss
index 7b1ae0a..15a9ee0 100644
--- a/widgets/_search-results.scss
+++ b/widgets/_search-results.scss
@@ -7,35 +7,33 @@
// search results sections "the boxes"
.search-section {
- background-color: transparentize(lighten($osd_bg_color, 5%), 0.2);
- border-radius: $modal_radius+3;
- border: 1px solid $osd_outer_borders_color;
- box-shadow: 0 2px 4px 0 $shadow_color;
- text-shadow: 0 1px if($variant == 'light', rgba(255,255,255,0.2), rgba(0,0,0,0.2));
- color: $osd_fg_color;
- padding: $base_padding * 3;
- margin: $base_margin;
- spacing:$base_spacing * 2;
-
- // hide separator
- &:first-child .search-section-separator,
- &:last-child .search-section-separator {
- background-color: transparent;
- }
-
+ spacing: $base_margin * 2;
+ padding:0 !important;
+ margin:0 !important;
+ background-color:transparent;
+ box-shadow:none;
+ border:none;
// separator
.search-section-separator {
// margin-top: $base_padding * 2;
// height: 1px;
// background-color: $osd_outer_borders_color;
- height: 0px;
+ height: 0;
background-color: transparent;
}
+}
- // content
- .search-section-content {
- spacing: 0;
- }
+// content
+.search-section-content {
+ background-color: transparentize(lighten($osd_bg_color, 5%), 0.2);
+ border-radius: $modal_radius+3;
+ border: 1px solid $osd_outer_borders_color;
+ box-shadow: 0 2px 4px 0 $shadow_color;
+ text-shadow: 0 1px if($variant == 'light', rgba(255,255,255,0.2), rgba(0,0,0,0.2));
+ color: $osd_fg_color;
+ padding: $base_padding * 3;
+ margin: $base_margin 0;
+ spacing: 0;
}
// "no results" text
@@ -78,7 +76,7 @@
.search-provider-icon {
@extend %icon_tile;
- padding: 0;
+ padding: $base_padding;
spacing: 0;
margin-right: $base_margin * 2;
@@ -120,6 +118,8 @@
padding: $base_padding;
color: $osd_fg_color;
+ border-radius: $base_border_radius + 2px !important;
+
&:focus,
&:selected,
&:hover {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]