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.

926 lines
22 KiB

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