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.

440 lines
9.1 KiB

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
9 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
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
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
10 years ago
9 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
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
  1. /*
  2. * # Semantic UI - 1.10.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: -webkit-inline-box;
  228. display: -webkit-inline-flex;
  229. display: -ms-inline-flexbox;
  230. display: inline-flex;
  231. }
  232. .ui.labeled.input > .label {
  233. -webkit-box-flex: 1;
  234. -webkit-flex: 1 0 auto;
  235. -ms-flex: 1 0 auto;
  236. flex: 1 0 auto;
  237. margin: 0;
  238. font-size: 1em;
  239. }
  240. .ui.labeled.input > .label:not(.corner) {
  241. padding-top: 0.78571em;
  242. padding-bottom: 0.78571em;
  243. }
  244. /* Fluid Labeled */
  245. .ui.fluid.labeled.input {
  246. display: -webkit-box;
  247. display: -webkit-flex;
  248. display: -ms-flexbox;
  249. display: flex;
  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"].icon.input:not(.left) > input {
  283. padding-right: 3.25em !important;
  284. }
  285. .ui[class*="corner labeled"].icon.input:not(.left) > .icon {
  286. margin-right: 1.25em;
  287. }
  288. /*--------------------
  289. Action
  290. ---------------------*/
  291. .ui.action.input {
  292. display: -webkit-inline-box;
  293. display: -webkit-inline-flex;
  294. display: -ms-inline-flexbox;
  295. display: inline-flex;
  296. }
  297. .ui.action.input > .button,
  298. .ui.action.input > .buttons {
  299. -webkit-box-flex: 1;
  300. -webkit-flex: 1 0 auto;
  301. -ms-flex: 1 0 auto;
  302. flex: 1 0 auto;
  303. }
  304. .ui.action.input > .button,
  305. .ui.action.input > .buttons > .button {
  306. padding-top: 0.78571em;
  307. padding-bottom: 0.78571em;
  308. margin: 0;
  309. }
  310. /* Fluid */
  311. .ui.fluid.action.input {
  312. display: -webkit-box;
  313. display: -webkit-flex;
  314. display: -ms-flexbox;
  315. display: flex;
  316. }
  317. /* Button on Right */
  318. .ui.action.input:not([class*="left action"]) > input {
  319. border-right: none;
  320. border-top-right-radius: 0px !important;
  321. border-bottom-right-radius: 0px !important;
  322. }
  323. .ui.action.input:not([class*="left action"]) > .button,
  324. .ui.action.input:not([class*="left action"]) > .buttons > .button {
  325. border-top-left-radius: 0px;
  326. border-bottom-left-radius: 0px;
  327. }
  328. /* Button on Left */
  329. .ui[class*="left action"].input > .button,
  330. .ui[class*="left action"].input > .buttons > .button {
  331. border-top-right-radius: 0px;
  332. border-bottom-right-radius: 0px;
  333. }
  334. .ui[class*="left action"].input > input {
  335. border-left: none;
  336. border-top-left-radius: 0px;
  337. border-bottom-left-radius: 0px;
  338. }
  339. /*--------------------
  340. Inverted
  341. ---------------------*/
  342. /* Standard */
  343. .ui.inverted.input input {
  344. border: none;
  345. }
  346. /*--------------------
  347. Fluid
  348. ---------------------*/
  349. .ui.fluid.input {
  350. display: block;
  351. }
  352. /*--------------------
  353. Size
  354. ---------------------*/
  355. .ui.mini.input {
  356. font-size: 0.8125rem;
  357. }
  358. .ui.small.input {
  359. font-size: 0.875rem;
  360. }
  361. .ui.input {
  362. font-size: 1rem;
  363. }
  364. .ui.large.input {
  365. font-size: 1.125rem;
  366. }
  367. .ui.big.input {
  368. font-size: 1.25rem;
  369. }
  370. .ui.huge.input {
  371. font-size: 1.375rem;
  372. }
  373. .ui.massive.input {
  374. font-size: 1.5rem;
  375. }
  376. /*******************************
  377. Theme Overrides
  378. *******************************/
  379. /*******************************
  380. Site Overrides
  381. *******************************/