1 |
|
2 |
|
3 |
|
4 |
|
5 | .uppy-Root {
|
6 | box-sizing: border-box;
|
7 | font-family: $font-family-base;
|
8 | line-height: 1;
|
9 | -webkit-font-smoothing: antialiased;
|
10 | -moz-osx-font-smoothing: grayscale;
|
11 | text-align: left;
|
12 | position: relative;
|
13 | color: $gray-800;
|
14 | }
|
15 |
|
16 |
|
17 |
|
18 | [dir="rtl"] .uppy-Root, .uppy-Root[dir="rtl"] {
|
19 | text-align: right;
|
20 | }
|
21 |
|
22 | .uppy-Root *, .uppy-Root *:before, .uppy-Root *:after {
|
23 | box-sizing: inherit;
|
24 | }
|
25 |
|
26 | .uppy-Root [hidden] {
|
27 | display: none;
|
28 | }
|
29 |
|
30 |
|
31 |
|
32 | .uppy-u-reset {
|
33 | -webkit-appearance: none;
|
34 | line-height: 1;
|
35 | padding: 0;
|
36 | margin: 0;
|
37 | border: 0;
|
38 | color: inherit;
|
39 | backface-visibility: visible;
|
40 | background: none;
|
41 | border: medium none currentColor;
|
42 | border-collapse: separate;
|
43 | border-image: none;
|
44 | border-radius: 0;
|
45 | border-spacing: 0;
|
46 | box-shadow: none;
|
47 | clear: none;
|
48 | cursor: auto;
|
49 | display: inline;
|
50 | empty-cells: show;
|
51 | float: none;
|
52 | font-family: inherit;
|
53 | font-size: inherit;
|
54 | font-style: normal;
|
55 | font-variant: normal;
|
56 | font-weight: normal;
|
57 | font-stretch: normal;
|
58 | hyphens: none;
|
59 | left: auto;
|
60 | letter-spacing: normal;
|
61 | list-style: none;
|
62 | margin: 0;
|
63 | max-height: none;
|
64 | max-width: none;
|
65 | min-height: 0;
|
66 | min-width: 0;
|
67 | opacity: 1;
|
68 | outline: medium none invert;
|
69 | overflow: visible;
|
70 | overflow-x: visible;
|
71 | overflow-y: visible;
|
72 | text-align: left;
|
73 | text-decoration: none;
|
74 | text-indent: 0;
|
75 | text-shadow: none;
|
76 | text-transform: none;
|
77 | top: auto;
|
78 | transform: none;
|
79 | transform-origin: 50% 50% 0;
|
80 | transform-style: flat;
|
81 | transition: none 0s ease 0s;
|
82 | unicode-bidi: normal;
|
83 | vertical-align: baseline;
|
84 | visibility: visible;
|
85 | white-space: normal;
|
86 | z-index: auto;
|
87 | }
|
88 | [dir="rtl"] .uppy-u-reset {
|
89 | text-align: right;
|
90 | }
|
91 |
|
92 |
|
93 |
|
94 |
|
95 | .uppy-c-textInput {
|
96 | border: 1px solid #ddd;
|
97 | border-radius: 4px;
|
98 | font-size: 14px;
|
99 | line-height: 1.5;
|
100 | padding: 6px 8px;
|
101 | background-color: $white;
|
102 |
|
103 | .uppy-size--md & {
|
104 | padding: 8px 10px;
|
105 | }
|
106 |
|
107 | &:focus {
|
108 | border-color: rgba($blue, 0.6);
|
109 | outline: none;
|
110 | box-shadow: 0 0 0 3px rgba($blue, 0.15);
|
111 | }
|
112 |
|
113 | [data-uppy-theme="dark"] & {
|
114 | background-color: $gray-800;
|
115 | border-color: $gray-800;
|
116 | color: $gray-200;
|
117 | }
|
118 |
|
119 | [data-uppy-theme="dark"] &:focus {
|
120 | border-color: $gray-700;
|
121 | box-shadow: none;
|
122 | }
|
123 | }
|
124 |
|
125 |
|
126 |
|
127 |
|
128 | .uppy-c-icon {
|
129 | max-width: 100%;
|
130 | max-height: 100%;
|
131 | fill: currentColor;
|
132 | display: inline-block;
|
133 | overflow: hidden;
|
134 | }
|
135 |
|
136 |
|
137 |
|
138 | .uppy-c-btn {
|
139 | display: inline-block;
|
140 | text-align: center;
|
141 | white-space: nowrap;
|
142 | vertical-align: middle;
|
143 | font-family: inherit;
|
144 | font-size: 16px;
|
145 | line-height: 1;
|
146 | font-weight: 500;
|
147 | transition-property: background-color, color;
|
148 | transition-duration: 0.3s;
|
149 | user-select: none;
|
150 |
|
151 |
|
152 | [dir="rtl"] & { text-align: center; }
|
153 | }
|
154 |
|
155 | .uppy-c-btn:not(:disabled):not(.disabled) {
|
156 | cursor: pointer;
|
157 | }
|
158 |
|
159 | .uppy-c-btn::-moz-focus-inner {
|
160 | border: 0;
|
161 | }
|
162 |
|
163 | .uppy-c-btn-primary {
|
164 | font-size: 14px;
|
165 | padding: 10px 18px;
|
166 | border-radius: 4px;
|
167 | background-color: $blue;
|
168 | color: $white;
|
169 |
|
170 | &:hover {
|
171 | background-color: darken($blue, 10%);
|
172 | }
|
173 |
|
174 | &:focus {
|
175 | outline: none;
|
176 | box-shadow: 0 0 0 3px rgba($blue, 0.4);
|
177 | }
|
178 |
|
179 | .uppy-size--md & {
|
180 | padding: 13px 22px;
|
181 | }
|
182 |
|
183 | [data-uppy-theme="dark"] & {
|
184 | color: $gray-200;
|
185 | @include blue-border-focus--dark;
|
186 | }
|
187 | }
|
188 |
|
189 | .uppy-c-btn-link {
|
190 | font-size: 14px;
|
191 | line-height: 1;
|
192 | padding: 10px 15px;
|
193 | border-radius: 4px;
|
194 | background-color: transparent;
|
195 | color: $gray-700;
|
196 |
|
197 | &:hover {
|
198 | color: $gray-800;
|
199 | }
|
200 |
|
201 | &:focus {
|
202 | outline: none;
|
203 | box-shadow: 0 0 0 3px rgba($blue, 0.25);
|
204 | }
|
205 |
|
206 | .uppy-size--md & {
|
207 | padding: 13px 18px;
|
208 | }
|
209 |
|
210 | [data-uppy-theme="dark"] & {
|
211 | color: $gray-200;
|
212 | @include blue-border-focus--dark;
|
213 | }
|
214 |
|
215 | [data-uppy-theme="dark"] &:hover {
|
216 | color: $gray-500;
|
217 | }
|
218 | }
|
219 |
|
220 | .uppy-c-btn--small {
|
221 | font-size: 0.9em;
|
222 | padding: 7px 16px;
|
223 | border-radius: 2px;
|
224 |
|
225 | .uppy-size--md & {
|
226 | padding: 8px 10px;
|
227 | border-radius: 2px;
|
228 | }
|
229 | }
|