[gnome-calculator/wip/exalm/fix-style: 5/7] Revert "appearance: recolor the app to match the icon"
- From: Alexander Mikhaylenko <alexm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-calculator/wip/exalm/fix-style: 5/7] Revert "appearance: recolor the app to match the icon"
- Date: Fri, 6 May 2022 13:12:10 +0000 (UTC)
commit 34ebf7bbec03a7fbaa1c8089a008a391dcc3fcc4
Author: Alexander Mikhaylenko <alexm gnome org>
Date: Fri May 6 16:59:51 2022 +0400
Revert "appearance: recolor the app to match the icon"
This reverts commit 1382697dc1891a6cfdf6d401b657ec3e97b7a167.
src/math-display.vala | 1 -
src/ui/buttons-financial.ui | 2 +-
src/ui/buttons-programming.ui | 2 +-
src/ui/style-dark.css | 20 ++------------------
src/ui/style.css | 30 ------------------------------
5 files changed, 4 insertions(+), 51 deletions(-)
---
diff --git a/src/math-display.vala b/src/math-display.vala
index 1d3119a3..99bdc455 100644
--- a/src/math-display.vala
+++ b/src/math-display.vala
@@ -38,7 +38,6 @@ public class MathDisplay : Gtk.Box
{
_equation = equation;
orientation = Gtk.Orientation.VERTICAL;
- this.add_css_class ("math-display");
var scrolled_window = new Gtk.ScrolledWindow ();
scrolled_window.add_css_class ("display-scrolled");
diff --git a/src/ui/buttons-financial.ui b/src/ui/buttons-financial.ui
index 18833979..08edd29a 100644
--- a/src/ui/buttons-financial.ui
+++ b/src/ui/buttons-financial.ui
@@ -1602,7 +1602,7 @@
<property name="tooltip_text" translatable="1">Memory</property>
<property name="label" translatable="1" comments="The label on the memory
button">x</property>
<style>
- <class name="memory-button"/>
+ <class name="function-button"/>
</style>
<layout>
<property name="column">0</property>
diff --git a/src/ui/buttons-programming.ui b/src/ui/buttons-programming.ui
index 5611187c..29f28c9a 100644
--- a/src/ui/buttons-programming.ui
+++ b/src/ui/buttons-programming.ui
@@ -2062,7 +2062,7 @@
<property name="label" translatable="1" comments="The label on the memory
button">x</property>
<property name="tooltip_text" translatable="1">Memory</property>
<style>
- <class name="memory-button"/>
+ <class name="function-button"/>
</style>
<layout>
<property name="column">5</property>
diff --git a/src/ui/style-dark.css b/src/ui/style-dark.css
index e2fd74f7..95d20e96 100644
--- a/src/ui/style-dark.css
+++ b/src/ui/style-dark.css
@@ -1,19 +1,3 @@
-/* Recoloring of the app comes below… */
-.suggested-action {
- background: @orange_1;
-}
-
-.function-button,
-.clear-button,
-.procent-button,
-.numeric-point-button,
-.parenthesis-button,
-.operator-button,
-.fx-button button,
-.memory-button button {
- background: @dark_3;
-}
-
-.number-button {
- background: @dark_1;
+.history-view {
+ background-color: alpha(white, .05);
}
diff --git a/src/ui/style.css b/src/ui/style.css
index 03e6ae74..5fd079e5 100644
--- a/src/ui/style.css
+++ b/src/ui/style.css
@@ -175,33 +175,3 @@ mathdisplay textview text {
background: none;
color: inherit;
}
-
-/* Recoloring of the app comes below… */
-.history-view {
- background: mix(@green_3, @view_bg_color, 0.87);
-}
-
-.math-display {
- background: mix(@green_3, @view_bg_color, 0.8);
-}
-
-.suggested-action {
- background: @orange_3;
- color: @light_1;
-}
-
-.function-button,
-.clear-button,
-.procent-button,
-.numeric-point-button,
-.parenthesis-button,
-.operator-button,
-.fx-button button,
-.memory-button button {
- background: @light_3;
-}
-
-.number-button {
- background: @dark_1;
- color: @light_1;
-}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]