Lungo.layout.nav.css 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128
  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: 44px;
  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 a .bubble {
  34. position: relative;
  35. top: -12px;
  36. left: -12px;
  37. margin-right: -20px;
  38. }
  39. nav.groupbar {
  40. position: absolute;
  41. top: 44px;
  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.button a {
  62. margin: 5px 5px 5px 0;
  63. height: 32px;
  64. line-height: 32px;
  65. }
  66. header nav.button a .icon {
  67. line-height: 33px;
  68. }
  69. header nav.button a:first-child {
  70. margin: 5px;
  71. }
  72. header nav .icon ~ abbr {
  73. margin-left: 4px;
  74. float: right;
  75. }
  76. header nav .loading {
  77. margin-top: .5em;
  78. font-size: 1.6em;
  79. }
  80. header nav .loading + .icon {
  81. display: none;
  82. }
  83. footer nav a {
  84. display: block;
  85. padding: 0;
  86. height: 44px;
  87. }
  88. footer nav a .icon {
  89. display: block;
  90. top: 0px;
  91. font-size: 2.0em !important;
  92. line-height: 44px;
  93. }
  94. footer nav a .bubble {
  95. top: -42px;
  96. left: 4px;
  97. }
  98. footer nav a .bubble .loading {
  99. top: 0;
  100. font-size: 1.4em;
  101. }
  102. footer nav a abbr {
  103. display: none;
  104. }
  105. footer nav a .loading {
  106. top: .1em;
  107. font-size: 2.3em;
  108. }
  109. footer nav a.with-labels .icon {
  110. line-height: 36px;
  111. }
  112. footer nav a.with-labels .bubble {
  113. top: -34px;
  114. }
  115. footer nav a.with-labels abbr {
  116. display: block !important;
  117. position: absolute;
  118. top: 30px;
  119. width: inherit;
  120. height: 14px;
  121. margin-left: 0px;
  122. display: block !important;
  123. font-size: 11px;
  124. line-height: 14px;
  125. overflow: hidden;
  126. white-space: nowrap;
  127. text-overflow: ellipsis;
  128. }