woodpecker/static/styles/modules/status.sass

47 lines
686 B
Sass
Raw Normal View History

2015-09-30 01:21:17 +00:00
.success,
.failure,
.killed,
.error,
.running,
.pending
padding: 0px 15px;
color: #FFF;
width: 100px;
text-align: center;
border-radius: 2px;
text-transform: uppercase;
font-size: 11px;
2015-09-30 01:21:17 +00:00
line-height: 22px;
display: inline-block;
margin-right: 10px;
2015-09-30 01:21:17 +00:00
.error,
.killed,
.failure
background: #bf616a;
.success
background: #a3be8c;
.pending,
.running
background: #ebcb8b;
animation: horizontal 2s ease infinite;
@keyframes horizontal
0%
transform: translate(0,0)
2015-09-30 01:21:17 +00:00
6%
transform: translate(5px,0)
2015-09-30 01:21:17 +00:00
12%
transform: translate(0,0)
2015-09-30 01:21:17 +00:00
18%
transform: translate(5px,0)
2015-09-30 01:21:17 +00:00
24%
transform: translate(0,0)
2015-09-30 01:21:17 +00:00
30%
transform: translate(5px,0)
2015-09-30 01:21:17 +00:00
36%,100%
transform: translate(0,0)