travis-web/assets/styles/main/summary.sass
2014-12-10 21:30:42 +01:00

195 lines
3.4 KiB
Sass

@import "_mixins/all"
.green .build-status
background: #549e54 inline-image('icons/state-passed-white.svg') no-repeat
background-size: 10px 10px
background-position: 5px 10px
.yellow .build-status
background-color: #bcaf39
background: inline-image('icons/state-pending-white.svg') no-repeat
background-size: 10px 10px
background-position: 5px 10px
.red .build-status
background-color: #b54223
background: inline-image('icons/state-failed-white.svg') no-repeat
background-size: 10px 10px
background-position: 5px 10px
.gray .build-status
background-color: #a8a8a9
background: inline-image('icons/state-errored-white.svg') no-repeat
background-size: 10px 10px
background-position: 5px 10px
#new-summary
@include clearfix
@include border-radius(4px)
background-color: #fafafa
min-height: 30px
padding: 2px 11px
margin-bottom: 20px
padding-bottom: 10px
.branch
font-weight: bold
color: #81817d
font-size: 16px
max-width: 300px
display: inline-block
margin-top: 10px
overflow: hidden
white-space: nowrap
.subject
display: inline-block
font-size: 15px
color: #81817d
margin-top: 10px
overflow: hidden
margin-right: 2px
line-height: 20px
.body
min-width: 500px
display: block
min-height: 30px
font-size: 12px
font-family: Monaco, 'Liberation Mono', Courier, monospace
margin-bottom: 0px
margin-top: 10px
white-space: pre-wrap
a
text-decoration: underline
.build-status
@include border-radius(4px)
color: white
padding: 8px 0
font-size: 16px
text-align: left
padding-left: 10px
a
color: white
.runtime
font-size: 13px
display: block
width: 100%
text-align: left
line-height: 25px
margin: 5px 0 0 12px
img
height: 13px
width: 13px
opacity: 0.5
.finished
font-size: 13px
width: 100%
text-align: left
line-height: 25px
margin-left: 12px
img
height: 13px
width: 13px
opacity: 0.5
.commit-changes
text-align: left
text-decoration: underline
width: inherit
font-size: 13px
margin-left: 12px
overflow: hidden
img
margin-right: 2px
height: 13px
width: 13px
opacity: 0.5
div
display: inline
clear: none
.right
margin-top: 10px
float: right
width: 220px
font-size: 11px
.footer
a
color: #818181
text-decoration: underline
img
vertical-align: middle
border-radius: 100px
.text
line-height: 15px
display: inline-block
position: relative
top: 2px
.author
float: left
div
display: inline
clear: none
color: #818181
img
height: 16px
width: 16px
margin-right: 4px
margin-left: 2px
#summary
margin: 0 0 0 12px
@include clearfix
.left,
.right
float: left
a
text-decoration: underline
dt, dd
float: left
min-height: 25px
margin: 0
dt
clear: left
width: 90px
dd
width: 150px
white-space: nowrap
> dd
width: 80%
min-width: 315px
overflow: hidden
text-overflow: ellipsis
white-space: nowrap
.message
white-space: normal
min-width: 0
pre
font-size: 12px
display: inline-block
width: 100%
line-height: 18px
margin-bottom: 0
font-family: Monaco, 'Liberation Mono', Courier, monospace