[gnome-calculator/wip/exalm/borders] style: Make history borders dark




commit c4869c6e82a9af8df0a4bad13ce4e84c857817c5
Author: Alexander Mikhaylenko <alexm gnome org>
Date:   Sun Jul 3 03:12:25 2022 +0400

    style: Make history borders dark
    
    Follow libadwaita boxed list styling.

 src/ui/gnome-calculator.gresource.xml | 1 +
 src/ui/style-hc.css                   | 4 ++++
 src/ui/style.css                      | 4 ++--
 3 files changed, 7 insertions(+), 2 deletions(-)
---
diff --git a/src/ui/gnome-calculator.gresource.xml b/src/ui/gnome-calculator.gresource.xml
index d4ca6d0b..202bb4d4 100644
--- a/src/ui/gnome-calculator.gresource.xml
+++ b/src/ui/gnome-calculator.gresource.xml
@@ -15,5 +15,6 @@
     <file preprocess="xml-stripblanks">math-preferences.ui</file>
     <file>style.css</file>
     <file>style-dark.css</file>
+    <file>style-hc.css</file>
   </gresource>
 </gresources>
diff --git a/src/ui/style-hc.css b/src/ui/style-hc.css
new file mode 100644
index 00000000..4cd3a990
--- /dev/null
+++ b/src/ui/style-hc.css
@@ -0,0 +1,4 @@
+.sourceview,
+.history-entry {
+  border-top-color: @borders;
+}
diff --git a/src/ui/style.css b/src/ui/style.css
index dde8ad82..7553d9f6 100644
--- a/src/ui/style.css
+++ b/src/ui/style.css
@@ -6,7 +6,7 @@
   padding-bottom: 8px;
   padding-left: 0px;
   font-size: 1.4em;
-  border-top: 1px solid @borders;
+  border-top: 1px solid @card_bg_color;
 }
 
 .info-view {
@@ -153,7 +153,7 @@ clamp > grid.small > widget > .history-view {
 }
 
 .history-entry {
-  border-top: 1px solid @borders;
+  border-top: 1px solid @card_shade_color;
   padding: 6px 3px;
   font-size: 1.3em;
 }


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