[gnome-shell/wip/jimmac/entries-nostroke] theme: No stroke on entries




commit 87861424ca05b718a31f5c48c92ed2834730ddf3
Author: Jakub Steiner <jimmac gmail com>
Date:   Thu Jul 22 13:44:12 2021 +0200

    theme: No stroke on entries
    
    - Tobias' mini guadec initiative

 data/theme/gnome-shell-sass/widgets/_entries.scss      | 2 +-
 data/theme/gnome-shell-sass/widgets/_search-entry.scss | 7 ++-----
 2 files changed, 3 insertions(+), 6 deletions(-)
---
diff --git a/data/theme/gnome-shell-sass/widgets/_entries.scss 
b/data/theme/gnome-shell-sass/widgets/_entries.scss
index 0a43e86f37..5a11945566 100644
--- a/data/theme/gnome-shell-sass/widgets/_entries.scss
+++ b/data/theme/gnome-shell-sass/widgets/_entries.scss
@@ -3,7 +3,7 @@
 StEntry {
   border-radius: $base_border_radius;
   padding: 8px;
-  border-width: 1px;
+  border-width: 0;
   color: $fg_color;
   @include entry(normal);
   //&:hover { @include entry(hover);}
diff --git a/data/theme/gnome-shell-sass/widgets/_search-entry.scss 
b/data/theme/gnome-shell-sass/widgets/_search-entry.scss
index b184e674e3..d3584fb9c6 100644
--- a/data/theme/gnome-shell-sass/widgets/_search-entry.scss
+++ b/data/theme/gnome-shell-sass/widgets/_search-entry.scss
@@ -10,19 +10,16 @@ $search_entry_height: 36px;
   border-radius: $search_entry_height * 0.5; // half the height
   color: transparentize($fg_color,0.3);
   background-color: $bg_color;
-  border-color: $borders_color;
   margin-top: $base_spacing * 2;
   margin-bottom: $base_spacing;
-
+  border-width: 2px;
+  border-color: transparent;
   &:hover {
     background-color: $hover_bg_color;
-    border-color: $hover_borders_color;
     color: $hover_fg_color;
   }
 
   &:focus {
-    padding: $base_padding $base_padding+2; // 1px less to account for wider border
-    border-width: 2px;
     border-style: solid;
     border-color: $selected_bg_color;
     color: $fg_color;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]