variables.scss 5.9 KB
Newer Older
D
Dmitriy Zaporozhets 已提交
1 2 3
/*
 * Layout
 */
A
Annabel Dunstone 已提交
4
$sidebar_collapsed_width: 62px;
5
$sidebar_width: 220px;
D
Dmitriy Zaporozhets 已提交
6 7 8
$gutter_collapsed_width: 62px;
$gutter_width: 290px;
$gutter_inner_width: 258px;
9
$sidebar-transition-duration: .15s;
P
Phil Hughes 已提交
10
$sidebar-breakpoint: 1440px;
D
Dmitriy Zaporozhets 已提交
11 12 13 14

/*
 * UI elements
 */
A
Annabel Dunstone 已提交
15
$border-color:       #e5e5e5;
16
$focus-border-color: #3aabf0;
P
Phil Hughes 已提交
17
$table-border-color: #f0f0f0;
A
Annabel Dunstone 已提交
18
$background-color:   #fafafa;
D
Dmitriy Zaporozhets 已提交
19 20 21 22

/*
 * Text
 */
D
Dmitriy Zaporozhets 已提交
23 24
$gl-font-size:         15px;
$gl-title-color:       #333;
A
Annabel Dunstone 已提交
25
$gl-text-color:        #5c5c5c;
D
Dmitriy Zaporozhets 已提交
26 27 28 29 30
$gl-text-green:        #4a2;
$gl-text-red:          #d12f19;
$gl-text-orange:       #d90;
$gl-link-color:        #3084bb;
$gl-dark-link-color:   #333;
D
Dmitriy Zaporozhets 已提交
31
$gl-placeholder-color: #8f8f8f;
32
$gl-icon-color:        $gl-placeholder-color;
33
$gl-grayish-blue:      #7f8fa4;
D
Dmitriy Zaporozhets 已提交
34
$gl-gray:              $gl-text-color;
A
Annabel Dunstone 已提交
35
$gl-gray-dark:         #313236;
D
Dmitriy Zaporozhets 已提交
36
$gl-header-color:      $gl-title-color;
D
Dmitriy Zaporozhets 已提交
37 38 39 40

/*
 * Lists
 */
D
Dmitriy Zaporozhets 已提交
41
$list-font-size:   $gl-font-size;
D
Dmitriy Zaporozhets 已提交
42
$list-title-color: $gl-title-color;
D
Dmitriy Zaporozhets 已提交
43
$list-text-color:  $gl-text-color;
D
Dmitriy Zaporozhets 已提交
44

D
Dmitriy Zaporozhets 已提交
45 46 47
/*
 * Markdown
 */
D
Dmitriy Zaporozhets 已提交
48 49
$md-text-color: $gl-text-color;
$md-link-color: $gl-link-color;
D
Dmitriy Zaporozhets 已提交
50 51 52 53

/*
 * Code
 */
D
Dmitriy Zaporozhets 已提交
54 55
$code_font_size: 13px;
$code_line_height: 1.5;
D
Dmitriy Zaporozhets 已提交
56 57 58 59

/*
 * Padding
 */
D
Dmitriy Zaporozhets 已提交
60
$gl-padding: 16px;
61
$gl-btn-padding: 10px;
C
Connor Shea 已提交
62
$gl-input-padding: 10px;
63
$gl-vert-padding: 6px;
64
$gl-padding-top: 10px;
D
Dmitriy Zaporozhets 已提交
65 66 67 68

/*
 * Misc
 */
A
Annabel Dunstone 已提交
69 70
$row-hover: #f7faff;
$row-hover-border: #b2d7ff;
D
Dmitriy Zaporozhets 已提交
71 72
$progress-color: #c0392b;
$avatar_radius: 50%;
A
Annabel Dunstone 已提交
73
$header-height: 50px;
D
Dmitriy Zaporozhets 已提交
74
$fixed-layout-width: 1280px;
D
Dmitriy Zaporozhets 已提交
75
$gl-avatar-size: 40px;
76
$error-exclamation-point: #e62958;
77
$border-radius-default: 2px;
78
$btn-transparent-color: #8f8f8f;
P
Phil Hughes 已提交
79
$settings-icon-size: 18px;
80 81
$provider-btn-group-border: #e5e5e5;
$provider-btn-not-active-color: #4688f1;
82
$link-underline-blue: #4a8bee;
83
$layout-link-gray: #7e7c7c;
J
Jacob Schatz 已提交
84
$todo-alert-blue: #428bca;
85 86
$btn-side-margin: 10px;
$btn-sm-side-margin: 7px;
87
$btn-xs-side-margin: 5px;
P
Phil Hughes 已提交
88

