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.

627 lines
14 KiB

9 years ago
9 years ago
9 years ago
10 years ago
9 years ago
9 years ago
10 years ago
9 years ago
9 years ago
10 years ago
10 years ago
9 years ago
10 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
10 years ago
10 years ago
9 years ago
9 years ago
10 years ago
9 years ago
9 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
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
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
10 years ago
9 years ago
10 years ago
10 years ago
10 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
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
  1. /*!
  2. * # Semantic UI 2.1.7 - Sidebar
  3. * http://github.com/semantic-org/semantic-ui/
  4. *
  5. *
  6. * Copyright 2015 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. max-height: 100%;
  30. border-radius: 0em !important;
  31. margin: 0em !important;
  32. overflow-y: auto !important;
  33. z-index: 102;
  34. }
  35. /* GPU Layers for Child Elements */
  36. .ui.sidebar > * {
  37. -webkit-backface-visibility: hidden;
  38. backface-visibility: hidden;
  39. }
  40. /*--------------
  41. Direction
  42. ---------------*/
  43. .ui.left.sidebar {
  44. right: auto;
  45. left: 0px;
  46. -webkit-transform: translate3d(-100%, 0, 0);
  47. transform: translate3d(-100%, 0, 0);
  48. }
  49. .ui.right.sidebar {
  50. right: 0px !important;
  51. left: auto !important;
  52. -webkit-transform: translate3d(100%, 0%, 0);
  53. transform: translate3d(100%, 0%, 0);
  54. }
  55. .ui.top.sidebar,
  56. .ui.bottom.sidebar {
  57. width: 100% !important;
  58. height: auto !important;
  59. }
  60. .ui.top.sidebar {
  61. top: 0px !important;
  62. bottom: auto !important;
  63. -webkit-transform: translate3d(0, -100%, 0);
  64. transform: translate3d(0, -100%, 0);
  65. }
  66. .ui.bottom.sidebar {
  67. top: auto !important;
  68. bottom: 0px !important;
  69. -webkit-transform: translate3d(0, 100%, 0);
  70. transform: translate3d(0, 100%, 0);
  71. }
  72. /*--------------
  73. Pushable
  74. ---------------*/
  75. .pushable {
  76. height: 100%;
  77. overflow-x: hidden;
  78. padding: 0em !important;
  79. }
  80. /* Whole Page */
  81. body.pushable {
  82. background: #545454 !important;
  83. }
  84. /* Page Context */
  85. .pushable:not(body) {
  86. -webkit-transform: translate3d(0, 0, 0);
  87. transform: translate3d(0, 0, 0);
  88. }
  89. .pushable:not(body) > .ui.sidebar,
  90. .pushable:not(body) > .fixed,
  91. .pushable:not(body) > .pusher:after {
  92. position: absolute;
  93. }
  94. /*--------------
  95. Fixed
  96. ---------------*/
  97. .pushable > .fixed {
  98. position: fixed;
  99. -webkit-backface-visibility: hidden;
  100. backface-visibility: hidden;
  101. -webkit-transition: -webkit-transform 500ms ease;
  102. transition: transform 500ms ease;
  103. will-change: transform;
  104. z-index: 101;
  105. }
  106. /*--------------
  107. Page
  108. ---------------*/
  109. .pushable > .pusher {
  110. position: relative;
  111. -webkit-backface-visibility: hidden;
  112. backface-visibility: hidden;
  113. overflow: hidden;
  114. min-height: 100%;
  115. -webkit-transition: -webkit-transform 500ms ease;
  116. transition: transform 500ms ease;
  117. z-index: 2;
  118. }
  119. body.pushable > .pusher {
  120. background: #ffffff;
  121. }
  122. /* Pusher should inherit background from context */
  123. .pushable > .pusher {
  124. background: inherit;
  125. }
  126. /*--------------
  127. Dimmer
  128. ---------------*/
  129. .pushable > .pusher:after {
  130. position: fixed;
  131. top: 0px;
  132. right: 0px;
  133. content: '';
  134. background-color: rgba(0, 0, 0, 0.4);
  135. overflow: hidden;
  136. opacity: 0;
  137. -webkit-transition: opacity 500ms;
  138. transition: opacity 500ms;
  139. will-change: opacity;
  140. z-index: 1000;
  141. }
  142. /*--------------
  143. Coupling
  144. ---------------*/
  145. .ui.sidebar.menu .item {
  146. border-radius: 0em !important;
  147. }
  148. /*******************************
  149. States
  150. *******************************/
  151. /*--------------
  152. Dimmed
  153. ---------------*/
  154. .pushable > .pusher.dimmed:after {
  155. width: 100% !important;
  156. height: 100% !important;
  157. opacity: 1 !important;
  158. }
  159. /*--------------
  160. Animating
  161. ---------------*/
  162. .ui.animating.sidebar {
  163. visibility: visible;
  164. }
  165. /*--------------
  166. Visible
  167. ---------------*/
  168. .ui.visible.sidebar {
  169. visibility: visible;
  170. -webkit-transform: translate3d(0, 0, 0);
  171. transform: translate3d(0, 0, 0);
  172. }
  173. /* Shadow Direction */
  174. .ui.left.visible.sidebar,
  175. .ui.right.visible.sidebar {
  176. box-shadow: 0px 0px 20px rgba(34, 36, 38, 0.15);
  177. }
  178. .ui.top.visible.sidebar,
  179. .ui.bottom.visible.sidebar {
  180. box-shadow: 0px 0px 20px rgba(34, 36, 38, 0.15);
  181. }
  182. /* Visible On Load */
  183. .ui.visible.left.sidebar ~ .fixed,
  184. .ui.visible.left.sidebar ~ .pusher {
  185. -webkit-transform: translate3d(260px, 0, 0);
  186. transform: translate3d(260px, 0, 0);
  187. }
  188. .ui.visible.right.sidebar ~ .fixed,
  189. .ui.visible.right.sidebar ~ .pusher {
  190. -webkit-transform: translate3d(-260px, 0, 0);
  191. transform: translate3d(-260px, 0, 0);
  192. }
  193. .ui.visible.top.sidebar ~ .fixed,
  194. .ui.visible.top.sidebar ~ .pusher {
  195. -webkit-transform: translate3d(0, 36px, 0);
  196. transform: translate3d(0, 36px, 0);
  197. }
  198. .ui.visible.bottom.sidebar ~ .fixed,
  199. .ui.visible.bottom.sidebar ~ .pusher {
  200. -webkit-transform: translate3d(0, -36px, 0);
  201. transform: translate3d(0, -36px, 0);
  202. }
  203. /* opposite sides visible forces content overlay */
  204. .ui.visible.left.sidebar ~ .ui.visible.right.sidebar ~ .fixed,
  205. .ui.visible.left.sidebar ~ .ui.visible.right.sidebar ~ .pusher,
  206. .ui.visible.right.sidebar ~ .ui.visible.left.sidebar ~ .fixed,
  207. .ui.visible.right.sidebar ~ .ui.visible.left.sidebar ~ .pusher {
  208. -webkit-transform: translate3d(0, 0, 0);
  209. transform: translate3d(0, 0, 0);
  210. }
  211. /*--------------
  212. iOS
  213. ---------------*/
  214. /*
  215. iOS incorrectly sizes document when content
  216. is presented outside of view with 2Dtranslate
  217. */
  218. html.ios {
  219. overflow-x: hidden;
  220. -webkit-overflow-scrolling: touch;
  221. }
  222. html.ios,
  223. html.ios body {
  224. height: initial !important;
  225. }
  226. /*******************************
  227. Variations
  228. *******************************/
  229. /*--------------
  230. Width
  231. ---------------*/
  232. /* Left / Right */
  233. .ui.thin.left.sidebar,
  234. .ui.thin.right.sidebar {
  235. width: 150px;
  236. }
  237. .ui[class*="very thin"].left.sidebar,
  238. .ui[class*="very thin"].right.sidebar {
  239. width: 60px;
  240. }
  241. .ui.left.sidebar,
  242. .ui.right.sidebar {
  243. width: 260px;
  244. }
  245. .ui.wide.left.sidebar,
  246. .ui.wide.right.sidebar {
  247. width: 350px;
  248. }
  249. .ui[class*="very wide"].left.sidebar,
  250. .ui[class*="very wide"].right.sidebar {
  251. width: 475px;
  252. }
  253. /* Left Visible */
  254. .ui.visible.thin.left.sidebar ~ .fixed,
  255. .ui.visible.thin.left.sidebar ~ .pusher {
  256. -webkit-transform: translate3d(150px, 0, 0);
  257. transform: translate3d(150px, 0, 0);
  258. }
  259. .ui.visible[class*="very thin"].left.sidebar ~ .fixed,
  260. .ui.visible[class*="very thin"].left.sidebar ~ .pusher {
  261. -webkit-transform: translate3d(60px, 0, 0);
  262. transform: translate3d(60px, 0, 0);
  263. }
  264. .ui.visible.wide.left.sidebar ~ .fixed,
  265. .ui.visible.wide.left.sidebar ~ .pusher {
  266. -webkit-transform: translate3d(350px, 0, 0);
  267. transform: translate3d(350px, 0, 0);
  268. }
  269. .ui.visible[class*="very wide"].left.sidebar ~ .fixed,
  270. .ui.visible[class*="very wide"].left.sidebar ~ .pusher {
  271. -webkit-transform: translate3d(475px, 0, 0);
  272. transform: translate3d(475px, 0, 0);
  273. }
  274. /* Right Visible */
  275. .ui.visible.thin.right.sidebar ~ .fixed,
  276. .ui.visible.thin.right.sidebar ~ .pusher {
  277. -webkit-transform: translate3d(-150px, 0, 0);
  278. transform: translate3d(-150px, 0, 0);
  279. }
  280. .ui.visible[class*="very thin"].right.sidebar ~ .fixed,
  281. .ui.visible[class*="very thin"].right.sidebar ~ .pusher {
  282. -webkit-transform: translate3d(-60px, 0, 0);
  283. transform: translate3d(-60px, 0, 0);
  284. }
  285. .ui.visible.wide.right.sidebar ~ .fixed,
  286. .ui.visible.wide.right.sidebar ~ .pusher {
  287. -webkit-transform: translate3d(-350px, 0, 0);
  288. transform: translate3d(-350px, 0, 0);
  289. }
  290. .ui.visible[class*="very wide"].right.sidebar ~ .fixed,
  291. .ui.visible[class*="very wide"].right.sidebar ~ .pusher {
  292. -webkit-transform: translate3d(-475px, 0, 0);
  293. transform: translate3d(-475px, 0, 0);
  294. }
  295. /*******************************
  296. Animations
  297. *******************************/
  298. /*--------------
  299. Overlay
  300. ---------------*/
  301. /* Set-up */
  302. .ui.overlay.sidebar {
  303. z-index: 102;
  304. }
  305. /* Initial */
  306. .ui.left.overlay.sidebar {
  307. -webkit-transform: translate3d(-100%, 0%, 0);
  308. transform: translate3d(-100%, 0%, 0);
  309. }
  310. .ui.right.overlay.sidebar {
  311. -webkit-transform: translate3d(100%, 0%, 0);
  312. transform: translate3d(100%, 0%, 0);
  313. }
  314. .ui.top.overlay.sidebar {
  315. -webkit-transform: translate3d(0%, -100%, 0);
  316. transform: translate3d(0%, -100%, 0);
  317. }
  318. .ui.bottom.overlay.sidebar {
  319. -webkit-transform: translate3d(0%, 100%, 0);
  320. transform: translate3d(0%, 100%, 0);
  321. }
  322. /* Animation */
  323. .animating.ui.overlay.sidebar,
  324. .ui.visible.overlay.sidebar {
  325. -webkit-transition: -webkit-transform 500ms ease;
  326. transition: transform 500ms ease;
  327. }
  328. /* End - Sidebar */
  329. .ui.visible.left.overlay.sidebar {
  330. -webkit-transform: translate3d(0%, 0%, 0);
  331. transform: translate3d(0%, 0%, 0);
  332. }
  333. .ui.visible.right.overlay.sidebar {
  334. -webkit-transform: translate3d(0%, 0%, 0);
  335. transform: translate3d(0%, 0%, 0);
  336. }
  337. .ui.visible.top.overlay.sidebar {
  338. -webkit-transform: translate3d(0%, 0%, 0);
  339. transform: translate3d(0%, 0%, 0);
  340. }
  341. .ui.visible.bottom.overlay.sidebar {
  342. -webkit-transform: translate3d(0%, 0%, 0);
  343. transform: translate3d(0%, 0%, 0);
  344. }
  345. /* End - Pusher */
  346. .ui.visible.overlay.sidebar ~ .fixed,
  347. .ui.visible.overlay.sidebar ~ .pusher {
  348. -webkit-transform: none !important;
  349. -ms-transform: none !important;
  350. transform: none !important;
  351. }
  352. /*--------------
  353. Push
  354. ---------------*/
  355. /* Initial */
  356. .ui.push.sidebar {
  357. -webkit-transition: -webkit-transform 500ms ease;
  358. transition: transform 500ms ease;
  359. z-index: 102;
  360. }
  361. /* Sidebar - Initial */
  362. .ui.left.push.sidebar {
  363. -webkit-transform: translate3d(-100%, 0, 0);
  364. transform: translate3d(-100%, 0, 0);
  365. }
  366. .ui.right.push.sidebar {
  367. -webkit-transform: translate3d(100%, 0, 0);
  368. transform: translate3d(100%, 0, 0);
  369. }
  370. .ui.top.push.sidebar {
  371. -webkit-transform: translate3d(0%, -100%, 0);
  372. transform: translate3d(0%, -100%, 0);
  373. }
  374. .ui.bottom.push.sidebar {
  375. -webkit-transform: translate3d(0%, 100%, 0);
  376. transform: translate3d(0%, 100%, 0);
  377. }
  378. /* End */
  379. .ui.visible.push.sidebar {
  380. -webkit-transform: translate3d(0%, 0, 0);
  381. transform: translate3d(0%, 0, 0);
  382. }
  383. /*--------------
  384. Uncover
  385. ---------------*/
  386. /* Initial */
  387. .ui.uncover.sidebar {
  388. -webkit-transform: translate3d(0, 0, 0);
  389. transform: translate3d(0, 0, 0);
  390. z-index: 1;
  391. }
  392. /* End */
  393. .ui.visible.uncover.sidebar {
  394. -webkit-transform: translate3d(0, 0, 0);
  395. transform: translate3d(0, 0, 0);
  396. -webkit-transition: -webkit-transform 500ms ease;
  397. transition: transform 500ms ease;
  398. }
  399. /*--------------
  400. Slide Along
  401. ---------------*/
  402. /* Initial */
  403. .ui.slide.along.sidebar {
  404. z-index: 1;
  405. }
  406. /* Sidebar - Initial */
  407. .ui.left.slide.along.sidebar {
  408. -webkit-transform: translate3d(-50%, 0, 0);
  409. transform: translate3d(-50%, 0, 0);
  410. }
  411. .ui.right.slide.along.sidebar {
  412. -webkit-transform: translate3d(50%, 0, 0);
  413. transform: translate3d(50%, 0, 0);
  414. }
  415. .ui.top.slide.along.sidebar {
  416. -webkit-transform: translate3d(0, -50%, 0);
  417. transform: translate3d(0, -50%, 0);
  418. }
  419. .ui.bottom.slide.along.sidebar {
  420. -webkit-transform: translate3d(0%, 50%, 0);
  421. transform: translate3d(0%, 50%, 0);
  422. }
  423. /* Animation */
  424. .ui.animating.slide.along.sidebar {
  425. -webkit-transition: -webkit-transform 500ms ease;
  426. transition: transform 500ms ease;
  427. }
  428. /* End */
  429. .ui.visible.slide.along.sidebar {
  430. -webkit-transform: translate3d(0%, 0, 0);
  431. transform: translate3d(0%, 0, 0);
  432. }
  433. /*--------------
  434. Slide Out
  435. ---------------*/
  436. /* Initial */
  437. .ui.slide.out.sidebar {
  438. z-index: 1;
  439. }
  440. /* Sidebar - Initial */
  441. .ui.left.slide.out.sidebar {
  442. -webkit-transform: translate3d(50%, 0, 0);
  443. transform: translate3d(50%, 0, 0);
  444. }
  445. .ui.right.slide.out.sidebar {
  446. -webkit-transform: translate3d(-50%, 0, 0);
  447. transform: translate3d(-50%, 0, 0);
  448. }
  449. .ui.top.slide.out.sidebar {
  450. -webkit-transform: translate3d(0%, 50%, 0);
  451. transform: translate3d(0%, 50%, 0);
  452. }
  453. .ui.bottom.slide.out.sidebar {
  454. -webkit-transform: translate3d(0%, -50%, 0);
  455. transform: translate3d(0%, -50%, 0);
  456. }
  457. /* Animation */
  458. .ui.animating.slide.out.sidebar {
  459. -webkit-transition: -webkit-transform 500ms ease;
  460. transition: transform 500ms ease;
  461. }
  462. /* End */
  463. .ui.visible.slide.out.sidebar {
  464. -webkit-transform: translate3d(0%, 0, 0);
  465. transform: translate3d(0%, 0, 0);
  466. }
  467. /*--------------
  468. Scale Down
  469. ---------------*/
  470. /* Initial */
  471. .ui.scale.down.sidebar {
  472. -webkit-transition: -webkit-transform 500ms ease;
  473. transition: transform 500ms ease;
  474. z-index: 102;
  475. }
  476. /* Sidebar - Initial */
  477. .ui.left.scale.down.sidebar {
  478. -webkit-transform: translate3d(-100%, 0, 0);
  479. transform: translate3d(-100%, 0, 0);
  480. }
  481. .ui.right.scale.down.sidebar {
  482. -webkit-transform: translate3d(100%, 0, 0);
  483. transform: translate3d(100%, 0, 0);
  484. }
  485. .ui.top.scale.down.sidebar {
  486. -webkit-transform: translate3d(0%, -100%, 0);
  487. transform: translate3d(0%, -100%, 0);
  488. }
  489. .ui.bottom.scale.down.sidebar {
  490. -webkit-transform: translate3d(0%, 100%, 0);
  491. transform: translate3d(0%, 100%, 0);
  492. }
  493. /* Pusher - Initial */
  494. .ui.scale.down.left.sidebar ~ .pusher {
  495. -webkit-transform-origin: 75% 50%;
  496. -ms-transform-origin: 75% 50%;
  497. transform-origin: 75% 50%;
  498. }
  499. .ui.scale.down.right.sidebar ~ .pusher {
  500. -webkit-transform-origin: 25% 50%;
  501. -ms-transform-origin: 25% 50%;
  502. transform-origin: 25% 50%;
  503. }
  504. .ui.scale.down.top.sidebar ~ .pusher {
  505. -webkit-transform-origin: 50% 75%;
  506. -ms-transform-origin: 50% 75%;
  507. transform-origin: 50% 75%;
  508. }
  509. .ui.scale.down.bottom.sidebar ~ .pusher {
  510. -webkit-transform-origin: 50% 25%;
  511. -ms-transform-origin: 50% 25%;
  512. transform-origin: 50% 25%;
  513. }
  514. /* Animation */
  515. .ui.animating.scale.down > .visible.ui.sidebar {
  516. -webkit-transition: -webkit-transform 500ms ease;
  517. transition: transform 500ms ease;
  518. }
  519. .ui.visible.scale.down.sidebar ~ .pusher,
  520. .ui.animating.scale.down.sidebar ~ .pusher {
  521. display: block !important;
  522. width: 100%;
  523. height: 100%;
  524. overflow: hidden !important;
  525. }
  526. /* End */
  527. .ui.visible.scale.down.sidebar {
  528. -webkit-transform: translate3d(0, 0, 0);
  529. transform: translate3d(0, 0, 0);
  530. }
  531. .ui.visible.scale.down.sidebar ~ .pusher {
  532. -webkit-transform: scale(0.75);
  533. -ms-transform: scale(0.75);
  534. transform: scale(0.75);
  535. }
  536. /*******************************
  537. Theme Overrides
  538. *******************************/
  539. /*******************************
  540. Site Overrides
  541. *******************************/