Toc commited on
Commit
585610d
·
verified ·
1 Parent(s): abaf522

Upload user.css

Browse files
Files changed (1) hide show
  1. user.css +161 -0
user.css ADDED
@@ -0,0 +1,161 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #txt2img_gallery, #img2img_gallery {
2
+ /* Output height */
3
+ height: 680px;
4
+ }
5
+
6
+ #txt2img_results, #img2img_results {
7
+ /* Output width */
8
+ min-width: 50%;
9
+ }
10
+
11
+ #txt2img_gallery > .grid-wrap, #txt2img_gallery > .preview,
12
+ #img2img_gallery > .grid-wrap, #img2img_gallery > .preview {
13
+ max-height: none;
14
+ }
15
+
16
+ #txt2img_extra_networks:not(div), #img2img_extra_networks:not(div) {
17
+ order: 1 !important;
18
+ }
19
+
20
+ #setting_show_progress_every_n_steps > div.wrap > div > label > span {
21
+ white-space: nowrap;
22
+ overflow: hidden;
23
+ width: 220px;
24
+ text-overflow: ellipsis;
25
+ }
26
+
27
+ /* Fixing Sampling steps covered up on phone */
28
+
29
+ @media screen and (min-width: 420px) {
30
+ #sampler_selection_txt2img, #sampler_selection_img2img {
31
+ flex-direction: row;
32
+ }
33
+ }
34
+
35
+ @media screen and (max-width: 420px) {
36
+ #sampler_selection_txt2img, #sampler_selection_img2img {
37
+ flex-direction: column;
38
+ }
39
+ }
40
+
41
+ #txt2img_script_container > * .block.padded, #img2img_script_container > * .block.padded {
42
+ padding: 10px !important;
43
+ }
44
+
45
+ div.compact {
46
+ gap: 5px !important;
47
+ }
48
+
49
+ .tab-nav.scroll-hide.svelte-1g805jl {
50
+ row-gap: 5px !important;
51
+ }
52
+
53
+ #txt2img_script_container > div, #img2img_script_container > div {
54
+ margin-bottom: 10px;
55
+ }
56
+
57
+ #tabs > .tab-nav > button.selected,
58
+ #txt2img_extra_tabs > .tab-nav > button.selected,
59
+ #img2img_extra_tabs > .tab-nav > button.selected,
60
+ #mode_img2img > .tab-nav > button.selected {
61
+ color: var(--button-secondary-text-color);
62
+ }
63
+
64
+ .gradio-container {
65
+ padding-top: 5px !important;
66
+ padding-bottom: 5px !important;
67
+ padding-left: 10px !important;
68
+ padding-right: 10px !important;
69
+ }
70
+
71
+ span.svelte-s1r2yt {
72
+ margin-top: -3px;
73
+ }
74
+
75
+ .svelte-1ojmf70.primary {
76
+ top: -1px;
77
+ margin-right: 5px;
78
+ }
79
+
80
+ .svelte-1ojmf70.input-accordion-checkbox {
81
+ top: -1px;
82
+ }
83
+
84
+ .extra-network-pane .card {
85
+ width: 238px !important;
86
+ height: 334px !important;
87
+ font-size: 60% !important;
88
+ border-radius: 0;
89
+ transition: .3s ease;
90
+ text-align: center;
91
+ }
92
+
93
+ .extra-network-pane .card:hover {
94
+ box-shadow: 0 0 10px 3px #00d4ff;
95
+ }
96
+
97
+ .extra-network-pane .card .preview {
98
+ object-position: top;
99
+ }
100
+
101
+ .extra-network-pane .card .button-row {
102
+ width: 100%;
103
+ justify-content: center;
104
+ align-items: center;
105
+ opacity: 0;
106
+ visibility: visible;
107
+ transition: .2s ease;
108
+ }
109
+
110
+ .extra-network-pane .card:hover .button-row {
111
+ opacity: 1;
112
+ }
113
+
114
+ .extra-network-pane .card-button {
115
+ padding: 0;
116
+ align-items: center;
117
+ justify-content: center;
118
+ }
119
+
120
+ .extra-network-pane .card .actions {
121
+ height: 100%;
122
+ width: 100%;
123
+ padding: 0;
124
+ border-bottom: 0;
125
+ box-shadow: 0 0 5px 1px #000;
126
+ background: transparent;
127
+ pointer-events: none;
128
+ transition: background-color .2s ease;
129
+ }
130
+
131
+ .extra-network-pane .card .actions > * {
132
+ pointer-events: auto;
133
+ }
134
+
135
+ .extra-network-pane .card:hover .actions {
136
+ background: rgb(0 0 0 / 60%);
137
+ }
138
+
139
+ .extra-network-pane .card .actions .name {
140
+ display: flex;
141
+ position: absolute;
142
+ justify-content: center;
143
+ align-items: center;
144
+ font-size: var(--section-header-text-size);
145
+ font-weight: normal;
146
+ background: rgb(0 0 0 / 70%);
147
+ width: 100%;
148
+ padding: .3em;
149
+ bottom: 0;
150
+ border-radius: 0;
151
+ box-shadow: 0 0 5px 1px #000;
152
+ }
153
+
154
+ .extra-network-pane .card .actions .description {
155
+ display: none !important;
156
+ }
157
+
158
+ #quicksettings > #setting_sd_vae {
159
+ min-width: 210px !important;
160
+ max-width: 210px !important;
161
+ }