@ -1,3 +1,4 @@
@import " mixin " ;
/ / @ import " ~bootstrap/scss/bootstrap " ;
$dark : #3f4853 ;
@ -52,36 +53,45 @@ $input-border-color: $dark;
$fa-font-path : " ~font-awesome/fonts " ;
@import " ~font-awesome/scss/font-awesome " ;
body {
background-color : #fafafa ;
}
/** Headings */
h1 , h2 , h3 , h4 {
color : #3f4853 ;
}
. badge-error , . progress-bar-error {
background-color : #000 ;
background-color : #000 ;
}
. badge-critical , . progress-bar-critical {
background-color : #000 ;
background-color : #000 ;
}
table . center {
td {
text-align : center ;
td {
text-align : center ;
& . left {
text-align : left ;
}
}
& . left {
text-align : left ;
}
}
}
td . error {
background-color : #ddd ;
background-color : #ddd ;
}
. progress {
margin : 0 ;
margin : 0 ;
}
# check ,
# ssh_check ,
# tls_check {
margin-top : 100 px ;
margin-top : 100 px ;
}
$color-critical : #d9534f ;
@ -92,129 +102,179 @@ $color-best: #8db457;
$color-great : #5cb85c ;
. badge-state-critical , td . badge-state-critical {
background-color : $color-critical ;
background-color : $color-critical ;
}
. badge-state-error , td . badge-state-error {
background-color : $color-error ;
background-color : $color-error ;
}
. badge-state-warning , td . badge-state-warning {
background-color : $color-warning ;
background-color : $color-warning ;
}
. badge-state-good , td . badge-state-good {
background-color : $color-good ;
background-color : $color-good ;
}
. badge-state-best , td . badge-state-best {
background-color : $color-best ;
background-color : $color-best ;
}
. badge-state-great , td . badge-state-great {
background-color : $color-great ;
background-color : $color-great ;
}
. badge-state-default {
background-color : $secondary ;
background-color : $secondary ;
}
. badge-state-success , td . badge-state-success {
background-color : $color-great ;
background-color : $color-great ;
}
$lighten-alert : 35 % ;
. alert-critical {
background-color : lighten ( $color-critical , $lighten-alert ) ;
color : $color-critical ;
border-color : $color-critical ;
background-color : lighten ( $color-critical , $lighten-alert ) ;
color : $color-critical ;
border-color : $color-critical ;
}
. alert-error {
background-color : lighten ( $color-error , $lighten-alert ) ;
color : $color-error ;
border-color : $color-error ;
background-color : lighten ( $color-error , $lighten-alert ) ;
color : $color-error ;
border-color : $color-error ;
}
. alert-warning {
background-color : lighten ( $color-warning , $lighten-alert ) ;
color : $color-warning ;
border-color : $color-warning ;
background-color : lighten ( $color-warning , $lighten-alert ) ;
color : $color-warning ;
border-color : $color-warning ;
}
. alert-good {
background-color : lighten ( $color-good , $lighten-alert ) ;
color : $color-good ;
border-color : $color-good ;
background-color : lighten ( $color-good , $lighten-alert ) ;
color : $color-good ;
border-color : $color-good ;
}
. alert-best {
background-color : lighten ( $color-best , $lighten-alert ) ;
color : $color-best ;
border-color : $color-best ;
background-color : lighten ( $color-best , $lighten-alert ) ;
color : $color-best ;
border-color : $color-best ;
}
. alert-great {
background-color : lighten ( $color-great , $lighten-alert ) ;
color : $color-great ;
border-color : $color-great ;
background-color : lighten ( $color-great , $lighten-alert ) ;
color : $color-great ;
border-color : $color-great ;
}
table . scoring img {
width : 30 px ;
width : 30 px ;
}
# about , # help {
margin-bottom : 20 px ;
margin-bottom : 20 px ;
}
# about , # help . scoring {
p {
font-size : 1 .25 em ;
}
p {
font-size : 1 .25 em ;
}
}
# donorbox {
background : #2d81c5 url( "../images/donorbox.png" ) no-repeat 18 px center ;
color : #fff ;
text-decoration : none ;
font-family : Verdana , sans-serif ;
display : inline-block ;
font-size : 16 px ;
padding : 13 px 17 px 13 px 56 px ;
-webkit-border-radius : 2 px ;
-moz-border-radius : 2 px ;
border-radius : 2 px ;
box-shadow : 0 1 px 0 0 #1f5a89 ;
text-shadow : 0 1 px rgba ( 0 , 0 , 0 , 0 .3 ) ;
background : #2d81c5 url( "../images/donorbox.png" ) no-repeat 18 px center ;
color : #fff ;
text-decoration : none ;
font-family : Verdana , sans-serif ;
display : inline-block ;
font-size : 16 px ;
padding : 13 px 17 px 13 px 56 px ;
-webkit-border-radius : 2 px ;
-moz-border-radius : 2 px ;
border-radius : 2 px ;
box-shadow : 0 1 px 0 0 #1f5a89 ;
text-shadow : 0 1 px rgba ( 0 , 0 , 0 , 0 .3 ) ;
}
# liberapay , # donorbox , # paypal {
img {
height : 50 px ;
max-width : 140 px ;
}
img {
height : 50 px ;
max-width : 140 px ;
}
}
/** Form part */
. form-control ,
. form-select {
border-color : $dark ;
}
. input-danger {
@extend . form-control ;
border-color : $danger ;
}
label {
font-weight : bold ;
color : $dark ;
}
label . required : after {
font-weight : normal ;
content : ' * ' ;
color : red ;
}
fieldset {
border : 1 px solid $dark ;
border-radius : .5 rem ;
}
legend {
border-radius : .5 rem ;
padding : .2 rem .4 rem ;
}
/** Navigation tabs */
. tab-content {
border : 1 px solid $nav-pills-link-active-bg ;
border-bottom-left-radius : .3 rem ;
border-bottom-right-radius : .3 rem ;
}
. nav-pills . nav-link {
border-radius : .3 rem ;
font-weight : bold ;
}
. nav-pills . nav-link . active {
border-bottom-left-radius : 0 ;
border-bottom-right-radius : 0 ;
font-weight : bolder ;
}
/** Chart CSS */
. cumulative-datas {
position : relative ;
display : flex ;
flex-direction : row ;
width : 100 % ;
& - content {
position : absolute ;
height : 2 rem ;
}
position : relative ;
display : flex ;
flex-direction : row ;
width : 100 % ;
& - content {
position : absolute ;
height : 2 rem ;
}
}
. cumulative-data {
height : 2 rem ;
line-height : 2 rem ;
display : inline-block ;
white-space : nowrap ;
text-overflow : ellipsis ;
margin-right : .1 rem ;
padding-left : .3 rem ;
height : 2 rem ;
line-height : 2 rem ;
display : inline-block ;
white-space : nowrap ;
text-overflow : ellipsis ;
margin-right : .1 rem ;
padding-left : .3 rem ;
}