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.

833 lines
21 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
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
  1. /*
  2. * # Semantic - Form
  3. * http://github.com/semantic-org/semantic-ui/
  4. *
  5. *
  6. * Copyright 2014 Contributor
  7. * Released under the MIT license
  8. * http://opensource.org/licenses/MIT
  9. *
  10. */
  11. /*******************************
  12. Theme
  13. *******************************/
  14. /*
  15. */
  16. /*******************************
  17. Folders
  18. *******************************/
  19. /* Path to theme packages */
  20. /* Path to site override folder */
  21. /*******************************
  22. Themes
  23. *******************************/
  24. /* To override a theme for an individual element
  25. specify theme name below
  26. Be sure to update the user folder name (see README)
  27. */
  28. /* Global */
  29. /* Elements */
  30. /* Collections */
  31. /* Modules */
  32. /* Views */
  33. /*******************************
  34. Import Directives
  35. *******************************/
  36. /*------------------
  37. Load Default
  38. -------------------*/
  39. /*******************************
  40. Site Settings
  41. *******************************/
  42. /*-------------------
  43. Paths
  44. --------------------*/
  45. /*-------------------
  46. Fonts
  47. --------------------*/
  48. /*-------------------
  49. Site Colors
  50. --------------------*/
  51. /*--- Colors ---*/
  52. /*--- Light Colors ---*/
  53. /*-------------------
  54. Page
  55. --------------------*/
  56. /*-------------------
  57. Background Colors
  58. --------------------*/
  59. /* Used for differentiating neutrals */
  60. /* Used for differentiating layers */
  61. /*-------------------
  62. Grid
  63. --------------------*/
  64. /*-------------------
  65. Breakpoints
  66. --------------------*/
  67. /*******************************
  68. Power-User
  69. *******************************/
  70. /*-------------------
  71. Icons
  72. --------------------*/
  73. /* Max Width of Icon */
  74. /*-------------------
  75. Easing
  76. --------------------*/
  77. /*--- Neutrals ---*/
  78. /*--- Colored Backgrounds ---*/
  79. /*--- Colored Text ---*/
  80. /*--- Colored Headers ---*/
  81. /*-------------------
  82. Emotive Colors
  83. --------------------*/
  84. /* Mood */
  85. /* Solid Background Color */
  86. /* Status */
  87. /* Darkened Headers */
  88. /*-------------------
  89. Neutral Text
  90. --------------------*/
  91. /*-------------------
  92. Brand Colors
  93. --------------------*/
  94. /*-------------------
  95. Grid Columns
  96. --------------------*/
  97. /*-------------------
  98. Borders
  99. --------------------*/
  100. /*-------------------
  101. Sizes
  102. --------------------*/
  103. /*-------------------
  104. Transitions
  105. --------------------*/
  106. /*******************************
  107. States
  108. *******************************/
  109. /*-------------------
  110. Disabled
  111. --------------------*/
  112. /*-------------------
  113. Hover
  114. --------------------*/
  115. /*--- Colors ---*/
  116. /*--- Emotive ---*/
  117. /*--- Neutrals ---*/
  118. /*-------------------
  119. Down (:active)
  120. --------------------*/
  121. /*--- Colors ---*/
  122. /*--- Emotive ---*/
  123. /*--- Neutrals ---*/
  124. /*-------------------
  125. Active
  126. --------------------*/
  127. /*--- Standard ---*/
  128. /*--- Emotive ---*/
  129. /*--- Neutrals ---*/
  130. /*******************************
  131. Form
  132. *******************************/
  133. /*-------------------
  134. Elements
  135. --------------------*/
  136. /* Text */
  137. /* Field */
  138. /* Form Label */
  139. /* Input */
  140. /* Checkbox */
  141. /* Divider */
  142. /* Validation Prompt */
  143. /*-------------------
  144. States
  145. --------------------*/
  146. /* Disabled */
  147. /* Focus */
  148. /* Input Focus */
  149. /* Error */
  150. /* Input Error */
  151. /* Dropdown Error */
  152. /* Focused Error */
  153. /* Placeholder */
  154. /* Loading */
  155. /*-------------------
  156. Types
  157. --------------------*/
  158. /* Required */
  159. /* Inverted */
  160. /*-------------------
  161. Variations
  162. --------------------*/
  163. /* Grouped Fields */
  164. /* Inline */
  165. /* (x) Wide Field */
  166. /* Sizes */
  167. /*-------------------
  168. Groups
  169. --------------------*/
  170. /*------------------
  171. Load Theme
  172. -------------------*/
  173. /*------------------
  174. Load Site
  175. -------------------*/
  176. /*******************************
  177. User Global Variables
  178. *******************************/
  179. /*******************************
  180. User Variable Overrides
  181. *******************************/
  182. /*------------------
  183. Override Mix-in
  184. -------------------*/
  185. /*******************************
  186. Elements
  187. *******************************/
  188. /*--------------------
  189. Form
  190. ---------------------*/
  191. .ui.form {
  192. position: relative;
  193. max-width: 100%;
  194. }
  195. /*--------------------
  196. Content
  197. ---------------------*/
  198. .ui.form > p {
  199. margin: 1em 0em;
  200. }
  201. /*--------------------
  202. Field
  203. ---------------------*/
  204. .ui.form .field {
  205. clear: both;
  206. margin: 0em 0em 1em;
  207. }
  208. .ui.form :not(.fields) .field:last-child {
  209. margin-bottom: 0em;
  210. }
  211. /*--------------------
  212. Labels
  213. ---------------------*/
  214. .ui.form .grouped.fields > label,
  215. .ui.form .inline.fields > label,
  216. .ui.form .field > label {
  217. margin: 0em 0em 0.3rem 0em;
  218. display: block;
  219. color: rgba(0, 0, 0, 0.8);
  220. font-size: 0.9em;
  221. font-weight: bold;
  222. text-transform: none;
  223. }
  224. /*--------------------
  225. Standard Inputs
  226. ---------------------*/
  227. .ui.form textarea,
  228. .ui.form input[type="text"],
  229. .ui.form input[type="email"],
  230. .ui.form input[type="date"],
  231. .ui.form input[type="password"],
  232. .ui.form input[type="number"],
  233. .ui.form input[type="url"],
  234. .ui.form input[type="tel"],
  235. .ui.form .ui.input {
  236. width: 100%;
  237. }
  238. .ui.form input[type="text"],
  239. .ui.form input[type="email"],
  240. .ui.form input[type="date"],
  241. .ui.form input[type="password"],
  242. .ui.form input[type="number"],
  243. .ui.form input[type="url"],
  244. .ui.form input[type="tel"] {
  245. margin: 0em;
  246. outline: none;
  247. -webkit-appearance: none;
  248. -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
  249. line-height: 1.2;
  250. padding: 0.7em 1em;
  251. font-size: 1em;
  252. background: #ffffff;
  253. border: 1px solid rgba(0, 0, 0, 0.1);
  254. color: rgba(0, 0, 0, 0.8);
  255. border-radius: 0.3125em;
  256. box-shadow: 0em 0em 0em 0em transparent inset;
  257. box-sizing: border-box;
  258. -webkit-transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  259. transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  260. }
  261. .ui.textarea,
  262. .ui.form textarea {
  263. margin: 0em;
  264. padding: 0.8em 1em;
  265. background: #ffffff;
  266. border: 1px solid rgba(0, 0, 0, 0.1);
  267. outline: none;
  268. color: rgba(0, 0, 0, 0.8);
  269. border-radius: 0.3125em;
  270. box-shadow: 0em 0em 0em 0em transparent inset;
  271. -webkit-appearance: none;
  272. -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
  273. box-sizing: border-box;
  274. -webkit-transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  275. transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  276. font-size: 1em;
  277. height: 12em;
  278. min-height: 8em;
  279. max-height: 24em;
  280. line-height: 1.33;
  281. resize: vertical;
  282. }
  283. .ui.form textarea,
  284. .ui.form input[type="checkbox"] {
  285. vertical-align: top;
  286. }
  287. /*--------------------------
  288. Input w/ attached Button
  289. ---------------------------*/
  290. .ui.form input.attached {
  291. width: auto;
  292. }
  293. /*--------------------
  294. Dropdown
  295. ---------------------*/
  296. .ui.form .field > .selection.dropdown {
  297. width: 100%;
  298. }
  299. .ui.form .field > .selection.dropdown > .dropdown.icon {
  300. float: right;
  301. }
  302. .ui.form .inline.field > .selection.dropdown {
  303. width: auto;
  304. }
  305. .ui.form .inline.field > .selection.dropdown > .dropdown.icon {
  306. float: none;
  307. }
  308. /*--------------------
  309. Dividers
  310. ---------------------*/
  311. .ui.form .divider {
  312. clear: both;
  313. margin: 1em 0em;
  314. }
  315. /*--------------------
  316. Types of Messages
  317. ---------------------*/
  318. .ui.form .info.message,
  319. .ui.form .success.message,
  320. .ui.form .warning.message,
  321. .ui.form .error.message {
  322. display: none;
  323. }
  324. /* Assumptions */
  325. .ui.form .message:first-child {
  326. margin-top: 0px;
  327. }
  328. /*--------------------
  329. Validation Prompt
  330. ---------------------*/
  331. .ui.form .field .prompt.label {
  332. white-space: nowrap;
  333. }
  334. .ui.form .inline.field .prompt {
  335. margin: 0em 0em 0em 1em;
  336. }
  337. .ui.form .inline.field .prompt:before {
  338. margin-top: -0.3em;
  339. bottom: auto;
  340. right: auto;
  341. top: 50%;
  342. left: 0em;
  343. }
  344. /*******************************
  345. States
  346. *******************************/
  347. /*--------------------
  348. Placeholder
  349. ---------------------*/
  350. /* browsers require these rules separate */
  351. .ui.form ::-webkit-input-placeholder {
  352. color: rgba(140, 140, 140, 0.8);
  353. }
  354. .ui.form ::-moz-placeholder {
  355. color: rgba(140, 140, 140, 0.8);
  356. }
  357. .ui.form :focus::-webkit-input-placeholder {
  358. color: rgba(89, 89, 89, 0.8);
  359. }
  360. .ui.form :focus::-moz-placeholder {
  361. color: rgba(89, 89, 89, 0.8);
  362. }
  363. /* Error Placeholder */
  364. .ui.form .error ::-webkit-input-placeholder {
  365. color: #ff7169;
  366. }
  367. .ui.form .error ::-moz-placeholder {
  368. color: #ff7169;
  369. }
  370. .ui.form .error :focus::-webkit-input-placeholder {
  371. color: #ff5950;
  372. }
  373. .ui.form .error :focus::-moz-placeholder {
  374. color: #ff5950;
  375. }
  376. /*--------------------
  377. Focus
  378. ---------------------*/
  379. .ui.form input[type="text"]:focus,
  380. .ui.form input[type="email"]:focus,
  381. .ui.form input[type="date"]:focus,
  382. .ui.form input[type="password"]:focus,
  383. .ui.form input[type="number"]:focus,
  384. .ui.form input[type="url"]:focus,
  385. .ui.form input[type="tel"]:focus,
  386. .ui.form textarea:focus {
  387. color: rgba(0, 0, 0, 0.85);
  388. border-color: rgba(0, 0, 0, 0.2);
  389. border-radius: 0em 0.3125em 0.3125em 0em;
  390. background: #ffffff;
  391. box-shadow: 1px 0em 0em 0em rgba(0, 0, 0, 0.2) inset;
  392. -webkit-appearance: none;
  393. }
  394. /*--------------------
  395. Success
  396. ---------------------*/
  397. /* On Form */
  398. .ui.form.success .success.message {
  399. display: block;
  400. }
  401. /*--------------------
  402. Error
  403. ---------------------*/
  404. /* On Form */
  405. .ui.form.warning .warning.message {
  406. display: block;
  407. }
  408. /*--------------------
  409. Warning
  410. ---------------------*/
  411. /* On Form */
  412. .ui.form.error .error.message {
  413. display: block;
  414. }
  415. /* On Field(s) */
  416. .ui.form .fields.error .field label,
  417. .ui.form .field.error label,
  418. .ui.form .fields.error .field .input,
  419. .ui.form .field.error .input {
  420. color: #ff4136;
  421. }
  422. .ui.form .fields.error .field .corner.label,
  423. .ui.form .field.error .corner.label {
  424. border-color: #ff4136;
  425. color: #ffffff;
  426. }
  427. .ui.form .fields.error .field textarea,
  428. .ui.form .fields.error .field input[type="text"],
  429. .ui.form .fields.error .field input[type="email"],
  430. .ui.form .fields.error .field input[type="date"],
  431. .ui.form .fields.error .field input[type="password"],
  432. .ui.form .fields.error .field input[type="number"],
  433. .ui.form .fields.error .field input[type="url"],
  434. .ui.form .fields.error .field input[type="tel"],
  435. .ui.form .field.error textarea,
  436. .ui.form .field.error input[type="text"],
  437. .ui.form .field.error input[type="email"],
  438. .ui.form .field.error input[type="date"],
  439. .ui.form .field.error input[type="password"],
  440. .ui.form .field.error input[type="number"],
  441. .ui.form .field.error input[type="url"],
  442. .ui.form .field.error input[type="tel"] {
  443. background: #fae8e8;
  444. border-color: #dbb1b1;
  445. color: #ff4136;
  446. border-radius: 0em 0.3125em 0.3125em 0em;
  447. box-shadow: 2px 0em 0em 0em #ff4136 inset;
  448. }
  449. .ui.form .field.error textarea:focus,
  450. .ui.form .field.error input[type="text"]:focus,
  451. .ui.form .field.error input[type="email"]:focus,
  452. .ui.form .field.error input[type="date"]:focus,
  453. .ui.form .field.error input[type="password"]:focus,
  454. .ui.form .field.error input[type="number"]:focus,
  455. .ui.form .field.error input[type="url"]:focus,
  456. .ui.form .field.error input[type="tel"]:focus {
  457. background: #fae8e8;
  458. border-color: #dbb1b1;
  459. color: #ff635a;
  460. -webkit-appearance: none;
  461. box-shadow: 2px 0em 0em 0em #ff635a inset;
  462. }
  463. /*------------------
  464. Dropdown Error
  465. --------------------*/
  466. .ui.form .fields.error .field .ui.dropdown,
  467. .ui.form .fields.error .field .ui.dropdown .item,
  468. .ui.form .field.error .ui.dropdown,
  469. .ui.form .field.error .ui.dropdown .text,
  470. .ui.form .field.error .ui.dropdown .item {
  471. background: #fae8e8;
  472. color: #ff4136;
  473. }
  474. .ui.form .fields.error .field .ui.dropdown,
  475. .ui.form .field.error .ui.dropdown {
  476. box-shadow: 0px 0px 0px 1px #dbb1b1 !important;
  477. }
  478. .ui.form .fields.error .field .ui.dropdown:hover,
  479. .ui.form .field.error .ui.dropdown:hover {
  480. box-shadow: 0px 0px 0px 1px #dbb1b1 !important;
  481. }
  482. .ui.form .fields.error .field .ui.dropdown:hover .menu,
  483. .ui.form .field.error .ui.dropdown:hover .menu {
  484. box-shadow: 0px 1px 0px 1px #dbb1b1;
  485. }
  486. /* Hover */
  487. .ui.form .fields.error .field .ui.dropdown .menu .item:hover,
  488. .ui.form .field.error .ui.dropdown .menu .item:hover {
  489. background-color: #fff2f2;
  490. }
  491. /* Active */
  492. .ui.form .fields.error .field .ui.dropdown .menu .active.item,
  493. .ui.form .field.error .ui.dropdown .menu .active.item {
  494. background-color: #fdcfcf !important;
  495. }
  496. /*--------------------
  497. Checkbox Error
  498. ---------------------*/
  499. .ui.form .fields.error .field .checkbox:not(.toggle):not(.slider) label,
  500. .ui.form .field.error .checkbox:not(.toggle):not(.slider) label,
  501. .ui.form .fields.error .field .checkbox:not(.toggle):not(.slider) .box,
  502. .ui.form .field.error .checkbox:not(.toggle):not(.slider) .box {
  503. color: #ff4136;
  504. }
  505. .ui.form .fields.error .field .checkbox:not(.toggle):not(.slider) label:before,
  506. .ui.form .field.error .checkbox:not(.toggle):not(.slider) label:before,
  507. .ui.form .fields.error .field .checkbox:not(.toggle):not(.slider) .box:before,
  508. .ui.form .field.error .checkbox:not(.toggle):not(.slider) .box:before {
  509. background: #fae8e8;
  510. border-color: #dbb1b1;
  511. }
  512. .ui.form .fields.error .field .checkbox label:after,
  513. .ui.form .field.error .checkbox label:after,
  514. .ui.form .fields.error .field .checkbox .box:after,
  515. .ui.form .field.error .checkbox .box:after {
  516. color: #ff4136;
  517. }
  518. /*--------------------
  519. Disabled
  520. ---------------------*/
  521. .ui.form .field :disabled,
  522. .ui.form .field.disabled {
  523. opacity: 0.5;
  524. }
  525. .ui.form .field.disabled label {
  526. opacity: 0.5;
  527. }
  528. .ui.form .field.disabled :disabled {
  529. opacity: 1;
  530. }
  531. /*--------------------
  532. Loading State
  533. ---------------------*/
  534. /* On Form */
  535. .ui.form.loading {
  536. position: relative;
  537. }
  538. .ui.form.loading:after {
  539. position: absolute;
  540. top: 0%;
  541. left: 0%;
  542. content: '';
  543. width: 100%;
  544. height: 100%;
  545. background: rgba(255, 255, 255, 0.6) url("../../themes/packages/default/assets/images/loader-large.gif") no-repeat 50% 50%;
  546. visibility: visible;
  547. }
  548. /*******************************
  549. Element Types
  550. *******************************/
  551. /*--------------------
  552. Required Field
  553. ---------------------*/
  554. .ui.form .required.fields > .field > label:after,
  555. .ui.form .required.fields > .field > .checkbox:after,
  556. .ui.form .required.field > label:after,
  557. .ui.form .required.field > .checkbox:after {
  558. margin: -0.2em 0em 0em 0.2em;
  559. vertical-align: top;
  560. content: '*';
  561. color: #ff4136;
  562. }
  563. /*--------------------
  564. Date Input
  565. ---------------------*/
  566. .ui.form .date.field > label {
  567. position: relative;
  568. }
  569. .ui.form .date.field > label:after {
  570. position: absolute;
  571. top: 2em;
  572. right: 0.5em;
  573. font-family: 'Icons';
  574. content: '\f133';
  575. font-size: 1.2em;
  576. font-weight: normal;
  577. color: #CCCCCC;
  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: #ffffff;
  592. }
  593. .ui.inverted.form.loading:after {
  594. background: rgba(0, 0, 0, 0.8) url("../../themes/packages/default/assets/images/loader-large-inverted.gif") no-repeat 50% 50%;
  595. }
  596. /*--------------------
  597. Field Groups
  598. ---------------------*/
  599. /* Grouped Vertically */
  600. .ui.form .grouped.fields {
  601. margin: 0em 0em 1em;
  602. }
  603. .ui.form .grouped.fields:last-child {
  604. margin-bottom: 0em;
  605. }
  606. .ui.form .grouped.fields .field {
  607. display: block;
  608. float: none;
  609. margin: 0.5em 0em;
  610. padding: 0em;
  611. }
  612. .ui.form .inline.grouped.fields > label {
  613. margin-bottom: 0.5rem;
  614. }
  615. /*--------------------
  616. Fields
  617. ---------------------*/
  618. /* Split fields */
  619. .ui.form .fields {
  620. clear: both;
  621. }
  622. .ui.form .fields:after {
  623. content: ' ';
  624. display: block;
  625. clear: both;
  626. visibility: hidden;
  627. line-height: 0;
  628. height: 0;
  629. }
  630. .ui.form .fields > .field {
  631. clear: none;
  632. float: left;
  633. box-sizing: border-box;
  634. padding-left: 1%;
  635. padding-right: 1%;
  636. }
  637. .ui.form .fields > .field:first-child {
  638. border-left: none;
  639. box-shadow: none;
  640. }
  641. /* Other Combinations */
  642. .ui.form .two.fields > .fields,
  643. .ui.form .two.fields > .field {
  644. width: 50%;
  645. }
  646. .ui.form .three.fields > .fields,
  647. .ui.form .three.fields > .field {
  648. width: 33.33333333%;
  649. }
  650. .ui.form .four.fields > .fields,
  651. .ui.form .four.fields > .field {
  652. width: 25%;
  653. }
  654. .ui.form .five.fields > .fields,
  655. .ui.form .five.fields > .field {
  656. width: 20%;
  657. }
  658. /* Swap to full width on mobile */
  659. @media only screen and (max-width: 767px) {
  660. .ui.form .two.fields > .fields,
  661. .ui.form .two.fields > .field,
  662. .ui.form .three.fields > .fields,
  663. .ui.form .three.fields > .field,
  664. .ui.form .four.fields > .fields,
  665. .ui.form .four.fields > .field,
  666. .ui.form .five.fields > .fields,
  667. .ui.form .five.fields > .field {
  668. width: 100%;
  669. padding-left: 0%;
  670. padding-right: 0%;
  671. }
  672. }
  673. .ui.form .fields .field:first-child {
  674. padding-left: 0%;
  675. }
  676. .ui.form .fields .field:last-child {
  677. padding-right: 0%;
  678. }
  679. /* Sizing Combinations */
  680. .ui.form .fields .wide.field {
  681. width: 6.25%;
  682. padding-left: 1%;
  683. padding-right: 1%;
  684. }
  685. .ui.form .fields .wide.field:first-child {
  686. padding-left: 0%;
  687. }
  688. .ui.form .fields .wide.field:last-child {
  689. padding-right: 0%;
  690. }
  691. .ui.form .one.wide.field {
  692. width: 6.25% !important;
  693. }
  694. .ui.form .two.wide.field {
  695. width: 12.5% !important;
  696. }
  697. .ui.form .three.wide.field {
  698. width: 18.75% !important;
  699. }
  700. .ui.form .four.wide.field {
  701. width: 25% !important;
  702. }
  703. .ui.form .five.wide.field {
  704. width: 31.25% !important;
  705. }
  706. .ui.form .six.wide.field {
  707. width: 37.5% !important;
  708. }
  709. .ui.form .seven.wide.field {
  710. width: 43.75% !important;
  711. }
  712. .ui.form .eight.wide.field {
  713. width: 50% !important;
  714. }
  715. .ui.form .nine.wide.field {
  716. width: 56.25% !important;
  717. }
  718. .ui.form .ten.wide.field {
  719. width: 62.5% !important;
  720. }
  721. .ui.form .eleven.wide.field {
  722. width: 68.75% !important;
  723. }
  724. .ui.form .twelve.wide.field {
  725. width: 75% !important;
  726. }
  727. .ui.form .thirteen.wide.field {
  728. width: 81.25% !important;
  729. }
  730. .ui.form .fourteen.wide.field {
  731. width: 87.5% !important;
  732. }
  733. .ui.form .fifteen.wide.field {
  734. width: 93.75% !important;
  735. }
  736. .ui.form .sixteen.wide.field {
  737. width: 100% !important;
  738. }
  739. /* Swap to full width on mobile */
  740. @media only screen and (max-width: 767px) {
  741. .ui.form .two.fields > .fields,
  742. .ui.form .two.fields > .field,
  743. .ui.form .three.fields > .fields,
  744. .ui.form .three.fields > .field,
  745. .ui.form .four.fields > .fields,
  746. .ui.form .four.fields > .field,
  747. .ui.form .five.fields > .fields,
  748. .ui.form .five.fields > .field,
  749. .ui.form .fields > .two.wide.field,
  750. .ui.form .fields > .three.wide.field,
  751. .ui.form .fields > .four.wide.field,
  752. .ui.form .fields > .five.wide.field,
  753. .ui.form .fields > .six.wide.field,
  754. .ui.form .fields > .seven.wide.field,
  755. .ui.form .fields > .eight.wide.field,
  756. .ui.form .fields > .nine.wide.field,
  757. .ui.form .fields > .ten.wide.field,
  758. .ui.form .fields > .eleven.wide.field,
  759. .ui.form .fields > .twelve.wide.field,
  760. .ui.form .fields > .thirteen.wide.field,
  761. .ui.form .fields > .fourteen.wide.field,
  762. .ui.form .fields > .fifteen.wide.field,
  763. .ui.form .fields > .sixteen.wide.field {
  764. width: 100%;
  765. padding-left: 0%;
  766. padding-right: 0%;
  767. }
  768. }
  769. /*--------------------
  770. Inline Fields
  771. ---------------------*/
  772. .ui.form .inline.fields {
  773. margin: 0em 0em 1em;
  774. }
  775. .ui.form .inline.fields .field {
  776. display: inline-block;
  777. margin: 0em 1em 0em 0em;
  778. padding: 0em;
  779. }
  780. .ui.form .inline.fields .field > label,
  781. .ui.form .inline.fields .field > p,
  782. .ui.form .inline.fields .field > input,
  783. .ui.form .inline.field > label,
  784. .ui.form .inline.field > p,
  785. .ui.form .inline.field > input {
  786. display: inline-block;
  787. width: auto;
  788. margin-top: 0em;
  789. margin-bottom: 0em;
  790. vertical-align: middle;
  791. font-size: 1em;
  792. }
  793. .ui.form .inline.fields .field > input,
  794. .ui.form .inline.field > input {
  795. font-size: 1em;
  796. }
  797. /* Label */
  798. .ui.form .inline.fields .field > :first-child,
  799. .ui.form .inline.field > :first-child {
  800. margin: 0em 0.3rem 0em 0em;
  801. }
  802. .ui.form .inline.fields .field > :only-child,
  803. .ui.form .inline.field > :only-child {
  804. margin: 0em;
  805. }
  806. /*--------------------
  807. Sizes
  808. ---------------------*/
  809. /* Standard */
  810. .ui.small.form {
  811. font-size: 0.875em;
  812. }
  813. /* Medium */
  814. .ui.form {
  815. font-size: auto;
  816. }
  817. /* Large */
  818. .ui.large.form {
  819. font-size: 1.125em;
  820. }
  821. /* Huge */
  822. .ui.huge.form {
  823. font-size: 1.2em;
  824. }