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.

446 lines
9.1 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
10 years ago
  1. /*
  2. * # Semantic UI - 1.7.2
  3. * https://github.com/Semantic-Org/Semantic-UI
  4. * http://www.semantic-ui.com/
  5. *
  6. * Copyright 2014 Contributors
  7. * Released under the MIT license
  8. * http://opensource.org/licenses/MIT
  9. *
  10. */
  11. /*******************************
  12. Standard
  13. *******************************/
  14. /*--------------------
  15. Inputs
  16. ---------------------*/
  17. .ui.input {
  18. position: relative;
  19. display: inline-block;
  20. color: rgba(0, 0, 0, 0.8);
  21. }
  22. .ui.input input {
  23. margin: 0em;
  24. width: 100%;
  25. outline: none;
  26. -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
  27. text-align: left;
  28. line-height: 1.2142em;
  29. font-family: 'Lato', 'Helvetica Neue', Arial, Helvetica, sans-serif;
  30. padding: 0.67861em 1em;
  31. background: #ffffff;
  32. border: 1px solid rgba(0, 0, 0, 0.15);
  33. color: rgba(0, 0, 0, 0.8);
  34. border-radius: 0.2857rem;
  35. -webkit-transition: background-color 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  36. transition: background-color 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  37. box-shadow: none;
  38. }
  39. /*--------------------
  40. Placeholder
  41. ---------------------*/
  42. /* browsers require these rules separate */
  43. .ui.input input::-webkit-input-placeholder {
  44. color: rgba(0, 0, 0, 0.4);
  45. }
  46. .ui.input input::-moz-placeholder {
  47. color: rgba(0, 0, 0, 0.4);
  48. }
  49. /*******************************
  50. States
  51. *******************************/
  52. /*--------------------
  53. Active
  54. ---------------------*/
  55. .ui.input input:active,
  56. .ui.input.down input {
  57. border-color: rgba(0, 0, 0, 0.3);
  58. background: #fafafa;
  59. color: rgba(0, 0, 0, 0.8);
  60. box-shadow: none;
  61. }
  62. /*--------------------
  63. Loading
  64. ---------------------*/
  65. .ui.loading.loading.input > i.icon:before {
  66. position: absolute;
  67. content: '';
  68. top: 50%;
  69. left: 50%;
  70. margin: -0.64285em 0em 0em -0.64285em;
  71. width: 1.2857em;
  72. height: 1.2857em;
  73. border-radius: 500rem;
  74. border: 0.2em solid rgba(0, 0, 0, 0.1);
  75. }
  76. .ui.loading.loading.input > i.icon:after {
  77. position: absolute;
  78. content: '';
  79. top: 50%;
  80. left: 50%;
  81. margin: -0.64285em 0em 0em -0.64285em;
  82. width: 1.2857em;
  83. height: 1.2857em;
  84. -webkit-animation: button-spin 0.6s linear;
  85. animation: button-spin 0.6s linear;
  86. -webkit-animation-iteration-count: infinite;
  87. animation-iteration-count: infinite;
  88. border-radius: 500rem;
  89. border-color: #aaaaaa transparent transparent;
  90. border-style: solid;
  91. border-width: 0.2em;
  92. box-shadow: 0px 0px 0px 1px transparent;
  93. }
  94. /*--------------------
  95. Focus
  96. ---------------------*/
  97. .ui.input.focus input,
  98. .ui.input input:focus {
  99. border-color: rgba(39, 41, 43, 0.3);
  100. background: #ffffff;
  101. color: rgba(0, 0, 0, 0.8);
  102. box-shadow: none;
  103. }
  104. .ui.input.focus input input::-webkit-input-placeholder,
  105. .ui.input input:focus input::-webkit-input-placeholder {
  106. color: rgba(0, 0, 0, 0.8);
  107. }
  108. .ui.input.focus input input::-moz-placeholder,
  109. .ui.input input:focus input::-moz-placeholder {
  110. color: rgba(0, 0, 0, 0.8);
  111. }
  112. /*--------------------
  113. Error
  114. ---------------------*/
  115. .ui.input.error input {
  116. background-color: #fff0f0;
  117. border-color: #dbb1b1;
  118. color: #d95c5c;
  119. box-shadow: none;
  120. }
  121. /* Error Placeholder */
  122. .ui.input.error input ::-webkit-input-placeholder {
  123. color: rgba(255, 80, 80, 0.4);
  124. }
  125. .ui.input.error input ::-moz-placeholder {
  126. color: rgba(255, 80, 80, 0.4);
  127. }
  128. /* Focused Error Placeholder */
  129. .ui.input.error input :focus::-webkit-input-placeholder {
  130. color: rgba(255, 80, 80, 0.7);
  131. }
  132. .ui.input.error input :focus::-moz-placeholder {
  133. color: rgba(255, 80, 80, 0.7);
  134. }
  135. /*******************************
  136. Variations
  137. *******************************/
  138. /*--------------------
  139. Transparent
  140. ---------------------*/
  141. .ui.transparent.input input {
  142. border-color: transparent;
  143. background-color: transparent;
  144. padding: 0em;
  145. }
  146. /* Transparent Icon */
  147. .ui.transparent.icon.input > i.icon {
  148. width: 1.25em;
  149. }
  150. .ui.transparent.icon.input > input {
  151. padding-left: 0em !important;
  152. padding-right: 2em !important;
  153. }
  154. .ui.transparent[class*="left icon"].input > input {
  155. padding-left: 0em !important;
  156. padding-left: 2em !important;
  157. }
  158. /* Transparent Inverted */
  159. .ui.transparent.inverted.input input::-moz-placeholder {
  160. color: rgba(255, 255, 255, 0.5);
  161. }
  162. .ui.transparent.inverted.input {
  163. color: #ffffff;
  164. }
  165. .ui.transparent.inverted.input input {
  166. color: inherit;
  167. }
  168. /*--------------------
  169. Icon
  170. ---------------------*/
  171. .ui.icon.input > i.icon {
  172. cursor: default;
  173. position: absolute;
  174. text-align: center;
  175. top: 0px;
  176. right: 0px;
  177. margin: 0em;
  178. height: 100%;
  179. width: 2.82142em;
  180. opacity: 0.5;
  181. border-radius: 0em 0.2857rem 0.2857rem 0em;
  182. -webkit-transition: opacity 0.3s ease;
  183. transition: opacity 0.3s ease;
  184. }
  185. .ui.icon.input input {
  186. padding-right: 2.82142em !important;
  187. }
  188. .ui.icon.input > i.icon:before,
  189. .ui.icon.input > i.icon:after {
  190. left: 0;
  191. position: absolute;
  192. text-align: center;
  193. top: 50%;
  194. width: 100%;
  195. margin-top: -0.5em;
  196. }
  197. .ui.icon.input > i.link.icon {
  198. cursor: pointer;
  199. }
  200. .ui.icon.input > i.circular.icon {
  201. top: 0.35em;
  202. right: 0.5em;
  203. }
  204. /* Left Icon Input */
  205. .ui[class*="left icon"].input > i.icon {
  206. right: auto;
  207. left: 1px;
  208. border-radius: 0.2857rem 0em 0em 0.2857rem;
  209. }
  210. .ui[class*="left icon"].input > i.circular.icon {
  211. right: auto;
  212. left: 0.5em;
  213. }
  214. .ui[class*="left icon"].input > input {
  215. padding-left: 2.82142em !important;
  216. padding-right: 1em !important;
  217. }
  218. /* Focus */
  219. .ui.icon.input > input:focus ~ i.icon {
  220. opacity: 1;
  221. }
  222. /*--------------------
  223. Labeled
  224. ---------------------*/
  225. /* Adjacent Label */
  226. .ui.labeled.input {
  227. display: table;
  228. }
  229. .ui.labeled.input > input {
  230. display: table-cell;
  231. vertical-align: top;
  232. }
  233. .ui.labeled.input > .label {
  234. display: table-cell;
  235. vertical-align: middle;
  236. white-space: nowrap;
  237. font-size: 1em;
  238. }
  239. .ui.labeled.input > .label > .icon {
  240. display: inline;
  241. vertical-align: top;
  242. }
  243. /* Fluid Labeled */
  244. .ui.fluid.labeled.input {
  245. display: table;
  246. width: 100%;
  247. }
  248. .ui.fluid.labeled.input > .label {
  249. width: 0.01%;
  250. }
  251. /* Label on Left */
  252. .ui.labeled.input:not([class*="corner labeled"]):not([class*="right labeled"]) > input {
  253. border-left: none;
  254. border-top-left-radius: 0px;
  255. border-bottom-left-radius: 0px;
  256. }
  257. .ui.labeled.input:not([class*="corner labeled"]):not([class*="right labeled"]) > .label {
  258. border-top-right-radius: 0px;
  259. border-bottom-right-radius: 0px;
  260. }
  261. /* Label on Right */
  262. .ui[class*="right labeled"].input > input {
  263. border-right: none;
  264. border-top-right-radius: 0px !important;
  265. border-bottom-right-radius: 0px !important;
  266. }
  267. .ui[class*="right labeled"].input > .label {
  268. border-top-left-radius: 0px;
  269. border-bottom-left-radius: 0px;
  270. }
  271. /* Corner Label */
  272. .ui.labeled.input .corner.label {
  273. top: 1px;
  274. right: 1px;
  275. font-size: 0.75em;
  276. border-radius: 0em 0.2857rem 0em 0em;
  277. }
  278. .ui.labeled.input input {
  279. padding-right: 2.5em !important;
  280. }
  281. /* Spacing with corner label */
  282. .ui[class*="corner labeled"].input {
  283. display: inline-block;
  284. }
  285. .ui[class*="corner labeled"].input > input {
  286. display: block;
  287. }
  288. .ui[class*="corner labeled"].icon.input:not(.left) > input {
  289. padding-right: 3.25em !important;
  290. }
  291. .ui[class*="corner labeled"].icon.input:not(.left) > .icon {
  292. margin-right: 1.25em;
  293. }
  294. /*--------------------
  295. Action
  296. ---------------------*/
  297. .ui.action.input {
  298. display: table;
  299. }
  300. .ui.action.input > input {
  301. display: table-cell;
  302. vertical-align: top;
  303. }
  304. .ui.action.input > .button,
  305. .ui.action.input > .buttons {
  306. display: table-cell;
  307. vertical-align: middle;
  308. white-space: nowrap;
  309. padding-top: 0.78571em;
  310. padding-bottom: 0.78571em;
  311. }
  312. .ui.action.input > .button > .icon,
  313. .ui.action.input > .buttons > .button > .icon {
  314. display: inline;
  315. vertical-align: top;
  316. }
  317. .ui.fluid.action.input {
  318. display: table;
  319. width: 100%;
  320. }
  321. .ui.fluid.action.input > .button {
  322. width: 0.01%;
  323. }
  324. /* Button on Right */
  325. .ui.action.input:not([class*="left action"]) > input {
  326. border-right: none;
  327. border-top-right-radius: 0px !important;
  328. border-bottom-right-radius: 0px !important;
  329. }
  330. .ui.action.input:not([class*="left action"]) > .button,
  331. .ui.action.input:not([class*="left action"]) > .buttons {
  332. border-top-left-radius: 0px;
  333. border-bottom-left-radius: 0px;
  334. }
  335. /* Button on Left */
  336. .ui[class*="left action"].input > .button,
  337. .ui[class*="left action"].input > .buttons {
  338. border-top-right-radius: 0px;
  339. border-bottom-right-radius: 0px;
  340. }
  341. .ui[class*="left action"].input > input {
  342. border-left: none;
  343. border-top-left-radius: 0px;
  344. border-bottom-left-radius: 0px;
  345. }
  346. /*--------------------
  347. Inverted
  348. ---------------------*/
  349. /* Standard */
  350. .ui.inverted.input input {
  351. border: none;
  352. }
  353. /*--------------------
  354. Fluid
  355. ---------------------*/
  356. .ui.fluid.input {
  357. display: block;
  358. }
  359. /*--------------------
  360. Size
  361. ---------------------*/
  362. .ui.mini.input {
  363. font-size: 0.8125rem;
  364. }
  365. .ui.small.input {
  366. font-size: 0.875rem;
  367. }
  368. .ui.input {
  369. font-size: 1rem;
  370. }
  371. .ui.large.input {
  372. font-size: 1.125rem;
  373. }
  374. .ui.big.input {
  375. font-size: 1.25rem;
  376. }
  377. .ui.huge.input {
  378. font-size: 1.375rem;
  379. }
  380. .ui.massive.input {
  381. font-size: 1.5rem;
  382. }
  383. /*******************************
  384. Theme Overrides
  385. *******************************/
  386. /*******************************
  387. Site Overrides
  388. *******************************/