| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157 |
- /**
- * Stylesheet
- *
- * @namespace Lungo.Layout
- * @class Nav
- *
- * @author Javier Jimenez Villar <javi@tapquo.com> || @soyjavi
- */
- nav
- /* ========================================================================= */
- /* ================================= HEADER ================================ */
- /* ========================================================================= */
- header &
- & .button, button
- margin-top: 0.45em
- float: left
- &.on-right .button, &.on-right button
- margin-right: 0.4em
- &:not(.on-right) .button, &:not(.on-right) button
- margin-left: 0.4em
- & a:not(.button)
- padding: 0 0.75em !important
- float: left
- height: HEADER_HEIGHT
- & > .icon
- font-size: 1.7em
- & .tag
- position: relative
- top: -1em
- left: -1em
- margin-right: -20px
- // @TODO
- & .loading
- margin-top: .5em
- font-size: 1.6em
- & + .icon
- display: none
- &[data-control=groupbar], footer &
- display-box()
- box-pack(justify)
- width: 100%
- & > a
- box-flex(1)
- text-decoration: none
- /* ========================================================================= */
- /* =============================== GROUPBAR ================================ */
- /* ========================================================================= */
- &[data-control=groupbar]
- z-index: 2
- height: HEADER_GROUPBAR_HEIGHT
- width: 100%
- font-size: FONT_SIZE_SMALL
- line-height: HEADER_GROUPBAR_HEIGHT
- & > a
- padding:0
- margin:0
- height: HEADER_GROUPBAR_HEIGHT !important
- display: block
- text-align: center
- & .icon, .tag
- margin: 0 0.25em
- line-height: inherit
- /* ========================================================================= */
- /* ================================= MENU ================================== */
- /* ========================================================================= */
- &[data-control=menu]
- position: absolute
- left:0
- top: HEADER_HEIGHT
- visibility: hidden
- z-index: 2
- width: 100%
- text-align: center
- transform translateY(-120%)
- transition-property transform
- transition-duration TRANSITION_TIME
- transition-timing-function DEFAULT_TRANSITION
- backface-visibility hidden
- &.show
- visibility: visible
- transform translateY(0%)
- &.icons
- font-size: FONT_SIZE_TINY
- & > a
- width: 25%
- float: left
- padding: 10px 0
- & > .icon
- font-size: S = 32px
- line-height: S
- display: block
- &:not(.icons)
- font-size: FONT_SIZE_BIG
- & > a
- display: block
- position: relative
- padding: INDENT
- & > .icon
- position: absolute
- left: 0.5em
- font-size: 1.5em
- /* ========================================================================= */
- /* ================================ FOOTER ================================= */
- /* ========================================================================= */
- footer &
- & a
- text-align: center
- display: block
- padding: 0
- height: HEADER_HEIGHT
- & .icon
- font-size: 2.0em
- line-height: inherit
- width: HEADER_HEIGHT
- display: inline-block
- & .tag
- position: relative
- top: SIZE = -12px
- left: SIZE
- margin-right: -24px
- & .loading
- top: 0
- font-size: 1.4em
- abbr
- display: none
- &.with-labels
- & .icon
- font-size: 1.8em
- line-height: 1.0em
- & abbr
- z-index: 1
- display: block !important
- margin-top: -1.3em
- font-size: FONT_SIZE_TINY
- line-height: FONT_SIZE_TINY
- overflow: hidden
- white-space: nowrap
- text-overflow: ellipsis
|