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.

1066 lines
25 KiB

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
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
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
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
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
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
10 years ago
9 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
9 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
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
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
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
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
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
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
  1. /*!
  2. * # Semantic UI 2.1.4 - 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 0em 1em;
  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. Dividers
  210. ---------------------*/
  211. .ui.form .divider {
  212. clear: both;
  213. margin: 1em 0em;
  214. }
  215. /*--------------------
  216. Types of Messages
  217. ---------------------*/
  218. .ui.form .success.message,
  219. .ui.form .warning.message,
  220. .ui.form .error.message {
  221. display: none;
  222. }
  223. /* Assumptions */
  224. .ui.form .message:first-child {
  225. margin-top: 0px;
  226. }
  227. /*--------------------
  228. Validation Prompt
  229. ---------------------*/
  230. .ui.form .field .prompt.label {
  231. white-space: normal;
  232. background: #ffffff !important;
  233. border: 1px solid #e0b4b4 !important;
  234. color: #9f3a38 !important;
  235. }
  236. .ui.form .inline.fields .field .prompt,
  237. .ui.form .inline.field .prompt {
  238. vertical-align: top;
  239. margin: -0.25em 0em -0.5em 0.5em;
  240. }
  241. .ui.form .inline.fields .field .prompt:before,
  242. .ui.form .inline.field .prompt:before {
  243. border-width: 0px 0px 1px 1px;
  244. bottom: auto;
  245. right: auto;
  246. top: 50%;
  247. left: 0em;
  248. }
  249. /*******************************
  250. States
  251. *******************************/
  252. /*--------------------
  253. Autofilled
  254. ---------------------*/
  255. .ui.form .field.field input:-webkit-autofill {
  256. box-shadow: 0px 0px 0px 100px #fffff0 inset !important;
  257. border-color: #e5dfa1 !important;
  258. }
  259. /* Focus */
  260. .ui.form .field.field input:-webkit-autofill:focus {
  261. box-shadow: 0px 0px 0px 100px #fffff0 inset !important;
  262. border-color: #d5c315 !important;
  263. }
  264. /* Error */
  265. .ui.form .error.error input:-webkit-autofill {
  266. box-shadow: 0px 0px 0px 100px #fffaf0 inset !important;
  267. border-color: #e0b4b4 !important;
  268. }
  269. /*--------------------
  270. Placeholder
  271. ---------------------*/
  272. /* browsers require these rules separate */
  273. .ui.form ::-webkit-input-placeholder {
  274. color: rgba(140, 140, 140, 0.87);
  275. }
  276. .ui.form ::-ms-input-placeholder {
  277. color: rgba(140, 140, 140, 0.87);
  278. }
  279. .ui.form ::-moz-placeholder {
  280. color: rgba(140, 140, 140, 0.87);
  281. }
  282. .ui.form :focus::-webkit-input-placeholder {
  283. color: rgba(89, 89, 89, 0.87);
  284. }
  285. .ui.form :focus::-ms-input-placeholder {
  286. color: rgba(89, 89, 89, 0.87);
  287. }
  288. .ui.form :focus::-moz-placeholder {
  289. color: rgba(89, 89, 89, 0.87);
  290. }
  291. /* Error Placeholder */
  292. .ui.form .error ::-webkit-input-placeholder {
  293. color: #e7bdbc;
  294. }
  295. .ui.form .error ::-ms-input-placeholder {
  296. color: #e7bdbc;
  297. }
  298. .ui.form .error ::-moz-placeholder {
  299. color: #e7bdbc;
  300. }
  301. .ui.form .error :focus::-webkit-input-placeholder {
  302. color: #da9796;
  303. }
  304. .ui.form .error :focus::-ms-input-placeholder {
  305. color: #da9796;
  306. }
  307. .ui.form .error :focus::-moz-placeholder {
  308. color: #da9796;
  309. }
  310. /*--------------------
  311. Focus
  312. ---------------------*/
  313. .ui.form input:not([type]):focus,
  314. .ui.form input[type="date"]:focus,
  315. .ui.form input[type="datetime-local"]:focus,
  316. .ui.form input[type="email"]:focus,
  317. .ui.form input[type="number"]:focus,
  318. .ui.form input[type="password"]:focus,
  319. .ui.form input[type="search"]:focus,
  320. .ui.form input[type="tel"]:focus,
  321. .ui.form input[type="time"]:focus,
  322. .ui.form input[type="text"]:focus,
  323. .ui.form input[type="url"]: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. }
  330. .ui.form textarea:focus {
  331. color: rgba(0, 0, 0, 0.95);
  332. border-color: #85b7d9;
  333. border-radius: 0.28571429rem;
  334. background: #ffffff;
  335. box-shadow: 0px 0em 0em 0em rgba(34, 36, 38, 0.35) inset;
  336. -webkit-appearance: none;
  337. }
  338. /*--------------------
  339. Success
  340. ---------------------*/
  341. /* On Form */
  342. .ui.form.success .success.message:not(:empty) {
  343. display: block;
  344. }
  345. .ui.form.success .icon.success.message:not(:empty) {
  346. display: -webkit-box;
  347. display: -webkit-flex;
  348. display: -ms-flexbox;
  349. display: flex;
  350. }
  351. /*--------------------
  352. Warning
  353. ---------------------*/
  354. /* On Form */
  355. .ui.form.warning .warning.message:not(:empty) {
  356. display: block;
  357. }
  358. .ui.form.warning .icon.warning.message:not(:empty) {
  359. display: -webkit-box;
  360. display: -webkit-flex;
  361. display: -ms-flexbox;
  362. display: flex;
  363. }
  364. /*--------------------
  365. Error
  366. ---------------------*/
  367. /* On Form */
  368. .ui.form.error .error.message:not(:empty) {
  369. display: block;
  370. }
  371. .ui.form.error .icon.error.message:not(:empty) {
  372. display: -webkit-box;
  373. display: -webkit-flex;
  374. display: -ms-flexbox;
  375. display: flex;
  376. }
  377. /* On Field(s) */
  378. .ui.form .fields.error .field label,
  379. .ui.form .field.error label,
  380. .ui.form .fields.error .field .input,
  381. .ui.form .field.error .input {
  382. color: #9f3a38;
  383. }
  384. .ui.form .fields.error .field .corner.label,
  385. .ui.form .field.error .corner.label {
  386. border-color: #9f3a38;
  387. color: #ffffff;
  388. }
  389. .ui.form .fields.error .field textarea,
  390. .ui.form .fields.error .field select,
  391. .ui.form .fields.error .field input:not([type]),
  392. .ui.form .fields.error .field input[type="date"],
  393. .ui.form .fields.error .field input[type="datetime-local"],
  394. .ui.form .fields.error .field input[type="email"],
  395. .ui.form .fields.error .field input[type="number"],
  396. .ui.form .fields.error .field input[type="password"],
  397. .ui.form .fields.error .field input[type="search"],
  398. .ui.form .fields.error .field input[type="tel"],
  399. .ui.form .fields.error .field input[type="time"],
  400. .ui.form .fields.error .field input[type="text"],
  401. .ui.form .fields.error .field input[type="url"],
  402. .ui.form .field.error textarea,
  403. .ui.form .field.error select,
  404. .ui.form .field.error input:not([type]),
  405. .ui.form .field.error input[type="date"],
  406. .ui.form .field.error input[type="datetime-local"],
  407. .ui.form .field.error input[type="email"],
  408. .ui.form .field.error input[type="number"],
  409. .ui.form .field.error input[type="password"],
  410. .ui.form .field.error input[type="search"],
  411. .ui.form .field.error input[type="tel"],
  412. .ui.form .field.error input[type="time"],
  413. .ui.form .field.error input[type="text"],
  414. .ui.form .field.error input[type="url"] {
  415. background: #fff6f6;
  416. border-color: #e0b4b4;
  417. color: #9f3a38;
  418. border-radius: '';
  419. box-shadow: none;
  420. }
  421. .ui.form .field.error textarea:focus,
  422. .ui.form .field.error select:focus,
  423. .ui.form .field.error input:not([type]):focus,
  424. .ui.form .field.error input[type="date"]:focus,
  425. .ui.form .field.error input[type="datetime-local"]:focus,
  426. .ui.form .field.error input[type="email"]:focus,
  427. .ui.form .field.error input[type="number"]:focus,
  428. .ui.form .field.error input[type="password"]:focus,
  429. .ui.form .field.error input[type="search"]:focus,
  430. .ui.form .field.error input[type="tel"]:focus,
  431. .ui.form .field.error input[type="time"]:focus,
  432. .ui.form .field.error input[type="text"]:focus,
  433. .ui.form .field.error input[type="url"]:focus {
  434. background: #fff6f6;
  435. border-color: #e0b4b4;
  436. color: #9f3a38;
  437. -webkit-appearance: none;
  438. box-shadow: none;
  439. }
  440. /* Preserve Native Select Stylings */
  441. .ui.form .field.error select {
  442. -webkit-appearance: menulist-button;
  443. }
  444. /*------------------
  445. Dropdown Error
  446. --------------------*/
  447. .ui.form .fields.error .field .ui.dropdown,
  448. .ui.form .fields.error .field .ui.dropdown .item,
  449. .ui.form .field.error .ui.dropdown,
  450. .ui.form .field.error .ui.dropdown .text,
  451. .ui.form .field.error .ui.dropdown .item {
  452. background: #fff6f6;
  453. color: #9f3a38;
  454. }
  455. .ui.form .fields.error .field .ui.dropdown,
  456. .ui.form .field.error .ui.dropdown {
  457. border-color: #e0b4b4 !important;
  458. }
  459. .ui.form .fields.error .field .ui.dropdown:hover,
  460. .ui.form .field.error .ui.dropdown:hover {
  461. border-color: #e0b4b4 !important;
  462. }
  463. .ui.form .fields.error .field .ui.dropdown:hover .menu,
  464. .ui.form .field.error .ui.dropdown:hover .menu {
  465. border-color: #e0b4b4;
  466. }
  467. .ui.form .fields.error .field .ui.multiple.selection.dropdown > .label,
  468. .ui.form .field.error .ui.multiple.selection.dropdown > .label {
  469. background-color: #eacbcb;
  470. color: #9f3a38;
  471. }
  472. /* Hover */
  473. .ui.form .fields.error .field .ui.dropdown .menu .item:hover,
  474. .ui.form .field.error .ui.dropdown .menu .item:hover {
  475. background-color: #fbe7e7;
  476. }
  477. /* Selected */
  478. .ui.form .fields.error .field .ui.dropdown .menu .selected.item,
  479. .ui.form .field.error .ui.dropdown .menu .selected.item {
  480. background-color: #fbe7e7;
  481. }
  482. /* Active */
  483. .ui.form .fields.error .field .ui.dropdown .menu .active.item,
  484. .ui.form .field.error .ui.dropdown .menu .active.item {
  485. background-color: #fdcfcf !important;
  486. }
  487. /*--------------------
  488. Checkbox Error
  489. ---------------------*/
  490. .ui.form .fields.error .field .checkbox:not(.toggle):not(.slider) label,
  491. .ui.form .field.error .checkbox:not(.toggle):not(.slider) label,
  492. .ui.form .fields.error .field .checkbox:not(.toggle):not(.slider) .box,
  493. .ui.form .field.error .checkbox:not(.toggle):not(.slider) .box {
  494. color: #9f3a38;
  495. }
  496. .ui.form .fields.error .field .checkbox:not(.toggle):not(.slider) label:before,
  497. .ui.form .field.error .checkbox:not(.toggle):not(.slider) label:before,
  498. .ui.form .fields.error .field .checkbox:not(.toggle):not(.slider) .box:before,
  499. .ui.form .field.error .checkbox:not(.toggle):not(.slider) .box:before {
  500. background: #fff6f6;
  501. border-color: #e0b4b4;
  502. }
  503. .ui.form .fields.error .field .checkbox label:after,
  504. .ui.form .field.error .checkbox label:after,
  505. .ui.form .fields.error .field .checkbox .box:after,
  506. .ui.form .field.error .checkbox .box:after {
  507. color: #9f3a38;
  508. }
  509. /*--------------------
  510. Disabled
  511. ---------------------*/
  512. .ui.form .disabled.fields .field,
  513. .ui.form .disabled.field,
  514. .ui.form .field :disabled {
  515. pointer-events: none;
  516. opacity: 0.45;
  517. }
  518. .ui.form .field.disabled label {
  519. opacity: 0.45;
  520. }
  521. .ui.form .field.disabled :disabled {
  522. opacity: 1;
  523. }
  524. /*--------------
  525. Loading
  526. ---------------*/
  527. .ui.loading.form {
  528. position: relative;
  529. cursor: default;
  530. point-events: none;
  531. text-shadow: none !important;
  532. color: transparent !important;
  533. -webkit-transition: all 0s linear;
  534. transition: all 0s linear;
  535. z-index: 100;
  536. }
  537. .ui.loading.form:before {
  538. position: absolute;
  539. content: '';
  540. top: 0%;
  541. left: 0%;
  542. background: rgba(255, 255, 255, 0.8);
  543. width: 100%;
  544. height: 100%;
  545. z-index: 100;
  546. }
  547. .ui.loading.form:after {
  548. position: absolute;
  549. content: '';
  550. top: 50%;
  551. left: 50%;
  552. margin: -1.5em 0em 0em -1.5em;
  553. width: 3em;
  554. height: 3em;
  555. -webkit-animation: form-spin 0.6s linear;
  556. animation: form-spin 0.6s linear;
  557. -webkit-animation-iteration-count: infinite;
  558. animation-iteration-count: infinite;
  559. border-radius: 500rem;
  560. border-color: #767676 rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1);
  561. border-style: solid;
  562. border-width: 0.2em;
  563. box-shadow: 0px 0px 0px 1px transparent;
  564. visibility: visible;
  565. z-index: 101;
  566. }
  567. @-webkit-keyframes form-spin {
  568. from {
  569. -webkit-transform: rotate(0deg);
  570. transform: rotate(0deg);
  571. }
  572. to {
  573. -webkit-transform: rotate(360deg);
  574. transform: rotate(360deg);
  575. }
  576. }
  577. @keyframes form-spin {
  578. from {
  579. -webkit-transform: rotate(0deg);
  580. transform: rotate(0deg);
  581. }
  582. to {
  583. -webkit-transform: rotate(360deg);
  584. transform: rotate(360deg);
  585. }
  586. }
  587. /*******************************
  588. Element Types
  589. *******************************/
  590. /*--------------------
  591. Required Field
  592. ---------------------*/
  593. .ui.form .required.fields:not(.grouped) > .field > label:after,
  594. .ui.form .required.fields.grouped > label:after,
  595. .ui.form .required.field > label:after,
  596. .ui.form .required.fields:not(.grouped) > .field > .checkbox:after,
  597. .ui.form .required.field > .checkbox:after {
  598. margin: -0.2em 0em 0em 0.2em;
  599. content: '*';
  600. color: #db2828;
  601. }
  602. .ui.form .required.fields:not(.grouped) > .field > label:after,
  603. .ui.form .required.fields.grouped > label:after,
  604. .ui.form .required.field > label:after {
  605. display: inline-block;
  606. vertical-align: top;
  607. }
  608. .ui.form .required.fields:not(.grouped) > .field > .checkbox:after,
  609. .ui.form .required.field > .checkbox:after {
  610. position: absolute;
  611. top: 0%;
  612. left: 100%;
  613. }
  614. /*******************************
  615. Variations
  616. *******************************/
  617. /*--------------------
  618. Inverted Colors
  619. ---------------------*/
  620. .ui.inverted.form label,
  621. .ui.form .inverted.segment label,
  622. .ui.form .inverted.segment .ui.checkbox label,
  623. .ui.form .inverted.segment .ui.checkbox .box,
  624. .ui.inverted.form .ui.checkbox label,
  625. .ui.inverted.form .ui.checkbox .box {
  626. color: rgba(255, 255, 255, 0.9);
  627. }
  628. /* Inverted Field */
  629. .ui.inverted.form input:not([type]),
  630. .ui.inverted.form input[type="date"],
  631. .ui.inverted.form input[type="datetime-local"],
  632. .ui.inverted.form input[type="email"],
  633. .ui.inverted.form input[type="number"],
  634. .ui.inverted.form input[type="password"],
  635. .ui.inverted.form input[type="search"],
  636. .ui.inverted.form input[type="tel"],
  637. .ui.inverted.form input[type="time"],
  638. .ui.inverted.form input[type="text"],
  639. .ui.inverted.form input[type="url"] {
  640. background: #ffffff;
  641. border-color: rgba(255, 255, 255, 0.1);
  642. color: rgba(0, 0, 0, 0.87);
  643. box-shadow: none;
  644. }
  645. /*--------------------
  646. Field Groups
  647. ---------------------*/
  648. /* Grouped Vertically */
  649. .ui.form .grouped.fields {
  650. display: block;
  651. margin: 0em 0em 1em;
  652. }
  653. .ui.form .grouped.fields:last-child {
  654. margin-bottom: 0em;
  655. }
  656. .ui.form .grouped.fields > label {
  657. margin: 0em 0em 0.28571429rem 0em;
  658. color: rgba(0, 0, 0, 0.87);
  659. font-size: 0.92857143em;
  660. font-weight: bold;
  661. text-transform: none;
  662. }
  663. .ui.form .grouped.fields .field,
  664. .ui.form .grouped.inline.fields .field {
  665. display: block;
  666. margin: 0.5em 0em;
  667. padding: 0em;
  668. }
  669. /*--------------------
  670. Fields
  671. ---------------------*/
  672. /* Split fields */
  673. .ui.form .fields {
  674. display: -webkit-box;
  675. display: -webkit-flex;
  676. display: -ms-flexbox;
  677. display: flex;
  678. -webkit-box-orient: horizontal;
  679. -webkit-box-direction: normal;
  680. -webkit-flex-direction: row;
  681. -ms-flex-direction: row;
  682. flex-direction: row;
  683. }
  684. .ui.form .fields > .field {
  685. -webkit-box-flex: 0;
  686. -webkit-flex: 0 1 auto;
  687. -ms-flex: 0 1 auto;
  688. flex: 0 1 auto;
  689. padding-left: 0.5em;
  690. padding-right: 0.5em;
  691. }
  692. .ui.form .fields > .field:first-child {
  693. border-left: none;
  694. box-shadow: none;
  695. }
  696. /* Other Combinations */
  697. .ui.form .two.fields > .fields,
  698. .ui.form .two.fields > .field {
  699. width: 50%;
  700. }
  701. .ui.form .three.fields > .fields,
  702. .ui.form .three.fields > .field {
  703. width: 33.33333333%;
  704. }
  705. .ui.form .four.fields > .fields,
  706. .ui.form .four.fields > .field {
  707. width: 25%;
  708. }
  709. .ui.form .five.fields > .fields,
  710. .ui.form .five.fields > .field {
  711. width: 20%;
  712. }
  713. .ui.form .six.fields > .fields,
  714. .ui.form .six.fields > .field {
  715. width: 16.66666667%;
  716. }
  717. .ui.form .seven.fields > .fields,
  718. .ui.form .seven.fields > .field {
  719. width: 14.28571429%;
  720. }
  721. .ui.form .eight.fields > .fields,
  722. .ui.form .eight.fields > .field {
  723. width: 12.5%;
  724. }
  725. .ui.form .nine.fields > .fields,
  726. .ui.form .nine.fields > .field {
  727. width: 11.11111111%;
  728. }
  729. .ui.form .ten.fields > .fields,
  730. .ui.form .ten.fields > .field {
  731. width: 10%;
  732. }
  733. /* Swap to full width on mobile */
  734. @media only screen and (max-width: 767px) {
  735. .ui.form .fields {
  736. -webkit-flex-wrap: wrap;
  737. -ms-flex-wrap: wrap;
  738. flex-wrap: wrap;
  739. }
  740. .ui.form .two.fields > .fields,
  741. .ui.form .two.fields > .field,
  742. .ui.form .three.fields > .fields,
  743. .ui.form .three.fields > .field,
  744. .ui.form .four.fields > .fields,
  745. .ui.form .four.fields > .field,
  746. .ui.form .five.fields > .fields,
  747. .ui.form .five.fields > .field,
  748. .ui.form .six.fields > .fields,
  749. .ui.form .six.fields > .field,
  750. .ui.form .seven.fields > .fields,
  751. .ui.form .seven.fields > .field,
  752. .ui.form .eight.fields > .fields,
  753. .ui.form .eight.fields > .field,
  754. .ui.form .nine.fields > .fields,
  755. .ui.form .nine.fields > .field,
  756. .ui.form .ten.fields > .fields,
  757. .ui.form .ten.fields > .field {
  758. width: 100% !important;
  759. margin: 0em 0em 1em;
  760. padding-left: 0%;
  761. padding-right: 0%;
  762. }
  763. }
  764. .ui.form .fields .field:first-child {
  765. padding-left: 0%;
  766. }
  767. .ui.form .fields .field:last-child {
  768. padding-right: 0%;
  769. }
  770. /* Sizing Combinations */
  771. .ui.form .fields .wide.field {
  772. width: 6.25%;
  773. padding-left: 0.5em;
  774. padding-right: 0.5em;
  775. }
  776. .ui.form .fields .wide.field:first-child {
  777. padding-left: 0%;
  778. }
  779. .ui.form .fields .wide.field:last-child {
  780. padding-right: 0%;
  781. }
  782. .ui.form .one.wide.field {
  783. width: 6.25% !important;
  784. }
  785. .ui.form .two.wide.field {
  786. width: 12.5% !important;
  787. }
  788. .ui.form .three.wide.field {
  789. width: 18.75% !important;
  790. }
  791. .ui.form .four.wide.field {
  792. width: 25% !important;
  793. }
  794. .ui.form .five.wide.field {
  795. width: 31.25% !important;
  796. }
  797. .ui.form .six.wide.field {
  798. width: 37.5% !important;
  799. }
  800. .ui.form .seven.wide.field {
  801. width: 43.75% !important;
  802. }
  803. .ui.form .eight.wide.field {
  804. width: 50% !important;
  805. }
  806. .ui.form .nine.wide.field {
  807. width: 56.25% !important;
  808. }
  809. .ui.form .ten.wide.field {
  810. width: 62.5% !important;
  811. }
  812. .ui.form .eleven.wide.field {
  813. width: 68.75% !important;
  814. }
  815. .ui.form .twelve.wide.field {
  816. width: 75% !important;
  817. }
  818. .ui.form .thirteen.wide.field {
  819. width: 81.25% !important;
  820. }
  821. .ui.form .fourteen.wide.field {
  822. width: 87.5% !important;
  823. }
  824. .ui.form .fifteen.wide.field {
  825. width: 93.75% !important;
  826. }
  827. .ui.form .sixteen.wide.field {
  828. width: 100% !important;
  829. }
  830. /* Swap to full width on mobile */
  831. @media only screen and (max-width: 767px) {
  832. .ui.form .two.fields > .fields,
  833. .ui.form .two.fields > .field,
  834. .ui.form .three.fields > .fields,
  835. .ui.form .three.fields > .field,
  836. .ui.form .four.fields > .fields,
  837. .ui.form .four.fields > .field,
  838. .ui.form .five.fields > .fields,
  839. .ui.form .five.fields > .field,
  840. .ui.form .fields > .two.wide.field,
  841. .ui.form .fields > .three.wide.field,
  842. .ui.form .fields > .four.wide.field,
  843. .ui.form .fields > .five.wide.field,
  844. .ui.form .fields > .six.wide.field,
  845. .ui.form .fields > .seven.wide.field,
  846. .ui.form .fields > .eight.wide.field,
  847. .ui.form .fields > .nine.wide.field,
  848. .ui.form .fields > .ten.wide.field,
  849. .ui.form .fields > .eleven.wide.field,
  850. .ui.form .fields > .twelve.wide.field,
  851. .ui.form .fields > .thirteen.wide.field,
  852. .ui.form .fields > .fourteen.wide.field,
  853. .ui.form .fields > .fifteen.wide.field,
  854. .ui.form .fields > .sixteen.wide.field {
  855. width: 100% !important;
  856. margin: 0em 0em 1em;
  857. padding-left: 0%;
  858. padding-right: 0%;
  859. }
  860. }
  861. /*--------------------
  862. Inline Fields
  863. ---------------------*/
  864. .ui.form .inline.fields {
  865. margin: 0em 0em 1em;
  866. -webkit-box-align: center;
  867. -webkit-align-items: center;
  868. -ms-flex-align: center;
  869. align-items: center;
  870. }
  871. .ui.form .inline.fields .field {
  872. margin: 0em;
  873. padding: 0em 1em 0em 0em;
  874. }
  875. /* Inline Label */
  876. .ui.form .inline.fields > label,
  877. .ui.form .inline.fields .field > label,
  878. .ui.form .inline.fields .field > p,
  879. .ui.form .inline.field > label,
  880. .ui.form .inline.field > p {
  881. display: inline-block;
  882. width: auto;
  883. margin-top: 0em;
  884. margin-bottom: 0em;
  885. vertical-align: baseline;
  886. font-size: 0.92857143em;
  887. font-weight: bold;
  888. color: rgba(0, 0, 0, 0.87);
  889. text-transform: none;
  890. }
  891. /* Grouped Inline Label */
  892. .ui.form .inline.fields > label {
  893. margin: 0.035714em 1em 0em 0em;
  894. }
  895. /* Inline Input */
  896. .ui.form .inline.fields .field > input,
  897. .ui.form .inline.fields .field > select,
  898. .ui.form .inline.field > input,
  899. .ui.form .inline.field > select {
  900. display: inline-block;
  901. width: auto;
  902. margin-top: 0em;
  903. margin-bottom: 0em;
  904. vertical-align: middle;
  905. font-size: 1em;
  906. }
  907. /* Label */
  908. .ui.form .inline.fields .field > :first-child,
  909. .ui.form .inline.field > :first-child {
  910. margin: 0em 0.85714286em 0em 0em;
  911. }
  912. .ui.form .inline.fields .field > :only-child,
  913. .ui.form .inline.field > :only-child {
  914. margin: 0em;
  915. }
  916. /* Wide */
  917. .ui.form .inline.fields .wide.field {
  918. display: -webkit-box;
  919. display: -webkit-flex;
  920. display: -ms-flexbox;
  921. display: flex;
  922. -webkit-box-align: center;
  923. -webkit-align-items: center;
  924. -ms-flex-align: center;
  925. align-items: center;
  926. }
  927. .ui.form .inline.fields .wide.field > input,
  928. .ui.form .inline.fields .wide.field > select {
  929. width: 100%;
  930. }
  931. /*--------------------
  932. Sizes
  933. ---------------------*/
  934. /* Standard */
  935. .ui.small.form {
  936. font-size: 0.92857143rem;
  937. }
  938. /* Medium */
  939. .ui.form {
  940. font-size: 1rem;
  941. }
  942. /* Large */
  943. .ui.large.form {
  944. font-size: 1.14285714rem;
  945. }
  946. /* Huge */
  947. .ui.huge.form {
  948. font-size: 1.42857143rem;
  949. }
  950. /*******************************
  951. Theme Overrides
  952. *******************************/
  953. /*******************************
  954. Site Overrides
  955. *******************************/