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.

893 lines
21 KiB

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