style.css 4.5 KB

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