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