variables.scss 6.2 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;
10
$sidebar-breakpoint: 1024px;
D
Dmitriy Zaporozhets 已提交
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
/*
 * Color schema
 */
$white-light: #fff;
$white-normal: #ededed;
$white-dark: #ececec;

$gray-light: #fafafa;
$gray-normal: #f5f5f5;
$gray-dark: #ededed;
$gray-darkest: #c9c9c9;

$green-light: #38ae67;
$green-normal: #2faa60;
$green-dark: #2ca05b;

$blue-light: #2ea8e5;
$blue-normal: #2d9fd8;
$blue-dark: #2897ce;

$blue-medium-light: #3498cb;
$blue-medium: #2f8ebf;
$blue-medium-dark: #2d86b4;

$orange-light: #fc8a51;
$orange-normal: #e75e40;
$orange-dark: #ce5237;

$red-light: #e52c5a;
$red-normal: #d22852;
$red-dark: darken($red-normal, 5%);

$black: #000;
$black-transparent: rgba(0, 0, 0, 0.3);

$border-white-light: #f1f2f4;
$border-white-normal: #d6dae2;
$border-white-dark: #c6cacf;

$border-gray-light: #dcdcdc;
$border-gray-normal: #d7d7d7;
$border-gray-dark: #c6cacf;

$border-green-light: #2faa60;
$border-green-normal: #2ca05b;
$border-green-dark: #279654;

$border-blue-light: #2d9fd8;
$border-blue-normal: #2897ce;
$border-blue-dark: #258dc1;

$border-orange-light: #fc6d26;
$border-orange-normal: #ce5237;
$border-orange-dark: #c14e35;

$border-red-light: #d22852;
$border-red-normal: #ca264f;
$border-red-dark: darken($border-red-normal, 5%);

$help-well-bg: $gray-light;
$help-well-border: #e5e5e5;

$warning-message-bg: #fbf2d9;
$warning-message-color: #9e8e60;
$warning-message-border: #f0e2bb;

D
Dmitriy Zaporozhets 已提交
78 79 80
/*
 * UI elements
 */
81 82 83
$border-color:          #e5e5e5;
$focus-border-color:    #3aabf0;
$table-border-color:    #f0f0f0;
84
$background-color:      $gray-light;
85
$dark-background-color: #f5f5f5;
86
$table-text-gray:       #8f8f8f;
D
Dmitriy Zaporozhets 已提交
87 88 89 90

/*
 * Text
 */
D
Dmitriy Zaporozhets 已提交
91 92
$gl-font-size:         15px;
$gl-title-color:       #333;
A
Annabel Dunstone 已提交
93
$gl-text-color:        #5c5c5c;
D
Dmitriy Zaporozhets 已提交
94 95 96 97 98
$gl-text-green:        #4a2;
$gl-text-red:          #d12f19;
$gl-text-orange:       #d90;
$gl-link-color:        #3084bb;
$gl-dark-link-color:   #333;
D
Dmitriy Zaporozhets 已提交
99
$gl-placeholder-color: #8f8f8f;
100
$gl-icon-color:        $gl-placeholder-color;
101
$gl-grayish-blue:      #7f8fa4;
D
Dmitriy Zaporozhets 已提交
102
$gl-gray:              $gl-text-color;
A
Annabel Dunstone 已提交
103
$gl-gray-dark:         #313236;
D
Dmitriy Zaporozhets 已提交
104
$gl-header-color:      $gl-title-color;
D
Dmitriy Zaporozhets 已提交
105 106 107 108

/*
 * Lists
 */
D
Dmitriy Zaporozhets 已提交
109
$list-font-size:   $gl-font-size;
D
Dmitriy Zaporozhets 已提交
110
$list-title-color: $gl-title-color;
D
Dmitriy Zaporozhets 已提交
111
$list-text-color:  $gl-text-color;
112 113
$list-text-height: 42px;

D
Dmitriy Zaporozhets 已提交
114 115 116
/*
 * Markdown
 */
D
Dmitriy Zaporozhets 已提交
117 118
$md-text-color: $gl-text-color;
$md-link-color: $gl-link-color;
D
Dmitriy Zaporozhets 已提交
119 120 121 122

/*
 * Code
 */
D
Dmitriy Zaporozhets 已提交
123 124
$code_font_size: 13px;
$code_line_height: 1.5;
D
Dmitriy Zaporozhets 已提交
125 126 127 128

