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.

455 lines
9.3 KiB

10 years ago
9 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
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.8.1
  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 !important;
  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 !important;
  307. vertical-align: middle;
  308. white-space: nowrap;
  309. margin: 0;
  310. }
  311. .ui.action.input > .button,
  312. .ui.action.input > .buttons > .button {
  313. vertical-align: middle;
  314. white-space: nowrap;
  315. margin: 0;
  316. padding-top: 0.78571em;
  317. padding-bottom: 0.78571em;
  318. }
  319. .ui.action.input > .button > .icon,
  320. .ui.action.input > .buttons > .button > .icon {
  321. display: inline;
  322. vertical-align: top;
  323. }
  324. /* Fluid */
  325. .ui.fluid.action.input {
  326. display: table;
  327. width: 100%;
  328. }
  329. .ui.fluid.action.input > .button {
  330. width: 0.01%;
  331. }
  332. /* Button on Right */
  333. .ui.action.input:not([class*="left action"]) > input {
  334. border-right: none;
  335. border-top-right-radius: 0px !important;
  336. border-bottom-right-radius: 0px !important;
  337. }
  338. .ui.action.input:not([class*="left action"]) > .button,
  339. .ui.action.input:not([class*="left action"]) > .buttons > .button {
  340. border-top-left-radius: 0px;
  341. border-bottom-left-radius: 0px;
  342. }
  343. /* Button on Left */
  344. .ui[class*="left action"].input > .button,
  345. .ui[class*="left action"].input > .buttons > .button {
  346. border-top-right-radius: 0px;
  347. border-bottom-right-radius: 0px;
  348. }
  349. .ui[class*="left action"].input > input {
  350. border-left: none;
  351. border-top-left-radius: 0px;
  352. border-bottom-left-radius: 0px;
  353. }
  354. /*--------------------
  355. Inverted
  356. ---------------------*/
  357. /* Standard */
  358. .ui.inverted.input input {
  359. border: none;
  360. }
  361. /*--------------------
  362. Fluid
  363. ---------------------*/
  364. .ui.fluid.input {
  365. display: block;
  366. }
  367. /*--------------------
  368. Size
  369. ---------------------*/
  370. .ui.mini.input {
  371. font-size: 0.8125rem;
  372. }
  373. .ui.small.input {
  374. font-size: 0.875rem;
  375. }
  376. .ui.input {
  377. font-size: 1rem;
  378. }
  379. .ui.large.input {
  380. font-size: 1.125rem;
  381. }
  382. .ui.big.input {
  383. font-size: 1.25rem;
  384. }
  385. .ui.huge.input {
  386. font-size: 1.375rem;
  387. }
  388. .ui.massive.input {
  389. font-size: 1.5rem;
  390. }
  391. /*******************************
  392. Theme Overrides
  393. *******************************/
  394. /*******************************
  395. Site Overrides
  396. *******************************/