BigW Consortium Gitlab

variables.scss 11.4 KB
Newer Older
1 2 3
/*
 * Layout
 */
Annabel Dunstone committed
4
$sidebar_collapsed_width: 62px;
5
$sidebar_width: 220px;
6 7 8
$gutter_collapsed_width: 62px;
$gutter_width: 290px;
$gutter_inner_width: 258px;
9
$sidebar-transition-duration: .15s;
10
$sidebar-breakpoint: 1024px;
11

12 13 14
/*
 * Color schema
 */
15
$darken-normal-factor: 7%;
16 17 18
$darken-dark-factor: 10%;
$darken-border-factor: 5%;

19
$white-light: #fff;
20 21
$white-normal: #f0f0f0;
$white-dark: #eaeaea;
22

23
$gray-lightest: #fdfdfd;
24
$gray-light: #fafafa;
25
$gray-lighter: #f9f9f9;
26
$gray-normal: #f5f5f5;
27
$gray-dark: darken($gray-light, $darken-dark-factor);
28
$gray-darker: #eee;
29
$gray-darkest: #c4c4c4;
30

31 32 33
$green-light: #3cbd70;
$green-normal: darken($green-light, $darken-normal-factor);
$green-dark: darken($green-light, $darken-dark-factor);
34 35

$blue-light: #2ea8e5;
36 37
$blue-normal: darken($blue-light, $darken-normal-factor);
$blue-dark: darken($blue-light, $darken-dark-factor);
38 39

$blue-medium-light: #3498cb;
40 41
$blue-medium: darken($blue-medium-light, $darken-normal-factor);
$blue-medium-dark: darken($blue-medium-light, $darken-dark-factor);
42

43 44
$blue-light-transparent: rgba(44, 159, 216, 0.05);

45
$orange-light: #fc8a51;
46 47
$orange-normal: darken($orange-light, $darken-normal-factor);
$orange-dark: darken($orange-light, $darken-dark-factor);
48 49

$red-light: #e52c5a;
50 51
$red-normal: darken($red-light, $darken-normal-factor);
$red-dark: darken($red-light, $darken-dark-factor);
52 53 54 55

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

56 57
$border-white-light: darken($white-light, $darken-border-factor);
$border-white-normal: darken($white-normal, $darken-border-factor);
58

59
$border-gray-normal: darken($gray-normal, $darken-border-factor);
60
$border-gray-dark: darken($white-normal, $darken-border-factor);
61

62
$border-green-extra-light: #9adb84;
63 64 65
$border-green-light: darken($green-light, $darken-border-factor);
$border-green-normal: darken($green-normal, $darken-border-factor);
$border-green-dark: darken($green-dark, $darken-border-factor);
66

67 68 69
$border-blue-light: darken($blue-light, $darken-border-factor);
$border-blue-normal: darken($blue-normal, $darken-border-factor);
$border-blue-dark: darken($blue-dark, $darken-border-factor);
70

71 72 73
$border-orange-light: darken($orange-light, $darken-border-factor);
$border-orange-normal: darken($orange-normal, $darken-border-factor);
$border-orange-dark: darken($orange-dark, $darken-border-factor);
74

75 76 77
$border-red-light: darken($red-light, $darken-border-factor);
$border-red-normal: darken($red-normal, $darken-border-factor);
$border-red-dark: darken($red-dark, $darken-border-factor);
78 79 80 81 82

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

83 84 85
/*
 * UI elements
 */
86 87
$border-color: #e5e5e5;
$focus-border-color: #3aabf0;
88 89
$well-expand-item: #e8f2f7;
$well-inner-border: #eef0f2;
90 91
$well-light-border: #f1f1f1;
$well-light-text-color: #5b6169;
92 93 94 95

/*
 * Text
 */
96
$gl-font-size: 14px;
97 98
$gl-title-color: #333;
$gl-text-color: #5c5c5c;
99
$gl-text-color-dark: #5c5d5e;
100 101 102 103
$gl-text-color-light: #8c8c8c;
$gl-text-green: #4a2;
$gl-text-red: #d12f19;
$gl-text-orange: #d90;
104
$gl-link-color: #3777b0;
105
$gl-diff-text-color: #555;
106
$gl-dark-link-color: #333;
107
$gl-gray-light: #8f8f8f;
108 109 110 111
$gl-grayish-blue: #7f8fa4;
$gl-gray: $gl-text-color;
$gl-gray-dark: #313236;
$gl-header-color: #4c4e54;
112 113 114 115

