From 5f1d239211fc6554162e28f7ac67af867643ca09 Mon Sep 17 00:00:00 2001 From: alfrix Date: Wed, 22 Jun 2022 19:11:32 -0300 Subject: [PATCH] performance: do not use transparency --- styles/material-dark/style.css | 26 ++++++++--------- styles/material-darker/style.css | 50 ++++++++++++++++---------------- 2 files changed, 38 insertions(+), 38 deletions(-) diff --git a/styles/material-dark/style.css b/styles/material-dark/style.css index ec39cc84..c69f33aa 100644 --- a/styles/material-dark/style.css +++ b/styles/material-dark/style.css @@ -9,7 +9,7 @@ window { } button { - background-color: rgba(0,0,0,0); + background-color: #121212; } button:active { @@ -17,7 +17,7 @@ button:active { } .button_active { - background-color: rgba(0,0,0,0); + background-color: #000000; border-color: #d81549; border-style: dashed; border-width: .25em; @@ -25,25 +25,25 @@ button:active { } button.color1 { - background-color: rgba(0,0,0,0.5); + background-color: #090909; border-color: #d46900; border-radius: 1em; } button.color2 { - background-color: rgba(0,0,0,0.5); + background-color: #090909; border-color: #ed3c63; border-radius: 1em; } button.color3 { - background-color: rgba(0,0,0,0.5); + background-color: #090909; border-color: #849900; border-radius: 1em; } button.color4 { - background-color: rgba(0,0,0,0.5); + background-color: #090909; border-color: #007db4; border-radius: 1em; } @@ -57,7 +57,7 @@ button.active { } button.update { - background-color: rgba(0,0,0,0.5); + background-color: #090909; border: 0; border-bottom: .3em solid; border-bottom-color: #849900; @@ -65,7 +65,7 @@ button.update { } button.invalid { - background-color: rgba(0,0,0,0.5); + background-color: #090909; border: 0; border-bottom: .3em solid; border-bottom-color: #B71C1C; @@ -87,7 +87,7 @@ switch:checked { entry { background-color: #1f1f1f; - border-color: rgba(0,0,0,0); + border-color: #1f1f1f; } frame { @@ -125,7 +125,7 @@ scale-mark { } scrollbar, scrollbar button, scrollbar trough { - background-color: rgba(0,0,0,0); + background-color: #121212; } scrollbar slider { @@ -146,7 +146,7 @@ textview .time { } .dialog button { - background-color: rgba(0,0,0,0.5); + background-color: #090909; border-bottom-color: #1f1f1f; border-radius: .75em; } @@ -161,7 +161,7 @@ textview .time { .tempbutton_top, .tempbutton, .tempbutton_bottom, .distbutton_top, .distbutton, .distbutton_bottom { border-color: #121212; - background-color: rgba(0,0,0,0.5); + background-color: #090909; } .distbutton_active { @@ -190,7 +190,7 @@ textview .time { .numpad_tleft, .numpad_top, .numpad_tright, .numpad_left, .numpad_button, .numpad_right, .numpad_bleft, .numpad_bottom, .numpad_bright { border-color: #121212; - background-color: rgba(0,0,0,0.5); + background-color: #090909; } .printing-status { diff --git a/styles/material-darker/style.css b/styles/material-darker/style.css index 7ace7cb3..91e350f4 100644 --- a/styles/material-darker/style.css +++ b/styles/material-darker/style.css @@ -10,34 +10,34 @@ window { .active_device { - background-color: rgba(255,255,255,.11); + background-color: #1c1c1c; } button { - background-color: rgba(0,0,0,0); + background-color: black; } button:active { - background-color: rgba(255,255,255,.07); + background-color: #282828; } .button_active { - border-color: rgba(0,0,0,0.0); + border-color: #282828; border-style: solid; border-width: .25em; - background-color: rgba(255,255,255,.16); + background-color: #282828; border-radius: 1em; } button.color1, button.color2, button.color3, button.color4 { - background-color: rgba(255,255,255,.07); - border-color: rgba(0,0,0,0); + background-color: #111111; + border-color: #111111; border-radius: 1em; } button.color1:active, button.color2:active, button.color3:active, button.color4:active, button.update:active, button.invalid:active, .dialog button:active { border-style: none; - background-color: rgba(0,0,0,0); + background-color: #282828; } button.update { @@ -53,12 +53,12 @@ button.invalid { } combobox box button { - background-color: rgba(255,255,255,.07); - border-color: rgba(0,0,0,0); + background-color: #111111; + border-color: #111111; } switch { - background-color: rgba(255,255,255,.12); + background-color: #1c1c1c; } switch:checked { @@ -66,13 +66,13 @@ switch:checked { } entry { - background-color: rgba(255,255,255,.12); - border-color: rgba(0,0,0,0); + background-color: #1c1c1c; + border-color: #1c1c1c; } frame { color: #e2e2e2; - border-bottom-color: rgba(255,255,255,.07); + border-bottom-color: #111111; } label { @@ -86,11 +86,11 @@ menu { menuitem { background-color: black; - border-color: rgba(255,255,255,.16); + border-color: #282828; } trough { - background-color: rgba(255,255,255,.07); + background-color: #111111; color: #e2e2e2; } @@ -104,11 +104,11 @@ scale-mark { } scrollbar, scrollbar button, scrollbar trough { - background-color: rgba(0,0,0,0); + background-color: black; } scrollbar slider { - background-color: rgba(255,255,255,.11); + background-color: #1c1c1c; } textview .time { @@ -125,8 +125,8 @@ textview .time { } .dialog button { - background-color: rgba(255,255,255,.07); - border-bottom-color: rgba(255,255,255,.07); + background-color: #111111; + border-bottom-color: #111111; border-radius: .75em; } @@ -140,11 +140,11 @@ textview .time { .tempbutton_top, .tempbutton, .tempbutton_bottom, .distbutton_top, .distbutton, .distbutton_bottom { border-color: black; - background-color: rgba(255,255,255,.07); + background-color: #111111; } .distbutton_active { - background-color: rgba(255,255,255,.16); + background-color: #282828; } .fan_slider { @@ -168,12 +168,12 @@ textview .time { } .numpad_tleft, .numpad_top, .numpad_tright, .numpad_left, .numpad_button, .numpad_right, .numpad_bleft, .numpad_bottom, .numpad_bright { - border-color: rgba(255,255,255,.07); - background-color: rgba(255,255,255,.07); + border-color: #111111; + background-color: #111111; } .printing-info button{ - background-color: rgba(255,255,255,.07); + background-color: #111111; } .printing-status {