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.

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