dashboard tiles overflow fadeout

This commit is contained in:
Lisa Passing 2015-02-04 12:49:09 +01:00
parent c4b7677238
commit 3f00cec935
2 changed files with 59 additions and 66 deletions

View File

@ -23,6 +23,8 @@ $error-color: #999999
$start-color: #848032 $start-color: #848032
$start-bg-color: #D2CA24 $start-bg-color: #D2CA24
$dashboard-text-color: #9d9fa1
//wrapper //wrapper
$wrapper-bg-color: #f4f3ea $wrapper-bg-color: #f4f3ea

View File

@ -78,22 +78,6 @@
text-indent : -9999px text-indent : -9999px
border-radius : 100px border-radius : 100px
// .org-travisci
// background : url('/images/dashboard/orgs-travisci.png') no-repeat
// background-size : contain
// .org-saltinejustine
// background : url('/images/dashboard/orgs-saltinejustine.png') no-repeat
// background-size : contain
// .org-openkarma
// background : url('/images/dashboard/orgs-openkarma.png') no-repeat
// background-size : contain
// .org-eurucamp
// background : url('/images/dashboard/orgs-eurucamp.png') no-repeat
// background-size : contain
#filters ul li ul li:hover #filters ul li ul li:hover
background : #5e869a background : #5e869a
color : $white color : $white
@ -173,7 +157,7 @@
margin-left : 5px margin-left : 5px
border-left : 5px solid transparent border-left : 5px solid transparent
border-right : 5px solid transparent border-right : 5px solid transparent
border-top : 5px solid #9d9fa1 border-top : 5px solid $dashboard-text-color
#search #search
float : right float : right
@ -206,48 +190,79 @@
.tiles .tiles
background : #f4f3ea background : #f4f3ea
padding : 30px 0 10px 0 padding : 30px 0 10px 0
.columns + .columns:last-child
float: left
.tile .tile
background : $white position: relative
min-height : 125px
color : #9d9fa1
font-size : 14px
margin-bottom : 20px margin-bottom : 20px
padding : 0 10px 0 0 padding : 0 10px 0 0
border-radius : 4px min-height : 125px
background : $white
color : $dashboard-text-color
font-size : 14px
border-radius : 4px
overflow: hidden
.duration &:after
background-image: url('/images/dashboard/time.svg') content: ""
background-size : 11px 11px display: block
text-indent : 15px position: absolute
line-height : 13px top: 0
right: 0
bottom: 0
width: 3em
background: linear-gradient(90deg, rgba($white, .2), $white 50%, $white)
.duration, .finished .duration, .finished
margin-top : 8px margin-top : 8px
background-repeat: no-repeat background-repeat: no-repeat
background-position: 0 1px background-position: 0 1px
background-size : 11px 11px
text-indent : 15px
.duration
background-image: url('/images/dashboard/time.svg')
line-height : 13px
.finished .finished
background-image: url('/images/dashboard/cal.svg') background-image: url('/images/dashboard/cal.svg')
background-size : 11px 11px
text-indent : 15px
line-height : 14px line-height : 14px
.build-status .build-status
margin: 5px 0 0
.build-information
padding: 8px 0 6px 45px
.org
margin : 0
.repo
font-size : 20px
display : inline-block
margin : 0
max-width : 250px
white-space : nowrap
line-height : 20px
text-overflow : ellipsis
.star-feature
position : absolute
top : 0
right : 0
background : url('/images/dashboard/star-on.svg') no-repeat 7px 10px
background-size : 20px 20px
.build-bar
position: absolute position: absolute
bottom: 25px background:
margin-bottom: 0 repeat: no-repeat
position: 7px 10px
.build-bar size: 20px 20px
position: absolute min-height : 100%
background: width : 33px
repeat: no-repeat border-radius : 4px 0 0 4px
position: 7px 10px
size: 20px 20px
min-height : 125px
width : 33px
border-radius : 4px 0 0 4px
.repo a:hover, .repo a:hover,
.build-status a:hover, .build-status a:hover,
@ -299,30 +314,6 @@
.build-status a .build-status a
color: $error-color color: $error-color
.tile .build-information
padding-left : 45px
padding-top : 8px
.tile .org
margin : 0
.tile .repo
font-size : 20px
display : inline-block
margin : 0
max-width : 250px
white-space : nowrap
line-height : 20px
text-overflow : ellipsis
.tile .star-feature
position : absolute
top : 0
right : 0
background : url('/images/dashboard/star-on.svg') no-repeat 7px 10px
background-size : 20px 20px
.if_private .if_private
display : inline-block display : inline-block
background : url('/images/dashboard/private-icon.svg') no-repeat 0 0 background : url('/images/dashboard/private-icon.svg') no-repeat 0 0