api_docs/source/stylesheets/variables.scss
2013-10-01 13:32:30 -07:00

74 lines
No EOL
1.4 KiB
SCSS

// width of the navbar
$nav-width: 230px;
// default padding of the navbar
$nav-padding: 15px;
// background colors
$nav-bg: #393939;
$examples-bg: #393939;
$code-bg: #292929;
$code-annotation-bg: #1c1c1c;
$nav-subitem-bg: #262626;
$nav-select-bg: #2467af;
$lang-select-border: #000;
$lang-select-bg: #222222;
$main-bg: #eaf2f6;
// border colors
// $lang-select-border: #113a6f;
// text colors
// $nav-bg: #393939;
// $examples-bg: #393939;
// $code-bg: #262626;
// $nav-subitem-bg: #262626;
$lang-select-text: #fff;
$examples-width: 50%;
$code-annotation-padding: 13px;
// indentation amount for sub-items
$nav-indent: 10px;
// padding to the left of the main content, to the right of the navbar
$main-padding: 28px;
// primary text color
$main-text-color: #333;
// currently just the color of table borders
$line-color: #cfcfcf;
// margin between nav items and logo
$logo-margin: 20px;
// these are for the code blocks on the right, and the
// subheader navbar thing that swoops in
@mixin fancy-inset-border-top {
border-top: 1px solid #000;
}
@mixin fancy-inset-border-bottom {
border-bottom: 1px solid #404040;
box-shadow: none;
}
@mixin embedded-text($opacity: 1) {
@include text-shadow(0px 1px 0px rgba(#fff,$opacity));
}
@mixin break-words {
-ms-word-break: break-all;
word-break: break-all;
/* Non standard for webkit */
word-break: break-word;
-webkit-hyphens: auto;
-moz-hyphens: auto;
hyphens: auto;
}