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.

511 lines
11 KiB

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