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.

836 lines
19 KiB

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