D
Dmitriy Zaporozhets 已提交
89 90 91 92
/*
 * Color schema
 */

93
$white-light: #fff;
A
Andriy Dyadyura 已提交
94
$white-normal: #ededed;
A
Annabel Dunstone 已提交
95
$white-dark: #ececec;
D
Dmitriy Zaporozhets 已提交
96

97 98
$gray-light: #faf9f9;
$gray-normal: #f5f5f5;
A
Andriy Dyadyura 已提交
99
$gray-dark: #ededed;
100
$gray-darkest: #c9c9c9;
D
Dmitriy Zaporozhets 已提交
101

102
$green-light: #38ae67;
103 104
$green-normal: #2faa60;
$green-dark: #2ca05b;
D
Dmitriy Zaporozhets 已提交
105

106 107 108
$blue-light: #2ea8e5;
$blue-normal: #2d9fd8;
$blue-dark: #2897ce;
D
Dmitriy Zaporozhets 已提交
109

110 111 112
$blue-medium-light: #3498cb;
$blue-medium: #2f8ebf;
$blue-medium-dark: #2d86b4;
A
Andriy Dyadyura 已提交
113

A
Annabel Dunstone 已提交
114
$orange-light: #fc8a51;
115 116
$orange-normal: #e75e40;
$orange-dark: #ce5237;
D
Dmitriy Zaporozhets 已提交
117

A
Annabel Dunstone 已提交
118 119 120
$red-light: #e52c5a;
$red-normal: #d22852;
$red-dark: darken($red-normal, 5%);
D
Dmitriy Zaporozhets 已提交
121

122
$black: #000;
A
Annabel Dunstone 已提交
123 124
$black-transparent: rgba(0, 0, 0, 0.3);

125 126 127
$border-white-light: #f1f2f4;
$border-white-normal: #d6dae2;
$border-white-dark: #c6cacf;
D
Dmitriy Zaporozhets 已提交
128

129
$border-gray-light: #dcdcdc;
130
$border-gray-normal: #d7d7d7;
131
$border-gray-dark: #c6cacf;
D
Dmitriy Zaporozhets 已提交
132

133 134
$border-green-light: #2faa60;
$border-green-normal: #2ca05b;
D
Dmitriy Zaporozhets 已提交
135 136
$border-green-dark: #279654;

137 138 139
$border-blue-light: #2d9fd8;
$border-blue-normal: #2897ce;
$border-blue-dark: #258dc1;
D
Dmitriy Zaporozhets 已提交
140

141
$border-orange-light: #fc6d26;
142 143
$border-orange-normal: #ce5237;
$border-orange-dark: #c14e35;
D
Dmitriy Zaporozhets 已提交
144

A
Annabel Dunstone 已提交
145 146 147
$border-red-light: #d22852;
$border-red-normal: #ca264f;
$border-red-dark: darken($border-red-normal, 5%);
D
Dmitriy Zaporozhets 已提交
148

149 150
$help-well-bg: #fafafa;
$help-well-border: #e5e5e5;
151

152 153 154
$warning-message-bg: #fbf2d9;
$warning-message-color: #9e8e60;
$warning-message-border: #f0e2bb;
P
Phil Hughes 已提交
155

A
Andriy Dyadyura 已提交
156 157
/* header */
$light-grey-header: #faf9f9;
C
Ciro Santilli 已提交
158

159
/*
160
 * State colors:
161
 */
D
Dmitriy Zaporozhets 已提交
162 163
$gl-primary: $blue-normal;
$gl-success: $green-normal;
P
Phil Hughes 已提交
164
$gl-success-focus: rgba($gl-success, .4);
D
Dmitriy Zaporozhets 已提交
165 166 167
$gl-info: $blue-normal;
$gl-warning: $orange-normal;
$gl-danger: $red-normal;
A
Annabel Dunstone 已提交
168 169
$gl-btn-active-background: rgba(0, 0, 0, 0.16);
$gl-btn-active-gradient: inset 0 2px 3px $gl-btn-active-background;
170

171
/*
172 173 174 175
 * Commit Diff Colors
 */
$added: #63c363;
$deleted: #f77;
A
Annabel Dunstone 已提交
176 177 178 179 180 181
$line-added: #ecfdf0;
$line-added-dark: #c7f0d2;
$line-removed: #fbe9eb;
$line-removed-dark: #fac5cd;
$line-number-old: #f9d7dc;
$line-number-new: #ddfbe6;
182
$line-number-select: #fbf2da;
A
Annabel Dunstone 已提交
183
$match-line: #fafafa;
A
Annabel Dunstone 已提交
184
$table-border-gray: #f0f0f0;
185 186 187
$line-target-blue: #eaf3fc;
$line-select-yellow: #fcf8e7;
$line-select-yellow-dark: #f0e2bd;
188

