Lungo.layout.aside.css 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. /**
  2. * Stylesheet
  3. *
  4. * @namespace Lungo.Layout
  5. * @class Aside
  6. *
  7. * @author Javier Jimenez Villar <javi@tapquo.com> || @soyjavi
  8. */
  9. section.aside:not(.small) {
  10. -webkit-transform: translateX(264px);
  11. -moz-transform: translateX(264px);
  12. transform: translateX(264px);
  13. }
  14. section.aside.small {
  15. -webkit-transform: translateX(64px);
  16. -moz-transform: translateX(64px);
  17. transform: translateX(64px);
  18. }
  19. section.aside.right {
  20. -webkit-transform: translateX(-ASIDE_WIDTH);
  21. -moz-transform: translateX(-ASIDE_WIDTH);
  22. transform: translateX(-ASIDE_WIDTH);
  23. }
  24. section.aside.right.small {
  25. -webkit-transform: translateX(-ASIDE_WIDTH_SMALL);
  26. -moz-transform: translateX(-ASIDE_WIDTH_SMALL);
  27. transform: translateX(-ASIDE_WIDTH_SMALL);
  28. }
  29. aside {
  30. position: absolute;
  31. top: 0;
  32. bottom: 0;
  33. height: inherit;
  34. width: 264px;
  35. display: none;
  36. z-index: -1;
  37. }
  38. aside.right {
  39. right: 0px;
  40. }
  41. aside.show {
  42. z-index: 0;
  43. display: block;
  44. }
  45. aside header,
  46. aside footer {
  47. position: relative;
  48. left: none;
  49. height: 44px;
  50. }
  51. aside footer {
  52. position: absolute;
  53. bottom: 0;
  54. }
  55. aside.small {
  56. width: 64px;
  57. }
  58. aside.small nav {
  59. width: 64px;
  60. text-align: center;
  61. }
  62. aside.small nav a {
  63. display: block;
  64. padding: 0px;
  65. width: 64px;
  66. height: 64px;
  67. }
  68. aside.small nav a .icon {
  69. position: absolute;
  70. width: inherit;
  71. line-height: 64px;
  72. }
  73. aside.small nav a .tag {
  74. position: relative;
  75. top: -54px;
  76. right: 6px;
  77. }
  78. aside.small nav a:first-child {
  79. margin-top: 8px;
  80. }