/*
 * Padding
 */
D
Dmitriy Zaporozhets 已提交
129
$gl-padding: 16px;
130
$gl-btn-padding: 10px;
C
Connor Shea 已提交
131
$gl-input-padding: 10px;
132
$gl-vert-padding: 6px;
133
$gl-padding-top: 10px;
134
$gl-sidebar-padding: 22px;
D
Dmitriy Zaporozhets 已提交
135 136 137 138

/*
 * Misc
 */
A
Annabel Dunstone 已提交
139 140
$row-hover: #f7faff;
$row-hover-border: #b2d7ff;
D
Dmitriy Zaporozhets 已提交
141 142
$progress-color: #c0392b;
$avatar_radius: 50%;
A
Annabel Dunstone 已提交
143
$header-height: 50px;
D
Dmitriy Zaporozhets 已提交
144
$fixed-layout-width: 1280px;
D
Dmitriy Zaporozhets 已提交
145
$gl-avatar-size: 40px;
146
$error-exclamation-point: #e62958;
147
$border-radius-default: 2px;
148
$btn-transparent-color: #8f8f8f;
P
Phil Hughes 已提交
149
$settings-icon-size: 18px;
150 151
$provider-btn-group-border: #e5e5e5;
$provider-btn-not-active-color: #4688f1;
152
$link-underline-blue: #4a8bee;
153
$layout-link-gray: #7e7c7c;
J
Jacob Schatz 已提交
154
$todo-alert-blue: #428bca;
155 156
$btn-side-margin: 10px;
$btn-sm-side-margin: 7px;
157
$btn-xs-side-margin: 5px;
P
Phil Hughes 已提交
158

159 160 161 162 163
/* tanuki logo colors */
$tanuki-red: #e24329;
$tanuki-orange: #fc6d26;
$tanuki-yellow: #fca326;

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

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

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

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

$dropdown-toggle-bg: #fff;
$dropdown-toggle-color: #626262;
220
$dropdown-toggle-border-color: #eaeaea;
P
Phil Hughes 已提交
221
$dropdown-toggle-hover-border-color: darken($dropdown-toggle-border-color, 15%);
222
$dropdown-toggle-icon-color: #c4c4c4;
P
Phil Hughes 已提交
223
$dropdown-toggle-hover-icon-color: $dropdown-toggle-hover-border-color;
P
Phil Hughes 已提交
224

A
Annabel Dunstone 已提交
225 226 227
/*
* Buttons
*/
A
Annabel Dunstone 已提交
228 229
$btn-active-gray: #ececec;
$btn-placeholder-gray: #c7c7c7;
A
Annabel Dunstone 已提交
230
$btn-white-active: #848484;
A
Annabel Dunstone 已提交
231
$btn-gray-hover: #eee;
A
Annabel Dunstone 已提交
232

P
Phil Hughes 已提交
233 234 235
/*
 *  Award emoji
 */
236 237 238
$award-emoji-menu-bg: #fff;
$award-emoji-menu-border: #f1f2f4;
$award-emoji-new-btn-icon-color: #dcdcdc;
A
Alfredo Sumaran 已提交
239 240 241 242

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

/*
 *  Notes
 */
$notes-light-color: #8e8e8e;
P
Phil Hughes 已提交
256 257
$notes-action-color: #c3c3c3;
$notes-role-color: #8e8e8e;
P
Phil Hughes 已提交
258
$notes-role-border-color: #e4e4e4;
P
Phil Hughes 已提交
259 260 261 262 263 264

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

$zen-control-hover-color: #111;
P
Phil Hughes 已提交
265 266 267 268

$calendar-header-color: #b8b8b8;
$calendar-hover-bg: #ecf3fe;
$calendar-border-color: rgba(#000, .1);
269
$calendar-unselectable-bg: $gray-light;
P
Phil Hughes 已提交
270

T
Timothy Andrew 已提交
271 272 273 274
/*
 * Personal Access Tokens
 */
$personal-access-tokens-disabled-label-color: #bbb;
275

P
Phil Hughes 已提交
276 277
$ci-output-bg: #1d1f21;
$ci-text-color: #c5c8c6;
P
Phil Hughes 已提交
278 279

$issue-boards-font-size: 15px;