189 190 191 192
/*
 * Fonts
 */
$monospace_font: 'Menlo', 'Liberation Mono', 'Consolas', 'DejaVu Sans Mono', 'Ubuntu Mono', 'Courier New', 'andale mono', 'lucida console', monospace;
D
Dmitriy Zaporozhets 已提交
193
$regular_font: 'Source Sans Pro', "Helvetica Neue", Helvetica, Arial, sans-serif;
P
Phil Hughes 已提交
194 195 196 197

/*
* Dropdowns
*/
198
$dropdown-width: 300px;
P
Phil Hughes 已提交
199 200
$dropdown-bg: #fff;
$dropdown-link-color: #555;
201
$dropdown-link-hover-bg: $row-hover;
202
$dropdown-empty-row-bg: rgba(#000, .04);
P
Phil Hughes 已提交
203 204 205 206
$dropdown-border-color: rgba(#000, .1);
$dropdown-shadow-color: rgba(#000, .1);
$dropdown-divider-color: rgba(#000, .1);
$dropdown-header-color: #959494;
207
$dropdown-title-btn-color: #bfbfbf;
208
$dropdown-input-color: #555;
209
$dropdown-input-focus-border: $focus-border-color;
210
$dropdown-input-focus-shadow: rgba($dropdown-input-focus-border, .4);
P
Phil Hughes 已提交
211
$dropdown-loading-bg: rgba(#fff, .6);
P
Phil Hughes 已提交
212 213 214

$dropdown-toggle-bg: #fff;
$dropdown-toggle-color: #626262;
215
$dropdown-toggle-border-color: #eaeaea;
P
Phil Hughes 已提交
216
$dropdown-toggle-hover-border-color: darken($dropdown-toggle-border-color, 15%);
217
$dropdown-toggle-icon-color: #c4c4c4;
P
Phil Hughes 已提交
218
$dropdown-toggle-hover-icon-color: $dropdown-toggle-hover-border-color;
P
Phil Hughes 已提交
219

A
Annabel Dunstone 已提交
220 221 222
/*
* Buttons
*/
A
Annabel Dunstone 已提交
223 224
$btn-active-gray: #ececec;
$btn-placeholder-gray: #c7c7c7;
A
Annabel Dunstone 已提交
225
$btn-white-active: #848484;
A
Annabel Dunstone 已提交
226
$btn-gray-hover: #eee;
A
Annabel Dunstone 已提交
227

P
Phil Hughes 已提交
228 229 230
/*
 *  Award emoji
 */
231 232 233
$award-emoji-menu-bg: #fff;
$award-emoji-menu-border: #f1f2f4;
$award-emoji-new-btn-icon-color: #dcdcdc;
A
Alfredo Sumaran 已提交
234 235 236 237

/*
 * Search Box
 */
A
Alfredo Sumaran 已提交
238
$search-input-border-color: rgba(#4688f1, .8);
239
$search-input-focus-shadow-color: $dropdown-input-focus-shadow;
A
Alfredo Sumaran 已提交
240
$search-input-width: 244px;
A
Alfredo Sumaran 已提交
241 242
$location-badge-color: #aaa;
$location-badge-bg: $gray-normal;
A
Alfredo Sumaran 已提交
243
$location-badge-active-bg: #4f91f8;
A
Alfredo Sumaran 已提交
244
$location-icon-color: #e7e9ed;
A
Alfredo Sumaran 已提交
245
$location-icon-active-color: #807e7e;
P
Phil Hughes 已提交
246 247 248 249 250

/*
 *  Notes
 */
$notes-light-color: #8e8e8e;
P
Phil Hughes 已提交
251 252
$notes-action-color: #c3c3c3;
$notes-role-color: #8e8e8e;
P
Phil Hughes 已提交
253
$notes-role-border-color: #e4e4e4;
P
Phil Hughes 已提交
254 255 256 257 258 259

$note-disabled-comment-color: #b2b2b2;
$note-form-border-color: #e5e5e5;
$note-toolbar-color: #959494;

$zen-control-hover-color: #111;
P
Phil Hughes 已提交
260 261 262 263 264

$calendar-header-color: #b8b8b8;
$calendar-hover-bg: #ecf3fe;
$calendar-border-color: rgba(#000, .1);
$calendar-unselectable-bg: #faf9f9;
P
Phil Hughes 已提交
265 266 267

$ci-output-bg: #1d1f21;
$ci-text-color: #c5c8c6;