savvy-js
Version:
Savvy - Style sheet documentation tool
153 lines (128 loc) • 2.75 kB
CSS
@import url(http://fonts.googleapis.com/css?family=Open+Sans);
#savvy-body{
font-family: 'Oxygen', sans-serif;
margin: 0;
padding:0;
overflow-x: hidden;
}
/********** Bootstrap overrides **********/
.tab-pane{
padding-top:10px;
}
/********** Header **********/
.savvy-site-header {
color: #7C7C7C;
overflow: hidden;
position: relative;
border-bottom: 1px solid #D2D2D2;
margin-bottom: 1px;
}
.savvy-site-header h1{
margin:0;
padding: 20px;
float:left;
}
.savvy-logo {
float:right;
width: 150px;
background: white;
padding: 10px;
margin: 10px;
}
/********** Side bar **********/
.savvy-side-bar{
color : silver;
padding:20px;
}
.savvy-search-icon{
position: absolute;
right: 25px;
top: 10px;
}
#savvy-browse h4 ~ ul {
display: none;
list-style-type: none;
margin: 0;
font-size: 16px;
padding: 0 0 0 20px;
}
#savvy-browse h4{
cursor: pointer;
font-size:14px;
margin: 5px 0;
}
#savvy-browse a {
font-size: 14px;
}
#savvy-browse h4.savvy-visible ~ ul{
display: block;
}
#savvy-browse h4:before{
content:'\e080';
font-family: 'Glyphicons Halflings';
font-size: 6px;
margin: 4px;
position: relative;
top: -2px;
}
#savvy-browse h4.savvy-visible:before{
content: '\e114';
}
#savvy-browse li > div{
padding-left: 5px;
}
/********** Content area **********/
.savvy-site-content{
padding-top: 20px;
}
#savvy-welcome{
padding-left:20px;
padding-right: 20px;
}
.savvy-example {
background-color: #fff;
position: relative;
padding: 45px 15px 15px;
margin: 0 15px 15px;
}
.savvy-example:after {
position: absolute;
top: 15px;
left: 15px;
font-size: 12px;
font-weight: 700;
color: #959595;
text-transform: uppercase;
letter-spacing: 1px;
content: "Example";
}
.savvy-live-example{
border: 1px solid #ddd;
border-radius: 4px 4px 0 0;
}
.savvy-example.savvy-live-example:after{
content : 'Live Example';
}
.savvy-class-states,
.savvy-class-children{
padding-left: 30px;
border-left: 3px solid #E8E8E8;
margin-bottom: 10px;
}
.savvy-class-states h1,
.savvy-class-children h1{
font-size: 20px;
font-weight: bold;
}
.savvy-class-states h2,
.savvy-class-children h2{
font-size: 22px;
font-style: italic;
margin-left:20px;
}
.savvy-class-states .savvy-class-states,
.savvy-class-states .savvy-class-children,
.savvy-class-children .savvy-class-states,
.savvy-class-children .savvy-class-children{
margin-left: 20px;
}