Cachet/app/assets/sass/_status-page.scss

223 lines
5.1 KiB
SCSS
Raw Normal View History

@import 'palette';
body.status-page {
font-family: 'Lato';
2014-12-05 13:38:07 +00:00
color: #333333;
font-size: 1.4em;
font-weight: 300;
hr {
margin-top: 10px;
margin-bottom: 10px;
2014-12-05 13:38:07 +00:00
}
h1, h2, h3, h4, h5 {
margin-bottom: 20px;
2014-12-05 13:38:07 +00:00
}
.text-success, .text-component-1 {
color: $green;
2014-12-05 13:38:07 +00:00
}
.text-info, .text-component-2 {
color: $blue;
2014-12-05 13:38:07 +00:00
}
.text-alert, .text-component-3 {
color: $yellow;
2014-12-05 13:38:07 +00:00
}
.text-danger, .text-component-4 {
color: $red;
2014-12-05 13:38:07 +00:00
}
.container {
max-width: 960px;
margin-bottom: 40px;
margin-top: 20px;
2014-12-05 13:38:07 +00:00
}
.page-header {
margin-top: 10px;
}
2014-12-05 13:38:07 +00:00
.alert {
2014-12-05 13:38:07 +00:00
border-radius: 0;
font-size: 1.2em;
&.alert-success {
background-color: $green;
border-color: $dark-green;
color: white;
2014-12-05 13:38:07 +00:00
}
&.alert-info {
background: $blue;
border-color: $dark-blue;
color: #FFF;
2014-12-05 13:38:07 +00:00
}
&.alert-danger {
background: $red;
border-color: $dark-red;
color: #FFF;
2014-12-05 13:38:07 +00:00
}
}
2014-12-05 13:38:07 +00:00
.timeline {
.content-wrapper {
margin-top: 40px;
margin-bottom: 40px;
2014-12-05 13:38:07 +00:00
}
h3 {
margin-top: 30px;
margin-bottom: 40px;
font-size: 22px;
small {
margin-left: 15px;
}
}
.moment {
width: 100%;
padding-bottom: 50px;
position: relative;
&.first {
&:before {
height: 130%;
top: -20px;
}
&:after {
content: '';
position: absolute;
left: 23px;
top: -20px;
width: 7px;
height: 7px;
background: $grey;
border-radius: 50%;
}
}
&:before {
content: '';
position: absolute;
left: 25px;
top: 5px;
width: 3px;
height: 100%;
background: #eee;
}
.icon {
background: #000;
width: 35px;
height: 35px;
border-radius: 50%;
position: absolute;
left: 24px;
top: 4px;
.fa {
color: #fff;
position: absolute;
&.fa-flag {
top: 10px;
left: 11px;
}
&.fa-warning {
top: 10px;
left: 11px;
}
&.fa-eye {
top: 10px;
left: 11px;
}
&.fa-check {
top: 10px;
left: 11px;
}
}
&.status-1 {
background-color: $orange;
}
&.status-2 {
background-color: $yellow;
}
&.status-3 {
background-color: $blue;
}
&.status-4 {
background-color: $green;
}
}
&.last:before {
background: #fff;
}
.message .content {
float: left;
width: 80%;
p {
margin-top: 15px;
color: #555;
.date {
display: block;
color: $dark-grey;
margin-bottom: 6px;
font-size: 13px;
}
}
}
2014-12-05 13:38:07 +00:00
}
}
@media (max-width: 991px) {
.timeline .moment .icon {
left: 17px;
}
}
@media (max-width: 767px) {
.timeline .moment .message .content {
width: 100%;
}
}
2014-12-05 13:38:07 +00:00
.list-group {
margin-bottom: 20px;
padding-left: 0;
border-radius: 0;
.list-group-item {
border-radius: 0;
background-color: #ffffff;
border: 1px solid $grey;
2014-12-05 13:38:07 +00:00
font-size: 1.1em;
h4 {
margin-bottom: 2px;
font-weight: 400;
max-width: 90%;
}
p, time {
margin-bottom: 0;
line-height: 1.3em;
}
2014-12-05 13:38:07 +00:00
}
&.components {
margin-bottom: 30px;
p {
margin-bottom: 10px;
}
.badge {
color: transparent;
}
2014-12-05 13:38:07 +00:00
}
}
2014-12-18 22:37:59 +00:00
footer.footer {
padding-top: 40px;
padding-bottom: 40px;
color: #777;
text-align: center;
border-top: 1px solid $grey;
background-color: lighten($grey, 5%);
}
2014-12-18 22:37:59 +00:00
}