travis-web/assets/styles/main/summary.sass

233 lines
4.4 KiB
Sass

@import "_mixins/all"
.green .build-status
background: #549e54 inline-image('icons/state-passed-white.svg') no-repeat
background-size: 14px 14px
background-position: 12px 12px
.yellow .build-status
background: #bcaf39 inline-image('icons/state-pending-white.svg') no-repeat
background-size: 14px 14px
background-position: 12px 12px
.red .build-status
background: #b54223 inline-image('icons/state-failed-white.svg') no-repeat
background-size: 14px 14px
background-position: 12px 12px
.gray .build-status
background: #a8a8a9 inline-image('icons/state-errored-white.svg') no-repeat
background-size: 14px 14px
background-position: 12px 12px
#new-summary
@include clearfix
@include border-radius(4px)
background-color: #fafafa
padding: 0 11px 0 0
position: relative
.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
max-height: 63px
display: block
font-size: 12px
font-family: Monaco, 'Liberation Mono', Courier, monospace
margin-bottom: 0px
margin-top: 10px
text-overflow: ellipsis
white-space: nowrap
overflow: hidden
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
padding-left: 21px
.runtime
background-image: inline-image('icons/run-time.svg')
.finished
background-image: inline-image('icons/finished.svg')
.tags
background-image: inline-image('icons/tags.svg')
.commit-changes
background-image: inline-image('icons/github.svg')
.runtime
margin-top: 5px
.runtime, .finished, .tags, .commit-changes
background-position: left center
background-repeat: no-repeat
background-size: 14px 14px
padding-left: 20px
font-size: 13px
display: block
width: 100%
text-align: left
line-height: 23px
margin-left: 12px
.commit-changes
text-align: left
text-decoration: underline
width: inherit
div
display: inline
clear: none
a
text-overflow: ellipsis
white-space: nowrap
overflow: hidden
display: inline-block
max-width: 175px
.commit-changes
background: inline-image('icons/github.svg') left center no-repeat
background-size: 13px 13px
text-align: left
text-decoration: underline
width: inherit
font-size: 13px
margin-left: 12px
padding-left: 20px
line-height: 20px
div
display: inline
clear: none
a
text-overflow: ellipsis
white-space: nowrap
overflow: hidden
display: inline-block
max-width: 175px
.right
margin-top: 10px
float: right
width: 220px
font-size: 11px
.request-kind
background-color: #e8e9ea
opacity: 0.6
float: left
position: relative
display: block
width: 40px
height: 145px
margin-right: 10px
.kind-icon
padding-top: 13px
padding-left: 9px
.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
margin-top: 10px
position: absolute
bottom: 7px
left: 65px
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