angular-docs-cn/public/resources/css/module/_code-box.scss

37 lines
668 B
SCSS
Raw Normal View History

2015-04-22 08:33:17 -04:00
.code-box {
2015-04-22 09:59:02 -04:00
border-radius: 4px;
background: $steel;
box-shadow: 0px 2px 5px rgba($coal, .3);
display: none;
2015-04-22 10:17:26 -04:00
margin-bottom: $unit * 2;
2015-04-22 08:33:17 -04:00
2015-04-22 09:59:02 -04:00
header {
background: darken($steel, 5%);
color: $snow;
padding: $unit;
border-radius: 4px 4px 0px 0px;
2015-04-22 08:33:17 -04:00
}
nav {
2015-04-22 09:59:02 -04:00
button {
line-height: $unit * 3;
height: $unit * 3;
padding: 0px ($unit * 3);
margin-right: $unit;
font-size: 13px;
background: lighten($steel, 3%);
color: $tin;
font-weight: 500;
2015-04-22 08:33:17 -04:00
2015-04-22 09:59:02 -04:00
&.is-selected {
background: $blueberry;
color: $snow;
}
2015-04-22 08:33:17 -04:00
}
}
2015-04-22 09:59:02 -04:00
.prettyprint {
box-shadow: none;
margin: 0px;
}
2015-04-22 08:33:17 -04:00
}