[gnome-calculator/wip/exalm/fix-style: 6/7] style: Redo the new style
- From: Alexander Mikhaylenko <alexm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-calculator/wip/exalm/fix-style: 6/7] style: Redo the new style
- Date: Fri, 6 May 2022 13:12:10 +0000 (UTC)
commit 28ea502db2c4cf50d9867397e6e5b2648985df21
Author: Alexander Mikhaylenko <alexm gnome org>
Date: Fri May 6 17:08:15 2022 +0400
style: Redo the new style
Fixes https://gitlab.gnome.org/GNOME/gnome-calculator/-/issues/272
src/ui/style-dark.css | 3 +++
src/ui/style.css | 13 +++++++++++++
2 files changed, 16 insertions(+)
---
diff --git a/src/ui/style-dark.css b/src/ui/style-dark.css
index 95d20e96..bf1fe7f3 100644
--- a/src/ui/style-dark.css
+++ b/src/ui/style-dark.css
@@ -1,3 +1,6 @@
+@define-color accent_color @orange_1;
+@define-color accent_bg_color @orange_4;
+
.history-view {
background-color: alpha(white, .05);
}
diff --git a/src/ui/style.css b/src/ui/style.css
index 5fd079e5..80c9ef7a 100644
--- a/src/ui/style.css
+++ b/src/ui/style.css
@@ -1,3 +1,6 @@
+@define-color accent_color @orange_5;
+@define-color accent_bg_color @orange_3;
+
.sourceview {
padding: 0px 12px;
padding-bottom: 8px;
@@ -108,6 +111,16 @@ clamp > .small .bit-panel button {
.math-buttons .number-button {
font-size: 1.2em;
font-weight: bolder;
+ background-color: alpha(currentColor, .2);
+}
+
+.math-buttons .number-button:hover {
+ background-color: alpha(currentColor, .25);
+}
+
+.math-buttons .number-button:hover:active,
+.math-buttons .number-button.keyboard-activating {
+ background-color: alpha(currentColor, .35);
}
.math-buttons .operator-button, .procent-button, .numeric-point-button, .parenthesis-button,
.function-button {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]