travis-web/assets/styles/app/layout.sass
2015-02-02 17:30:27 +01:00

153 lines
2.6 KiB
Sass

@import "app/_mixins/all"
$left-width: 250px
// @mixin display-flex
// display: -webkit-flex
// display: -moz-flex
// display: -ms-flexbox
// display: flex
// @mixin flex($grow, $shrink, $size)
// -ms-flex: $grow $shrink $size
// -webkit-flex: $grow $shrink $size
// -moz-flex: $grow $shrink $size
// flex: $grow $shrink $size
// html, body
// min-height: 100vh
// body > div:first-child
// min-height: 100vh
.main, .profile-view
position: relative
width: 100%
min-height: 100vh
// margin-top: 40px
//@include display-flex
// #top
// position: absolute
// top: -40px
// left: 0
// width: 100%
// min-width: 930px
// height: 55px
// z-index: 1000
#auth, #not-found, #simple
#top
top: 0
#not-found #main
padding: 100px 50px 0 50px
#left, #right
position: relative
min-height: 100%
//@include flex(0, 0, 25em)
#left
float: left
padding: 0 0 110px 0
background-color: #fbfbfa
border-right: 1px solid $color-border-normal
@media #{$medium-up}
#left
width: grid-calc(8, 24)
@media #{$large-up}
#left
width: grid-calc(5, 24)
max-width: 300px
.duration_label
display: inline-block
height: 11px
line-height: 13px
text-indent: 14px
margin-right: 1px
overflow: hidden
background: inline-image('ui/clock.svg') no-repeat 0px 0px
background-size: contain
#main
position: relative
padding: 20px 30px 80px
@media #{$medium-up}
#main
width: grid-calc(16, 24)
float: right
@media #{$medium-up}
#main
width: grid-calc(19, 24)
float: right
.travis-lint
background-color: $travis-lint-bg
width: 100%
color: $travis-lint-color
margin: 10px 0 36px 0
p
padding: 10px
font-weight: bold
margin: 0
a
margin-left: 5px
@media screen and (max-width: 1400px)
#left .duration_label
display: inline-block
width: 11px
height: 11px
margin-right: 1px
text-indent: 10px
overflow: hidden
background: inline-image('ui/clock.svg') no-repeat 0px 0px
background-size: contain
@media screen and (max-width: 1400px)
#left .finished_at_label
display: none
@media screen and (max-width: 1400px)
table#builds .committer
display: none
@media handheld, only screen and (max-device-width: 980px)
#left
display: none
#main
min-width: 99%
max-width: 99%
padding: 0px
.tabs
margin-top: 5px
p.description
margin: 5px 0px
#repo
padding: 15px 10px
width: 95%
#top
width: 100%
min-width: 960px
#tools
display: none
a
text-decoration : none
.application,
.dashboard
height: 100%
.no-padding
padding : 0