|
1 | | -:root { |
2 | | - --custom-shaded-backgroud: rgba(0, 0, 0, 0.3); |
3 | | -} |
4 | | - |
5 | 1 | .utbot-form { |
6 | 2 | background-color: var(--vscode-welcomePage-background); |
7 | | - margin: 150px auto; |
8 | | - margin-top: 75px; |
| 3 | + margin: auto auto; |
| 4 | + margin-top: 15px; |
9 | 5 | vertical-align: middle; |
10 | 6 | padding: 40px; |
11 | 7 | width: 70%; |
|
16 | 12 | /* Hide all steps by default: */ |
17 | 13 | .utbot-form__tab { |
18 | 14 | display: none; |
| 15 | + min-height: 280px; |
19 | 16 | } |
20 | 17 |
|
21 | 18 | .utbot-form__tab.active { |
|
32 | 29 | height: 10px; |
33 | 30 | width: 10px; |
34 | 31 | margin: 0 2px; |
35 | | - /* background-color: #bbbbbb; */ |
| 32 | + |
36 | 33 | background-color: var(--vscode-titleBar-activeForeground); |
| 34 | + /* background-color: #bbbbbb; */ |
37 | 35 | border: none; |
38 | 36 | border-radius: 50%; |
39 | 37 | display: inline-block; |
40 | | - opacity: 0.5; |
| 38 | + |
| 39 | + opacity: 50%; |
41 | 40 | } |
42 | 41 |
|
43 | 42 | /* Mark the active step: */ |
44 | 43 | .utbot-form__steps_step.active { |
45 | | - opacity: 1; |
| 44 | + opacity: 100%; |
| 45 | +} |
| 46 | + |
| 47 | +.utbot-form__tab_label { |
| 48 | + text-align: right; |
| 49 | + margin-top: 10px; |
| 50 | + margin-right: 15px; |
| 51 | + float:left; |
46 | 52 | } |
47 | 53 |
|
48 | 54 | .utbot-form__tab_input { |
49 | 55 | margin-top: 5px; |
50 | 56 | } |
51 | 57 |
|
52 | 58 | .utbot-form__tab_item { |
53 | | - margin-top: 15px; |
54 | | - margin-bottom: 15px; |
55 | | -} |
56 | | - |
57 | | -.utbot-form__tab_connection_test-button { |
58 | | - max-width: 30%; |
59 | | - display: inline-block; |
| 59 | + margin-top: 5px; |
| 60 | + margin-bottom: 5px; |
60 | 61 | } |
61 | 62 |
|
62 | 63 | /* By default turn off connection status */ |
63 | | -.utbot-form__tab_connection_loader, |
64 | | -.utbot-form__tab_connection_success, |
65 | | -.utbot-form__tab_connection_failure { |
| 64 | +#connection_loader, |
| 65 | +#connection_success, |
| 66 | +#connection_warning, |
| 67 | +#connection_failure { |
66 | 68 | display: none; |
67 | 69 | } |
68 | 70 |
|
69 | | -.utbot-form__tab_connection_loader.active, |
70 | | -.utbot-form__tab_connection_success.active, |
71 | | -.utbot-form__tab_connection_failure.active { |
| 71 | +#connection_loader.active, |
| 72 | +#connection_success.active, |
| 73 | +#connection_warning.active, |
| 74 | +#connection_failure.active { |
72 | 75 | display: inline-block; |
73 | 76 | } |
74 | 77 |
|
75 | 78 | .utbot-form__steps_step.finish { |
76 | 79 | background-color: var(--vscode-editorInfo-foreground); |
77 | 80 | } |
78 | 81 |
|
79 | | -.utbot-form__tab_input { |
80 | | - box-sizing: border-box; |
81 | | -} |
82 | | - |
83 | 82 | .utbot-form__navigation { |
84 | 83 | display: flex; |
85 | 84 | flex-direction: row; |
|
117 | 116 | margin-right: 0; |
118 | 117 | } |
119 | 118 |
|
120 | | -.utbot-form__tab { |
121 | | - min-height: 190px; |
122 | | -} |
123 | | - |
124 | | -/** Connection loader **/ |
125 | | -.utbot-form__tab_connection_loader.active { |
126 | | - top: 5px; |
127 | | - position: relative; |
128 | | - height: 100%; |
129 | | -} |
130 | | - |
131 | | -.utbot-form__tab_connection_loader.active:after { |
132 | | - content: " "; |
133 | | - display: block; |
134 | | - border-radius: 50%; |
135 | | - width: 0; |
136 | | - height: 0; |
137 | | - margin: 0px; |
138 | | - box-sizing: border-box; |
139 | | - border: 10px solid #fff; |
140 | | - border-color: #fff transparent #fff transparent; |
141 | | - animation: lds-hourglass 1.2s infinite; |
142 | | -} |
143 | | - |
144 | | -@keyframes lds-hourglass { |
145 | | - 0% { |
146 | | - transform: rotate(0); |
147 | | - animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19); |
148 | | - } |
149 | | - 50% { |
150 | | - transform: rotate(900deg); |
151 | | - animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1); |
152 | | - } |
153 | | - 100% { |
154 | | - transform: rotate(1800deg); |
155 | | - } |
156 | | -} |
157 | | - |
158 | 119 | .utbot-modal { |
159 | 120 | position: fixed; |
160 | 121 | top: 0; |
161 | 122 | left: 0; |
162 | 123 | display: flex; |
163 | 124 | align-items: center; |
164 | 125 | justify-content: center; |
165 | | - height: 0vh; |
| 126 | + height: 0; |
166 | 127 | overflow: hidden; |
167 | 128 | transition: background-color 0.25s ease; |
168 | 129 | z-index: 9999; |
|
283 | 244 | background: var(--vscode-diffEditor-diagonalFill); |
284 | 245 | } |
285 | 246 |
|
286 | | -.utbot-modal__close-button::before, |
| 247 | +.utbot-modal__close-button::before, |
287 | 248 | .utbot-modal__close-button::after { |
288 | 249 | content: ""; |
289 | 250 | position: absolute; |
|
311 | 272 | transform: rotate(-45deg); |
312 | 273 | } |
313 | 274 |
|
314 | | -.utbot-modal__close-button.thick::before, |
| 275 | +.utbot-modal__close-button.thick::before, |
315 | 276 | .utbot-modal__close-button.thick::after { |
316 | 277 | height: 4px; |
317 | 278 | margin-top: -2px; |
|
0 commit comments