You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

495 lines
11 KiB

9 years ago
9 years ago
10 years ago
9 years ago
9 years ago
10 years ago
6 years ago
10 years ago
9 years ago
10 years ago
10 years ago
7 years ago
10 years ago
7 years ago
9 years ago
9 years ago
9 years ago
10 years ago
6 years ago
8 years ago
10 years ago
6 years ago
8 years ago
10 years ago
6 years ago
8 years ago
9 years ago
10 years ago
9 years ago
7 years ago
9 years ago
6 years ago
7 years ago
9 years ago
10 years ago
6 years ago
10 years ago
9 years ago
10 years ago
10 years ago
9 years ago
9 years ago
9 years ago
10 years ago
6 years ago
10 years ago
10 years ago
6 years ago
8 years ago
10 years ago
6 years ago
8 years ago
10 years ago
6 years ago
8 years ago
9 years ago
10 years ago
6 years ago
10 years ago
6 years ago
9 years ago
10 years ago
6 years ago
9 years ago
10 years ago
6 years ago
8 years ago
9 years ago
10 years ago
6 years ago
9 years ago
10 years ago
6 years ago
9 years ago
10 years ago
6 years ago
8 years ago
9 years ago
10 years ago
6 years ago
7 years ago
10 years ago
9 years ago
9 years ago
6 years ago
6 years ago
9 years ago
9 years ago
6 years ago
9 years ago
9 years ago
6 years ago
9 years ago
9 years ago
10 years ago
10 years ago
9 years ago
10 years ago
9 years ago
9 years ago
10 years ago
9 years ago
6 years ago
9 years ago
10 years ago
10 years ago
10 years ago
10 years ago
9 years ago
10 years ago
10 years ago
9 years ago
10 years ago
10 years ago
9 years ago
9 years ago
10 years ago
9 years ago
9 years ago
10 years ago
9 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
6 years ago
9 years ago
10 years ago
6 years ago
10 years ago
6 years ago
9 years ago
10 years ago
9 years ago
10 years ago
6 years ago
9 years ago
10 years ago
10 years ago
9 years ago
6 years ago
9 years ago
9 years ago
9 years ago
10 years ago
9 years ago
9 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
9 years ago
10 years ago
9 years ago
6 years ago
9 years ago
10 years ago
9 years ago
9 years ago
9 years ago
9 years ago
10 years ago
9 years ago
9 years ago
9 years ago
10 years ago
9 years ago
9 years ago
6 years ago
10 years ago
9 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
  1. /*!
  2. * # Semantic UI 2.5.0 - Input
  3. * http://github.com/semantic-org/semantic-ui/
  4. *
  5. *
  6. * Released under the MIT license
  7. * http://opensource.org/licenses/MIT
  8. *
  9. */
  10. /*******************************
  11. Standard
  12. *******************************/
  13. /*--------------------
  14. Inputs
  15. ---------------------*/
  16. .ui.input {
  17. position: relative;
  18. font-weight: normal;
  19. font-style: normal;
  20. display: inline-flex;
  21. color: rgba(0, 0, 0, 0.87);
  22. }
  23. .ui.input > input {
  24. margin: 0em;
  25. max-width: 100%;
  26. flex: 1 0 auto;
  27. outline: none;
  28. -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
  29. text-align: left;
  30. line-height: 1.21428571em;
  31. font-family: 'Lato', 'Helvetica Neue', Arial, Helvetica, sans-serif;
  32. padding: 0.67857143em 1em;
  33. background: #FFFFFF;
  34. border: 1px solid rgba(34, 36, 38, 0.15);
  35. color: rgba(0, 0, 0, 0.87);
  36. border-radius: 0.28571429rem;
  37. transition: box-shadow 0.1s ease, border-color 0.1s ease;
  38. box-shadow: none;
  39. }
  40. /*--------------------
  41. Placeholder
  42. ---------------------*/
  43. /* browsers require these rules separate */
  44. .ui.input > input::-webkit-input-placeholder {
  45. color: rgba(191, 191, 191, 0.87);
  46. }
  47. .ui.input > input::-moz-placeholder {
  48. color: rgba(191, 191, 191, 0.87);
  49. }
  50. .ui.input > input:-ms-input-placeholder {
  51. color: rgba(191, 191, 191, 0.87);
  52. }
  53. /*******************************
  54. States
  55. *******************************/
  56. /*--------------------
  57. Disabled
  58. ---------------------*/
  59. .ui.disabled.input,
  60. .ui.input:not(.disabled) input[disabled] {
  61. opacity: 0.45;
  62. }
  63. .ui.disabled.input > input,
  64. .ui.input:not(.disabled) input[disabled] {
  65. pointer-events: none;
  66. }
  67. /*--------------------
  68. Active
  69. ---------------------*/
  70. .ui.input > input:active,
  71. .ui.input.down input {
  72. border-color: rgba(0, 0, 0, 0.3);
  73. background: #FAFAFA;
  74. color: rgba(0, 0, 0, 0.87);
  75. box-shadow: none;
  76. }
  77. /*--------------------
  78. Loading
  79. ---------------------*/
  80. .ui.loading.loading.input > i.icon:before {
  81. position: absolute;
  82. content: '';
  83. top: 50%;
  84. left: 50%;
  85. margin: -0.64285714em 0em 0em -0.64285714em;
  86. width: 1.28571429em;
  87. height: 1.28571429em;
  88. border-radius: 500rem;
  89. border: 0.2em solid rgba(0, 0, 0, 0.1);
  90. }
  91. .ui.loading.loading.input > i.icon:after {
  92. position: absolute;
  93. content: '';
  94. top: 50%;
  95. left: 50%;
  96. margin: -0.64285714em 0em 0em -0.64285714em;
  97. width: 1.28571429em;
  98. height: 1.28571429em;
  99. -webkit-animation: button-spin 0.6s linear;
  100. animation: button-spin 0.6s linear;
  101. -webkit-animation-iteration-count: infinite;
  102. animation-iteration-count: infinite;
  103. border-radius: 500rem;
  104. border-color: #767676 transparent transparent;
  105. border-style: solid;
  106. border-width: 0.2em;
  107. box-shadow: 0px 0px 0px 1px transparent;
  108. }
  109. /*--------------------
  110. Focus
  111. ---------------------*/
  112. .ui.input.focus > input,
  113. .ui.input > input:focus {
  114. border-color: #85B7D9;
  115. background: #FFFFFF;
  116. color: rgba(0, 0, 0, 0.8);
  117. box-shadow: none;
  118. }
  119. .ui.input.focus > input::-webkit-input-placeholder,
  120. .ui.input > input:focus::-webkit-input-placeholder {
  121. color: rgba(115, 115, 115, 0.87);
  122. }
  123. .ui.input.focus > input::-moz-placeholder,
  124. .ui.input > input:focus::-moz-placeholder {
  125. color: rgba(115, 115, 115, 0.87);
  126. }
  127. .ui.input.focus > input:-ms-input-placeholder,
  128. .ui.input > input:focus:-ms-input-placeholder {
  129. color: rgba(115, 115, 115, 0.87);
  130. }
  131. /*--------------------
  132. Error
  133. ---------------------*/
  134. .ui.input.error > input {
  135. background-color: #FFF6F6;
  136. border-color: #E0B4B4;
  137. color: #9F3A38;
  138. box-shadow: none;
  139. }
  140. /* Error Placeholder */
  141. .ui.input.error > input::-webkit-input-placeholder {
  142. color: #e7bdbc;
  143. }
  144. .ui.input.error > input::-moz-placeholder {
  145. color: #e7bdbc;
  146. }
  147. .ui.input.error > input:-ms-input-placeholder {
  148. color: #e7bdbc !important;
  149. }
  150. /* Focused Error Placeholder */
  151. .ui.input.error > input:focus::-webkit-input-placeholder {
  152. color: #da9796;
  153. }
  154. .ui.input.error > input:focus::-moz-placeholder {
  155. color: #da9796;
  156. }
  157. .ui.input.error > input:focus:-ms-input-placeholder {
  158. color: #da9796 !important;
  159. }
  160. /*******************************
  161. Variations
  162. *******************************/
  163. /*--------------------
  164. Transparent
  165. ---------------------*/
  166. .ui.transparent.input > input {
  167. border-color: transparent !important;
  168. background-color: transparent !important;
  169. padding: 0em !important;
  170. box-shadow: none !important;
  171. border-radius: 0px !important;
  172. }
  173. /* Transparent Icon */
  174. .ui.transparent.icon.input > i.icon {
  175. width: 1.1em;
  176. }
  177. .ui.transparent.icon.input > input {
  178. padding-left: 0em !important;
  179. padding-right: 2em !important;
  180. }
  181. .ui.transparent[class*="left icon"].input > input {
  182. padding-left: 2em !important;
  183. padding-right: 0em !important;
  184. }
  185. /* Transparent Inverted */
  186. .ui.transparent.inverted.input {
  187. color: #FFFFFF;
  188. }
  189. .ui.transparent.inverted.input > input {
  190. color: inherit;
  191. }
  192. .ui.transparent.inverted.input > input::-webkit-input-placeholder {
  193. color: rgba(255, 255, 255, 0.5);
  194. }
  195. .ui.transparent.inverted.input > input::-moz-placeholder {
  196. color: rgba(255, 255, 255, 0.5);
  197. }
  198. .ui.transparent.inverted.input > input:-ms-input-placeholder {
  199. color: rgba(255, 255, 255, 0.5);
  200. }
  201. /*--------------------
  202. Icon
  203. ---------------------*/
  204. .ui.icon.input > i.icon {
  205. cursor: default;
  206. position: absolute;
  207. line-height: 1;
  208. text-align: center;
  209. top: 0px;
  210. right: 0px;
  211. margin: 0em;
  212. height: 100%;
  213. width: 2.67142857em;
  214. opacity: 0.5;
  215. border-radius: 0em 0.28571429rem 0.28571429rem 0em;
  216. transition: opacity 0.3s ease;
  217. }
  218. .ui.icon.input > i.icon:not(.link) {
  219. pointer-events: none;
  220. }
  221. .ui.icon.input > input {
  222. padding-right: 2.67142857em !important;
  223. }
  224. .ui.icon.input > i.icon:before,
  225. .ui.icon.input > i.icon:after {
  226. left: 0;
  227. position: absolute;
  228. text-align: center;
  229. top: 50%;
  230. width: 100%;
  231. margin-top: -0.5em;
  232. }
  233. .ui.icon.input > i.link.icon {
  234. cursor: pointer;
  235. }
  236. .ui.icon.input > i.circular.icon {
  237. top: 0.35em;
  238. right: 0.5em;
  239. }
  240. /* Left Icon Input */
  241. .ui[class*="left icon"].input > i.icon {
  242. right: auto;
  243. left: 1px;
  244. border-radius: 0.28571429rem 0em 0em 0.28571429rem;
  245. }
  246. .ui[class*="left icon"].input > i.circular.icon {
  247. right: auto;
  248. left: 0.5em;
  249. }
  250. .ui[class*="left icon"].input > input {
  251. padding-left: 2.67142857em !important;
  252. padding-right: 1em !important;
  253. }
  254. /* Focus */
  255. .ui.icon.input > input:focus ~ i.icon {
  256. opacity: 1;
  257. }
  258. /*--------------------
  259. Labeled
  260. ---------------------*/
  261. /* Adjacent Label */
  262. .ui.labeled.input > .label {
  263. flex: 0 0 auto;
  264. margin: 0;
  265. font-size: 1em;
  266. }
  267. .ui.labeled.input > .label:not(.corner) {
  268. padding-top: 0.78571429em;
  269. padding-bottom: 0.78571429em;
  270. }
  271. /* Regular Label on Left */
  272. .ui.labeled.input:not([class*="corner labeled"]) .label:first-child {
  273. border-top-right-radius: 0px;
  274. border-bottom-right-radius: 0px;
  275. }
  276. .ui.labeled.input:not([class*="corner labeled"]) .label:first-child + input {
  277. border-top-left-radius: 0px;
  278. border-bottom-left-radius: 0px;
  279. border-left-color: transparent;
  280. }
  281. .ui.labeled.input:not([class*="corner labeled"]) .label:first-child + input:focus {
  282. border-left-color: #85B7D9;
  283. }
  284. /* Regular Label on Right */
  285. .ui[class*="right labeled"].input > input {
  286. border-top-right-radius: 0px !important;
  287. border-bottom-right-radius: 0px !important;
  288. border-right-color: transparent !important;
  289. }
  290. .ui[class*="right labeled"].input > input + .label {
  291. border-top-left-radius: 0px;
  292. border-bottom-left-radius: 0px;
  293. }
  294. .ui[class*="right labeled"].input > input:focus {
  295. border-right-color: #85B7D9 !important;
  296. }
  297. /* Corner Label */
  298. .ui.labeled.input .corner.label {
  299. top: 1px;
  300. right: 1px;
  301. font-size: 0.64285714em;
  302. border-radius: 0em 0.28571429rem 0em 0em;
  303. }
  304. /* Spacing with corner label */
  305. .ui[class*="corner labeled"]:not([class*="left corner labeled"]).labeled.input > input {
  306. padding-right: 2.5em !important;
  307. }
  308. .ui[class*="corner labeled"].icon.input:not([class*="left corner labeled"]) > input {
  309. padding-right: 3.25em !important;
  310. }
  311. .ui[class*="corner labeled"].icon.input:not([class*="left corner labeled"]) > .icon {
  312. margin-right: 1.25em;
  313. }
  314. /* Left Labeled */
  315. .ui[class*="left corner labeled"].labeled.input > input {
  316. padding-left: 2.5em !important;
  317. }
  318. .ui[class*="left corner labeled"].icon.input > input {
  319. padding-left: 3.25em !important;
  320. }
  321. .ui[class*="left corner labeled"].icon.input > .icon {
  322. margin-left: 1.25em;
  323. }
  324. /* Corner Label Position */
  325. .ui.input > .ui.corner.label {
  326. top: 1px;
  327. right: 1px;
  328. }
  329. .ui.input > .ui.left.corner.label {
  330. right: auto;
  331. left: 1px;
  332. }
  333. /*--------------------
  334. Action
  335. ---------------------*/
  336. .ui.action.input > .button,
  337. .ui.action.input > .buttons {
  338. display: flex;
  339. align-items: center;
  340. flex: 0 0 auto;
  341. }
  342. .ui.action.input > .button,
  343. .ui.action.input > .buttons > .button {
  344. padding-top: 0.78571429em;
  345. padding-bottom: 0.78571429em;
  346. margin: 0;
  347. }
  348. /* Button on Right */
  349. .ui.action.input:not([class*="left action"]) > input {
  350. border-top-right-radius: 0px !important;
  351. border-bottom-right-radius: 0px !important;
  352. border-right-color: transparent !important;
  353. }
  354. .ui.action.input:not([class*="left action"]) > .dropdown:not(:first-child),
  355. .ui.action.input:not([class*="left action"]) > .button:not(:first-child),
  356. .ui.action.input:not([class*="left action"]) > .buttons:not(:first-child) > .button {
  357. border-radius: 0px;
  358. }
  359. .ui.action.input:not([class*="left action"]) > .dropdown:last-child,
  360. .ui.action.input:not([class*="left action"]) > .button:last-child,
  361. .ui.action.input:not([class*="left action"]) > .buttons:last-child > .button {
  362. border-radius: 0px 0.28571429rem 0.28571429rem 0px;
  363. }
  364. /* Input Focus */
  365. .ui.action.input:not([class*="left action"]) > input:focus {
  366. border-right-color: #85B7D9 !important;
  367. }
  368. /* Button on Left */
  369. .ui[class*="left action"].input > input {
  370. border-top-left-radius: 0px !important;
  371. border-bottom-left-radius: 0px !important;
  372. border-left-color: transparent !important;
  373. }
  374. .ui[class*="left action"].input > .dropdown,
  375. .ui[class*="left action"].input > .button,
  376. .ui[class*="left action"].input > .buttons > .button {
  377. border-radius: 0px;
  378. }
  379. .ui[class*="left action"].input > .dropdown:first-child,
  380. .ui[class*="left action"].input > .button:first-child,
  381. .ui[class*="left action"].input > .buttons:first-child > .button {
  382. border-radius: 0.28571429rem 0px 0px 0.28571429rem;
  383. }
  384. /* Input Focus */
  385. .ui[class*="left action"].input > input:focus {
  386. border-left-color: #85B7D9 !important;
  387. }
  388. /*--------------------
  389. Inverted
  390. ---------------------*/
  391. /* Standard */
  392. .ui.inverted.input > input {
  393. border: none;
  394. }
  395. /*--------------------
  396. Fluid
  397. ---------------------*/
  398. .ui.fluid.input {
  399. display: flex;
  400. }
  401. .ui.fluid.input > input {
  402. width: 0px !important;
  403. }
  404. /*--------------------
  405. Size
  406. ---------------------*/
  407. .ui.mini.input {
  408. font-size: 0.78571429em;
  409. }
  410. .ui.small.input {
  411. font-size: 0.92857143em;
  412. }
  413. .ui.input {
  414. font-size: 1em;
  415. }
  416. .ui.large.input {
  417. font-size: 1.14285714em;
  418. }
  419. .ui.big.input {
  420. font-size: 1.28571429em;
  421. }
  422. .ui.huge.input {
  423. font-size: 1.42857143em;
  424. }
  425. .ui.massive.input {
  426. font-size: 1.71428571em;
  427. }
  428. /*******************************
  429. Theme Overrides
  430. *******************************/
  431. /*******************************
  432. Site Overrides
  433. *******************************/