Lungo.layout.nav.css 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137
  1. /**
  2. * Stylesheet
  3. *
  4. * @namespace Lungo.Layout
  5. * @class Nav
  6. *
  7. * @author Javier Jimenez Villar <javi@tapquo.com> || @soyjavi
  8. */
  9. nav.groupbar,
  10. footer nav {
  11. display: -webkit-box;
  12. display: -moz-box;
  13. display: box;
  14. -webkit-box-pack: justify;
  15. -moz-box-pack: justify;
  16. box-pack: justify;
  17. }
  18. nav.groupbar > a,
  19. footer nav > a {
  20. -webkit-box-flex: 1;
  21. -moz-box-flex: 1;
  22. box-flex: 1;
  23. }
  24. header nav a {
  25. padding: 0px 11px !important;
  26. z-index: 1000;
  27. float: left;
  28. }
  29. header nav a.button {
  30. margin: 6px 2px 0 2px;
  31. font-size: 0.9em;
  32. line-height: 30px;
  33. }
  34. header nav a.button > .icon {
  35. font-size: 1.3em;
  36. height: 18px;
  37. display: inline-block;
  38. }
  39. header nav.right a.button:last-child {
  40. margin-right: 6px;
  41. }
  42. header nav:not(.right) a.button:first-child {
  43. margin-left: 6px;
  44. }
  45. header nav a:not(.button) {
  46. height: 44px;
  47. }
  48. header nav a:not(.button) > .icon {
  49. font-size: 1.7em;
  50. }
  51. header nav .tag {
  52. position: relative;
  53. top: -12px;
  54. left: -12px;
  55. margin-right: -20px;
  56. }
  57. header nav abbr {
  58. font-size: 0.9em;
  59. font-weight: 700;
  60. }
  61. header nav .icon ~ abbr {
  62. margin-left: 4px;
  63. float: right;
  64. }
  65. header nav .loading {
  66. margin-top: 0.5em;
  67. font-size: 1.6em;
  68. }
  69. header nav .loading + .icon {
  70. display: none;
  71. }
  72. nav.groupbar {
  73. position: absolute;
  74. top: 44px;
  75. height: 30px;
  76. width: 100%;
  77. z-index: 2;
  78. line-height: 30px;
  79. }
  80. nav.groupbar > a {
  81. padding: 0px;
  82. margin: 0px;
  83. height: 30px !important;
  84. display: block;
  85. text-align: center;
  86. }
  87. nav.groupbar > a .icon {
  88. font-size: 1em;
  89. margin-right: 2px;
  90. }
  91. nav.groupbar > a .tag {
  92. position: relative;
  93. top: -1px;
  94. left: 2px;
  95. }
  96. footer nav a {
  97. text-align: center;
  98. display: block;
  99. padding: 0;
  100. height: 44px;
  101. }
  102. footer nav .icon {
  103. font-size: 2em !important;
  104. line-height: 44px;
  105. width: 32px;
  106. display: inline-block;
  107. }
  108. footer nav .tag {
  109. top: -42px;
  110. left: 4px;
  111. }
  112. footer nav .tag .loading {
  113. top: 0;
  114. font-size: 1.4em;
  115. }
  116. footer nav abbr {
  117. display: none;
  118. }
  119. footer nav .tag {
  120. position: relative;
  121. top: -12px;
  122. left: -12px;
  123. margin-right: -20px;
  124. }
  125. footer nav.with-labels .icon {
  126. line-height: 36px;
  127. }
  128. footer nav.with-labels abbr {
  129. display: block !important;
  130. margin-top: -8px;
  131. z-index: 1;
  132. font-size: 11px;
  133. line-height: 14px;
  134. overflow: hidden;
  135. white-space: nowrap;
  136. text-overflow: ellipsis;
  137. }