summaryrefslogtreecommitdiff
path: root/app/assets/stylesheets/framework/tw_bootstrap_variables.scss
blob: a23131e08186d71360804211f5b8e750eff7d246 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
// Override Bootstrap variables here (defaults from bootstrap-sass v3.3.3):
// For all variables see https://github.com/twbs/bootstrap-sass/blob/master/templates/project/_bootstrap-variables.sass
//
// 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

$brand-primary: $gl-primary;
$brand-success: $gl-success;
$brand-info: $gl-info;
$brand-warning: $gl-warning;
$brand-danger: $gl-danger;

$border-radius-base: 3px !default;
$border-radius-large: 3px !default;
$border-radius-small: 3px !default;


//== Scaffolding
//
$text-color: $gl-text-color;
$link-color: $gl-link-color;
$link-hover-color: $gl-link-hover-color;


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

$font-family-sans-serif: $regular_font;
$font-family-monospace: $monospace_font;
$font-size-base: $gl-font-size;


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

$padding-base-vertical: $gl-vert-padding;
$padding-base-horizontal: $gl-padding;
$component-active-color: $white-light;
$component-active-bg: $brand-info;

//== Forms
//
//##

$input-color: $text-color;
$input-border: $border-color;
$input-border-focus: $focus-border-color;
$legend-color: $text-color;


//== Pagination
//
//##

$pagination-color: $gl-text-color;
$pagination-bg: $white-light;
$pagination-border: $border-color;

$pagination-hover-color: $gl-text-color;
$pagination-hover-bg: $row-hover;
$pagination-hover-border: $border-color;

$pagination-active-color: $white-light;
$pagination-active-bg: $gl-link-color;
$pagination-active-border: $gl-link-color;

$pagination-disabled-color: #cdcdcd;
$pagination-disabled-bg: $gray-light;
$pagination-disabled-border: $border-color;


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

$state-success-text: $white-light;
$state-success-bg: $brand-success;
$state-success-border: $brand-success;

$state-info-text: $white-light;
$state-info-bg: $brand-info;
$state-info-border: $brand-info;

$state-warning-text: $white-light;
$state-warning-bg: $brand-warning;
$state-warning-border: $brand-warning;

$state-danger-text: $white-light;
$state-danger-bg: $brand-danger;
$state-danger-border: $brand-danger;


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

$alert-border-radius: 0;


//== Panels
//
//##

$panel-border-radius: 2px;
$panel-default-text: $text-color;
$panel-default-border: $border-color;
$panel-default-heading-bg: $gray-light;
$panel-footer-bg: $gray-light;
$panel-inner-border: $border-color;

$badge-bg: $badge-bg;
$badge-color: $badge-color;

//== Wells
//
//##

$well-bg: $gray-light;
$well-border: #eee;

//== Code
//
//##

$code-color: $red-600;
$code-bg: lighten($red-100, 2%);

$kbd-color: $white-light;
$kbd-bg: #333;

//== Buttons
//
//##
$btn-default-color: $gl-text-color;
$btn-default-bg: $white-light;
$btn-default-border: #e7e9ed;

//== Nav
//
//##
$nav-link-padding: 13px $gl-padding;

//== Code
//
//##
$pre-bg: $gray-light !default;
$pre-color: $gl-text-color !default;
$pre-border-color: $border-color;

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

$zindex-popover: 900;

//== Modals
//
//##

//** Padding applied to the modal body
$modal-inner-padding: $gl-padding;

//** Padding applied to the modal title
$modal-title-padding: $gl-padding;
//** Modal title line-height
// $modal-title-line-height:     $line-height-base

//** Background color of modal content area
$modal-content-bg: $gray-light;
$modal-body-bg: $white-light;
//** Modal content border color
// $modal-content-border-color:                   rgba(0,0,0,.2)
//** Modal content border color **for IE8**
// $modal-content-fallback-border-color:          #999

//** Modal backdrop background color
// $modal-backdrop-bg:           #000
//** Modal backdrop opacity
// $modal-backdrop-opacity:      .5
//** Modal header border color
// $modal-header-border-color:   #e5e5e5
//** Modal footer border color
// $modal-footer-border-color:   $modal-header-border-color

// $modal-lg:                    900px
// $modal-md:                    600px
// $modal-sm:                    300px