mirror of
https://github.com/tfussell/xlnt.git
synced 2024-03-22 13:11:17 +08:00
106 lines
3.7 KiB
SCSS
106 lines
3.7 KiB
SCSS
/*
|
|
Copyright 2008-2013 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.
|
|
*/
|
|
|
|
|
|
////////////////////////////////////////////////////////////////////////////////
|
|
// CUSTOMIZE SLATE
|
|
////////////////////////////////////////////////////////////////////////////////
|
|
// Use these settings to help adjust the appearance of Slate
|
|
|
|
|
|
// BACKGROUND COLORS
|
|
////////////////////
|
|
$nav-bg: #393939 !default;
|
|
$examples-bg: #393939 !default;
|
|
$code-bg: #292929 !default;
|
|
$code-annotation-bg: #1c1c1c !default;
|
|
$nav-subitem-bg: #262626 !default;
|
|
$nav-active-bg: #2467af !default;
|
|
$lang-select-border: #000 !default;
|
|
$lang-select-bg: #222 !default;
|
|
$lang-select-active-bg: $examples-bg !default; // feel free to change this to blue or something
|
|
$lang-select-pressed-bg: #111 !default; // color of language tab bg when mouse is pressed
|
|
$main-bg: #eaf2f6 !default;
|
|
$aside-notice-bg: #8fbcd4 !default;
|
|
$aside-warning-bg: #c97a7e !default;
|
|
$aside-success-bg: #6ac174 !default;
|
|
$search-notice-bg: #c97a7e !default;
|
|
|
|
|
|
// TEXT COLORS
|
|
////////////////////
|
|
$main-text: #333 !default; // main content text color
|
|
$nav-text: #fff !default;
|
|
$nav-active-text: #fff !default;
|
|
$lang-select-text: #fff !default; // color of unselected language tab text
|
|
$lang-select-active-text: #fff !default; // color of selected language tab text
|
|
$lang-select-pressed-text: #fff !default; // color of language tab text when mouse is pressed
|
|
|
|
|
|
// SIZES
|
|
////////////////////
|
|
$nav-width: 230px !default; // width of the navbar
|
|
$examples-width: 50% !default; // portion of the screen taken up by code examples
|
|
$logo-margin: 20px !default; // margin between nav items and logo, ignored if search is active
|
|
$main-padding: 28px !default; // padding to left and right of content & examples
|
|
$nav-padding: 15px !default; // padding to left and right of navbar
|
|
$nav-v-padding: 10px !default; // padding used vertically around search boxes and results
|
|
$nav-indent: 10px !default; // extra padding for ToC subitems
|
|
$code-annotation-padding: 13px !default; // padding inside code annotations
|
|
$h1-margin-bottom: 21px !default; // padding under the largest header tags
|
|
$tablet-width: 930px !default; // min width before reverting to tablet size
|
|
$phone-width: $tablet-width - $nav-width !default; // min width before reverting to mobile size
|
|
|
|
|
|
// FONTS
|
|
////////////////////
|
|
%default-font {
|
|
font-family: "Helvetica Neue", Helvetica, Arial, "Microsoft Yahei","微软雅黑", STXihei, "华文细黑", sans-serif;
|
|
font-size: 13px;
|
|
}
|
|
|
|
%header-font {
|
|
@extend %default-font;
|
|
font-weight: bold;
|
|
}
|
|
|
|
%code-font {
|
|
font-family: Consolas, Menlo, Monaco, "Lucida Console", "Liberation Mono", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Courier New", monospace, serif;
|
|
font-size: 12px;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
|
|
// OTHER
|
|
////////////////////
|
|
$nav-active-shadow: #000 !default;
|
|
$nav-footer-border-color: #666 !default;
|
|
$nav-embossed-border-top: #000 !default;
|
|
$nav-embossed-border-bottom: #939393 !default;
|
|
$main-embossed-text-shadow: 0px 1px 0px #fff !default;
|
|
$search-box-border-color: #666 !default;
|
|
|
|
|
|
////////////////////////////////////////////////////////////////////////////////
|
|
// INTERNAL
|
|
////////////////////////////////////////////////////////////////////////////////
|
|
// These settings are probably best left alone.
|
|
|
|
%break-words {
|
|
word-break: break-all;
|
|
hyphens: auto;
|
|
}
|