feat: macro prompts close #1216 (#1219)

* feat: macro prompts close #1216

now the user can have confirmation on macros using this feature close #835

* prompt: remove separator and remove the header and close button if windowed

* prompt: wakeup screen

* prompt: slightly larger close icon
This commit is contained in:
Alfredo Monclus authored and GitHub committed 2024-01-02 08:04:02 -03:00
1 parent 25ab9c962d
commit 1794d8aa24
13 files changed
+301 -92

No files matched your search

+25 -9
View File
@@ -292,18 +292,9 @@ trough {
.dialog button {
padding: 1.5em;
border-bottom: .4em solid @color3;
margin-top: 1em;
}
.dialog button:nth-child(1) {
border-bottom-color: @echo;
}
.dialog button:nth-child(2) {
border-bottom-color: @error;
}
.distbutton_active {
background-color: @active;
font-weight: 600;
@@ -630,3 +621,28 @@ trough progress {
}
.graph_label {border-left-width: .4em; border-left-style: solid;}
.dialog-error {
border-bottom: .4em solid @error;
}
.dialog-warning {
border-bottom: .4em solid @warning;
}
.dialog-info {
border-bottom: .4em solid @color4;
}
.dialog-default {
border-bottom: .4em solid @color3;
}
.dialog-secondary {
border-bottom: .4em solid @color2;
}
.dialog-primary {
border-bottom: .4em solid @color1;
}
+24 -8
View File
@@ -176,17 +176,9 @@ textview .time {
.dialog button {
background-color: @solarized-base02;
border-bottom-color: @solarized-cyan;
border-radius: .75em;
}
.dialog button:nth-child(1) {
border-bottom-color: @solarized-green;
}
.dialog button:nth-child(2) {
border-bottom-color: @solarized-red;
}
.tempbutton_top,
.tempbutton,
.tempbutton_bottom,
@@ -267,3 +259,27 @@ textview .time {
.keyboard_pad {
background-color: @solarized-base02;
}
.dialog-error {
border-bottom-color: @solarized-red;
}
.dialog-warning {
border-bottom-color: @olarized-yellow;
}
.dialog-info {
border-bottom-color: @solarized-cyan;
}
.dialog-default {
border-bottom-color: @solarized-green;
}
.dialog-secondary {
border-bottom-color: @solarized-magenta;
}
.dialog-primary {
border-bottom-color: @solarized-orange;
}
+24 -9
View File
@@ -159,18 +159,9 @@ textview .time {
.dialog button {
background-color: @buttons-bg;
border-bottom-color: @active-dark;
border-radius: .75em;
}
.dialog button:nth-child(1) {
border-bottom-color: @color3;
}
.dialog button:nth-child(2) {
border-bottom-color: @error;
}
.tempbutton_top,
.tempbutton,
.tempbutton_bottom,
@@ -243,3 +234,27 @@ button.active {
.keyboard_pad {
background-color: @buttons-bg;
}
.dialog-error {
border-bottom-color: @error;
}
.dialog-warning {
border-bottom-color: @warning;
}
.dialog-info {
border-bottom-color: @color4;
}
.dialog-default {
border-bottom-color: @color3;
}
.dialog-secondary {
border-bottom-color: @color2;
}
.dialog-primary {
border-bottom-color: @color1;
}
+24 -9
View File
@@ -153,18 +153,9 @@ textview .time {
.dialog button {
background-color: #252525;
border-bottom-color: #252525;
border-radius: .25em;
}
.dialog button:nth-child(1) {
border-bottom-color: #2f5631;
}
.dialog button:nth-child(2) {
border-bottom-color: #B71C1C;
}
.tempbutton_top,
.tempbutton,
.tempbutton_bottom,
@@ -242,3 +233,27 @@ textview .time {
.keyboard_pad {
background-color: #090909;
}
.dialog-error {
border-bottom-color: #CF6679;
}
.dialog-warning {
border-bottom-color: #f9b274;
}
.dialog-info {
border-bottom-color: @color4;
}
.dialog-default {
border-bottom-color: @color3;
}
.dialog-secondary {
border-bottom-color: @color2;
}
.dialog-primary {
border-bottom-color: @color1;
}
+34 -22
View File
@@ -11,7 +11,6 @@
@define-color error #EF9A9A;
@define-color echo #a1ef9a;
@define-color popup #006064;
@define-color dialog #80CBC4;
@define-color textview #212121;
* {
@@ -206,27 +205,6 @@ textview .time {
background-color: @bg;
}
.dialog button {
background-color: @dialog;
border-bottom-color: @dialog;
border-radius: .75em;
}
.dialog button:nth-child(1) {
background-color: @color3;
border-bottom-color: @color3;
}
.dialog button:nth-child(2) {
background-color: @error;
border-bottom-color: @error;
}
.dialog button:nth-child(1) label ,
.dialog button:nth-child(2) label {
color: @text;
}
.tempbutton_top,
.tempbutton,
.tempbutton_bottom,
@@ -307,3 +285,37 @@ textview .time {
.keyboard_pad {
background-color: @border;
}
.dialog button {
border-radius: .75em;
}
.dialog-error {
background-color: @error;
border-bottom-color: @error;
}
.dialog-warning {
background-color: @warning;
border-bottom-color: @warning;
}
.dialog-info {
background-color: @color4;
border-bottom-color: @color4;
}
.dialog-default {
background-color: @color3;
border-bottom-color: @color3;
}
.dialog-secondary {
background-color: @color2;
border-bottom-color: @color2;
}
.dialog-primary {
background-color: @color1;
border-bottom-color: @color1;
}
+25 -12
View File
@@ -5,6 +5,7 @@
@define-color bg #13181C;
@define-color active #324A5E;
@define-color error #981E1F;
@define-color warning #f9a825;
@define-color text white;
@define-color text-inv black;
@define-color lines #cccccc;
@@ -135,18 +136,6 @@ textview .time {
background-color: @bg;
}
.dialog button {
border-bottom-color: @color3;
}
.dialog button:nth-child(1) {
border-bottom-color: @color4;
}
.dialog button:nth-child(2) {
border-bottom-color: @error;
}
.distbutton_active {
background-color: @active;
border-color: @color1;
@@ -203,3 +192,27 @@ textview .time {
.keyboard_pad {
background-color: @bg;
}
.dialog-error {
border-bottom-color: @error;
}
.dialog-warning {
border-bottom-color: @warning;
}
.dialog-info {
border-bottom-color: @color4;
}
.dialog-default {
border-bottom-color: @color3;
}
.dialog-secondary {
border-bottom-color: @color2;
}
.dialog-primary {
border-bottom-color: @color1;
}