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.

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