Scribe.js/resources/styles/shared/base.scss

69 lines
1.1 KiB
SCSS
Raw Normal View History

2016-01-22 08:22:11 -06:00
* {
vertical-align: top;
box-sizing: border-box;
outline: none;
-webkit-font-smoothing: subpixel-antialiased;
}
.monospaced {
font-family: 'Monaco', 'Consolas', monospace;
}
code {
@extend .monospaced;
}
.ace_content *, .ace_gutter * {
@extend .monospaced;
}
.icon {
font-family: 'Fontello', sans-serif !important;
font-weight: normal;
display: inline-block;
text-align: center;
$icons: "support" ,
"price" ,
"close" ,
"dmenu" ,
"pop" ,
"settings" ,
"calendar" ,
2016-01-22 08:22:11 -06:00
"archive" ,
"console" ,
"arrow" ,
2016-01-22 08:22:11 -06:00
"menu" ;
@each $i in $icons {
&.#{nth($i, 1)}:before {
content: "" + nth($i, 2) + "";
}
}
}
$animateSpeed: 400ms;
.animate {
transition: all $animateSpeed ease-in-out
}
.animate-transform {
transition: transform $animateSpeed ease-in-out;
}
.animate-height {
transition: height $animateSpeed ease-in-out;
}
.animate-height {
transition: width $animateSpeed ease-in-out;
}
.animate-background {
transition: background $animateSpeed ease-in-out;
}
.float-right {
float: right;
}