UNPKG

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