Merge pull request #2222 from unraid/feat/swal-responsive

feat: responsive SWAL
This commit is contained in:
tom mortensen
2025-06-08 11:06:04 -07:00
committed by GitHub
4 changed files with 1583 additions and 241 deletions
File diff suppressed because one or more lines are too long
@@ -50,8 +50,7 @@
input[type="submit"],
button,
button[type="button"],
a.button,
.sweet-alert button {
a.button {
margin: 0;
}
}
+10 -20
View File
@@ -174,8 +174,7 @@ input[type="reset"],
input[type="submit"],
button,
button[type="button"],
a.button,
.sweet-alert button {
a.button {
font-family: clear-sans;
font-size: 1.1rem;
font-weight: bold;
@@ -213,8 +212,7 @@ a.button,
input[type="submit"],
button,
button[type="button"],
a.button,
.sweet-alert button {
a.button {
margin: 0;
}
}
@@ -236,8 +234,7 @@ input:focus[type="number"],
input:focus[type="url"],
input:focus[type="email"],
input:focus[type="file"],
textarea:focus,
.sweet-alert button:focus {
textarea:focus {
background-color: var(--focus-input-bg-color);
outline: 0;
}
@@ -246,8 +243,7 @@ input:hover[type="reset"],
input:hover[type="submit"],
button:hover,
button:hover[type="button"],
a.button:hover,
.sweet-alert button:hover {
a.button:hover {
color: var(--hover-button-text-color);
background: var(--hover-button-background);
}
@@ -273,8 +269,7 @@ input:active[type="reset"][disabled],
input:active[type="submit"][disabled],
button:active[disabled],
button:active[type="button"][disabled],
a.button:active[disabled],
.sweet-alert button[disabled] {
a.button:active[disabled] {
opacity: 0.5;
cursor: default;
color: var(--disabled-text-color);
@@ -2092,8 +2087,7 @@ div#title.ud {
input[type="submit"],
button,
button[type="button"],
a.button,
.sweet-alert button {
a.button {
font-family: clear-sans;
font-size: 1.2rem;
font-weight: normal;
@@ -2111,8 +2105,7 @@ div#title.ud {
input:focus[type="url"],
input:focus[type="email"],
input:focus[type="file"],
textarea:focus,
.sweet-alert button:focus {
textarea:focus {
background: none;
background-color: var(--focus-input-background-color);
border-color: var(--focus-input-border-color);
@@ -2123,8 +2116,7 @@ div#title.ud {
input:hover[type="submit"],
button:hover,
button:hover[type="button"],
a.button:hover,
.sweet-alert button:hover {
a.button:hover {
border-color: var(--hover-button-border);
color: var(--hover-button-text-color);
background: none;
@@ -2136,8 +2128,7 @@ div#title.ud {
input:active[type="submit"],
button:active,
button:active[type="button"],
a.button:active,
.sweet-alert button:active {
a.button:active {
border-color: var(--hover-button-border);
box-shadow: none;
}
@@ -2154,8 +2145,7 @@ div#title.ud {
input:active[type="submit"][disabled],
button:active[disabled],
button:active[type="button"][disabled],
textarea[disabled],
.sweet-alert button[disabled] {
textarea[disabled] {
color: var(--disabled-text-color) !important;
border-color: var(--disabled-input-border-color) !important;
background: none !important;
File diff suppressed because it is too large Load Diff