| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136 |
- /**
- * Stylesheet
- *
- * @namespace Lungo.Layout
- * @class Nav
- *
- * @author Javier Jimenez Villar <javi@tapquo.com> || @soyjavi
- */
- @import "constants.styl"
- nav
- &.groupbar, footer &
- display-box()
- box-pack(justify)
- width: 100%
- & > a
- box-flex(1)
- header &
- & a
- padding: 0px 11px !important
- z-index: 1000
- float: left
- & .button, button
- margin: 6px 2px 0 2px
- line-height: 31px !important
- & > .icon
- font-size: 1.5em
- position: relative
- top: 3px
- height: SIZE = 20px
- width: SIZE
- line-height: SIZE
- display: inline-block
- &.right a.button:last-child
- margin-right: 6px
- &:not(.right) a.button:first-child
- margin-left: 6px
- & a:not(.button)
- height: HEADER_FOOTER_HEIGHT
- & > .icon
- font-size: 1.8em
- & .tag
- position: relative
- top: -12px
- left: -12px
- margin-right: -20px
- & abbr
- font-size: FONT_SIZE_SMALL
- font-weight: 700
- & .icon ~ abbr
- margin-left: 4px
- float: right
- & .loading
- margin-top: .5em
- font-size: 1.6em
- & + .icon
- display: none
- &.groupbar
- position: relative
- top: HEADER_FOOTER_HEIGHT
- height: HEADER_GROUPBAR_HEIGHT
- width: 100%
- z-index: 2
- line-height: HEADER_GROUPBAR_HEIGHT
- & > a
- padding: 0px
- margin: 0px
- height: HEADER_GROUPBAR_HEIGHT !important
- display: block
- text-align: center
- & .icon
- font-size: 1.0em
- margin-right: 2px
- & .tag
- position: relative
- top: -1px
- left: 2px
- footer &
- & a
- text-align: center
- display: block
- padding: 0
- height: HEADER_FOOTER_HEIGHT
- & .icon
- font-size: 2.0em !important
- line-height: HEADER_FOOTER_HEIGHT
- width: 32px
- display: inline-block
- & .tag
- top: -42px
- left: 4px
- & .loading
- top: 0
- font-size: 1.4em
- abbr
- display: none
- & .tag
- position: relative
- top: -12px
- left: -12px
- margin-right: -20px
- &.with-labels
- & .icon
- line-height: 36px
- & abbr
- display: block !important
- margin-top: -8px
- z-index: 1
- font-size: 11px
- line-height: 14px
- overflow: hidden
- white-space: nowrap
- text-overflow: ellipsis
|