/*
 * Lists
 */
116
$list-font-size: $gl-font-size;
117
$list-title-color: $gl-title-color;
118
$list-text-color: $gl-text-color;
119 120 121
$list-text-disabled-color: #888;
$list-border-light: #eee;
$list-border: rgba(0, 0, 0, 0.05);
122
$list-text-height: 42px;
123 124 125
$list-warning-row-bg: #fcf8e3;
$list-warning-row-border: #faebcc;
$list-warning-row-color: #8a6d3b;
126

127 128 129
/*
 * Markdown
 */
130 131
$md-text-color: $gl-text-color;
$md-link-color: $gl-link-color;
132
$md-area-border: #ddd;
133 134 135 136

/*
 * Code
 */
137 138
$code_font_size: 13px;
$code_line_height: 1.5;
139 140 141 142

/*
 * Padding
 */
143
$gl-padding: 16px;
144
$gl-btn-padding: 10px;
145
$gl-input-padding: 10px;
146
$gl-vert-padding: 6px;
147
$gl-padding-top: 10px;
148
$gl-sidebar-padding: 22px;
149 150 151 152

/*
 * Misc
 */
153 154
$row-hover: #f7faff;
$row-hover-border: #b2d7ff;
155
$progress-color: #c0392b;
156
$header-height: 50px;
157
$fixed-layout-width: 1280px;
158
$limited-layout-width: 990px;
159
$gl-avatar-size: 40px;
160
$error-exclamation-point: #e62958;
161
$border-radius-default: 2px;
162
$settings-icon-size: 18px;
163
$provider-btn-not-active-color: #4688f1;
164
$link-underline-blue: #4a8bee;
165
$active-item-blue: #4a8bee;
166
$layout-link-gray: #7e7c7c;
167 168
$btn-side-margin: 10px;
$btn-sm-side-margin: 7px;
169
$btn-xs-side-margin: 5px;
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 200 201 202 203 204 205 206
$issue-status-expired: #cea61b;
$issuable-sidebar-color: #999;
$issuable-avatar-hover-border: #999;
$issuable-clipboard-color: #999;
$show-aside-bg: #eee;
$show-aside-color: #777;
$show-aside-shadow: #ddd;
$group-path-color: #999;
$namespace-kind-color: #aaa;
$panel-heading-link-color: #777;
$graph-author-email-color: #777;
$count-arrow-border: #dce0e5;
$save-project-loader-color: #555;
$divergence-graph-bar-bg: #ccc;
$divergence-graph-separator-bg: #ccc;

/*
* Common component specific colors
*/
$hint-color: #999;
$well-pre-bg: #eee;
$well-pre-color: #555;
$loading-color: #555;
$update-author-color: #999;
$user-mention-color: #2fa0bb;
$time-color: #999;
$project-member-show-color: #aaa;
$gl-promo-color: #aaa;
$error-bg: #c67;
$warning-message-bg: #ffffe6;
$warning-message-border: #ed9;
$warning-message-color: #b90;
$control-group-descr-color: #666;
$table-permission-x-bg: #d9edf7;
$username-color: #666;
$description-color: #666;
$profiler-border: #eee;
207

208 209 210 211 212
/* tanuki logo colors */
$tanuki-red: #e24329;
$tanuki-orange: #fc6d26;
$tanuki-yellow: #fca326;

213
/*
214
 * State colors:
215
 */
216 217
$gl-primary: $blue-normal;
$gl-success: $green-normal;
Phil Hughes committed
218
$gl-success-focus: rgba($gl-success, .4);
219 220 221
$gl-info: $blue-normal;
$gl-warning: $orange-normal;
$gl-danger: $red-normal;
Annabel Dunstone committed
222 223
$gl-btn-active-background: rgba(0, 0, 0, 0.16);
$gl-btn-active-gradient: inset 0 2px 3px $gl-btn-active-background;
224

225
/*
226 227 228 229
 * Commit Diff Colors
 */
