Lungo.layout.nav.css 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120
  1. /**
  2. * Stylesheet
  3. *
  4. * @namespace Lungo.Layout
  5. * @class Nav
  6. *
  7. * @author Javier Jimenez Villar <javi@tapquo.com> || @soyjavi
  8. */
  9. /* DIMENSIONS */
  10. /* COLORS */
  11. nav {
  12. height: auto;
  13. text-align: center;
  14. }
  15. nav a {
  16. padding: 0 6px;
  17. min-width: 28px;
  18. z-index: 1000;
  19. float: left;
  20. height: 41px;
  21. }
  22. nav a .icon {
  23. font-size: 1.7em;
  24. }
  25. nav a img {
  26. width: 16px;
  27. height: 16px;
  28. top: -1px !important;
  29. }
  30. nav a abbr {
  31. font-weight: bold;
  32. }
  33. nav .bubble {
  34. position: relative;
  35. top: -12px;
  36. left: -12px;
  37. margin-right: -20px;
  38. }
  39. nav.groupbar {
  40. position: absolute;
  41. top: 42px;
  42. height: 30px;
  43. display: block;
  44. width: 100%;
  45. z-index: 2;
  46. line-height: 30px;
  47. }
  48. nav.groupbar a {
  49. padding: 0px;
  50. margin: 0px;
  51. font-weight: bold;
  52. height: 30px;
  53. }
  54. nav.groupbar a .icon {
  55. font-size: 1.0em;
  56. }
  57. nav.groupbar a .bubble {
  58. top: -6px;
  59. left: 0px;
  60. }
  61. header nav .icon ~ abbr {
  62. margin-left: 4px;
  63. float: right;
  64. }
  65. header nav .loading {
  66. margin-top: .5em;
  67. font-size: 1.6em;
  68. }
  69. header nav .loading + .icon {
  70. display: none;
  71. }
  72. footer nav {
  73. margin: 1px;
  74. display: block;
  75. }
  76. footer nav a {
  77. padding: 0;
  78. height: 42px;
  79. }
  80. footer nav .icon {
  81. display: block;
  82. top: 0px;
  83. font-size: 2.0em !important;
  84. line-height: 40px;
  85. }
  86. footer nav .bubble {
  87. top: -38px;
  88. left: 4px;
  89. }
  90. footer nav .bubble .loading {
  91. top: 0;
  92. font-size: 1.4em;
  93. }
  94. footer nav abbr {
  95. display: none;
  96. }
  97. footer nav .loading {
  98. top: .1em;
  99. font-size: 2.3em;
  100. }
  101. footer nav.with-labels .icon {
  102. line-height: 32px;
  103. }
  104. footer nav.with-labels .bubble {
  105. top: -32px;
  106. }
  107. footer nav.with-labels abbr {
  108. display: block;
  109. position: absolute;
  110. top: 30px;
  111. width: inherit;
  112. height: 14px;
  113. margin-left: 0px;
  114. display: block !important;
  115. font-size: 11px;
  116. line-height: 14px;
  117. overflow: hidden;
  118. white-space: nowrap;
  119. text-overflow: ellipsis;
  120. }