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.

621 lines
14 KiB

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