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

62 lines
1.5 KiB
SCSS
Raw Normal View History

2015-12-22 14:57:22 +01:00
.page-styleguide {
2017-05-31 00:22:14 +02:00
.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 $spacer / 2;
margin-bottom: 0;
2015-12-22 14:57:22 +01:00
border-radius: $border-radius;
border: 1px solid lighten($body-bg, 10%);
2016-01-22 16:03:56 +01:00
text-align: center;
2015-12-22 14:57:22 +01:00
&,
.color-meta { @include transition; }
2015-12-22 14:57:22 +01:00
.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;
opacity: 0;
}
&:hover {
background: #444 !important;
2017-05-31 00:22:14 +02:00
.color-meta { opacity: 1; }
2015-12-22 14:57:22 +01:00
}
}
.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; }