Adityadn commited on
Commit
5700b8b
·
verified ·
1 Parent(s): 0930f05

Delete css

Browse files
Files changed (1) hide show
  1. css/style.css +0 -220
css/style.css DELETED
@@ -1,220 +0,0 @@
1
- /* based on https://github.com/AUTOMATIC1111/stable-diffusion-webui/blob/v1.6.0/style.css */
2
-
3
- #context-menu{
4
- z-index:9999;
5
- position:absolute;
6
- display:block;
7
- padding:0px 0;
8
- border:2px solid #a55000;
9
- border-radius:8px;
10
- box-shadow:1px 1px 2px #CE6400;
11
- width: 200px;
12
- }
13
-
14
- .context-menu-items{
15
- list-style: none;
16
- margin: 0;
17
- padding: 0;
18
- }
19
-
20
- .context-menu-items a{
21
- display:block;
22
- padding:5px;
23
- cursor:pointer;
24
- }
25
-
26
- .context-menu-items a:hover{
27
- background: #a55000;
28
- }
29
-
30
- .canvas-tooltip-info {
31
- position: absolute;
32
- top: 28px;
33
- left: 2px;
34
- cursor: help;
35
- background-color: rgba(0, 0, 0, 0.3);
36
- width: 20px;
37
- height: 20px;
38
- border-radius: 50%;
39
- display: flex;
40
- align-items: center;
41
- justify-content: center;
42
- flex-direction: column;
43
-
44
- z-index: 100;
45
- }
46
-
47
- .canvas-tooltip-info::after {
48
- content: '';
49
- display: block;
50
- width: 2px;
51
- height: 7px;
52
- background-color: white;
53
- margin-top: 2px;
54
- }
55
-
56
- .canvas-tooltip-info::before {
57
- content: '';
58
- display: block;
59
- width: 2px;
60
- height: 2px;
61
- background-color: white;
62
- }
63
-
64
- .canvas-tooltip-content {
65
- display: none;
66
- background-color: #f9f9f9;
67
- color: #333;
68
- border: 1px solid #ddd;
69
- padding: 15px;
70
- position: absolute;
71
- top: 40px;
72
- left: 10px;
73
- width: 250px;
74
- font-size: 16px;
75
- opacity: 0;
76
- border-radius: 8px;
77
- box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
78
-
79
- z-index: 100;
80
- }
81
-
82
- .canvas-tooltip:hover .canvas-tooltip-content {
83
- display: block;
84
- animation: fadeIn 0.5s;
85
- opacity: 1;
86
- }
87
-
88
- @keyframes fadeIn {
89
- from {opacity: 0;}
90
- to {opacity: 1;}
91
- }
92
-
93
- .styler {
94
- overflow:inherit !important;
95
- }
96
-
97
- .gradio-container{
98
- overflow: visible;
99
- }
100
-
101
- /* fullpage image viewer */
102
-
103
- #lightboxModal{
104
- display: none;
105
- position: fixed;
106
- z-index: 1001;
107
- left: 0;
108
- top: 0;
109
- width: 100%;
110
- height: 100%;
111
- overflow: auto;
112
- background-color: rgba(20, 20, 20, 0.95);
113
- user-select: none;
114
- -webkit-user-select: none;
115
- flex-direction: column;
116
- }
117
-
118
- .modalControls {
119
- display: flex;
120
- position: absolute;
121
- right: 0px;
122
- left: 0px;
123
- gap: 1em;
124
- padding: 1em;
125
- background-color:rgba(0,0,0,0);
126
- z-index: 1;
127
- transition: 0.2s ease background-color;
128
- }
129
- .modalControls:hover {
130
- background-color:rgba(0,0,0,0.9);
131
- }
132
- .modalClose {
133
- margin-left: auto;
134
- }
135
- .modalControls span{
136
- color: white;
137
- text-shadow: 0px 0px 0.25em black;
138
- font-size: 35px;
139
- font-weight: bold;
140
- cursor: pointer;
141
- width: 1em;
142
- }
143
-
144
- .modalControls span:hover, .modalControls span:focus{
145
- color: #999;
146
- text-decoration: none;
147
- }
148
-
149
- #lightboxModal > img {
150
- display: block;
151
- margin: auto;
152
- width: auto;
153
- }
154
-
155
- #lightboxModal > img.modalImageFullscreen{
156
- object-fit: contain;
157
- height: 100%;
158
- width: 100%;
159
- min-height: 0;
160
- }
161
-
162
- .modalPrev,
163
- .modalNext {
164
- cursor: pointer;
165
- position: absolute;
166
- top: 50%;
167
- width: auto;
168
- padding: 16px;
169
- margin-top: -50px;
170
- color: white;
171
- font-weight: bold;
172
- font-size: 20px;
173
- transition: 0.6s ease;
174
- border-radius: 0 3px 3px 0;
175
- user-select: none;
176
- -webkit-user-select: none;
177
- }
178
-
179
- .modalNext {
180
- right: 0;
181
- border-radius: 3px 0 0 3px;
182
- }
183
-
184
- .modalPrev:hover,
185
- .modalNext:hover {
186
- background-color: rgba(0, 0, 0, 0.8);
187
- }
188
-
189
- #imageARPreview {
190
- position: absolute;
191
- top: 0px;
192
- left: 0px;
193
- border: 2px solid red;
194
- background: rgba(255, 0, 0, 0.3);
195
- z-index: 900;
196
- pointer-events: none;
197
- display: none;
198
- }
199
-
200
- #stylePreviewOverlay {
201
- opacity: 0;
202
- pointer-events: none;
203
- width: 128px;
204
- height: 128px;
205
- position: fixed;
206
- top: 0px;
207
- left: 0px;
208
- border: solid 1px lightgrey;
209
- transform: translate(-140px, 20px);
210
- background-size: cover;
211
- background-position: center;
212
- background-color: rgba(0, 0, 0, 0.3);
213
- border-radius: 5px;
214
- z-index: 100;
215
- transition: transform 0.1s ease, opacity 0.3s ease;
216
- }
217
-
218
- #stylePreviewOverlay.lower-half {
219
- transform: translate(-140px, -140px);
220
- }