$added: #63c363;
$deleted: #f77;
230 231 232 233 234 235
$line-added: #ecfdf0;
$line-added-dark: #c7f0d2;
$line-removed: #fbe9eb;
$line-removed-dark: #fac5cd;
$line-number-old: #f9d7dc;
$line-number-new: #ddfbe6;
236
$line-number-select: #fbf2da;
237
$line-target-blue: #f6faff;
238 239
$line-select-yellow: #fcf8e7;
$line-select-yellow-dark: #f0e2bd;
240 241 242 243 244 245 246 247 248
$dark-diff-match-bg: rgba(255, 255, 255, 0.3);
$dark-diff-match-color: rgba(255, 255, 255, 0.1);
$file-mode-changed: #777;
$file-mode-changed: #777;
$diff-image-bg: #ddd;
$diff-image-info-color: grey;
$diff-swipe-border: #999;
$diff-view-modes-color: grey;
$diff-view-modes-border: #c1c1c1;
249

250 251 252 253
/*
 * Fonts
 */
$monospace_font: 'Menlo', 'Liberation Mono', 'Consolas', 'DejaVu Sans Mono', 'Ubuntu Mono', 'Courier New', 'andale mono', 'lucida console', monospace;
254
$regular_font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
Phil Hughes committed
255 256 257 258

