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.

1069 lines
25 KiB

9 years ago
8 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
9 years ago
10 years ago
10 years ago
10 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
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
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
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
10 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
10 years ago
10 years ago
10 years ago
9 years ago
10 years ago
10 years ago
10 years ago
9 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
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
8 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
9 years ago
10 years ago
10 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
10 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
10 years ago
9 years ago
10 years ago
10 years ago
10 years ago
9 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
10 years ago
9 years ago
9 years ago
10 years ago
9 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
10 years ago
10 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
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
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
9 years ago
10 years ago
10 years ago
9 years ago
10 years ago
9 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
10 years ago
10 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
9 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
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.0 - Form
  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. Elements
  13. *******************************/
  14. /*--------------------
  15. Form
  16. ---------------------*/
  17. .ui.form {
  18. position: relative;
  19. max-width: 100%;
  20. }
  21. /*--------------------
  22. Content
  23. ---------------------*/
  24. .ui.form > p {
  25. margin: 1em 0em;
  26. }
  27. /*--------------------
  28. Field
  29. ---------------------*/
  30. .ui.form .field {
  31. clear: both;
  32. margin: 0em 0em 1em;
  33. }
  34. .ui.form .field:last-child,
  35. .ui.form .fields:last-child .field {
  36. margin-bottom: 0em;
  37. }
  38. .ui.form .fields .field {
  39. clear: both;
  40. margin: 0em;
  41. }
  42. /*--------------------
  43. Labels
  44. ---------------------*/
  45. .ui.form .field > label {
  46. display: block;
  47. margin: 0em 0em 0.28571429rem 0em;
  48. color: rgba(0, 0, 0, 0.87);
  49. font-size: 0.92857143em;
  50. font-weight: bold;
  51. text-transform: none;
  52. }
  53. /*--------------------
  54. Standard Inputs
  55. ---------------------*/
  56. .ui.form textarea,
  57. .ui.form input:not([type]),
  58. .ui.form input[type="date"],
  59. .ui.form input[type="datetime-local"],
  60. .ui.form input[type="email"],
  61. .ui.form input[type="number"],
  62. .ui.form input[type="password"],
  63. .ui.form input[type="search"],
  64. .ui.form input[type="tel"],
  65. .ui.form input[type="time"],
  66. .ui.form input[type="text"],
  67. .ui.form input[type="url"] {
  68. width: 100%;
  69. vertical-align: top;
  70. }
  71. /* Set max height on unusual input */
  72. .ui.form ::-webkit-datetime-edit,
  73. .ui.form ::-webkit-inner-spin-button {
  74. height: 1.2142em;
  75. }
  76. .ui.form input:not([type]),
  77. .ui.form input[type="date"],
  78. .ui.form input[type="datetime-local"],
  79. .ui.form input[type="email"],
  80. .ui.form input[type="number"],
  81. .ui.form input[type="password"],
  82. .ui.form input[type="search"],
  83. .ui.form input[type="tel"],
  84. .ui.form input[type="time"],
  85. .ui.form input[type="text"],
  86. .ui.form input[type="url"] {
  87. font-family: 'Lato', 'Helvetica Neue', Arial, Helvetica, sans-serif;
  88. margin: 0em;
  89. outline: none;
  90. -webkit-appearance: none;
  91. tap-highlight-color: rgba(255, 255, 255, 0);
  92. line-height: 1.2142em;
  93. padding: 0.67861429em 1em;
  94. font-size: 1em;
  95. background: #FFFFFF;
  96. border: 1px solid rgba(34, 36, 38, 0.15);
  97. color: rgba(0, 0, 0, 0.87);
  98. border-radius: 0.28571429rem;
  99. box-shadow: 0em 0em 0em 0em transparent inset;
  100. -webkit-transition: color 0.1s ease, border-color 0.1s ease;
  101. transition: color 0.1s ease, border-color 0.1s ease;
  102. }
  103. /* Text Area */
  104. .ui.form textarea {
  105. margin: 0em;
  106. -webkit-appearance: none;
  107. tap-highlight-color: rgba(255, 255, 255, 0);
  108. padding: 0.78571429em 1em;
  109. background: #FFFFFF;
  110. border: 1px solid rgba(34, 36, 38, 0.15);
  111. outline: none;
  112. color: rgba(0, 0, 0, 0.87);
  113. border-radius: 0.28571429rem;
  114. box-shadow: 0em 0em 0em 0em transparent inset;
  115. -webkit-transition: color 0.1s ease, border-color 0.1s ease;
  116. transition: color 0.1s ease, border-color 0.1s ease;
  117. font-size: 1em;
  118. line-height: 1.2857;
  119. resize: vertical;
  120. }
  121. .ui.form textarea:not([rows]) {
  122. height: 12em;
  123. min-height: 8em;
  124. max-height: 24em;
  125. }
  126. .ui.form textarea,
  127. .ui.form input[type="checkbox"] {
  128. vertical-align: top;
  129. }
  130. /*--------------------------
  131. Input w/ attached Button
  132. ---------------------------*/
  133. .ui.form input.attached {
  134. width: auto;
  135. }
  136. /*--------------------
  137. Basic Select
  138. ---------------------*/
  139. .ui.form select {
  140. display: block;
  141. height: auto;
  142. width: 100%;
  143. background: #FFFFFF;
  144. border: 1px solid rgba(34, 36, 38, 0.15);
  145. border-radius: 0.28571429rem;
  146. box-shadow: 0em 0em 0em 0em transparent inset;
  147. padding: 0.62em 1em;
  148. color: rgba(0, 0, 0, 0.87);
  149. -webkit-transition: color 0.1s ease, border-color 0.1s ease;
  150. transition: color 0.1s ease, border-color 0.1s ease;
  151. }
  152. /*--------------------
  153. Dropdown
  154. ---------------------*/
  155. /* Block */
  156. .ui.form .field > .selection.dropdown {
  157. width: 100%;
  158. }
  159. .ui.form .field > .selection.dropdown > .dropdown.icon {
  160. float: right;
  161. }
  162. /* Inline */
  163. .ui.form .inline.fields .field > .selection.dropdown,
  164. .ui.form .inline.field > .selection.dropdown {
  165. width: auto;
  166. }
  167. .ui.form .inline.fields .field > .selection.dropdown > .dropdown.icon,
  168. .ui.form .inline.field > .selection.dropdown > .dropdown.icon {
  169. float: none;
  170. }
  171. /*--------------------
  172. UI Input
  173. ---------------------*/
  174. /* Block */
  175. .ui.form .field .ui.input,
  176. .ui.form .fields .field .ui.input,
  177. .ui.form .wide.field .ui.input {
  178. width: 100%;
  179. }
  180. /* Inline */
  181. .ui.form .inline.fields .field:not(.wide) .ui.input,
  182. .ui.form .inline.field:not(.wide) .ui.input {
  183. width: auto;
  184. vertical-align: middle;
  185. }
  186. /* Auto Input */
  187. .ui.form .fields .field .ui.input input,
  188. .ui.form .field .ui.input input {
  189. width: auto;
  190. }
  191. /* Full Width Input */
  192. .ui.form .ten.fields .ui.input input,
  193. .ui.form .nine.fields .ui.input input,
  194. .ui.form .eight.fields .ui.input input,
  195. .ui.form .seven.fields .ui.input input,
  196. .ui.form .six.fields .ui.input input,
  197. .ui.form .five.fields .ui.input input,
  198. .ui.form .four.fields .ui.input input,
  199. .ui.form .three.fields .ui.input input,
  200. .ui.form .two.fields .ui.input input,
  201. .ui.form .wide.field .ui.input input {
  202. -webkit-box-flex: 1;
  203. -webkit-flex: 1 0 auto;
  204. -ms-flex: 1 0 auto;
  205. flex: 1 0 auto;
  206. width: 0px;
  207. }
  208. /*--------------------
  209. Types of Messages
  210. ---------------------*/
  211. .ui.form .success.message,
  212. .ui.form .warning.message,
  213. .ui.form .error.message {
  214. display: none;
  215. }
  216. /* Assumptions */
  217. .ui.form .message:first-child {
  218. margin-top: 0px;
  219. }
  220. /*--------------------
  221. Validation Prompt
  222. ---------------------*/
  223. .ui.form .field .prompt.label {
  224. white-space: normal;
  225. background: #FFFFFF !important;
  226. border: 1px solid #E0B4B4 !important;
  227. color: #9F3A38 !important;
  228. }
  229. .ui.form .inline.fields .field .prompt,
  230. .ui.form .inline.field .prompt {
  231. vertical-align: top;
  232. margin: -0.25em 0em -0.5em 0.5em;
  233. }
  234. .ui.form .inline.fields .field .prompt:before,
  235. .ui.form .inline.field .prompt:before {
  236. border-width: 0px 0px 1px 1px;
  237. bottom: auto;
  238. right: auto;
  239. top: 50%;
  240. left: 0em;
  241. }
  242. /*******************************
  243. States
  244. *******************************/
  245. /*--------------------
  246. Autofilled
  247. ---------------------*/
  248. .ui.form .field.field input:-webkit-autofill {
  249. box-shadow: 0px 0px 0px 100px #FFFFF0 inset !important;
  250. border-color: #E5DFA1 !important;
  251. }
  252. /* Focus */
  253. .ui.form .field.field input:-webkit-autofill:focus {
  254. box-shadow: 0px 0px 0px 100px #FFFFF0 inset !important;
  255. border-color: #D5C315 !important;
  256. }
  257. /* Error */
  258. .ui.form .error.error input:-webkit-autofill {
  259. box-shadow: 0px 0px 0px 100px #FFFAF0 inset !important;
  260. border-color: #E0B4B4 !important;
  261. }
  262. /*--------------------
  263. Placeholder
  264. ---------------------*/
  265. /* browsers require these rules separate */
  266. .ui.form ::-webkit-input-placeholder {
  267. color: rgba(191, 191, 191, 0.87);
  268. }
  269. .ui.form :-ms-input-placeholder {
  270. color: rgba(191, 191, 191, 0.87);
  271. }
  272. .ui.form ::-moz-placeholder {
  273. color: rgba(191, 191, 191, 0.87);
  274. }
  275. .ui.form :focus::-webkit-input-placeholder {
  276. color: rgba(115, 115, 115, 0.87);
  277. }
  278. .ui.form :focus:-ms-input-placeholder {
  279. color: rgba(115, 115, 115, 0.87);
  280. }
  281. .ui.form :focus::-moz-placeholder {
  282. color: rgba(115, 115, 115, 0.87);
  283. }
  284. /* Error Placeholder */
  285. .ui.form .error ::-webkit-input-placeholder {
  286. color: #e7bdbc;
  287. }
  288. .ui.form .error :-ms-input-placeholder {
  289. color: #e7bdbc !important;
  290. }
  291. .ui.form .error ::-moz-placeholder {
  292. color: #e7bdbc;
  293. }
  294. .ui.form .error :focus::-webkit-input-placeholder {
  295. color: #da9796;
  296. }
  297. .ui.form .error :focus:-ms-input-placeholder {
  298. color: #da9796 !important;
  299. }
  300. .ui.form .error :focus::-moz-placeholder {
  301. color: #da9796;
  302. }
  303. /*--------------------
  304. Focus
  305. ---------------------*/
  306. .ui.form input:not([type]):focus,
  307. .ui.form input[type="date"]:focus,
  308. .ui.form input[type="datetime-local"]:focus,
  309. .ui.form input[type="email"]:focus,
  310. .ui.form input[type="number"]:focus,
  311. .ui.form input[type="password"]:focus,
  312. .ui.form input[type="search"]:focus,
  313. .ui.form input[type="tel"]:focus,
  314. .ui.form input[type="time"]:focus,
  315. .ui.form input[type="text"]:focus,
  316. .ui.form input[type="url"]:focus {
  317. color: rgba(0, 0, 0, 0.95);
  318. border-color: #85B7D9;
  319. border-radius: 0.28571429rem;
  320. background: #FFFFFF;
  321. box-shadow: 0px 0em 0em 0em rgba(34, 36, 38, 0.35) inset;
  322. }
  323. .ui.form textarea:focus {
  324. color: rgba(0, 0, 0, 0.95);
  325. border-color: #85B7D9;
  326. border-radius: 0.28571429rem;
  327. background: #FFFFFF;
  328. box-shadow: 0px 0em 0em 0em rgba(34, 36, 38, 0.35) inset;
  329. -webkit-appearance: none;
  330. }
  331. /*--------------------
  332. Success
  333. ---------------------*/
  334. /* On Form */
  335. .ui.form.success .success.message:not(:empty) {
  336. display: block;
  337. }
  338. .ui.form.success .icon.success.message:not(:empty) {
  339. display: -webkit-box;
  340. display: -webkit-flex;
  341. display: -ms-flexbox;
  342. display: flex;
  343. }
  344. /*--------------------
  345. Warning
  346. ---------------------*/
  347. /* On Form */
  348. .ui.form.warning .warning.message:not(:empty) {
  349. display: block;
  350. }
  351. .ui.form.warning .icon.warning.message:not(:empty) {
  352. display: -webkit-box;
  353. display: -webkit-flex;
  354. display: -ms-flexbox;
  355. display: flex;
  356. }
  357. /*--------------------
  358. Error
  359. ---------------------*/
  360. /* On Form */
  361. .ui.form.error .error.message:not(:empty) {
  362. display: block;
  363. }
  364. .ui.form.error .icon.error.message:not(:empty) {
  365. display: -webkit-box;
  366. display: -webkit-flex;
  367. display: -ms-flexbox;
  368. display: flex;
  369. }
  370. /* On Field(s) */
  371. .ui.form .fields.error .field label,
  372. .ui.form .field.error label,
  373. .ui.form .fields.error .field .input,
  374. .ui.form .field.error .input {
  375. color: #9F3A38;
  376. }
  377. .ui.form .fields.error .field .corner.label,
  378. .ui.form .field.error .corner.label {
  379. border-color: #9F3A38;
  380. color: #FFFFFF;
  381. }
  382. .ui.form .fields.error .field textarea,
  383. .ui.form .fields.error .field select,
  384. .ui.form .fields.error .field input:not([type]),
  385. .ui.form .fields.error .field input[type="date"],
  386. .ui.form .fields.error .field input[type="datetime-local"],
  387. .ui.form .fields.error .field input[type="email"],
  388. .ui.form .fields.error .field input[type="number"],
  389. .ui.form .fields.error .field input[type="password"],
  390. .ui.form .fields.error .field input[type="search"],
  391. .ui.form .fields.error .field input[type="tel"],
  392. .ui.form .fields.error .field input[type="time"],
  393. .ui.form .fields.error .field input[type="text"],
  394. .ui.form .fields.error .field input[type="url"],
  395. .ui.form .field.error textarea,
  396. .ui.form .field.error select,
  397. .ui.form .field.error input:not([type]),
  398. .ui.form .field.error input[type="date"],
  399. .ui.form .field.error input[type="datetime-local"],
  400. .ui.form .field.error input[type="email"],
  401. .ui.form .field.error input[type="number"],
  402. .ui.form .field.error input[type="password"],
  403. .ui.form .field.error input[type="search"],
  404. .ui.form .field.error input[type="tel"],
  405. .ui.form .field.error input[type="time"],
  406. .ui.form .field.error input[type="text"],
  407. .ui.form .field.error input[type="url"] {
  408. background: #FFF6F6;
  409. border-color: #E0B4B4;
  410. color: #9F3A38;
  411. border-radius: '';
  412. box-shadow: none;
  413. }
  414. .ui.form .field.error textarea:focus,
  415. .ui.form .field.error select:focus,
  416. .ui.form .field.error input:not([type]):focus,
  417. .ui.form .field.error input[type="date"]:focus,
  418. .ui.form .field.error input[type="datetime-local"]:focus,
  419. .ui.form .field.error input[type="email"]:focus,
  420. .ui.form .field.error input[type="number"]:focus,
  421. .ui.form .field.error input[type="password"]:focus,
  422. .ui.form .field.error input[type="search"]:focus,
  423. .ui.form .field.error input[type="tel"]:focus,
  424. .ui.form .field.error input[type="time"]:focus,
  425. .ui.form .field.error input[type="text"]:focus,
  426. .ui.form .field.error input[type="url"]:focus {
  427. background: #FFF6F6;
  428. border-color: #E0B4B4;
  429. color: #9F3A38;
  430. -webkit-appearance: none;
  431. box-shadow: none;
  432. }
  433. /* Preserve Native Select Stylings */
  434. .ui.form .field.error select {
  435. -webkit-appearance: menulist-button;
  436. }
  437. /*------------------
  438. Dropdown Error
  439. --------------------*/
  440. .ui.form .fields.error .field .ui.dropdown,
  441. .ui.form .fields.error .field .ui.dropdown .item,
  442. .ui.form .field.error .ui.dropdown,
  443. .ui.form .field.error .ui.dropdown .text,
  444. .ui.form .field.error .ui.dropdown .item {
  445. background: #FFF6F6;
  446. color: #9F3A38;
  447. }
  448. .ui.form .fields.error .field .ui.dropdown,
  449. .ui.form .field.error .ui.dropdown {
  450. border-color: #E0B4B4 !important;
  451. }
  452. .ui.form .fields.error .field .ui.dropdown:hover,
  453. .ui.form .field.error .ui.dropdown:hover {
  454. border-color: #E0B4B4 !important;
  455. }
  456. .ui.form .fields.error .field .ui.dropdown:hover .menu,
  457. .ui.form .field.error .ui.dropdown:hover .menu {
  458. border-color: #E0B4B4;
  459. }
  460. .ui.form .fields.error .field .ui.multiple.selection.dropdown > .label,
  461. .ui.form .field.error .ui.multiple.selection.dropdown > .label {
  462. background-color: #EACBCB;
  463. color: #9F3A38;
  464. }
  465. /* Hover */
  466. .ui.form .fields.error .field .ui.dropdown .menu .item:hover,
  467. .ui.form .field.error .ui.dropdown .menu .item:hover {
  468. background-color: #FBE7E7;
  469. }
  470. /* Selected */
  471. .ui.form .fields.error .field .ui.dropdown .menu .selected.item,
  472. .ui.form .field.error .ui.dropdown .menu .selected.item {
  473. background-color: #FBE7E7;
  474. }
  475. /* Active */
  476. .ui.form .fields.error .field .ui.dropdown .menu .active.item,
  477. .ui.form .field.error .ui.dropdown .menu .active.item {
  478. background-color: #FDCFCF !important;
  479. }
  480. /*--------------------
  481. Checkbox Error
  482. ---------------------*/
  483. .ui.form .fields.error .field .checkbox:not(.toggle):not(.slider) label,
  484. .ui.form .field.error .checkbox:not(.toggle):not(.slider) label,
  485. .ui.form .fields.error .field .checkbox:not(.toggle):not(.slider) .box,
  486. .ui.form .field.error .checkbox:not(.toggle):not(.slider) .box {
  487. color: #9F3A38;
  488. }
  489. .ui.form .fields.error .field .checkbox:not(.toggle):not(.slider) label:before,
  490. .ui.form .field.error .checkbox:not(.toggle):not(.slider) label:before,
  491. .ui.form .fields.error .field .checkbox:not(.toggle):not(.slider) .box:before,
  492. .ui.form .field.error .checkbox:not(.toggle):not(.slider) .box:before {
  493. background: #FFF6F6;
  494. border-color: #E0B4B4;
  495. }
  496. .ui.form .fields.error .field .checkbox label:after,
  497. .ui.form .field.error .checkbox label:after,
  498. .ui.form .fields.error .field .checkbox .box:after,
  499. .ui.form .field.error .checkbox .box:after {
  500. color: #9F3A38;
  501. }
  502. /*--------------------
  503. Disabled
  504. ---------------------*/
  505. .ui.form .disabled.fields .field,
  506. .ui.form .disabled.field,
  507. .ui.form .field :disabled {
  508. pointer-events: none;
  509. opacity: 0.45;
  510. }
  511. .ui.form .field.disabled label {
  512. opacity: 0.45;
  513. }
  514. .ui.form .field.disabled :disabled {
  515. opacity: 1;
  516. }
  517. /*--------------
  518. Loading
  519. ---------------*/
  520. .ui.loading.form {
  521. position: relative;
  522. cursor: default;
  523. point-events: none;
  524. }
  525. .ui.loading.form:before {
  526. position: absolute;
  527. content: '';
  528. top: 0%;
  529. left: 0%;
  530. background: rgba(255, 255, 255, 0.8);
  531. width: 100%;
  532. height: 100%;
  533. z-index: 100;
  534. }
  535. .ui.loading.form:after {
  536. position: absolute;
  537. content: '';
  538. top: 50%;
  539. left: 50%;
  540. margin: -1.5em 0em 0em -1.5em;
  541. width: 3em;
  542. height: 3em;
  543. -webkit-animation: form-spin 0.6s linear;
  544. animation: form-spin 0.6s linear;
  545. -webkit-animation-iteration-count: infinite;
  546. animation-iteration-count: infinite;
  547. border-radius: 500rem;
  548. border-color: #767676 rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1);
  549. border-style: solid;
  550. border-width: 0.2em;
  551. box-shadow: 0px 0px 0px 1px transparent;
  552. visibility: visible;
  553. z-index: 101;
  554. }
  555. @-webkit-keyframes form-spin {
  556. from {
  557. -webkit-transform: rotate(0deg);
  558. transform: rotate(0deg);
  559. }
  560. to {
  561. -webkit-transform: rotate(360deg);
  562. transform: rotate(360deg);
  563. }
  564. }
  565. @keyframes form-spin {
  566. from {
  567. -webkit-transform: rotate(0deg);
  568. transform: rotate(0deg);
  569. }
  570. to {
  571. -webkit-transform: rotate(360deg);
  572. transform: rotate(360deg);
  573. }
  574. }
  575. /*******************************
  576. Element Types
  577. *******************************/
  578. /*--------------------
  579. Required Field
  580. ---------------------*/
  581. .ui.form .required.fields:not(.grouped) > .field > label:after,
  582. .ui.form .required.fields.grouped > label:after,
  583. .ui.form .required.field > label:after,
  584. .ui.form .required.fields:not(.grouped) > .field > .checkbox:after,
  585. .ui.form .required.field > .checkbox:after {
  586. margin: -0.2em 0em 0em 0.2em;
  587. content: '*';
  588. color: #DB2828;
  589. }
  590. .ui.form .required.fields:not(.grouped) > .field > label:after,
  591. .ui.form .required.fields.grouped > label:after,
  592. .ui.form .required.field > label:after {
  593. display: inline-block;
  594. vertical-align: top;
  595. }
  596. .ui.form .required.fields:not(.grouped) > .field > .checkbox:after,
  597. .ui.form .required.field > .checkbox:after {
  598. position: absolute;
  599. top: 0%;
  600. left: 100%;
  601. }
  602. /*******************************
  603. Variations
  604. *******************************/
  605. /*--------------------
  606. Inverted Colors
  607. ---------------------*/
  608. .ui.inverted.form label,
  609. .ui.form .inverted.segment label,
  610. .ui.form .inverted.segment .ui.checkbox label,
  611. .ui.form .inverted.segment .ui.checkbox .box,
  612. .ui.inverted.form .ui.checkbox label,
  613. .ui.inverted.form .ui.checkbox .box {
  614. color: rgba(255, 255, 255, 0.9);
  615. }
  616. /* Inverted Field */
  617. .ui.inverted.form input:not([type]),
  618. .ui.inverted.form input[type="date"],
  619. .ui.inverted.form input[type="datetime-local"],
  620. .ui.inverted.form input[type="email"],
  621. .ui.inverted.form input[type="number"],
  622. .ui.inverted.form input[type="password"],
  623. .ui.inverted.form input[type="search"],
  624. .ui.inverted.form input[type="tel"],
  625. .ui.inverted.form input[type="time"],
  626. .ui.inverted.form input[type="text"],
  627. .ui.inverted.form input[type="url"] {
  628. background: #FFFFFF;
  629. border-color: rgba(255, 255, 255, 0.1);
  630. color: rgba(0, 0, 0, 0.87);
  631. box-shadow: none;
  632. }
  633. /*--------------------
  634. Field Groups
  635. ---------------------*/
  636. /* Grouped Vertically */
  637. .ui.form .grouped.fields {
  638. display: block;
  639. margin: 0em 0em 1em;
  640. }
  641. .ui.form .grouped.fields:last-child {
  642. margin-bottom: 0em;
  643. }
  644. .ui.form .grouped.fields > label {
  645. margin: 0em 0em 0.28571429rem 0em;
  646. color: rgba(0, 0, 0, 0.87);
  647. font-size: 0.92857143em;
  648. font-weight: bold;
  649. text-transform: none;
  650. }
  651. .ui.form .grouped.fields .field,
  652. .ui.form .grouped.inline.fields .field {
  653. display: block;
  654. margin: 0.5em 0em;
  655. padding: 0em;
  656. }
  657. /*--------------------
  658. Fields
  659. ---------------------*/
  660. /* Split fields */
  661. .ui.form .fields {
  662. display: -webkit-box;
  663. display: -webkit-flex;
  664. display: -ms-flexbox;
  665. display: flex;
  666. -webkit-box-orient: horizontal;
  667. -webkit-box-direction: normal;
  668. -webkit-flex-direction: row;
  669. -ms-flex-direction: row;
  670. flex-direction: row;
  671. margin: 0em 0em 1em;
  672. }
  673. .ui.form .fields > .field {
  674. -webkit-box-flex: 0;
  675. -webkit-flex: 0 1 auto;
  676. -ms-flex: 0 1 auto;
  677. flex: 0 1 auto;
  678. padding-left: 0.5em;
  679. padding-right: 0.5em;
  680. }
  681. .ui.form .fields > .field:first-child {
  682. border-left: none;
  683. box-shadow: none;
  684. }
  685. /* Other Combinations */
  686. .ui.form .two.fields > .fields,
  687. .ui.form .two.fields > .field {
  688. width: 50%;
  689. }
  690. .ui.form .three.fields > .fields,
  691. .ui.form .three.fields > .field {
  692. width: 33.33333333%;
  693. }
  694. .ui.form .four.fields > .fields,
  695. .ui.form .four.fields > .field {
  696. width: 25%;
  697. }
  698. .ui.form .five.fields > .fields,
  699. .ui.form .five.fields > .field {
  700. width: 20%;
  701. }
  702. .ui.form .six.fields > .fields,
  703. .ui.form .six.fields > .field {
  704. width: 16.66666667%;
  705. }
  706. .ui.form .seven.fields > .fields,
  707. .ui.form .seven.fields > .field {
  708. width: 14.28571429%;
  709. }
  710. .ui.form .eight.fields > .fields,
  711. .ui.form .eight.fields > .field {
  712. width: 12.5%;
  713. }
  714. .ui.form .nine.fields > .fields,
  715. .ui.form .nine.fields > .field {
  716. width: 11.11111111%;
  717. }
  718. .ui.form .ten.fields > .fields,
  719. .ui.form .ten.fields > .field {
  720. width: 10%;
  721. }
  722. /* Swap to full width on mobile */
  723. @media only screen and (max-width: 767px) {
  724. .ui.form .fields {
  725. -webkit-flex-wrap: wrap;
  726. -ms-flex-wrap: wrap;
  727. flex-wrap: wrap;
  728. }
  729. .ui.form .two.fields > .fields,
  730. .ui.form .two.fields > .field,
  731. .ui.form .three.fields > .fields,
  732. .ui.form .three.fields > .field,
  733. .ui.form .four.fields > .fields,
  734. .ui.form .four.fields > .field,
  735. .ui.form .five.fields > .fields,
  736. .ui.form .five.fields > .field,
  737. .ui.form .six.fields > .fields,
  738. .ui.form .six.fields > .field,
  739. .ui.form .seven.fields > .fields,
  740. .ui.form .seven.fields > .field,
  741. .ui.form .eight.fields > .fields,
  742. .ui.form .eight.fields > .field,
  743. .ui.form .nine.fields > .fields,
  744. .ui.form .nine.fields > .field,
  745. .ui.form .ten.fields > .fields,
  746. .ui.form .ten.fields > .field {
  747. width: 100% !important;
  748. margin: 0em 0em 1em;
  749. padding-left: 0%;
  750. padding-right: 0%;
  751. }
  752. }
  753. .ui.form .fields .field:first-child {
  754. padding-left: 0%;
  755. }
  756. .ui.form .fields .field:last-child {
  757. padding-right: 0%;
  758. }
  759. /* Sizing Combinations */
  760. .ui.form .fields .wide.field {
  761. width: 6.25%;
  762. padding-left: 0.5em;
  763. padding-right: 0.5em;
  764. }
  765. .ui.form .fields .wide.field:first-child {
  766. padding-left: 0%;
  767. }
  768. .ui.form .fields .wide.field:last-child {
  769. padding-right: 0%;
  770. }
  771. .ui.form .one.wide.field {
  772. width: 6.25% !important;
  773. }
  774. .ui.form .two.wide.field {
  775. width: 12.5% !important;
  776. }
  777. .ui.form .three.wide.field {
  778. width: 18.75% !important;
  779. }
  780. .ui.form .four.wide.field {
  781. width: 25% !important;
  782. }
  783. .ui.form .five.wide.field {
  784. width: 31.25% !important;
  785. }
  786. .ui.form .six.wide.field {
  787. width: 37.5% !important;
  788. }
  789. .ui.form .seven.wide.field {
  790. width: 43.75% !important;
  791. }
  792. .ui.form .eight.wide.field {
  793. width: 50% !important;
  794. }
  795. .ui.form .nine.wide.field {
  796. width: 56.25% !important;
  797. }
  798. .ui.form .ten.wide.field {
  799. width: 62.5% !important;
  800. }
  801. .ui.form .eleven.wide.field {
  802. width: 68.75% !important;
  803. }
  804. .ui.form .twelve.wide.field {
  805. width: 75% !important;
  806. }
  807. .ui.form .thirteen.wide.field {
  808. width: 81.25% !important;
  809. }
  810. .ui.form .fourteen.wide.field {
  811. width: 87.5% !important;
  812. }
  813. .ui.form .fifteen.wide.field {
  814. width: 93.75% !important;
  815. }
  816. .ui.form .sixteen.wide.field {
  817. width: 100% !important;
  818. }
  819. /* Swap to full width on mobile */
  820. @media only screen and (max-width: 767px) {
  821. .ui.form .two.fields > .fields,
  822. .ui.form .two.fields > .field,
  823. .ui.form .three.fields > .fields,
  824. .ui.form .three.fields > .field,
  825. .ui.form .four.fields > .fields,
  826. .ui.form .four.fields > .field,
  827. .ui.form .five.fields > .fields,
  828. .ui.form .five.fields > .field,
  829. .ui.form .fields > .two.wide.field,
  830. .ui.form .fields > .three.wide.field,
  831. .ui.form .fields > .four.wide.field,
  832. .ui.form .fields > .five.wide.field,
  833. .ui.form .fields > .six.wide.field,
  834. .ui.form .fields > .seven.wide.field,
  835. .ui.form .fields > .eight.wide.field,
  836. .ui.form .fields > .nine.wide.field,
  837. .ui.form .fields > .ten.wide.field,
  838. .ui.form .fields > .eleven.wide.field,
  839. .ui.form .fields > .twelve.wide.field,
  840. .ui.form .fields > .thirteen.wide.field,
  841. .ui.form .fields > .fourteen.wide.field,
  842. .ui.form .fields > .fifteen.wide.field,
  843. .ui.form .fields > .sixteen.wide.field {
  844. width: 100% !important;
  845. padding-left: 0%;
  846. padding-right: 0%;
  847. }
  848. }
  849. /*--------------------
  850. Equal Width
  851. ---------------------*/
  852. .ui[class*="equal width"].form .fields > .field,
  853. .ui.form [class*="equal width"].fields > .field {
  854. width: 100%;
  855. -webkit-box-flex: 1;
  856. -webkit-flex: 1 1 auto;
  857. -ms-flex: 1 1 auto;
  858. flex: 1 1 auto;
  859. }
  860. /*--------------------
  861. Inline Fields
  862. ---------------------*/
  863. .ui.form .inline.fields {
  864. margin: 0em 0em 1em;
  865. -webkit-box-align: center;
  866. -webkit-align-items: center;
  867. -ms-flex-align: center;
  868. align-items: center;
  869. }
  870. .ui.form .inline.fields .field {
  871. margin: 0em;
  872. padding: 0em 1em 0em 0em;
  873. }
  874. /* Inline Label */
  875. .ui.form .inline.fields > label,
  876. .ui.form .inline.fields .field > label,
  877. .ui.form .inline.fields .field > p,
  878. .ui.form .inline.field > label,
  879. .ui.form .inline.field > p {
  880. display: inline-block;
  881. width: auto;
  882. margin-top: 0em;
  883. margin-bottom: 0em;
  884. vertical-align: baseline;
  885. font-size: 0.92857143em;
  886. font-weight: bold;
  887. color: rgba(0, 0, 0, 0.87);
  888. text-transform: none;
  889. }
  890. /* Grouped Inline Label */
  891. .ui.form .inline.fields > label {
  892. margin: 0.035714em 1em 0em 0em;
  893. }
  894. /* Inline Input */
  895. .ui.form .inline.fields .field > input,
  896. .ui.form .inline.fields .field > select,
  897. .ui.form .inline.field > input,
  898. .ui.form .inline.field > select {
  899. display: inline-block;
  900. width: auto;
  901. margin-top: 0em;
  902. margin-bottom: 0em;
  903. vertical-align: middle;
  904. font-size: 1em;
  905. }
  906. /* Label */
  907. .ui.form .inline.fields .field > :first-child,
  908. .ui.form .inline.field > :first-child {
  909. margin: 0em 0.85714286em 0em 0em;
  910. }
  911. .ui.form .inline.fields .field > :only-child,
  912. .ui.form .inline.field > :only-child {
  913. margin: 0em;
  914. }
  915. /* Wide */
  916. .ui.form .inline.fields .wide.field {
  917. display: -webkit-box;
  918. display: -webkit-flex;
  919. display: -ms-flexbox;
  920. display: flex;
  921. -webkit-box-align: center;
  922. -webkit-align-items: center;
  923. -ms-flex-align: center;
  924. align-items: center;
  925. }
  926. .ui.form .inline.fields .wide.field > input,
  927. .ui.form .inline.fields .wide.field > select {
  928. width: 100%;
  929. }
  930. /*--------------------
  931. Sizes
  932. ---------------------*/
  933. .ui.mini.form {
  934. font-size: 0.78571429rem;
  935. }
  936. .ui.tiny.form {
  937. font-size: 0.85714286rem;
  938. }
  939. .ui.small.form {
  940. font-size: 0.92857143rem;
  941. }
  942. .ui.form {
  943. font-size: 1rem;
  944. }
  945. .ui.large.form {
  946. font-size: 1.14285714rem;
  947. }
  948. .ui.big.form {
  949. font-size: 1.28571429rem;
  950. }
  951. .ui.huge.form {
  952. font-size: 1.42857143rem;
  953. }
  954. .ui.massive.form {
  955. font-size: 1.71428571rem;
  956. }
  957. /*******************************
  958. Theme Overrides
  959. *******************************/
  960. /*******************************
  961. Site Overrides
  962. *******************************/