travis-web/app/styles/app/layouts/buildheader.sass
2015-03-23 14:04:03 +01:00

157 lines
2.7 KiB
Sass

.repo
font-size: $font-size-m
color: $grey
.repo-header
header
margin: 1rem 0 2.4rem
> *
vertical-align: middle
.repo-header-title
@extend %inline-block
margin: 0
font-weight: 400
font-size: 35px
a
color: $grey3
&:hover
text-decoration: underline
.repo-header-icons
line-height: 1
vertical-align: middle
a
@extend %inline-block
height: 1.7em
margin-left: .7em
.icon
width: 1.5em
height: 100%
position: relative
top: 0.65em
@media #{$medium-up}
@extend %inline-block
.repo-menus
@media #{$medium-up}
.dropdown
position: absolute
top: -0.8em
right: 0
z-index: 50
.tabnav
position: absolute
top: -0.4em
.repo-menu-header
position: relative
height: 1.6em
margin-bottom: 1em
border-bottom: solid $cream-dark 2px
.repo-main
.button--showmore
margin-top: 2em
.build-title
margin-top: 2.5rem
color: $grey1
font-size: $font-size-sm
font-weight: 400
& span:hover + .tooltip
display: block
ul
@include resetul
.repo-main-commit
position: relative
padding-bottom: 0.5em
&,
small
margin: 0
font-weight: 400
font-size: $font-size-m
color: $grey3
line-height: 1
a
color: $grey3
small
margin-right: .3em
font-weight: 600
@media #{$medium-up}
white-space: nowrap
overflow: hidden
&:after
@include fadeOut(right, -90deg, $cream-light)
.repo-main-description
p:not(.body)
color: $grey3
a
color: $grey3
p
margin: 0
@media #{$medium-up}
position: relative
height: 4.9em
overflow: hidden
&:after
@include fadeOut(bottom, 0deg, $cream-light)
.body
display: block
font-size: 13px
font-family: Monaco, monospace
margin-top: 0.6em
overflow: hidden
word-break: break-word
white-space: pre-wrap
color: $grey2
.repo-main-info
@include resetul
position: relative
padding-right: 2em
margin-right: 1.4em
border-right: $cream-dark 1px solid
line-height: $line-height-m
overflow: hidden
&:after
@include fadeOut(right, -90deg, $cream-light)
a
color: $grey
white-space: nowrap
&:hover
text-decoration: underline
li
white-space: nowrap
.repo-main-tools
position: absolute
top: 0
bottom: 0
right: 0
a
display: block
margin-bottom: .5em
text-align: center
background-color: $grey1
&:hover
background-color: darken($grey, 10)
.icon
width: .9em
height: 1.1em
vertical-align: bottom
.icon--cancel
width: 1em
height: 1.05em
.icon--codeclimate
width: 1.2em
.build-os.linux
text-transform: capitalize
.build-os.osx
text-transform: uppercase