/*
* Dropdowns
*/
259
$dropdown-width: 300px;
Phil Hughes committed
260
$dropdown-link-color: #555;
261
$dropdown-link-hover-bg: $row-hover;
262
$dropdown-empty-row-bg: rgba(#000, .04);
263
$dropdown-border-color: $border-color;
Phil Hughes committed
264 265
$dropdown-shadow-color: rgba(#000, .1);
$dropdown-divider-color: rgba(#000, .1);
266
$dropdown-title-btn-color: #bfbfbf;
267
$dropdown-input-color: #555;
268
$dropdown-input-fa-color: #c7c7c7;
269
$dropdown-input-focus-border: $focus-border-color;
270
$dropdown-input-focus-shadow: rgba($dropdown-input-focus-border, .4);
Phil Hughes committed
271
$dropdown-loading-bg: rgba(#fff, .6);
272
$dropdown-chevron-size: 10px;
273
$dropdown-toggle-active-border-color: darken($border-color, 14%);
274

275

Annabel Dunstone committed
276 277 278
/*
* Buttons
*/
Annabel Dunstone committed
279
$btn-active-gray: #ececec;
280
$btn-active-gray-light: e4e7ed;
Annabel Dunstone committed
281

282 283 284
/*
 *  Award emoji
 */
285
$award-emoji-menu-shadow: rgba(0,0,0,.175);
Alfredo Sumaran committed
286 287 288 289

/*
 * Search Box
 */
Alfredo Sumaran committed
290
$search-input-border-color: rgba(#4688f1, .8);
291
$search-input-focus-shadow-color: $dropdown-input-focus-shadow;
292
$search-input-width: 220px;
Alfredo Sumaran committed
293
$location-badge-active-bg: #4f91f8;
Alfredo Sumaran committed
294
$location-icon-color: #e7e9ed;
Phil Hughes committed
295 296 297 298 299

/*
 *  Notes
 */
$notes-light-color: #8e8e8e;
Phil Hughes committed
300
$notes-role-color: #8e8e8e;
301
$note-disabled-comment-color: #b2b2b2;
302 303 304 305
$note-targe3-outside: #fffff0;
$note-targe3-inside: #ffffd3;
$note-line2-border: #ddd;

306

307 308 309 310
/*
* Zen
*/
$zen-control-color: #555;
Phil Hughes committed
311

312 313 314
/*
* Calendar
*/
Phil Hughes committed
315 316
$calendar-hover-bg: #ecf3fe;
$calendar-border-color: rgba(#000, .1);
317
$calendar-user-contrib-text: #959494;
Phil Hughes committed
318

319 320 321 322 323
/*
 *  Cycle Analytics
 */
$cycle-analytics-box-padding: 30px;
$cycle-analytics-box-text-color: #8c8c8c;
324 325 326
$cycle-analytics-big-font: 19px;
$cycle-analytics-dark-text: $gl-title-color;
$cycle-analytics-light-gray: #bfbfbf;
327
$cycle-analytics-dismiss-icon-color: #b2b2b2;
328

329 330 331 332
/*
* CI
*/
$ci-skipped-color: #888;
Phil Hughes committed
333

334 335 336
/*
* Boards
*/
337
$issue-boards-font-size: 14px;
338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441
$issue-boards-card-shadow: rgba(186, 186, 186, 0.5);

/*
* Avatar
*/
$avatar_radius: 50%;
$avatar-border: rgba(0, 0, 0, .1);
$gl-avatar-size: 40px;

/*
* Builds
*/
$builds-trace-bg: #111;

/*
* Callout
*/
$callout-danger-bg: #fdf7f7;
$callout-danger-border: #eed3d7;
$callout-danger-color: #b94a48;
$callout-warning-bg: #faf8f0;
$callout-warning-border: #faebcc;
$callout-warning-color: #8a6d3b;
$callout-info-bg: #f4f8fa;
$callout-info-border: #bce8f1;
$callout-info-color: #34789a;
$callout-success-bg: #dff0d8;
$callout-success-border: #5ca64d;
$callout-success-color: #3c763d;

/*
* Commit Page
*/
$commit-committer-color: #999;
$commit-max-width-marker-color: rgba(0, 0, 0, 0.0);
$commit-message-text-area-bg: rgba(0, 0, 0, 0.0);

/*
* Common
*/
$common-gray: $gl-gray;
$common-gray-light: #bbb;
$common-gray-dark: #444;
$common-red: $gl-text-red;
$common-green: $gl-text-green;

/*
* Editor
*/
$editor-cancel-color: #b94a48;

/*
* Events
*/
$events-pre-color: #777;
$events-note-icon-color: #777;
$events-body-border: #ddd;

/*
* Files
*/
$file-image-bg: #eee;
$blob-bg: #eee;
$blame-border: #eee;
$blame-line-numbers-border: #ddd;
$logs-bg: #eee;
$logs-li-color: #888;
$logs-p-color: #333;

/*
* Forms
*/
$input-danger-bg: #f2dede;
$input-danger-border: #d66;
$input-group-addon-bg: #f7f8fa;
$gl-field-focus-shadow: rgba(0, 0, 0, 0.075);
$gl-field-focus-shadow-error: rgba(210, 40, 82, 0.6);

/*
* Help
*/
$document-index-color: #888;
$help-shortcut-color: #999;
$help-shortcut-mapping-color: #555;
$help-shortcut-header-color: #333;

/*
* Issues
*/
$issues-today-bg: #f3fff2;
$issues-today-border: #e1e8d5;

/*
* jQuery UI
*/
$jq-ui-border: #ddd;
$jq-ui-default-color: #777;

/*
* Label
*/
$label-gray-bg: #f8fafc;
$label-inverse-bg: #333;
$label-remove-border: rgba(0, 0, 0, .1);
442
$label-border-radius: 100px;
443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526

/*
* Lint
*/
$lint-incorrect-color: red;
$lint-correct-color: #47a447;

/*
* Login
*/
$login-brand-holder-color: #888;
$login-devise-error-color: #a00;

/*
* Nav
*/
$nav-link-gray: #959494;
$nav-badge-bg: #eee;
$nav-toggle-gray: #666;

/*
* Notify
*/
$notify-details: #777;
$notify-footer: #777;
$notify-new-file: #090;
$notify-deleted-file: #b00;

/*
* Projects
*/
$project-option-descr-color: #54565b;
$project-breadcrumb-color: #999;
$project-private-forks-notice-odd: #2aa056;
$project-network-controls-color: #888;

/*
* Runners
*/
$runner-state-shared-bg: #32b186;
$runner-state-specific-bg: #3498db;
$runner-status-online-color: green;
$runner-status-offline-color: gray;
$runner-status-paused-color: red;

/*
Stat Graph
*/
$stat-graph-common-bg: #f3f3f3;
$stat-graph-area-fill: #1db34f;
$stat-graph-axis-fill: #aaa;
$stat-graph-orange-fill: #f17f49;
$stat-graph-selection-fill: #333;
$stat-graph-selection-stroke: #333;

/*
* Selects
*/
$select2-drop-shadow1: rgba(76, 86, 103, 0.247059);
$select2-drop-shadow2: rgba(31, 37, 50, 0.317647);


/*
* Todo
*/
$todo-alert-blue: #428bca;
$todo-body-pre-color: #777;
$todo-body-border: #ddd;

/*
* Typography
*/
$kdb-bg: #fcfcfc;
$kdb-color: #555;
$kdb-border: #ccc;
$kdb-border-bottom: #bbb;
$kdb-shadow: #bbb;
$body-text-shadow: rgba(255,255,255,0.01);

/*
* UI Dev Kit
*/
$ui-dev-kit-example-color: #bbb;
$ui-dev-kit-example-border: #ddd;
Filipa Lacerda committed
527 528 529 530 531 532

/*
Pipeline Graph
*/
$stage-hover-bg: #eaf3fc;
$stage-hover-border: #d1e7fc;