Spaces:
Running
Running
Sebastiankay
commited on
Commit
•
78d5bb6
1
Parent(s):
68c0a18
24. Sept. 2024, 19:23
Browse files- _res/_custom.css +49 -0
_res/_custom.css
CHANGED
@@ -34,6 +34,55 @@ body>gradio-app {
|
|
34 |
/* min-width: 900px; */
|
35 |
transition: opacity 0.4s linear;
|
36 |
position: relative;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
37 |
}
|
38 |
|
39 |
body>gradio-app::before {
|
|
|
34 |
/* min-width: 900px; */
|
35 |
transition: opacity 0.4s linear;
|
36 |
position: relative;
|
37 |
+
|
38 |
+
& #alertModal {
|
39 |
+
position: absolute;
|
40 |
+
top: 250px;
|
41 |
+
left: 50%;
|
42 |
+
width: 400px;
|
43 |
+
max-width: 80vw !important;
|
44 |
+
min-height: 140px;
|
45 |
+
transform: translate(-50%, -50%);
|
46 |
+
padding: var(--size-4) var(--size-8);
|
47 |
+
background-color: var(--neutral-900) !important;
|
48 |
+
|
49 |
+
border-top-width: 8px;
|
50 |
+
border-right-width: 1px;
|
51 |
+
border-bottom-width: 1px;
|
52 |
+
border-left-width: 1px;
|
53 |
+
border-top-style: solid;
|
54 |
+
border-right-style: solid;
|
55 |
+
border-bottom-style: solid;
|
56 |
+
border-left-style: solid;
|
57 |
+
border-top-color: var(--primary-600);
|
58 |
+
border-right-color: var(--primary-600);
|
59 |
+
border-bottom-color: var(--primary-600);
|
60 |
+
border-left-color: var(--primary-600);
|
61 |
+
|
62 |
+
border-radius: var(--container-radius);
|
63 |
+
|
64 |
+
& #alertModalP {
|
65 |
+
display: flex;
|
66 |
+
justify-content: center;
|
67 |
+
|
68 |
+
& span {
|
69 |
+
color: var(--neutral-50);
|
70 |
+
margin-top: 0rem;
|
71 |
+
line-height: 1.4;
|
72 |
+
}
|
73 |
+
|
74 |
+
& svg {
|
75 |
+
font-size: 4rem;
|
76 |
+
margin-right: 1rem;
|
77 |
+
color: var(--cat-red);
|
78 |
+
fill: var(--cat-red);
|
79 |
+
}
|
80 |
+
}
|
81 |
+
|
82 |
+
& button {
|
83 |
+
color: var(--text-color-by-luminance) !important;
|
84 |
+
}
|
85 |
+
}
|
86 |
}
|
87 |
|
88 |
body>gradio-app::before {
|