api_docs/source/stylesheets/variables.scss
2013-10-11 11:28:04 -07:00

90 lines
No EOL
2 KiB
SCSS

/*
Copyright 2008-2012 Concur Technologies, Inc.
Licensed under the Apache License, Version 2.0 (the "License"); you may
not use this file except in compliance with the License. You may obtain
a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
License for the specific language governing permissions and limitations
under the License.
*/
// 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;
}