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.

497 lines
11 KiB

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