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.

500 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
  1. /*
  2. * # Semantic UI
  3. * https://github.com/Semantic-Org/Semantic-UI
  4. * http://beta.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. /* 3D Rendering */
  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: opacity 500ms;
  121. transition: 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. Mobile
  164. ---------------*/
  165. @media only screen and (max-width: 992px) {
  166. html {
  167. overflow-x: hidden;
  168. -webkit-overflow-scrolling: touch;
  169. }
  170. }
  171. /*******************************
  172. Variations
  173. *******************************/
  174. /*--------------
  175. Width
  176. ---------------*/
  177. /* Left / Right */
  178. .ui[class*="very thin"].left.sidebar,
  179. .ui[class*="very thin"].right.sidebar {
  180. width: 60px;
  181. }
  182. .ui.thin.left.sidebar,
  183. .ui.thin.right.sidebar {
  184. width: 150px;
  185. }
  186. .ui.left.sidebar,
  187. .ui.right.sidebar {
  188. width: 260px;
  189. }
  190. .ui.wide.left.sidebar,
  191. .ui.wide.right.sidebar {
  192. width: 350px;
  193. }
  194. .ui[class*="very wide"].left.sidebar,
  195. .ui[class*="very wide"].right.sidebar {
  196. width: 475px;
  197. }
  198. /*******************************
  199. Animations
  200. *******************************/
  201. /*--------------
  202. Overlay
  203. ---------------*/
  204. /* Set-up */
  205. .ui.overlay.sidebar {
  206. z-index: 102;
  207. }
  208. /* Animation */
  209. .animating.ui.overlay.sidebar,
  210. .ui.visible.overlay.sidebar {
  211. -webkit-transition: -webkit-transform 500ms ease;
  212. transition: transform 500ms ease;
  213. }
  214. /*--- Left ---*/
  215. /* Set-up */
  216. .ui.left.overlay.sidebar {
  217. -webkit-transform: translate3d(-100%, 0%, 0);
  218. transform: translate3d(-100%, 0%, 0);
  219. }
  220. .ui.right.overlay.sidebar {
  221. -webkit-transform: translate3d(100%, 0%, 0);
  222. transform: translate3d(100%, 0%, 0);
  223. }
  224. .ui.top.overlay.sidebar {
  225. -webkit-transform: translate3d(0%, -100%, 0);
  226. transform: translate3d(0%, -100%, 0);
  227. }
  228. .ui.bottom.overlay.sidebar {
  229. -webkit-transform: translate3d(0%, 100%, 0);
  230. transform: translate3d(0%, 100%, 0);
  231. }
  232. /* End */
  233. .ui.visible.left.overlay.sidebar {
  234. -webkit-transform: translate3d(0%, 0%, 0);
  235. transform: translate3d(0%, 0%, 0);
  236. }
  237. .ui.visible.right.overlay.sidebar {
  238. -webkit-transform: translate3d(0%, 0%, 0);
  239. transform: translate3d(0%, 0%, 0);
  240. }
  241. .ui.visible.top.overlay.sidebar {
  242. -webkit-transform: translate3d(0%, 0%, 0);
  243. transform: translate3d(0%, 0%, 0);
  244. }
  245. .ui.visible.bottom.overlay.sidebar {
  246. -webkit-transform: translate3d(0%, 0%, 0);
  247. transform: translate3d(0%, 0%, 0);
  248. }
  249. .ui.visible.overlay.sidebar ~ .fixed,
  250. .ui.visible.overlay.sidebar ~ .pusher {
  251. -webkit-transform: none !important;
  252. -ms-transform: none !important;
  253. transform: none !important;
  254. }
  255. /*--------------
  256. Push
  257. ---------------*/
  258. /* Initial */
  259. .ui.push.sidebar {
  260. -webkit-transition: -webkit-transform 500ms ease;
  261. transition: transform 500ms ease;
  262. z-index: 102;
  263. }
  264. .ui.left.push.sidebar {
  265. -webkit-transform: translate3d(-100%, 0, 0);
  266. transform: translate3d(-100%, 0, 0);
  267. }
  268. .ui.right.push.sidebar {
  269. -webkit-transform: translate3d(100%, 0, 0);
  270. transform: translate3d(100%, 0, 0);
  271. }
  272. .ui.top.push.sidebar {
  273. -webkit-transform: translate3d(0%, -100%, 0);
  274. transform: translate3d(0%, -100%, 0);
  275. }
  276. .ui.bottom.push.sidebar {
  277. -webkit-transform: translate3d(0%, 100%, 0);
  278. transform: translate3d(0%, 100%, 0);
  279. }
  280. /* End */
  281. .ui.visible.push.sidebar {
  282. -webkit-transform: translate3d(0%, 0, 0);
  283. transform: translate3d(0%, 0, 0);
  284. }
  285. /*--------------
  286. Uncover
  287. ---------------*/
  288. /* Initial */
  289. .ui.uncover.sidebar {
  290. -webkit-transform: translate3d(0, 0, 0);
  291. transform: translate3d(0, 0, 0);
  292. z-index: 1;
  293. }
  294. /* End */
  295. .ui.visible.uncover.sidebar {
  296. -webkit-transform: translate3d(0, 0, 0);
  297. transform: translate3d(0, 0, 0);
  298. -webkit-transition: -webkit-transform 500ms ease;
  299. transition: transform 500ms ease;
  300. }
  301. /*--------------
  302. Slide Along
  303. ---------------*/
  304. /* Initial */
  305. .ui.slide.along.sidebar {
  306. z-index: 1;
  307. }
  308. .ui.left.slide.along.sidebar {
  309. -webkit-transform: translate3d(-50%, 0, 0);
  310. transform: translate3d(-50%, 0, 0);
  311. }
  312. .ui.right.slide.along.sidebar {
  313. -webkit-transform: translate3d(50%, 0, 0);
  314. transform: translate3d(50%, 0, 0);
  315. }
  316. .ui.top.slide.along.sidebar {
  317. -webkit-transform: translate3d(0, -50%, 0);
  318. transform: translate3d(0, -50%, 0);
  319. }
  320. .ui.bottom.slide.along.sidebar {
  321. -webkit-transform: translate3d(0%, 50%, 0);
  322. transform: translate3d(0%, 50%, 0);
  323. }
  324. .ui.animating.slide.along.sidebar {
  325. -webkit-transition: -webkit-transform 500ms ease;
  326. transition: transform 500ms ease;
  327. }
  328. /* End */
  329. .ui.visible.slide.along.sidebar {
  330. -webkit-transform: translate3d(0%, 0, 0);
  331. transform: translate3d(0%, 0, 0);
  332. }
  333. /*--------------
  334. Slide Out
  335. ---------------*/
  336. /* Initial */
  337. .ui.slide.out.sidebar {
  338. z-index: 1;
  339. }
  340. .ui.left.slide.out.sidebar {
  341. -webkit-transform: translate3d(50%, 0, 0);
  342. transform: translate3d(50%, 0, 0);
  343. }
  344. .ui.right.slide.out.sidebar {
  345. -webkit-transform: translate3d(-50%, 0, 0);
  346. transform: translate3d(-50%, 0, 0);
  347. }
  348. .ui.top.slide.out.sidebar {
  349. -webkit-transform: translate3d(0%, 50%, 0);
  350. transform: translate3d(0%, 50%, 0);
  351. }
  352. .ui.bottom.slide.out.sidebar {
  353. -webkit-transform: translate3d(0%, -50%, 0);
  354. transform: translate3d(0%, -50%, 0);
  355. }
  356. /* Animation */
  357. .ui.animating.slide.out.sidebar {
  358. -webkit-transition: -webkit-transform 500ms ease;
  359. transition: transform 500ms ease;
  360. }
  361. /* End */
  362. .ui.visible.slide.out.sidebar {
  363. -webkit-transform: translate3d(0%, 0, 0);
  364. transform: translate3d(0%, 0, 0);
  365. }
  366. /*--------------
  367. Scale Down
  368. ---------------*/
  369. /* Initial */
  370. .ui.scale.down.sidebar {
  371. -webkit-transition: -webkit-transform 500ms ease;
  372. transition: transform 500ms ease;
  373. z-index: 102;
  374. }
  375. .ui.left.scale.down.sidebar {
  376. -webkit-transform: translate3d(-100%, 0, 0);
  377. transform: translate3d(-100%, 0, 0);
  378. }
  379. .ui.right.scale.down.sidebar {
  380. -webkit-transform: translate3d(100%, 0, 0);
  381. transform: translate3d(100%, 0, 0);
  382. }
  383. .ui.top.scale.down.sidebar {
  384. -webkit-transform: translate3d(0%, -100%, 0);
  385. transform: translate3d(0%, -100%, 0);
  386. }
  387. .ui.bottom.scale.down.sidebar {
  388. -webkit-transform: translate3d(0%, 100%, 0);
  389. transform: translate3d(0%, 100%, 0);
  390. }
  391. .ui.scale.down.left.sidebar ~ .pusher {
  392. -webkit-transform-origin: 75% 50%;
  393. -ms-transform-origin: 75% 50%;
  394. transform-origin: 75% 50%;
  395. }
  396. .ui.scale.down.right.sidebar ~ .pusher {
  397. -webkit-transform-origin: 25% 50%;
  398. -ms-transform-origin: 25% 50%;
  399. transform-origin: 25% 50%;
  400. }
  401. .ui.scale.down.top.sidebar ~ .pusher {
  402. -webkit-transform-origin: 50% 75%;
  403. -ms-transform-origin: 50% 75%;
  404. transform-origin: 50% 75%;
  405. }
  406. .ui.scale.down.bottom.sidebar ~ .pusher {
  407. -webkit-transform-origin: 50% 25%;
  408. -ms-transform-origin: 50% 25%;
  409. transform-origin: 50% 25%;
  410. }
  411. /* Animation */
  412. .ui.animating.scale.down > .visible.ui.sidebar {
  413. -webkit-transition: -webkit-transform 500ms ease;
  414. transition: transform 500ms ease;
  415. }
  416. .ui.visible.scale.down.sidebar ~ .pusher,
  417. .ui.animating.scale.down.sidebar ~ .pusher {
  418. display: block !important;
  419. width: 100%;
  420. height: 100%;
  421. overflow: hidden;
  422. }
  423. /* End */
  424. .ui.visible.scale.down.sidebar {
  425. -webkit-transform: translate3d(0, 0, 0);
  426. transform: translate3d(0, 0, 0);
  427. }
  428. .ui.visible.scale.down.sidebar ~ .pusher {
  429. -webkit-transform: scale(0.75);
  430. -ms-transform: scale(0.75);
  431. transform: scale(0.75);
  432. }