| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105 |
- /**
- * Stylesheet
- *
- * @namespace Lungo
- * @class Layout
- *
- * @author Javier Jimenez Villar <javi@tapquo.com> || @soyjavi
- */
- @import "constants.styl"
- body, html
- height: 100%
- width: 100%
- margin: 0
- padding: 0
- overflow: hidden
- aside, section
- display-box()
- box-orient(vertical)
- height: inherit
- & > header, > footer
- box-flex(0)
- z-index: 3
- position: relative
- & > header
- ordinal-group(1)
- & > article
- box-flex(1)
- ordinal-group(2)
- z-index: -1
- & > footer
- ordinal-group(3)
- /* ========================================================================= */
- /* ================================ SECTION ================================ */
- /* ========================================================================= */
- section
- z-index: 2
- width: inherit
- &:not(.show)
- z-index: 1
- /* ========================================================================= */
- /* ================================= ASIDE ================================= */
- /* ========================================================================= */
- aside
- min-width: ASIDE_WIDTH
- display: none
- z-index: -1
- &.active
- display-box()
- &.show
- z-index: 0
- display-box()
- &.right
- right: 0px
- /* ========================================================================= */
- /* ============================= HEADER/FOOTER ============================= */
- /* ========================================================================= */
- header, footer
- height: HEADER_HEIGHT
- line-height: HEADER_HEIGHT
- & > nav
- box-flex(0)
- & > .title
- z-index: -1
- margin: 0 4px
- float: left
- font-size: (FONT_SIZE_BIG * 1.2)
- box-flex(1)
- &.centered
- position: absolute
- left: 32px
- right: 32px
- text-align: center
- display: inline-block
- & > img.title
- PAD = 18px
- height: (HEADER_HEIGHT - PAD)
- margin: (PAD / 2) auto
- /* ========================================================================= */
- /* ================================ ARTICLE ================================ */
- /* ========================================================================= */
- article
- visibility: hidden
- display: none
- .show > &.active, .hide > &.active, .hiding > &.active
- visibility: visible
- display: block
- z-index: 1
- &.pull
- transition-property transform
- transition-duration TRANSITION_TIME
|