fix things as described in teal#148
This commit is contained in:
parent
5adda57d80
commit
30485d1f00
|
@ -8,6 +8,22 @@
|
||||||
background-clip: padding-box
|
background-clip: padding-box
|
||||||
border-radius 4px
|
border-radius 4px
|
||||||
|
|
||||||
|
@mixin fadeOut($position, $angle, $color)
|
||||||
|
content: ""
|
||||||
|
display: block
|
||||||
|
position: absolute
|
||||||
|
|
||||||
|
@if $position == bottom
|
||||||
|
bottom: 0
|
||||||
|
width: 100%
|
||||||
|
height: 2em
|
||||||
|
@else if $position == right
|
||||||
|
top: 0
|
||||||
|
right: 0
|
||||||
|
width: 2em
|
||||||
|
height: 100%
|
||||||
|
|
||||||
|
background: linear-gradient($angle, rgba($color, 1) 0%, rgba($color, 0) 100%)
|
||||||
|
|
||||||
@mixin clearfix
|
@mixin clearfix
|
||||||
&:before,
|
&:before,
|
||||||
|
|
|
@ -1,4 +1,7 @@
|
||||||
|
|
||||||
|
$font-size-m: 16px
|
||||||
|
$line-height-m: 1.3
|
||||||
|
|
||||||
// colors
|
// colors
|
||||||
$teal1: #5FA5A4
|
$teal1: #5FA5A4
|
||||||
$teal2: #63A4A3
|
$teal2: #63A4A3
|
||||||
|
|
|
@ -5,9 +5,8 @@
|
||||||
.repo-build-status a
|
.repo-build-status a
|
||||||
color: $color
|
color: $color
|
||||||
|
|
||||||
|
|
||||||
.repo
|
.repo
|
||||||
font-size: $font-size-normal
|
font-size: $font-size-m
|
||||||
color: $grey
|
color: $grey
|
||||||
|
|
||||||
.repo-header
|
.repo-header
|
||||||
|
@ -58,12 +57,12 @@
|
||||||
@media #{$medium-up}
|
@media #{$medium-up}
|
||||||
.dropdown
|
.dropdown
|
||||||
position: absolute
|
position: absolute
|
||||||
top: -1.1em
|
top: -0.8em
|
||||||
right: 0
|
right: 0
|
||||||
z-index: 50
|
z-index: 50
|
||||||
.tabnav
|
.tabnav
|
||||||
position: absolute
|
position: absolute
|
||||||
top: -0.6em
|
top: -0.4em
|
||||||
.repo-menu-header
|
.repo-menu-header
|
||||||
position: relative
|
position: relative
|
||||||
height: 1.6em
|
height: 1.6em
|
||||||
|
@ -75,7 +74,7 @@
|
||||||
small
|
small
|
||||||
margin: 0
|
margin: 0
|
||||||
font-weight: 400
|
font-weight: 400
|
||||||
font-size: $font-size-big
|
font-size: $font-size-m
|
||||||
color: $grey3
|
color: $grey3
|
||||||
line-height: 1
|
line-height: 1
|
||||||
small
|
small
|
||||||
|
@ -83,6 +82,14 @@
|
||||||
font-weight: 600
|
font-weight: 600
|
||||||
|
|
||||||
.repo-main-description
|
.repo-main-description
|
||||||
|
|
||||||
|
@media #{$medium-up}
|
||||||
|
position: relative
|
||||||
|
max-height: 4.9em
|
||||||
|
overflow: hidden
|
||||||
|
&:after
|
||||||
|
@include fadeOut(bottom, 0deg, $cream-light)
|
||||||
|
|
||||||
.body
|
.body
|
||||||
display: block
|
display: block
|
||||||
font-size: 13px
|
font-size: 13px
|
||||||
|
@ -95,10 +102,13 @@
|
||||||
|
|
||||||
.repo-main-info
|
.repo-main-info
|
||||||
@include resetul
|
@include resetul
|
||||||
|
position: relative
|
||||||
padding-right: 2em
|
padding-right: 2em
|
||||||
margin-right: 1.4em
|
margin-right: 1.4em
|
||||||
border-right: $cream-dark 1px solid
|
border-right: $cream-dark 1px solid
|
||||||
line-height: 1.8
|
line-height: $line-height-m
|
||||||
|
&:after
|
||||||
|
@include fadeOut(right, -90deg, $cream-light)
|
||||||
a
|
a
|
||||||
color: $grey
|
color: $grey
|
||||||
white-space: nowrap
|
white-space: nowrap
|
||||||
|
@ -118,10 +128,11 @@
|
||||||
&:hover
|
&:hover
|
||||||
background-color: darken($grey, 10)
|
background-color: darken($grey, 10)
|
||||||
.icon
|
.icon
|
||||||
width: 1em
|
width: .9em
|
||||||
height: 1.4em
|
|
||||||
vertical-align: middle
|
|
||||||
.icon--cancel
|
|
||||||
height: 1.1em
|
height: 1.1em
|
||||||
|
vertical-align: bottom
|
||||||
|
.icon--cancel
|
||||||
|
width: 1em
|
||||||
|
height: 1.05em
|
||||||
.icon--codeclimate
|
.icon--codeclimate
|
||||||
width: 1.2em
|
width: 1.2em
|
||||||
|
|
|
@ -75,7 +75,7 @@
|
||||||
.log-header
|
.log-header
|
||||||
height: 44px
|
height: 44px
|
||||||
margin: 0
|
margin: 0
|
||||||
padding: .9em .8em .6em
|
padding: .7em .8em .6em
|
||||||
text-align: right
|
text-align: right
|
||||||
background-color: $log-header-bg
|
background-color: $log-header-bg
|
||||||
@extend %border-top-4px
|
@extend %border-top-4px
|
||||||
|
|
|
@ -42,7 +42,7 @@
|
||||||
.tabnav-sub
|
.tabnav-sub
|
||||||
@include resetul
|
@include resetul
|
||||||
@extend %inline-block
|
@extend %inline-block
|
||||||
overflow: auto
|
overflow: visible
|
||||||
a
|
a
|
||||||
color: $grey2
|
color: $grey2
|
||||||
padding: .5em 0
|
padding: .5em 0
|
||||||
|
|
|
@ -68,7 +68,7 @@
|
||||||
display: block
|
display: block
|
||||||
width: 1.1em
|
width: 1.1em
|
||||||
height: 1.2em
|
height: 1.2em
|
||||||
margin: .8em auto 1.1em
|
margin: .7em auto 1em
|
||||||
.request-kind
|
.request-kind
|
||||||
display: block
|
display: block
|
||||||
width: 1.4em
|
width: 1.4em
|
||||||
|
|
|
@ -41,7 +41,7 @@
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
{{#if build.pullRequest}}
|
{{#if build.pullRequest}}
|
||||||
<a class="compare" {{bind-attr href="build.commit.compareUrl"}}>#{{build.pullRequestNumber}}: {{build.pullRequestTitle}}</a>
|
<a class="compare" {{bind-attr href="build.commit.compareUrl"}}><span class="icon icon--github"></span> #{{build.pullRequestNumber}}: {{build.pullRequestTitle}}</a>
|
||||||
{{else}}
|
{{else}}
|
||||||
{{#if build.commit.compareUrl}}
|
{{#if build.commit.compareUrl}}
|
||||||
<a class="compare" {{bind-attr href="build.commit.compareUrl"}}>
|
<a class="compare" {{bind-attr href="build.commit.compareUrl"}}>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user