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.

504 lines
11 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
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
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
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
  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. Sidebar
  13. *******************************/
  14. /* Sidebar Menu */
  15. .ui.sidebar {
  16. position: fixed;
  17. top: 0;
  18. left: 0;
  19. -webkit-backface-visibility: hidden;
  20. backface-visibility: hidden;
  21. -webkit-transition: none;
  22. transition: none;
  23. will-change: transform;
  24. -webkit-transform: translate3d(0, 0, 0);
  25. transform: translate3d(0, 0, 0);
  26. visibility: hidden;
  27. -webkit-overflow-scrolling: touch;
  28. height: 100% !important;
  29. border-radius: 0em !important;
  30. margin: 0em !important;
  31. overflow-y: auto !important;
  32. z-index: 102;
  33. }
  34. /* GPU Layers for Child Elements */
  35. .ui.sidebar > * {
  36. -webkit-backface-visibility: hidden;
  37. backface-visibility: hidden;
  38. -webkit-transform: rotateZ(0deg);
  39. transform: rotateZ(0deg);
  40. }
  41. /*--------------
  42. Direction
  43. ---------------*/
  44. .ui.left.sidebar {
  45. right: auto;
  46. left: 0px;
  47. -webkit-transform: translate3d(-100%, 0, 0);
  48. transform: translate3d(-100%, 0, 0);
  49. }
  50. .ui.right.sidebar {
  51. right: 0px !important;
  52. left: auto !important;
  53. -webkit-transform: translate3d(100%, 0%, 0);
  54. transform: translate3d(100%, 0%, 0);
  55. }
  56. .ui.top.sidebar,
  57. .ui.bottom.sidebar {
  58. width: 100% !important;
  59. height: auto !important;
  60. overflow-y: visible !important;
  61. }
  62. .ui.top.sidebar {
  63. top: 0px !important;
  64. bottom: auto !important;
  65. -webkit-transform: translate3d(0, -100%, 0);
  66. transform: translate3d(0, -100%, 0);
  67. }
  68. .ui.bottom.sidebar {
  69. top: auto !important;
  70. bottom: 0px !important;
  71. -webkit-transform: translate3d(0, 100%, 0);
  72. transform: translate3d(0, 100%, 0);
  73. }
  74. /*--------------
  75. Body
  76. ---------------*/
  77. .pushable {
  78. height: 100%;
  79. overflow-x: hidden;
  80. background: #333333 !important;
  81. }
  82. /*--------------
  83. Fixed
  84. ---------------*/
  85. .pushable > .fixed {
  86. position: fixed;
  87. -webkit-backface-visibility: hidden;
  88. backface-visibility: hidden;
  89. -webkit-transition: -webkit-transform 500ms ease;
  90. transition: transform 500ms ease;
  91. will-change: transform;
  92. z-index: 101;
  93. }
  94. /*--------------
  95. Page
  96. ---------------*/
  97. .pushable > .pusher {
  98. position: relative;
  99. -webkit-backface-visibility: hidden;
  100. backface-visibility: hidden;
  101. min-height: 100%;
  102. -webkit-transition: -webkit-transform 500ms ease;
  103. transition: transform 500ms ease;
  104. background: #f7f7f7;
  105. z-index: 2;
  106. }
  107. /*--------------
  108. Dimmer
  109. ---------------*/
  110. .pushable > .pusher:after {
  111. position: fixed;
  112. top: 0px;
  113. right: 0px;
  114. content: '';
  115. background-color: rgba(0, 0, 0, 0.4);
  116. width: 0px;
  117. height: 0px;
  118. overflow: hidden;
  119. opacity: 0;
  120. -webkit-transition: -webkit-transform 500ms, opacity 500ms;
  121. transition: transform 500ms, opacity 500ms;
  122. will-change: opacity;
  123. z-index: 1000;
  124. }
  125. /*--------------
  126. Coupling
  127. ---------------*/
  128. .ui.sidebar.menu .item {
  129. border-radius: 0em !important;
  130. }
  131. /*******************************
  132. States
  133. *******************************/
  134. /*--------------
  135. Dimmed
  136. ---------------*/
  137. .pushable > .pusher.dimmed:after {
  138. width: 100% !important;
  139. height: 100% !important;
  140. opacity: 1 !important;
  141. }
  142. /*--------------
  143. Animating
  144. ---------------*/
  145. .ui.animating.sidebar {
  146. visibility: visible;
  147. }
  148. /*--------------
  149. Visible
  150. ---------------*/
  151. .ui.visible.sidebar {
  152. visibility: visible;
  153. }
  154. .ui.left.visible.sidebar,
  155. .ui.right.visible.sidebar {
  156. box-shadow: 0px 0px 20px rgba(39, 41, 43, 0.15);
  157. }
  158. .ui.top.visible.sidebar,
  159. .ui.bottom.visible.sidebar {
  160. box-shadow: 0px 0px 20px rgba(39, 41, 43, 0.15);
  161. }
  162. /*--------------
  163. iOS
  164. ---------------*/
  165. /*
  166. iOS incorrectly sizes document when content
  167. is presented outside of view with 2Dtranslate
  168. */
  169. @media only screen and (max-width: 992px) {
  170. html.ios {
  171. overflow-x: hidden;
  172. -webkit-overflow-scrolling: touch;
  173. }
  174. }
  175. /*******************************
  176. Variations
  177. *******************************/
  178. /*--------------
  179. Width
  180. ---------------*/
  181. /* Left / Right */
  182. .ui[class*="very thin"].left.sidebar,
  183. .ui[class*="very thin"].right.sidebar {
  184. width: 60px;
  185. }
  186. .ui.thin.left.sidebar,
  187. .ui.thin.right.sidebar {
  188. width: 150px;
  189. }
  190. .ui.left.sidebar,
  191. .ui.right.sidebar {
  192. width: 260px;
  193. }
  194. .ui.wide.left.sidebar,
  195. .ui.wide.right.sidebar {
  196. width: 350px;
  197. }
  198. .ui[class*="very wide"].left.sidebar,
  199. .ui[class*="very wide"].right.sidebar {
  200. width: 475px;
  201. }
  202. /*******************************
  203. Animations
  204. *******************************/
  205. /*--------------
  206. Overlay
  207. ---------------*/
  208. /* Set-up */
  209. .ui.overlay.sidebar {
  210. z-index: 102;
  211. }
  212. /* Animation */
  213. .animating.ui.overlay.sidebar,
  214. .ui.visible.overlay.sidebar {
  215. -webkit-transition: -webkit-transform 500ms ease;
  216. transition: transform 500ms ease;
  217. }
  218. /*--- Left ---*/
  219. /* Set-up */
  220. .ui.left.overlay.sidebar {
  221. -webkit-transform: translate3d(-100%, 0%, 0);
  222. transform: translate3d(-100%, 0%, 0);
  223. }
  224. .ui.right.overlay.sidebar {
  225. -webkit-transform: translate3d(100%, 0%, 0);
  226. transform: translate3d(100%, 0%, 0);
  227. }
  228. .ui.top.overlay.sidebar {
  229. -webkit-transform: translate3d(0%, -100%, 0);
  230. transform: translate3d(0%, -100%, 0);
  231. }
  232. .ui.bottom.overlay.sidebar {
  233. -webkit-transform: translate3d(0%, 100%, 0);
  234. transform: translate3d(0%, 100%, 0);
  235. }
  236. /* End */
  237. .ui.visible.left.overlay.sidebar {
  238. -webkit-transform: translate3d(0%, 0%, 0);
  239. transform: translate3d(0%, 0%, 0);
  240. }
  241. .ui.visible.right.overlay.sidebar {
  242. -webkit-transform: translate3d(0%, 0%, 0);
  243. transform: translate3d(0%, 0%, 0);
  244. }
  245. .ui.visible.top.overlay.sidebar {
  246. -webkit-transform: translate3d(0%, 0%, 0);
  247. transform: translate3d(0%, 0%, 0);
  248. }
  249. .ui.visible.bottom.overlay.sidebar {
  250. -webkit-transform: translate3d(0%, 0%, 0);
  251. transform: translate3d(0%, 0%, 0);
  252. }
  253. .ui.visible.overlay.sidebar ~ .fixed,
  254. .ui.visible.overlay.sidebar ~ .pusher {
  255. -webkit-transform: none !important;
  256. -ms-transform: none !important;
  257. transform: none !important;
  258. }
  259. /*--------------
  260. Push
  261. ---------------*/
  262. /* Initial */
  263. .ui.push.sidebar {
  264. -webkit-transition: -webkit-transform 500ms ease;
  265. transition: transform 500ms ease;
  266. z-index: 102;
  267. }
  268. .ui.left.push.sidebar {
  269. -webkit-transform: translate3d(-100%, 0, 0);
  270. transform: translate3d(-100%, 0, 0);
  271. }
  272. .ui.right.push.sidebar {
  273. -webkit-transform: translate3d(100%, 0, 0);
  274. transform: translate3d(100%, 0, 0);
  275. }
  276. .ui.top.push.sidebar {
  277. -webkit-transform: translate3d(0%, -100%, 0);
  278. transform: translate3d(0%, -100%, 0);
  279. }
  280. .ui.bottom.push.sidebar {
  281. -webkit-transform: translate3d(0%, 100%, 0);
  282. transform: translate3d(0%, 100%, 0);
  283. }
  284. /* End */
  285. .ui.visible.push.sidebar {
  286. -webkit-transform: translate3d(0%, 0, 0);
  287. transform: translate3d(0%, 0, 0);
  288. }
  289. /*--------------
  290. Uncover
  291. ---------------*/
  292. /* Initial */
  293. .ui.uncover.sidebar {
  294. -webkit-transform: translate3d(0, 0, 0);
  295. transform: translate3d(0, 0, 0);
  296. z-index: 1;
  297. }
  298. /* End */
  299. .ui.visible.uncover.sidebar {
  300. -webkit-transform: translate3d(0, 0, 0);
  301. transform: translate3d(0, 0, 0);
  302. -webkit-transition: -webkit-transform 500ms ease;
  303. transition: transform 500ms ease;
  304. }
  305. /*--------------
  306. Slide Along
  307. ---------------*/
  308. /* Initial */
  309. .ui.slide.along.sidebar {
  310. z-index: 1;
  311. }
  312. .ui.left.slide.along.sidebar {
  313. -webkit-transform: translate3d(-50%, 0, 0);
  314. transform: translate3d(-50%, 0, 0);
  315. }
  316. .ui.right.slide.along.sidebar {
  317. -webkit-transform: translate3d(50%, 0, 0);
  318. transform: translate3d(50%, 0, 0);
  319. }
  320. .ui.top.slide.along.sidebar {
  321. -webkit-transform: translate3d(0, -50%, 0);
  322. transform: translate3d(0, -50%, 0);
  323. }
  324. .ui.bottom.slide.along.sidebar {
  325. -webkit-transform: translate3d(0%, 50%, 0);
  326. transform: translate3d(0%, 50%, 0);
  327. }
  328. .ui.animating.slide.along.sidebar {
  329. -webkit-transition: -webkit-transform 500ms ease;
  330. transition: transform 500ms ease;
  331. }
  332. /* End */
  333. .ui.visible.slide.along.sidebar {
  334. -webkit-transform: translate3d(0%, 0, 0);
  335. transform: translate3d(0%, 0, 0);
  336. }
  337. /*--------------
  338. Slide Out
  339. ---------------*/
  340. /* Initial */
  341. .ui.slide.out.sidebar {
  342. z-index: 1;
  343. }
  344. .ui.left.slide.out.sidebar {
  345. -webkit-transform: translate3d(50%, 0, 0);
  346. transform: translate3d(50%, 0, 0);
  347. }
  348. .ui.right.slide.out.sidebar {
  349. -webkit-transform: translate3d(-50%, 0, 0);
  350. transform: translate3d(-50%, 0, 0);
  351. }
  352. .ui.top.slide.out.sidebar {
  353. -webkit-transform: translate3d(0%, 50%, 0);
  354. transform: translate3d(0%, 50%, 0);
  355. }
  356. .ui.bottom.slide.out.sidebar {
  357. -webkit-transform: translate3d(0%, -50%, 0);
  358. transform: translate3d(0%, -50%, 0);
  359. }
  360. /* Animation */
  361. .ui.animating.slide.out.sidebar {
  362. -webkit-transition: -webkit-transform 500ms ease;
  363. transition: transform 500ms ease;
  364. }
  365. /* End */
  366. .ui.visible.slide.out.sidebar {
  367. -webkit-transform: translate3d(0%, 0, 0);
  368. transform: translate3d(0%, 0, 0);
  369. }
  370. /*--------------
  371. Scale Down
  372. ---------------*/
  373. /* Initial */
  374. .ui.scale.down.sidebar {
  375. -webkit-transition: -webkit-transform 500ms ease;
  376. transition: transform 500ms ease;
  377. z-index: 102;
  378. }
  379. .ui.left.scale.down.sidebar {
  380. -webkit-transform: translate3d(-100%, 0, 0);
  381. transform: translate3d(-100%, 0, 0);
  382. }
  383. .ui.right.scale.down.sidebar {
  384. -webkit-transform: translate3d(100%, 0, 0);
  385. transform: translate3d(100%, 0, 0);
  386. }
  387. .ui.top.scale.down.sidebar {
  388. -webkit-transform: translate3d(0%, -100%, 0);
  389. transform: translate3d(0%, -100%, 0);
  390. }
  391. .ui.bottom.scale.down.sidebar {
  392. -webkit-transform: translate3d(0%, 100%, 0);
  393. transform: translate3d(0%, 100%, 0);
  394. }
  395. .ui.scale.down.left.sidebar ~ .pusher {
  396. -webkit-transform-origin: 75% 50%;
  397. -ms-transform-origin: 75% 50%;
  398. transform-origin: 75% 50%;
  399. }
  400. .ui.scale.down.right.sidebar ~ .pusher {
  401. -webkit-transform-origin: 25% 50%;
  402. -ms-transform-origin: 25% 50%;
  403. transform-origin: 25% 50%;
  404. }
  405. .ui.scale.down.top.sidebar ~ .pusher {
  406. -webkit-transform-origin: 50% 75%;
  407. -ms-transform-origin: 50% 75%;
  408. transform-origin: 50% 75%;
  409. }
  410. .ui.scale.down.bottom.sidebar ~ .pusher {
  411. -webkit-transform-origin: 50% 25%;
  412. -ms-transform-origin: 50% 25%;
  413. transform-origin: 50% 25%;
  414. }
  415. /* Animation */
  416. .ui.animating.scale.down > .visible.ui.sidebar {
  417. -webkit-transition: -webkit-transform 500ms ease;
  418. transition: transform 500ms ease;
  419. }
  420. .ui.visible.scale.down.sidebar ~ .pusher,
  421. .ui.animating.scale.down.sidebar ~ .pusher {
  422. display: block !important;
  423. width: 100%;
  424. height: 100%;
  425. overflow: hidden;
  426. }
  427. /* End */
  428. .ui.visible.scale.down.sidebar {
  429. -webkit-transform: translate3d(0, 0, 0);
  430. transform: translate3d(0, 0, 0);
  431. }
  432. .ui.visible.scale.down.sidebar ~ .pusher {
  433. -webkit-transform: scale(0.75);
  434. -ms-transform: scale(0.75);
  435. transform: scale(0.75);
  436. }