performance: do not use transparency

This commit is contained in:
alfrix
2022-06-22 19:11:32 -03:00
committed by Alfredo Monclus
parent 312d131db5
commit 5f1d239211
2 changed files with 38 additions and 38 deletions

View File

@@ -9,7 +9,7 @@ window {
} }
button { button {
background-color: rgba(0,0,0,0); background-color: #121212;
} }
button:active { button:active {
@@ -17,7 +17,7 @@ button:active {
} }
.button_active { .button_active {
background-color: rgba(0,0,0,0); background-color: #000000;
border-color: #d81549; border-color: #d81549;
border-style: dashed; border-style: dashed;
border-width: .25em; border-width: .25em;
@@ -25,25 +25,25 @@ button:active {
} }
button.color1 { button.color1 {
background-color: rgba(0,0,0,0.5); background-color: #090909;
border-color: #d46900; border-color: #d46900;
border-radius: 1em; border-radius: 1em;
} }
button.color2 { button.color2 {
background-color: rgba(0,0,0,0.5); background-color: #090909;
border-color: #ed3c63; border-color: #ed3c63;
border-radius: 1em; border-radius: 1em;
} }
button.color3 { button.color3 {
background-color: rgba(0,0,0,0.5); background-color: #090909;
border-color: #849900; border-color: #849900;
border-radius: 1em; border-radius: 1em;
} }
button.color4 { button.color4 {
background-color: rgba(0,0,0,0.5); background-color: #090909;
border-color: #007db4; border-color: #007db4;
border-radius: 1em; border-radius: 1em;
} }
@@ -57,7 +57,7 @@ button.active {
} }
button.update { button.update {
background-color: rgba(0,0,0,0.5); background-color: #090909;
border: 0; border: 0;
border-bottom: .3em solid; border-bottom: .3em solid;
border-bottom-color: #849900; border-bottom-color: #849900;
@@ -65,7 +65,7 @@ button.update {
} }
button.invalid { button.invalid {
background-color: rgba(0,0,0,0.5); background-color: #090909;
border: 0; border: 0;
border-bottom: .3em solid; border-bottom: .3em solid;
border-bottom-color: #B71C1C; border-bottom-color: #B71C1C;
@@ -87,7 +87,7 @@ switch:checked {
entry { entry {
background-color: #1f1f1f; background-color: #1f1f1f;
border-color: rgba(0,0,0,0); border-color: #1f1f1f;
} }
frame { frame {
@@ -125,7 +125,7 @@ scale-mark {
} }
scrollbar, scrollbar button, scrollbar trough { scrollbar, scrollbar button, scrollbar trough {
background-color: rgba(0,0,0,0); background-color: #121212;
} }
scrollbar slider { scrollbar slider {
@@ -146,7 +146,7 @@ textview .time {
} }
.dialog button { .dialog button {
background-color: rgba(0,0,0,0.5); background-color: #090909;
border-bottom-color: #1f1f1f; border-bottom-color: #1f1f1f;
border-radius: .75em; border-radius: .75em;
} }
@@ -161,7 +161,7 @@ textview .time {
.tempbutton_top, .tempbutton, .tempbutton_bottom, .distbutton_top, .distbutton, .distbutton_bottom { .tempbutton_top, .tempbutton, .tempbutton_bottom, .distbutton_top, .distbutton, .distbutton_bottom {
border-color: #121212; border-color: #121212;
background-color: rgba(0,0,0,0.5); background-color: #090909;
} }
.distbutton_active { .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 { .numpad_tleft, .numpad_top, .numpad_tright, .numpad_left, .numpad_button, .numpad_right, .numpad_bleft, .numpad_bottom, .numpad_bright {
border-color: #121212; border-color: #121212;
background-color: rgba(0,0,0,0.5); background-color: #090909;
} }
.printing-status { .printing-status {

View File

@@ -10,34 +10,34 @@ window {
.active_device { .active_device {
background-color: rgba(255,255,255,.11); background-color: #1c1c1c;
} }
button { button {
background-color: rgba(0,0,0,0); background-color: black;
} }
button:active { button:active {
background-color: rgba(255,255,255,.07); background-color: #282828;
} }
.button_active { .button_active {
border-color: rgba(0,0,0,0.0); border-color: #282828;
border-style: solid; border-style: solid;
border-width: .25em; border-width: .25em;
background-color: rgba(255,255,255,.16); background-color: #282828;
border-radius: 1em; border-radius: 1em;
} }
button.color1, button.color2, button.color3, button.color4 { button.color1, button.color2, button.color3, button.color4 {
background-color: rgba(255,255,255,.07); background-color: #111111;
border-color: rgba(0,0,0,0); border-color: #111111;
border-radius: 1em; border-radius: 1em;
} }
button.color1:active, button.color2:active, button.color3:active, button.color4:active, button.update:active, button.invalid:active, .dialog button:active { button.color1:active, button.color2:active, button.color3:active, button.color4:active, button.update:active, button.invalid:active, .dialog button:active {
border-style: none; border-style: none;
background-color: rgba(0,0,0,0); background-color: #282828;
} }
button.update { button.update {
@@ -53,12 +53,12 @@ button.invalid {
} }
combobox box button { combobox box button {
background-color: rgba(255,255,255,.07); background-color: #111111;
border-color: rgba(0,0,0,0); border-color: #111111;
} }
switch { switch {
background-color: rgba(255,255,255,.12); background-color: #1c1c1c;
} }
switch:checked { switch:checked {
@@ -66,13 +66,13 @@ switch:checked {
} }
entry { entry {
background-color: rgba(255,255,255,.12); background-color: #1c1c1c;
border-color: rgba(0,0,0,0); border-color: #1c1c1c;
} }
frame { frame {
color: #e2e2e2; color: #e2e2e2;
border-bottom-color: rgba(255,255,255,.07); border-bottom-color: #111111;
} }
label { label {
@@ -86,11 +86,11 @@ menu {
menuitem { menuitem {
background-color: black; background-color: black;
border-color: rgba(255,255,255,.16); border-color: #282828;
} }
trough { trough {
background-color: rgba(255,255,255,.07); background-color: #111111;
color: #e2e2e2; color: #e2e2e2;
} }
@@ -104,11 +104,11 @@ scale-mark {
} }
scrollbar, scrollbar button, scrollbar trough { scrollbar, scrollbar button, scrollbar trough {
background-color: rgba(0,0,0,0); background-color: black;
} }
scrollbar slider { scrollbar slider {
background-color: rgba(255,255,255,.11); background-color: #1c1c1c;
} }
textview .time { textview .time {
@@ -125,8 +125,8 @@ textview .time {
} }
.dialog button { .dialog button {
background-color: rgba(255,255,255,.07); background-color: #111111;
border-bottom-color: rgba(255,255,255,.07); border-bottom-color: #111111;
border-radius: .75em; border-radius: .75em;
} }
@@ -140,11 +140,11 @@ textview .time {
.tempbutton_top, .tempbutton, .tempbutton_bottom, .distbutton_top, .distbutton, .distbutton_bottom { .tempbutton_top, .tempbutton, .tempbutton_bottom, .distbutton_top, .distbutton, .distbutton_bottom {
border-color: black; border-color: black;
background-color: rgba(255,255,255,.07); background-color: #111111;
} }
.distbutton_active { .distbutton_active {
background-color: rgba(255,255,255,.16); background-color: #282828;
} }
.fan_slider { .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 { .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); border-color: #111111;
background-color: rgba(255,255,255,.07); background-color: #111111;
} }
.printing-info button{ .printing-info button{
background-color: rgba(255,255,255,.07); background-color: #111111;
} }
.printing-status { .printing-status {