-
-
Save rightfold/bbf73b19a96a90bf4f87 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@import '../vendor/normalize'; | |
@import '../vendor/colors'; | |
$gr: 1.61803398875; | |
$unit: 12px; | |
$unitgr: $unit * $gr; | |
@function gradient($color) { | |
@return -webkit-linear-gradient($color, darken($color, 7%)); | |
} | |
body { | |
background: $white; | |
color: $black; | |
font-weight: bold; | |
} | |
.nodes > .node { | |
border: 2px solid $black; | |
margin: $unitgr; | |
&.collapsed > *:not(header) { | |
display: none; | |
} | |
& > header { | |
& > h1 { | |
background: gradient($silver); | |
font-size: $unit * 2; | |
line-height: $unitgr * 2; | |
margin: 0; | |
padding: 0 $unit; | |
} | |
& > .status { | |
float: right; | |
line-height: $unitgr * 2; | |
padding: 0 $unit; | |
&.status-operational { | |
background: gradient($green); | |
} | |
&.status-failing { | |
background: gradient($red); | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment