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.

995 lines
23 KiB

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