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.

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