1
0
mirror of https://github.com/bigchaindb/site.git synced 2024-11-02 00:05:37 +01:00
site/_src/_assets/styles/_page-styleguide.scss

64 lines
1.5 KiB
SCSS
Raw Normal View History

2015-12-22 14:57:22 +01:00
.page-styleguide {
.highlight { margin-bottom: ($spacer * 2) }
.typeface {
font-size: 7vw;
&.bold {
margin-bottom: $spacer * 2;
}
}
2015-12-22 14:57:22 +01:00
}
// color swatches
.color {
padding: ($spacer / 2);
margin-bottom: 5px;
border-radius: $border-radius;
border: 1px solid lighten($body-bg, 10%);
2015-12-22 14:57:22 +01:00
min-height: 70px;
2016-01-22 16:03:56 +01:00
text-align: center;
2015-12-22 14:57:22 +01:00
&,
.color-meta { @extend .transition; }
.color-meta {
display: block;
font-family: $font-family-monospace;
2016-01-22 16:03:56 +01:00
font-size: 11px;
2015-12-22 14:57:22 +01:00
color: #fff;
vertical-align: middle;
opacity: 0;
}
&:hover {
background: #444 !important;
.color-meta { opacity: 1 }
}
}
.color-hex {
margin-top: 5px;
2016-01-22 16:03:56 +01:00
font-size: 16px !important;
2015-12-22 14:57:22 +01:00
border-top: 1px solid #777;
padding-top: 5px;
}
// colors
.brand-main-blue { background: $brand-main-blue }
.brand-main-blue-light { background: $brand-main-blue-light }
.brand-main-blue-dark { background: $brand-main-blue-dark }
.brand-main-gray { background: $brand-main-gray }
.brand-main-green { background: $brand-main-green }
.brand-main-violet { background: $brand-main-violet }
.brand-main-gray-light { background: $brand-main-gray-light }
.brand-main-gray-lighter { background: $brand-main-gray-lighter }
.brand-success { background: $brand-success }
.brand-info { background: $brand-info }
.brand-warning { background: $brand-warning }
.brand-danger { background: $brand-danger }