[gnome-calculator/wip/exalm/fix-style: 7/7] style: Make sure non-numeric math buttons don't use bold




commit b1950ebd9411ea278e9b713681a44356847c747a
Author: Alexander Mikhaylenko <alexm gnome org>
Date:   Fri May 6 17:11:10 2022 +0400

    style: Make sure non-numeric math buttons don't use bold
    
    The style wasn't taking menu buttons into account, and was more complex
    than necessary anyway.

 src/ui/style.css | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)
---
diff --git a/src/ui/style.css b/src/ui/style.css
index 80c9ef7a..a3b385ee 100644
--- a/src/ui/style.css
+++ b/src/ui/style.css
@@ -108,6 +108,11 @@ clamp > .small .bit-panel button {
   padding: 2px 4px 2px 4px;
 }
 
+.math-buttons grid > button,
+.math-buttons grid > menubutton > button {
+  font-weight: inherit;
+}
+
 .math-buttons .number-button {
   font-size: 1.2em;
   font-weight: bolder;
@@ -123,10 +128,6 @@ clamp > .small .bit-panel button {
   background-color: alpha(currentColor, .35);
 }
 
-.math-buttons .operator-button, .procent-button, .numeric-point-button, .parenthesis-button, 
.function-button {
-  font-weight: normal;
-}
-
 .bit-toggle-button {
   padding: 1px;
   min-width: 9px;


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