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.

592 lines
14 KiB

10 years ago
10 years ago
10 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 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
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
9 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
10 years ago
  1. /*
  2. * # Semantic UI - 1.7.0
  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. -webkit-transform: translate3d(0, 0, 0);
  154. transform: translate3d(0, 0, 0);
  155. }
  156. /* Shadow Direction */
  157. .ui.left.visible.sidebar,
  158. .ui.right.visible.sidebar {
  159. box-shadow: 0px 0px 20px rgba(39, 41, 43, 0.15);
  160. }
  161. .ui.top.visible.sidebar,
  162. .ui.bottom.visible.sidebar {
  163. box-shadow: 0px 0px 20px rgba(39, 41, 43, 0.15);
  164. }
  165. /* Visible On Load */
  166. .ui.visible.left.sidebar ~ .fixed,
  167. .ui.visible.left.sidebar ~ .pusher {
  168. -webkit-transform: translate3d(260px, 0, 0);
  169. transform: translate3d(260px, 0, 0);
  170. }
  171. .ui.visible.right.sidebar ~ .fixed,
  172. .ui.visible.right.sidebar ~ .pusher {
  173. -webkit-transform: translate3d(-260px, 0, 0);
  174. transform: translate3d(-260px, 0, 0);
  175. }
  176. .ui.visible.top.sidebar ~ .fixed,
  177. .ui.visible.top.sidebar ~ .pusher {
  178. -webkit-transform: translate3d(0, 36px, 0);
  179. transform: translate3d(0, 36px, 0);
  180. }
  181. .ui.visible.bottom.sidebar ~ .fixed,
  182. .ui.visible.bottom.sidebar ~ .pusher {
  183. -webkit-transform: translate3d(0, -36px, 0);
  184. transform: translate3d(0, -36px, 0);
  185. }
  186. /* opposite sides visible forces content overlay */
  187. .ui.visible.left.sidebar ~ .ui.visible.right.sidebar ~ .fixed,
  188. .ui.visible.left.sidebar ~ .ui.visible.right.sidebar ~ .pusher,
  189. .ui.visible.right.sidebar ~ .ui.visible.left.sidebar ~ .fixed,
  190. .ui.visible.right.sidebar ~ .ui.visible.left.sidebar ~ .pusher {
  191. -webkit-transform: translate3d(0, 0, 0);
  192. transform: translate3d(0, 0, 0);
  193. }
  194. /*--------------
  195. iOS
  196. ---------------*/
  197. /*
  198. iOS incorrectly sizes document when content
  199. is presented outside of view with 2Dtranslate
  200. */
  201. html.ios {
  202. overflow-x: hidden;
  203. -webkit-overflow-scrolling: touch;
  204. }
  205. /*******************************
  206. Variations
  207. *******************************/
  208. /*--------------
  209. Width
  210. ---------------*/
  211. /* Left / Right */
  212. .ui[class*="very thin"].left.sidebar,
  213. .ui[class*="very thin"].right.sidebar {
  214. width: 60px;
  215. }
  216. .ui.thin.left.sidebar,
  217. .ui.thin.right.sidebar {
  218. width: 150px;
  219. }
  220. .ui.left.sidebar,
  221. .ui.right.sidebar {
  222. width: 260px;
  223. }
  224. .ui.wide.left.sidebar,
  225. .ui.wide.right.sidebar {
  226. width: 350px;
  227. }
  228. .ui[class*="very wide"].left.sidebar,
  229. .ui[class*="very wide"].right.sidebar {
  230. width: 475px;
  231. }
  232. /* Left Visible */
  233. .ui.visible[class*="very thin"].left.sidebar ~ .fixed,
  234. .ui.visible[class*="very thin"].left.sidebar ~ .pusher {
  235. -webkit-transform: translate3d(60px, 0, 0);
  236. transform: translate3d(60px, 0, 0);
  237. }
  238. .ui.visible.thin.left.sidebar ~ .fixed,
  239. .ui.visible.thin.left.sidebar ~ .pusher {
  240. -webkit-transform: translate3d(150px, 0, 0);
  241. transform: translate3d(150px, 0, 0);
  242. }
  243. .ui.visible.wide.left.sidebar ~ .fixed,
  244. .ui.visible.wide.left.sidebar ~ .pusher {
  245. -webkit-transform: translate3d(350px, 0, 0);
  246. transform: translate3d(350px, 0, 0);
  247. }
  248. .ui.visible[class*="very wide"].left.sidebar ~ .fixed,
  249. .ui.visible[class*="very wide"].left.sidebar ~ .pusher {
  250. -webkit-transform: translate3d(475px, 0, 0);
  251. transform: translate3d(475px, 0, 0);
  252. }
  253. /* Right Visible */
  254. .ui.visible[class*="very thin"].right.sidebar ~ .fixed,
  255. .ui.visible[class*="very thin"].right.sidebar ~ .pusher {
  256. -webkit-transform: translate3d(-60px, 0, 0);
  257. transform: translate3d(-60px, 0, 0);
  258. }
  259. .ui.visible.thin.right.sidebar ~ .fixed,
  260. .ui.visible.thin.right.sidebar ~ .pusher {
  261. -webkit-transform: translate3d(-150px, 0, 0);
  262. transform: translate3d(-150px, 0, 0);
  263. }
  264. .ui.visible.wide.right.sidebar ~ .fixed,
  265. .ui.visible.wide.right.sidebar ~ .pusher {
  266. -webkit-transform: translate3d(-350px, 0, 0);
  267. transform: translate3d(-350px, 0, 0);
  268. }
  269. .ui.visible[class*="very wide"].right.sidebar ~ .fixed,
  270. .ui.visible[class*="very wide"].right.sidebar ~ .pusher {
  271. -webkit-transform: translate3d(-475px, 0, 0);
  272. transform: translate3d(-475px, 0, 0);
  273. }
  274. /*******************************
  275. Animations
  276. *******************************/
  277. /*--------------
  278. Overlay
  279. ---------------*/
  280. /* Set-up */
  281. .ui.overlay.sidebar {
  282. z-index: 102;
  283. }
  284. /* Initial */
  285. .ui.left.overlay.sidebar {
  286. -webkit-transform: translate3d(-100%, 0%, 0);
  287. transform: translate3d(-100%, 0%, 0);
  288. }
  289. .ui.right.overlay.sidebar {
  290. -webkit-transform: translate3d(100%, 0%, 0);
  291. transform: translate3d(100%, 0%, 0);
  292. }
  293. .ui.top.overlay.sidebar {
  294. -webkit-transform: translate3d(0%, -100%, 0);
  295. transform: translate3d(0%, -100%, 0);
  296. }
  297. .ui.bottom.overlay.sidebar {
  298. -webkit-transform: translate3d(0%, 100%, 0);
  299. transform: translate3d(0%, 100%, 0);
  300. }
  301. /* Animation */
  302. .animating.ui.overlay.sidebar,
  303. .ui.visible.overlay.sidebar {
  304. -webkit-transition: -webkit-transform 500ms ease;
  305. transition: transform 500ms ease;
  306. }
  307. /* End - Sidebar */
  308. .ui.visible.left.overlay.sidebar {
  309. -webkit-transform: translate3d(0%, 0%, 0);
  310. transform: translate3d(0%, 0%, 0);
  311. }
  312. .ui.visible.right.overlay.sidebar {
  313. -webkit-transform: translate3d(0%, 0%, 0);
  314. transform: translate3d(0%, 0%, 0);
  315. }
  316. .ui.visible.top.overlay.sidebar {
  317. -webkit-transform: translate3d(0%, 0%, 0);
  318. transform: translate3d(0%, 0%, 0);
  319. }
  320. .ui.visible.bottom.overlay.sidebar {
  321. -webkit-transform: translate3d(0%, 0%, 0);
  322. transform: translate3d(0%, 0%, 0);
  323. }
  324. /* End - Pusher */
  325. .ui.visible.overlay.sidebar ~ .fixed,
  326. .ui.visible.overlay.sidebar ~ .pusher {
  327. -webkit-transform: none !important;
  328. -ms-transform: none !important;
  329. transform: none !important;
  330. }
  331. /*--------------
  332. Push
  333. ---------------*/
  334. /* Initial */
  335. .ui.push.sidebar {
  336. -webkit-transition: -webkit-transform 500ms ease;
  337. transition: transform 500ms ease;
  338. z-index: 102;
  339. }
  340. /* Sidebar - Initial */
  341. .ui.left.push.sidebar {
  342. -webkit-transform: translate3d(-100%, 0, 0);
  343. transform: translate3d(-100%, 0, 0);
  344. }
  345. .ui.right.push.sidebar {
  346. -webkit-transform: translate3d(100%, 0, 0);
  347. transform: translate3d(100%, 0, 0);
  348. }
  349. .ui.top.push.sidebar {
  350. -webkit-transform: translate3d(0%, -100%, 0);
  351. transform: translate3d(0%, -100%, 0);
  352. }
  353. .ui.bottom.push.sidebar {
  354. -webkit-transform: translate3d(0%, 100%, 0);
  355. transform: translate3d(0%, 100%, 0);
  356. }
  357. /* End */
  358. .ui.visible.push.sidebar {
  359. -webkit-transform: translate3d(0%, 0, 0);
  360. transform: translate3d(0%, 0, 0);
  361. }
  362. /*--------------
  363. Uncover
  364. ---------------*/
  365. /* Initial */
  366. .ui.uncover.sidebar {
  367. -webkit-transform: translate3d(0, 0, 0);
  368. transform: translate3d(0, 0, 0);
  369. z-index: 1;
  370. }
  371. /* End */
  372. .ui.visible.uncover.sidebar {
  373. -webkit-transform: translate3d(0, 0, 0);
  374. transform: translate3d(0, 0, 0);
  375. -webkit-transition: -webkit-transform 500ms ease;
  376. transition: transform 500ms ease;
  377. }
  378. /*--------------
  379. Slide Along
  380. ---------------*/
  381. /* Initial */
  382. .ui.slide.along.sidebar {
  383. z-index: 1;
  384. }
  385. /* Sidebar - Initial */
  386. .ui.left.slide.along.sidebar {
  387. -webkit-transform: translate3d(-50%, 0, 0);
  388. transform: translate3d(-50%, 0, 0);
  389. }
  390. .ui.right.slide.along.sidebar {
  391. -webkit-transform: translate3d(50%, 0, 0);
  392. transform: translate3d(50%, 0, 0);
  393. }
  394. .ui.top.slide.along.sidebar {
  395. -webkit-transform: translate3d(0, -50%, 0);
  396. transform: translate3d(0, -50%, 0);
  397. }
  398. .ui.bottom.slide.along.sidebar {
  399. -webkit-transform: translate3d(0%, 50%, 0);
  400. transform: translate3d(0%, 50%, 0);
  401. }
  402. /* Animation */
  403. .ui.animating.slide.along.sidebar {
  404. -webkit-transition: -webkit-transform 500ms ease;
  405. transition: transform 500ms ease;
  406. }
  407. /* End */
  408. .ui.visible.slide.along.sidebar {
  409. -webkit-transform: translate3d(0%, 0, 0);
  410. transform: translate3d(0%, 0, 0);
  411. }
  412. /*--------------
  413. Slide Out
  414. ---------------*/
  415. /* Initial */
  416. .ui.slide.out.sidebar {
  417. z-index: 1;
  418. }
  419. /* Sidebar - Initial */
  420. .ui.left.slide.out.sidebar {
  421. -webkit-transform: translate3d(50%, 0, 0);
  422. transform: translate3d(50%, 0, 0);
  423. }
  424. .ui.right.slide.out.sidebar {
  425. -webkit-transform: translate3d(-50%, 0, 0);
  426. transform: translate3d(-50%, 0, 0);
  427. }
  428. .ui.top.slide.out.sidebar {
  429. -webkit-transform: translate3d(0%, 50%, 0);
  430. transform: translate3d(0%, 50%, 0);
  431. }
  432. .ui.bottom.slide.out.sidebar {
  433. -webkit-transform: translate3d(0%, -50%, 0);
  434. transform: translate3d(0%, -50%, 0);
  435. }
  436. /* Animation */
  437. .ui.animating.slide.out.sidebar {
  438. -webkit-transition: -webkit-transform 500ms ease;
  439. transition: transform 500ms ease;
  440. }
  441. /* End */
  442. .ui.visible.slide.out.sidebar {
  443. -webkit-transform: translate3d(0%, 0, 0);
  444. transform: translate3d(0%, 0, 0);
  445. }
  446. /*--------------
  447. Scale Down
  448. ---------------*/
  449. /* Initial */
  450. .ui.scale.down.sidebar {
  451. -webkit-transition: -webkit-transform 500ms ease;
  452. transition: transform 500ms ease;
  453. z-index: 102;
  454. }
  455. /* Sidebar - Initial */
  456. .ui.left.scale.down.sidebar {
  457. -webkit-transform: translate3d(-100%, 0, 0);
  458. transform: translate3d(-100%, 0, 0);
  459. }
  460. .ui.right.scale.down.sidebar {
  461. -webkit-transform: translate3d(100%, 0, 0);
  462. transform: translate3d(100%, 0, 0);
  463. }
  464. .ui.top.scale.down.sidebar {
  465. -webkit-transform: translate3d(0%, -100%, 0);
  466. transform: translate3d(0%, -100%, 0);
  467. }
  468. .ui.bottom.scale.down.sidebar {
  469. -webkit-transform: translate3d(0%, 100%, 0);
  470. transform: translate3d(0%, 100%, 0);
  471. }
  472. /* Pusher - Initial */
  473. .ui.scale.down.left.sidebar ~ .pusher {
  474. -webkit-transform-origin: 75% 50%;
  475. -ms-transform-origin: 75% 50%;
  476. transform-origin: 75% 50%;
  477. }
  478. .ui.scale.down.right.sidebar ~ .pusher {
  479. -webkit-transform-origin: 25% 50%;
  480. -ms-transform-origin: 25% 50%;
  481. transform-origin: 25% 50%;
  482. }
  483. .ui.scale.down.top.sidebar ~ .pusher {
  484. -webkit-transform-origin: 50% 75%;
  485. -ms-transform-origin: 50% 75%;
  486. transform-origin: 50% 75%;
  487. }
  488. .ui.scale.down.bottom.sidebar ~ .pusher {
  489. -webkit-transform-origin: 50% 25%;
  490. -ms-transform-origin: 50% 25%;
  491. transform-origin: 50% 25%;
  492. }
  493. /* Animation */
  494. .ui.animating.scale.down > .visible.ui.sidebar {
  495. -webkit-transition: -webkit-transform 500ms ease;
  496. transition: transform 500ms ease;
  497. }
  498. .ui.visible.scale.down.sidebar ~ .pusher,
  499. .ui.animating.scale.down.sidebar ~ .pusher {
  500. display: block !important;
  501. width: 100%;
  502. height: 100%;
  503. overflow: hidden;
  504. }
  505. /* End */
  506. .ui.visible.scale.down.sidebar {
  507. -webkit-transform: translate3d(0, 0, 0);
  508. transform: translate3d(0, 0, 0);
  509. }
  510. .ui.visible.scale.down.sidebar ~ .pusher {
  511. -webkit-transform: scale(0.75);
  512. -ms-transform: scale(0.75);
  513. transform: scale(0.75);
  514. }