tw_bootstrap_variables.scss 3.39 KB
Newer Older
1
// Override Bootstrap variables here (defaults from bootstrap-sass v3.3.3):
2
// For all variables see https://github.com/twbs/bootstrap-sass/blob/master/templates/project/_bootstrap-variables.sass
3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
//
// Variables
// --------------------------------------------------


//== Colors
//
//## Gray and brand colors for use across Bootstrap.

// $gray-base:              #000
// $gray-darker:            lighten($gray-base, 13.5%) // #222
// $gray-dark:              lighten($gray-base, 20%)   // #333
// $gray:                   lighten($gray-base, 33.5%) // #555
// $gray-light:             lighten($gray-base, 46.7%) // #777
// $gray-lighter:           lighten($gray-base, 93.5%) // #eee

19 20 21 22 23
$brand-primary: $gl-primary;
$brand-success: $gl-success;
$brand-info: $gl-info;
$brand-warning: $gl-warning;
$brand-danger: $gl-danger;
24

25 26 27
$border-radius-base: 3px !default;
$border-radius-large: 3px !default;
$border-radius-small: 3px !default;
28

29 30 31

//== Scaffolding
//
32 33
$text-color: $gl-text-color;
$link-color: $gl-link-color;
34 35 36 37 38 39


//== Typography
//
//## Font, line-height, and color for body text, headings, and more.

40
$font-family-sans-serif: $regular_font;
41 42
$font-family-monospace: $monospace_font;
$font-size-base: $gl-font-size;
43 44 45 46 47 48


//== Components
//
//## Define common padding and border radius sizes and more. Values based on 14px text and 1.428 line-height (~20px to start).

49 50
$padding-base-vertical: $gl-vert-padding;
$padding-base-horizontal: $gl-padding;
51
$component-active-color: $white-light;
52
$component-active-bg: $brand-info;
53 54 55 56 57

//== Forms
//
//##

58 59 60 61
$input-color: $text-color;
$input-border: $border-color;
$input-border-focus: $focus-border-color;
$legend-color: $text-color;
62 63 64 65 66 67


//== Pagination
//
//##

68
$pagination-color: $gl-gray;
69
$pagination-bg: $white-light;
70
$pagination-border: $border-color;
71

72 73 74
$pagination-hover-color: $gl-gray;
$pagination-hover-bg: $row-hover;
$pagination-hover-border: $border-color;
75

76
$pagination-active-color: $blue-dark;
77
$pagination-active-bg: $white-light;
78
$pagination-active-border: $border-color;
79

80
$pagination-disabled-color: #cdcdcd;
81
$pagination-disabled-bg: $gray-light;
82
$pagination-disabled-border: $border-color;
83 84 85 86 87 88


//== Form states and alerts
//
//## Define colors for form feedback states and, by default, alerts.

89
$state-success-text: $white-light;
90 91
$state-success-bg: $brand-success;
$state-success-border: $brand-success;
92

93
$state-info-text: $white-light;
94 95
$state-info-bg: $brand-info;
$state-info-border: $brand-info;
96

97
$state-warning-text: $white-light;
98 99
$state-warning-bg: $brand-warning;
$state-warning-border: $brand-warning;
100

101
$state-danger-text: $white-light;
102 103
$state-danger-bg: $brand-danger;
$state-danger-border: $brand-danger;
104 105 106 107 108 109


//== Alerts
//
//## Define alert colors, border radius, and padding.

110
$alert-border-radius: 0;
111 112 113 114 115 116


//== Panels
//
//##

117 118 119
$panel-border-radius: 2px;
$panel-default-text: $text-color;
$panel-default-border: $border-color;
120 121
$panel-default-heading-bg: $gray-light;
$panel-footer-bg: $gray-light;
122
$panel-inner-border: $border-color;
123

Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
124 125 126 127
//== Wells
//
//##

128 129
$well-bg: $gray-light;
$well-border: #eee;
130 131 132 133 134

//== Code
//
//##

135 136
$code-color: #c7254e;
$code-bg: #f9f2f4;
137

138
$kbd-color: $white-light;
139
$kbd-bg: #333;
140 141 142 143

//== Buttons
//
//##
144
$btn-default-color: $gl-text-color;
145
$btn-default-bg: $white-light;
146
$btn-default-border: #e7e9ed;
147 148 149 150

//== Nav
//
//##
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
151
$nav-link-padding: 13px $gl-padding;
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
152 153 154 155

//== Code
//
//##
156
$pre-bg: $gray-light !default;
157
$pre-color: $gl-gray !default;
158
$pre-border-color: $border-color;
159

160
$table-bg-accent: $gray-light;