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.

514 lines
8.8 KiB

Merge branch 'css' of github.com:Semantic-Org/Semantic-UI into css Conflicts: build/less/collections/menu.less build/less/elements/button.less build/less/elements/icon.less build/less/elements/input.less build/less/elements/progress.less build/less/modules/accordion.less build/less/modules/checkbox.less build/less/modules/dimmer.less build/less/modules/popup.less build/less/modules/transition.less build/less/semantic.config build/less/themes/github/elements/button.overrides build/less/themes/github/elements/button.variables build/minified/collections/breadcrumb.min.css build/minified/collections/form.min.css build/minified/collections/grid.min.css build/minified/collections/menu.min.css build/minified/collections/message.min.css build/minified/collections/table.min.css build/minified/elements/button.min.css build/minified/elements/divider.min.css build/minified/elements/header.min.css build/minified/elements/icon.min.css build/minified/elements/image.min.css build/minified/elements/input.min.css build/minified/elements/label.min.css build/minified/elements/loader.min.css build/minified/elements/progress.min.css build/minified/elements/reveal.min.css build/minified/elements/segment.min.css build/minified/elements/step.min.css build/minified/modules/accordion.min.css build/minified/modules/chatroom.min.css build/minified/modules/checkbox.min.css build/minified/modules/dimmer.min.css build/minified/modules/dropdown.min.css build/minified/modules/modal.min.css build/minified/modules/nag.min.css build/minified/modules/popup.min.css build/minified/modules/rating.min.css build/minified/modules/search.min.css build/minified/modules/shape.min.css build/minified/modules/sidebar.min.css build/minified/modules/tab.min.css build/minified/modules/transition.min.css build/minified/modules/video.min.css build/minified/themes/github/elements/button.overrides build/minified/themes/github/elements/button.variables build/minified/views/comment.min.css build/minified/views/feed.min.css build/minified/views/item.min.css build/minified/views/list.min.css build/minified/views/statistic.min.css build/packaged/css/semantic.css build/packaged/css/semantic.min.css build/packaged/javascript/semantic.min.js build/packaged/themes/github/elements/button.overrides build/packaged/themes/github/elements/button.variables build/uncompressed/elements/button.css build/uncompressed/elements/header.css build/uncompressed/elements/icon.css build/uncompressed/elements/image.css build/uncompressed/elements/segment.css build/uncompressed/themes/github/elements/button.overrides build/uncompressed/themes/github/elements/button.variables rtl/less/collections/menu.less rtl/less/elements/basic.icon.less rtl/less/elements/button.less rtl/less/elements/icon.less rtl/less/elements/input.less rtl/less/elements/segment.less rtl/less/modules/accordion.less rtl/less/modules/checkbox.less rtl/less/modules/dimmer.less rtl/less/modules/dropdown.less rtl/less/modules/popup.less rtl/less/modules/transition.less rtl/minified/collections/breadcrumb.min.css rtl/minified/collections/form.min.css rtl/minified/collections/grid.min.css rtl/minified/collections/menu.min.css rtl/minified/collections/message.min.css rtl/minified/collections/table.min.css rtl/minified/elements/basic.icon.min.css rtl/minified/elements/button.min.css rtl/minified/elements/divider.min.css rtl/minified/elements/header.min.css rtl/minified/elements/icon.min.css rtl/minified/elements/image.min.css rtl/minified/elements/input.min.css rtl/minified/elements/label.min.css rtl/minified/elements/loader.min.css rtl/minified/elements/progress.min.css rtl/minified/elements/reveal.min.css rtl/minified/elements/segment.min.css rtl/minified/elements/step.min.css rtl/minified/modules/accordion.min.css rtl/minified/modules/chatroom.min.css rtl/minified/modules/checkbox.min.css rtl/minified/modules/dimmer.min.css rtl/minified/modules/dropdown.min.css rtl/minified/modules/modal.min.css rtl/minified/modules/nag.min.css rtl/minified/modules/popup.min.css rtl/minified/modules/rating.min.css rtl/minified/modules/search.min.css rtl/minified/modules/shape.min.css rtl/minified/modules/sidebar.min.css rtl/minified/modules/tab.min.css rtl/minified/modules/transition.min.css rtl/minified/modules/video.min.css rtl/minified/views/comment.min.css rtl/minified/views/feed.min.css rtl/minified/views/item.min.css rtl/minified/views/list.min.css rtl/minified/views/statistic.min.css rtl/packaged/css/semantic.css rtl/packaged/css/semantic.min.css rtl/packaged/javascript/semantic.min.js rtl/uncompressed/elements/basic.icon.css rtl/uncompressed/elements/icon.css server/files/stylesheets/library/basic.icon.css src/elements/icon.less
11 years ago
Merge branch 'css' of github.com:Semantic-Org/Semantic-UI into css Conflicts: build/less/collections/menu.less build/less/elements/button.less build/less/elements/icon.less build/less/elements/input.less build/less/elements/progress.less build/less/modules/accordion.less build/less/modules/checkbox.less build/less/modules/dimmer.less build/less/modules/popup.less build/less/modules/transition.less build/less/semantic.config build/less/themes/github/elements/button.overrides build/less/themes/github/elements/button.variables build/minified/collections/breadcrumb.min.css build/minified/collections/form.min.css build/minified/collections/grid.min.css build/minified/collections/menu.min.css build/minified/collections/message.min.css build/minified/collections/table.min.css build/minified/elements/button.min.css build/minified/elements/divider.min.css build/minified/elements/header.min.css build/minified/elements/icon.min.css build/minified/elements/image.min.css build/minified/elements/input.min.css build/minified/elements/label.min.css build/minified/elements/loader.min.css build/minified/elements/progress.min.css build/minified/elements/reveal.min.css build/minified/elements/segment.min.css build/minified/elements/step.min.css build/minified/modules/accordion.min.css build/minified/modules/chatroom.min.css build/minified/modules/checkbox.min.css build/minified/modules/dimmer.min.css build/minified/modules/dropdown.min.css build/minified/modules/modal.min.css build/minified/modules/nag.min.css build/minified/modules/popup.min.css build/minified/modules/rating.min.css build/minified/modules/search.min.css build/minified/modules/shape.min.css build/minified/modules/sidebar.min.css build/minified/modules/tab.min.css build/minified/modules/transition.min.css build/minified/modules/video.min.css build/minified/themes/github/elements/button.overrides build/minified/themes/github/elements/button.variables build/minified/views/comment.min.css build/minified/views/feed.min.css build/minified/views/item.min.css build/minified/views/list.min.css build/minified/views/statistic.min.css build/packaged/css/semantic.css build/packaged/css/semantic.min.css build/packaged/javascript/semantic.min.js build/packaged/themes/github/elements/button.overrides build/packaged/themes/github/elements/button.variables build/uncompressed/elements/button.css build/uncompressed/elements/header.css build/uncompressed/elements/icon.css build/uncompressed/elements/image.css build/uncompressed/elements/segment.css build/uncompressed/themes/github/elements/button.overrides build/uncompressed/themes/github/elements/button.variables rtl/less/collections/menu.less rtl/less/elements/basic.icon.less rtl/less/elements/button.less rtl/less/elements/icon.less rtl/less/elements/input.less rtl/less/elements/segment.less rtl/less/modules/accordion.less rtl/less/modules/checkbox.less rtl/less/modules/dimmer.less rtl/less/modules/dropdown.less rtl/less/modules/popup.less rtl/less/modules/transition.less rtl/minified/collections/breadcrumb.min.css rtl/minified/collections/form.min.css rtl/minified/collections/grid.min.css rtl/minified/collections/menu.min.css rtl/minified/collections/message.min.css rtl/minified/collections/table.min.css rtl/minified/elements/basic.icon.min.css rtl/minified/elements/button.min.css rtl/minified/elements/divider.min.css rtl/minified/elements/header.min.css rtl/minified/elements/icon.min.css rtl/minified/elements/image.min.css rtl/minified/elements/input.min.css rtl/minified/elements/label.min.css rtl/minified/elements/loader.min.css rtl/minified/elements/progress.min.css rtl/minified/elements/reveal.min.css rtl/minified/elements/segment.min.css rtl/minified/elements/step.min.css rtl/minified/modules/accordion.min.css rtl/minified/modules/chatroom.min.css rtl/minified/modules/checkbox.min.css rtl/minified/modules/dimmer.min.css rtl/minified/modules/dropdown.min.css rtl/minified/modules/modal.min.css rtl/minified/modules/nag.min.css rtl/minified/modules/popup.min.css rtl/minified/modules/rating.min.css rtl/minified/modules/search.min.css rtl/minified/modules/shape.min.css rtl/minified/modules/sidebar.min.css rtl/minified/modules/tab.min.css rtl/minified/modules/transition.min.css rtl/minified/modules/video.min.css rtl/minified/views/comment.min.css rtl/minified/views/feed.min.css rtl/minified/views/item.min.css rtl/minified/views/list.min.css rtl/minified/views/statistic.min.css rtl/packaged/css/semantic.css rtl/packaged/css/semantic.min.css rtl/packaged/javascript/semantic.min.js rtl/uncompressed/elements/basic.icon.css rtl/uncompressed/elements/icon.css server/files/stylesheets/library/basic.icon.css src/elements/icon.less
11 years ago
  1. /*
  2. * # Semantic - Input
  3. * http://github.com/semantic-org/semantic-ui/
  4. *
  5. *
  6. * Copyright 2013 Contributors
  7. * Released under the MIT license
  8. * http://opensource.org/licenses/MIT
  9. *
  10. */
  11. /*******************************
  12. Theme
  13. *******************************/
  14. /*-------------------
  15. Theme
  16. --------------------*/
  17. /* To override a theme for an individual element
  18. specify theme name below
  19. */
  20. /* Theme to load site variables */
  21. /* Path to user override folder */
  22. /* Elements */
  23. /* Collections */
  24. /* Modules */
  25. /* Views */
  26. /* Import */
  27. /*******************************
  28. Global Variables
  29. *******************************/
  30. /*-------------------
  31. Paths
  32. --------------------*/
  33. /*-------------------
  34. Page
  35. --------------------*/
  36. /*-------------------
  37. Breakpoints
  38. --------------------*/
  39. /*-------------------
  40. Fonts
  41. --------------------*/
  42. /*-------------------
  43. Icons
  44. --------------------*/
  45. /* Width of largest icon */
  46. /*******************************
  47. BG Colors
  48. *******************************/
  49. /*******************************
  50. Colors
  51. *******************************/
  52. /*-------------------
  53. Background
  54. --------------------*/
  55. /*--- Colors ---*/
  56. /*--- Emotive ---*/
  57. /*--- Neutrals ---*/
  58. /*-------------------
  59. Text Colors
  60. --------------------*/
  61. /*-------------------
  62. Brand Colors
  63. --------------------*/
  64. /*-------------------
  65. Borders
  66. --------------------*/
  67. /*-------------------
  68. Sizes
  69. --------------------*/
  70. /*-------------------
  71. Transitions
  72. --------------------*/
  73. /*******************************
  74. States
  75. *******************************/
  76. /*-------------------
  77. Disabled
  78. --------------------*/
  79. /*-------------------
  80. Hover
  81. --------------------*/
  82. /*--- Colors ---*/
  83. /*--- Emotive ---*/
  84. /*--- Neutrals ---*/
  85. /*-------------------
  86. Down (:active)
  87. --------------------*/
  88. /*--- Colors ---*/
  89. /*--- Emotive ---*/
  90. /*--- Neutrals ---*/
  91. /*-------------------
  92. Active
  93. --------------------*/
  94. /*--- Standard ---*/
  95. /*--- Emotive ---*/
  96. /*--- Neutrals ---*/
  97. /*-------------------
  98. Globals Used
  99. --------------------*/
  100. /*-------------------
  101. Element
  102. --------------------*/
  103. /*-------------------
  104. Types
  105. --------------------*/
  106. /* Icon */
  107. /* Circular Icon Input */
  108. /* Labeled */
  109. /*-------------------
  110. States
  111. --------------------*/
  112. /* Placeholder */
  113. /* Down */
  114. /* Focus */
  115. /* Error */
  116. /* Loading */
  117. /*-------------------
  118. Variations
  119. --------------------*/
  120. /* Sizing */
  121. /*******************************
  122. User Global Variables
  123. *******************************/
  124. /*******************************
  125. User Variable Overrides
  126. *******************************/
  127. /*******************************
  128. User Global Variables
  129. *******************************/
  130. /*******************************
  131. User Variable Overrides
  132. *******************************/
  133. /*******************************
  134. Standard
  135. *******************************/
  136. /*--------------------
  137. Inputs
  138. ---------------------*/
  139. .ui.input {
  140. display: inline-block;
  141. position: relative;
  142. color: rgba(0, 0, 0, 0.7);
  143. }
  144. .ui.input input {
  145. width: 100%;
  146. font-family: "Helvetica Neue", "Helvetica", Arial;
  147. margin: 0em;
  148. padding: 0.65em 1em;
  149. background: #ffffff;
  150. border: 1px solid rgba(0, 0, 0, 0.15);
  151. outline: none;
  152. color: rgba(0, 0, 0, 0.7);
  153. border-radius: 0.3125em;
  154. -webkit-transition: background-color 0.3s ease-out, -webkit-box-shadow 0.2s ease, border-color 0.2s ease;
  155. transition: background-color 0.3s ease-out, box-shadow 0.2s ease, border-color 0.2s ease;
  156. -webkit-box-shadow: none;
  157. box-shadow: none;
  158. -webkit-box-sizing: border-box;
  159. -moz-box-sizing: border-box;
  160. box-sizing: border-box;
  161. -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
  162. }
  163. /*--------------------
  164. Placeholder
  165. ---------------------*/
  166. /* browsers require these rules separate */
  167. .ui.input input::-webkit-input-placeholder {
  168. color: rgba(0, 0, 0, 0.4);
  169. }
  170. .ui.input input::-moz-placeholder {
  171. color: rgba(0, 0, 0, 0.4);
  172. }
  173. /*******************************
  174. States
  175. *******************************/
  176. /*--------------------
  177. Active
  178. ---------------------*/
  179. .ui.input input:active,
  180. .ui.input.down input {
  181. border-color: rgba(0, 0, 0, 0.3);
  182. background: #fafafa;
  183. color: rgba(0, 0, 0, 0.7);
  184. -webkit-box-shadow: none;
  185. box-shadow: none;
  186. }
  187. /*--------------------
  188. Loading
  189. ---------------------*/
  190. .ui.loading.input > .icon {
  191. background: url("../images/loader-mini.gif") no-repeat 50% 50%;
  192. }
  193. .ui.loading.input > .icon:before,
  194. .ui.loading.input > .icon:after {
  195. display: none;
  196. }
  197. /*--------------------
  198. Focus
  199. ---------------------*/
  200. .ui.input.focus input,
  201. .ui.input input:focus {
  202. border-color: rgba(0, 0, 0, 0.2);
  203. background: '';
  204. color: rgba(0, 0, 0, 0.8);
  205. -webkit-box-shadow: none;
  206. box-shadow: none;
  207. }
  208. .ui.input.focus input input::-webkit-input-placeholder,
  209. .ui.input input:focus input::-webkit-input-placeholder {
  210. color: rgba(0, 0, 0, 0.7);
  211. }
  212. .ui.input.focus input input::-moz-placeholder,
  213. .ui.input input:focus input::-moz-placeholder {
  214. color: rgba(0, 0, 0, 0.7);
  215. }
  216. /*--------------------
  217. Error
  218. ---------------------*/
  219. .ui.input.error input {
  220. background-color: #fffafa;
  221. border-color: #e7bebe;
  222. color: #d95c5c;
  223. -webkit-box-shadow: none;
  224. box-shadow: none;
  225. }
  226. /* Error Placeholder */
  227. .ui.input.error input ::-webkit-input-placeholder {
  228. color: rgba(255, 80, 80, 0.4);
  229. }
  230. .ui.input.error input ::-moz-placeholder {
  231. color: rgba(255, 80, 80, 0.4);
  232. }
  233. /* Focused Error Placeholder */
  234. .ui.input.error input :focus::-webkit-input-placeholder {
  235. color: rgba(255, 80, 80, 0.7);
  236. }
  237. .ui.input.error input :focus::-moz-placeholder {
  238. color: rgba(255, 80, 80, 0.7);
  239. }
  240. /*******************************
  241. Variations
  242. *******************************/
  243. /*--------------------
  244. Transparent
  245. ---------------------*/
  246. .ui.transparent.input input {
  247. border: none;
  248. background-color: transparent;
  249. padding-left: 0em;
  250. padding-right: 0em;
  251. }
  252. /*--------------------
  253. Icon
  254. ---------------------*/
  255. .ui.icon.input > .icon {
  256. cursor: default;
  257. position: absolute;
  258. opacity: 0.5;
  259. top: 0px;
  260. right: 0px;
  261. margin: 0em;
  262. width: 2.8em;
  263. height: 100%;
  264. padding-top: 0.82em;
  265. text-align: center;
  266. border-radius: 0em 0.3125em 0.3125em 0em;
  267. -webkit-box-sizing: border-box;
  268. -moz-box-sizing: border-box;
  269. box-sizing: border-box;
  270. -webkit-transition: opacity 0.3s ease-out;
  271. transition: opacity 0.3s ease-out;
  272. }
  273. .ui.icon.input > .link.icon {
  274. cursor: pointer;
  275. }
  276. .ui.icon.input input {
  277. padding-right: 2.75em !important;
  278. }
  279. .ui.icon.input > .circular.icon {
  280. top: 0.35em;
  281. right: 0.5em;
  282. }
  283. /* Left Icon Input */
  284. .ui.left.icon.input > .icon {
  285. right: auto;
  286. left: 1px;
  287. border-radius: 0.3125em 0em 0em 0.3125em;
  288. }
  289. .ui.left.icon.input > .circular.icon {
  290. right: auto;
  291. left: 0.5em;
  292. }
  293. .ui.left.icon.input > input {
  294. padding-left: 2.75em !important;
  295. padding-right: 1em !important;
  296. }
  297. /* Focus */
  298. .ui.icon.input > input:focus ~ .icon {
  299. opacity: 1;
  300. }
  301. /*--------------------
  302. Labeled
  303. ---------------------*/
  304. .ui.labeled.input .corner.label {
  305. top: 1px;
  306. right: 1px;
  307. font-size: 0.55em;
  308. border-top-right-radius: 0.3125em;
  309. }
  310. .ui.labeled.input .corner.label > .icon {
  311. margin: 0.4em 0em 0em 2em;
  312. }
  313. .ui.labeled.input input {
  314. padding-right: 2.5em !important;
  315. }
  316. /* Spacing with corner label */
  317. .ui.labeled.icon.input:not(.left) > input {
  318. padding-right: 3.25em !important;
  319. }
  320. .ui.labeled.icon.input:not(.left) > .icon {
  321. margin-right: 1.25em;
  322. }
  323. /*--------------------
  324. Action
  325. ---------------------*/
  326. .ui.action.input {
  327. display: table;
  328. }
  329. .ui.action.input > input {
  330. display: table-cell;
  331. border-top-right-radius: 0px !important;
  332. border-bottom-right-radius: 0px !important;
  333. border-right: none;
  334. }
  335. .ui.action.input > .button,
  336. .ui.action.input > .buttons {
  337. display: table-cell;
  338. border-top-left-radius: 0px;
  339. border-bottom-left-radius: 0px;
  340. white-space: nowrap;
  341. }
  342. .ui.action.input > .button > .icon,
  343. .ui.action.input > .buttons > .button > .icon {
  344. display: inline;
  345. vertical-align: top;
  346. }
  347. .ui.fluid.action.input {
  348. display: table;
  349. width: 100%;
  350. }
  351. .ui.fluid.action.input > .button {
  352. width: 0.01%;
  353. }
  354. /*--------------------
  355. Fluid
  356. ---------------------*/
  357. .ui.fluid.input {
  358. display: block;
  359. }
  360. /*--------------------
  361. Size
  362. ---------------------*/
  363. .ui.mini.input {
  364. font-size: 0.8125rem;
  365. }
  366. .ui.small.input {
  367. font-size: 0.875rem;
  368. }
  369. .ui.input {
  370. font-size: 1rem;
  371. }
  372. .ui.large.input {
  373. font-size: 1.125rem;
  374. }
  375. .ui.big.input {
  376. font-size: 1.25rem;
  377. }
  378. .ui.huge.input {
  379. font-size: 1.375rem;
  380. }
  381. .ui.massive.input {
  382. font-size: 1.5rem;
  383. }
  384. /*******************************
  385. Overrides
  386. *******************************/
  387. /*******************************
  388. Overrides
  389. *******************************/