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.

891 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
  1. /*!
  2. * # Semantic UI 1.11.3 - 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 > .field > label:after,
  495. .ui.form .required.field > label:after,
  496. .ui.form .required.fields > .field > .checkbox:after,
  497. .ui.form .required.field > .checkbox:after {
  498. margin: -0.2em 0em 0em 0.2em;
  499. content: '*';
  500. color: #d95c5c;
  501. }
  502. .ui.form .required.fields > .field > label:after,
  503. .ui.form .required.field > label:after {
  504. display: inline-block;
  505. vertical-align: top;
  506. }
  507. .ui.form .required.fields > .field > .checkbox:after,
  508. .ui.form .required.field > .checkbox:after {
  509. position: absolute;
  510. top: 0%;
  511. left: 100%;
  512. }
  513. /*******************************
  514. Variations
  515. *******************************/
  516. /*--------------------
  517. Inverted Colors
  518. ---------------------*/
  519. .ui.inverted.form label,
  520. .ui.form .inverted.segment label,
  521. .ui.form .inverted.segment .ui.checkbox label,
  522. .ui.form .inverted.segment .ui.checkbox .box,
  523. .ui.inverted.form .ui.checkbox label,
  524. .ui.inverted.form .ui.checkbox .box {
  525. color: #ffffff;
  526. }
  527. /*--------------------
  528. Field Groups
  529. ---------------------*/
  530. /* Grouped Vertically */
  531. .ui.form .grouped.fields {
  532. margin: 0em 0em 1em;
  533. }
  534. .ui.form .grouped.fields:last-child {
  535. margin-bottom: 0em;
  536. }
  537. .ui.form .grouped.fields > label {
  538. font-size: 0.9285em;
  539. }
  540. .ui.form .grouped.fields .field {
  541. display: block;
  542. float: none;
  543. margin: 0.5em 0em;
  544. padding: 0em;
  545. }
  546. /*--------------------
  547. Fields
  548. ---------------------*/
  549. /* Split fields */
  550. .ui.form .fields {
  551. clear: both;
  552. }
  553. .ui.form .fields:after {
  554. content: ' ';
  555. display: block;
  556. clear: both;
  557. visibility: hidden;
  558. line-height: 0;
  559. height: 0;
  560. }
  561. .ui.form .fields > .field {
  562. clear: none;
  563. float: left;
  564. padding-left: 0.5em;
  565. padding-right: 0.5em;
  566. }
  567. .ui.form .fields > .field:first-child {
  568. border-left: none;
  569. box-shadow: none;
  570. }
  571. /* Other Combinations */
  572. .ui.form .two.fields > .fields,
  573. .ui.form .two.fields > .field {
  574. width: 50%;
  575. }
  576. .ui.form .three.fields > .fields,
  577. .ui.form .three.fields > .field {
  578. width: 33.33333333%;
  579. }
  580. .ui.form .four.fields > .fields,
  581. .ui.form .four.fields > .field {
  582. width: 25%;
  583. }
  584. .ui.form .five.fields > .fields,
  585. .ui.form .five.fields > .field {
  586. width: 20%;
  587. }
  588. .ui.form .six.fields > .fields,
  589. .ui.form .six.fields > .field {
  590. width: 16.66666667%;
  591. }
  592. .ui.form .seven.fields > .fields,
  593. .ui.form .seven.fields > .field {
  594. width: 14.28571429%;
  595. }
  596. .ui.form .eight.fields > .fields,
  597. .ui.form .eight.fields > .field {
  598. width: 12.5%;
  599. }
  600. .ui.form .nine.fields > .fields,
  601. .ui.form .nine.fields > .field {
  602. width: 11.11111111%;
  603. }
  604. .ui.form .ten.fields > .fields,
  605. .ui.form .ten.fields > .field {
  606. width: 10%;
  607. }
  608. /* Swap to full width on mobile */
  609. @media only screen and (max-width: 767px) {
  610. .ui.form .two.fields > .fields,
  611. .ui.form .two.fields > .field,
  612. .ui.form .three.fields > .fields,
  613. .ui.form .three.fields > .field,
  614. .ui.form .four.fields > .fields,
  615. .ui.form .four.fields > .field,
  616. .ui.form .five.fields > .fields,
  617. .ui.form .five.fields > .field,
  618. .ui.form .six.fields > .fields,
  619. .ui.form .six.fields > .field,
  620. .ui.form .seven.fields > .fields,
  621. .ui.form .seven.fields > .field,
  622. .ui.form .eight.fields > .fields,
  623. .ui.form .eight.fields > .field,
  624. .ui.form .nine.fields > .fields,
  625. .ui.form .nine.fields > .field,
  626. .ui.form .ten.fields > .fields,
  627. .ui.form .ten.fields > .field {
  628. width: 100% !important;
  629. margin: 0em 0em 1em;
  630. padding-left: 0%;
  631. padding-right: 0%;
  632. }
  633. }
  634. .ui.form .fields .field:first-child {
  635. padding-left: 0%;
  636. }
  637. .ui.form .fields .field:last-child {
  638. padding-right: 0%;
  639. }
  640. /* Sizing Combinations */
  641. .ui.form .fields .wide.field {
  642. width: 6.25%;
  643. padding-left: 0.5em;
  644. padding-right: 0.5em;
  645. }
  646. .ui.form .fields .wide.field:first-child {
  647. padding-left: 0%;
  648. }
  649. .ui.form .fields .wide.field:last-child {
  650. padding-right: 0%;
  651. }
  652. .ui.form .one.wide.field {
  653. width: 6.25% !important;
  654. }
  655. .ui.form .two.wide.field {
  656. width: 12.5% !important;
  657. }
  658. .ui.form .three.wide.field {
  659. width: 18.75% !important;
  660. }
  661. .ui.form .four.wide.field {
  662. width: 25% !important;
  663. }
  664. .ui.form .five.wide.field {
  665. width: 31.25% !important;
  666. }
  667. .ui.form .six.wide.field {
  668. width: 37.5% !important;
  669. }
  670. .ui.form .seven.wide.field {
  671. width: 43.75% !important;
  672. }
  673. .ui.form .eight.wide.field {
  674. width: 50% !important;
  675. }
  676. .ui.form .nine.wide.field {
  677. width: 56.25% !important;
  678. }
  679. .ui.form .ten.wide.field {
  680. width: 62.5% !important;
  681. }
  682. .ui.form .eleven.wide.field {
  683. width: 68.75% !important;
  684. }
  685. .ui.form .twelve.wide.field {
  686. width: 75% !important;
  687. }
  688. .ui.form .thirteen.wide.field {
  689. width: 81.25% !important;
  690. }
  691. .ui.form .fourteen.wide.field {
  692. width: 87.5% !important;
  693. }
  694. .ui.form .fifteen.wide.field {
  695. width: 93.75% !important;
  696. }
  697. .ui.form .sixteen.wide.field {
  698. width: 100% !important;
  699. }
  700. /* Swap to full width on mobile */
  701. @media only screen and (max-width: 767px) {
  702. .ui.form .two.fields > .fields,
  703. .ui.form .two.fields > .field,
  704. .ui.form .three.fields > .fields,
  705. .ui.form .three.fields > .field,
  706. .ui.form .four.fields > .fields,
  707. .ui.form .four.fields > .field,
  708. .ui.form .five.fields > .fields,
  709. .ui.form .five.fields > .field,
  710. .ui.form .fields > .two.wide.field,
  711. .ui.form .fields > .three.wide.field,
  712. .ui.form .fields > .four.wide.field,
  713. .ui.form .fields > .five.wide.field,
  714. .ui.form .fields > .six.wide.field,
  715. .ui.form .fields > .seven.wide.field,
  716. .ui.form .fields > .eight.wide.field,
  717. .ui.form .fields > .nine.wide.field,
  718. .ui.form .fields > .ten.wide.field,
  719. .ui.form .fields > .eleven.wide.field,
  720. .ui.form .fields > .twelve.wide.field,
  721. .ui.form .fields > .thirteen.wide.field,
  722. .ui.form .fields > .fourteen.wide.field,
  723. .ui.form .fields > .fifteen.wide.field,
  724. .ui.form .fields > .sixteen.wide.field {
  725. width: 100% !important;
  726. margin: 0em 0em 1em;
  727. padding-left: 0%;
  728. padding-right: 0%;
  729. }
  730. }
  731. /*--------------------
  732. Inline Fields
  733. ---------------------*/
  734. .ui.form .inline.fields {
  735. margin: 0em 0em 1em;
  736. }
  737. .ui.form .inline.fields .field {
  738. display: inline-block;
  739. float: none;
  740. margin: 0em 1em 0em 0em;
  741. padding: 0em;
  742. }
  743. .ui.form .inline.fields .field > label,
  744. .ui.form .inline.fields .field > p,
  745. .ui.form .inline.fields .field > input,
  746. .ui.form .inline.fields .field > .ui.input,
  747. .ui.form .inline.field > label,
  748. .ui.form .inline.field > p,
  749. .ui.form .inline.field > input,
  750. .ui.form .inline.field > .ui.input {
  751. display: inline-block;
  752. width: auto;
  753. margin-top: 0em;
  754. margin-bottom: 0em;
  755. vertical-align: middle;
  756. font-size: 0.9285em;
  757. }
  758. .ui.form .inline.fields .field > input,
  759. .ui.form .inline.fields .field > .ui.input,
  760. .ui.form .inline.field > input,
  761. .ui.form .inline.field > .ui.input {
  762. font-size: 0.9285em;
  763. }
  764. .ui.form .inline.fields .field > .ui.checkbox label {
  765. padding-left: 1.75em;
  766. }
  767. /* Label */
  768. .ui.form .inline.fields .field > :first-child,
  769. .ui.form .inline.field > :first-child {
  770. margin: 0em 0.2857rem 0em 0em;
  771. }
  772. .ui.form .inline.fields .field > :only-child,
  773. .ui.form .inline.field > :only-child {
  774. margin: 0em;
  775. }
  776. /*--------------------
  777. Sizes
  778. ---------------------*/
  779. /* Standard */
  780. .ui.small.form {
  781. font-size: 0.875em;
  782. }
  783. /* Medium */
  784. .ui.form {
  785. font-size: auto;
  786. }
  787. /* Large */
  788. .ui.large.form {
  789. font-size: 1.125em;
  790. }
  791. /* Huge */
  792. .ui.huge.form {
  793. font-size: 1.2em;
  794. }
  795. /*******************************
  796. Theme Overrides
  797. *******************************/
  798. /*******************************
  799. Site Overrides
  800. *******************************/