travis-web/assets/stylesheets/layout.sass
2012-09-23 15:39:58 +02:00

73 lines
1.3 KiB
Sass

@import "_mixins/all"
$left-width: 250px
html, body
height: 100%
body > div
width: 100%
overflow: hidden
// ouch. ember injects additional divs that somehow don't inherit the actual dimensions
body > div, body > div > div, body > div > div > div
width: 100%
min-height: 100%
@include display-box
@include box-flex(0)
#top
position: absolute
top: 0
left: 0
width: 100%
height: 40px
#page
position: relative
@include display-box
@include box-orient(horizontal)
@include box-align(stretch)
width: 100%
min-height: 100%
top: 40px
#left, #right
@include box-flex(0)
position: relative
min-height: 100%
#left
min-width: 250px
max-width: 380px
width: -webkit-calc(100% - 1000px)
padding-right: 10px
background: inline-image('ui/background-left.png') repeat-y right top
#main
@include box-flex(4)
position: relative
overflow: hidden
min-width: 630px
padding: 20px 40px 40px 30px
#right
width: 205px
padding: 11px 20px 20px 20px
background-color: $color-bg-sidebar
@media screen and (max-width: 1400px)
#left .duration_label
display: inline-block
width: 11px
height: 14px
margin-right: 1px
text-indent: -200px
overflow: hidden
background: inline-image('icons/clock.png') no-repeat 0px 3px
@media screen and (max-width: 1280px)
#left .finished_at_label
display: none