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.

992 lines
23 KiB

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