1
0

_variables.scss 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  1. /*
  2. Copyright 2008-2013 Concur Technologies, Inc.
  3. Licensed under the Apache License, Version 2.0 (the "License"); you may
  4. not use this file except in compliance with the License. You may obtain
  5. a copy of the License at
  6. http://www.apache.org/licenses/LICENSE-2.0
  7. Unless required by applicable law or agreed to in writing, software
  8. distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
  9. WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
  10. License for the specific language governing permissions and limitations
  11. under the License.
  12. */
  13. ////////////////////////////////////////////////////////////////////////////////
  14. // CUSTOMIZE SLATE
  15. ////////////////////////////////////////////////////////////////////////////////
  16. // Use these settings to help adjust the appearance of Slate
  17. // BACKGROUND COLORS
  18. ////////////////////
  19. $nav-bg: #2E3336 !default;
  20. $examples-bg: #2E3336 !default;
  21. $code-bg: #1E2224 !default;
  22. $code-annotation-bg: #191D1F !default;
  23. $nav-subitem-bg: #1E2224 !default;
  24. $nav-active-bg: #0F75D4 !default;
  25. $nav-active-parent-bg: #1E2224 !default; // parent links of the current section
  26. $lang-select-border: #000 !default;
  27. $lang-select-bg: #1E2224 !default;
  28. $lang-select-active-bg: $examples-bg !default; // feel free to change this to blue or something
  29. $lang-select-pressed-bg: #111 !default; // color of language tab bg when mouse is pressed
  30. $main-bg: #F3F7F9 !default;
  31. $aside-notice-bg: #8fbcd4 !default;
  32. $aside-warning-bg: #c97a7e !default;
  33. $aside-success-bg: #6ac174 !default;
  34. $search-notice-bg: #c97a7e !default;
  35. // TEXT COLORS
  36. ////////////////////
  37. $main-text: #333 !default; // main content text color
  38. $nav-text: #fff !default;
  39. $nav-active-text: #fff !default;
  40. $nav-active-parent-text: #fff !default; // parent links of the current section
  41. $lang-select-text: #fff !default; // color of unselected language tab text
  42. $lang-select-active-text: #fff !default; // color of selected language tab text
  43. $lang-select-pressed-text: #fff !default; // color of language tab text when mouse is pressed
  44. // SIZES
  45. ////////////////////
  46. $nav-width: 230px !default; // width of the navbar
  47. $examples-width: 50% !default; // portion of the screen taken up by code examples
  48. $logo-margin: 0px !default; // margin below logo
  49. $main-padding: 28px !default; // padding to left and right of content & examples
  50. $nav-padding: 15px !default; // padding to left and right of navbar
  51. $nav-v-padding: 10px !default; // padding used vertically around search boxes and results
  52. $nav-indent: 10px !default; // extra padding for ToC subitems
  53. $code-annotation-padding: 13px !default; // padding inside code annotations
  54. $h1-margin-bottom: 21px !default; // padding under the largest header tags
  55. $tablet-width: 930px !default; // min width before reverting to tablet size
  56. $phone-width: $tablet-width - $nav-width !default; // min width before reverting to mobile size
  57. // FONTS
  58. ////////////////////
  59. %default-font {
  60. font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  61. font-size: 14px;
  62. }
  63. %header-font {
  64. @extend %default-font;
  65. font-weight: bold;
  66. }
  67. %code-font {
  68. font-family: Consolas, Menlo, Monaco, "Lucida Console", "Liberation Mono", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Courier New", monospace, serif;
  69. font-size: 12px;
  70. line-height: 1.5;
  71. }
  72. // OTHER
  73. ////////////////////
  74. $nav-footer-border-color: #666 !default;
  75. $search-box-border-color: #666 !default;
  76. ////////////////////////////////////////////////////////////////////////////////
  77. // INTERNAL
  78. ////////////////////////////////////////////////////////////////////////////////
  79. // These settings are probably best left alone.
  80. %break-words {
  81. word-break: break-all;
  82. hyphens: auto;
  83. }