gitlab-org--gitlab-foss/app/assets/stylesheets/framework/variables.scss

257 lines
5.7 KiB
SCSS
Raw Normal View History

/*
* Layout
*/
$sidebar_collapsed_width: 62px;
2016-05-10 17:32:59 -04:00
$sidebar_width: 220px;
$gutter_collapsed_width: 62px;
$gutter_width: 290px;
$gutter_inner_width: 258px;
/*
* UI elements
*/
2016-04-01 15:27:39 -04:00
$border-color: #e5e5e5;
$focus-border-color: #3aabf0;
$table-border-color: #ececec;
2016-04-01 15:27:39 -04:00
$background-color: #fafafa;
/*
* Text
*/
$gl-font-size: 15px;
$gl-title-color: #333;
2016-04-25 16:02:15 -04:00
$gl-text-color: #5c5c5c;
$gl-text-green: #4a2;
$gl-text-red: #d12f19;
$gl-text-orange: #d90;
$gl-link-color: #3084bb;
$gl-dark-link-color: #333;
$gl-placeholder-color: #8f8f8f;
$gl-icon-color: $gl-placeholder-color;
2016-03-24 07:28:06 -04:00
$gl-grayish-blue: #7f8fa4;
$gl-gray: $gl-text-color;
2016-04-25 16:02:15 -04:00
$gl-gray-dark: #313236;
$gl-header-color: $gl-title-color;
/*
* Lists
*/
$list-font-size: $gl-font-size;
$list-title-color: $gl-title-color;
$list-text-color: $gl-text-color;
/*
* Markdown
*/
$md-text-color: $gl-text-color;
$md-link-color: $gl-link-color;
/*
* Code
*/
2015-03-06 23:02:34 -05:00
$code_font_size: 13px;
$code_line_height: 1.5;
/*
* Padding
*/
$gl-padding: 16px;
$gl-btn-padding: 10px;
$gl-vert-padding: 6px;
$gl-padding-top: 10px;
/*
* Misc
*/
$row-hover: #f4f8fe;
$progress-color: #c0392b;
$avatar_radius: 50%;
2016-05-04 15:19:12 -04:00
$header-height: 50px;
$fixed-layout-width: 1280px;
$gl-avatar-size: 40px;
$error-exclamation-point: #e62958;
$border-radius-default: 2px;
$btn-transparent-color: #8f8f8f;
$settings-icon-size: 18px;
$provider-btn-group-border: #e5e5e5;
$provider-btn-not-active-color: #4688f1;
2016-05-03 12:44:55 -04:00
$link-underline-blue: #4a8bee;
$layout-link-gray: #7e7c7c;
2016-05-06 11:47:43 -04:00
$todo-alert-blue: #428bca;
/*
* Color schema
*/
$white-light: #fff;
2015-12-18 09:25:12 -05:00
$white-normal: #ededed;
2016-04-06 21:33:00 -04:00
$white-dark: #ececec;
$gray-light: #faf9f9;
$gray-normal: #f5f5f5;
2015-12-18 09:25:12 -05:00
$gray-dark: #ededed;
2016-01-27 22:50:18 -05:00
$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;
2015-12-22 16:33:46 -05:00
$orange-light: rgba(252, 109, 38, 0.80);
$orange-normal: #e75e40;
$orange-dark: #ce5237;
2016-04-05 15:09:19 -04:00
$red-light: #e52c5a;
$red-normal: #d22852;
$red-dark: darken($red-normal, 5%);
$black: #000;
2016-03-31 13:13:25 -04:00
$black-transparent: rgba(0, 0, 0, 0.3);
$border-white-light: #f1f2f4;
$border-white-normal: #d6dae2;
$border-white-dark: #c6cacf;
$border-gray-light: rgba(0, 0, 0, 0.06);
$border-gray-normal: rgba(0, 0, 0, 0.10);;
$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;
2016-04-05 15:09:19 -04:00
$border-red-light: #d22852;
$border-red-normal: #ca264f;
$border-red-dark: darken($border-red-normal, 5%);
$help-well-bg: #fafafa;
$help-well-border: #e5e5e5;
$warning-message-bg: #fbf2d9;
$warning-message-color: #9e8e60;
$warning-message-border: #f0e2bb;
2015-12-18 09:25:12 -05:00
/* header */
$light-grey-header: #faf9f9;
2014-06-26 03:49:14 -04:00
/*
2015-03-06 22:02:12 -05:00
* State colors:
*/
$gl-primary: $blue-normal;
$gl-success: $green-normal;
2016-04-14 04:11:38 -04:00
$gl-success-focus: rgba($gl-success, .4);
$gl-info: $blue-normal;
$gl-warning: $orange-normal;
$gl-danger: $red-normal;
2016-04-01 15:27:39 -04:00
$gl-btn-active-background: rgba(0, 0, 0, 0.16);
$gl-btn-active-gradient: inset 0 2px 3px $gl-btn-active-background;
2015-03-07 00:40:23 -05:00
/*
* Commit Diff Colors
*/
$added: #63c363;
$deleted: #f77;
2016-03-31 14:37:27 -04:00
$line-added: #ecfdf0;
$line-added-dark: #c7f0d2;
$line-removed: #fbe9eb;
$line-removed-dark: #fac5cd;
$line-number-old: #f9d7dc;
$line-number-new: #ddfbe6;
$line-number-select: #fbf2da;
2016-03-31 13:13:25 -04:00
$match-line: #fafafa;
2016-04-01 15:27:39 -04:00
$table-border-gray: #f0f0f0;
$line-target-blue: #eaf3fc;
$line-select-yellow: #fcf8e7;
$line-select-yellow-dark: #f0e2bd;
2015-03-07 00:40:23 -05:00
/*
* Fonts
*/
$monospace_font: 'Menlo', 'Liberation Mono', 'Consolas', 'DejaVu Sans Mono', 'Ubuntu Mono', 'Courier New', 'andale mono', 'lucida console', monospace;
$regular_font: 'Source Sans Pro', "Helvetica Neue", Helvetica, Arial, sans-serif;
/*
* Dropdowns
*/
$dropdown-width: 300px;
$dropdown-bg: #fff;
$dropdown-link-color: #555;
$dropdown-link-hover-bg: $row-hover;
$dropdown-empty-row-bg: rgba(#000, .04);
$dropdown-border-color: rgba(#000, .1);
$dropdown-shadow-color: rgba(#000, .1);
$dropdown-divider-color: rgba(#000, .1);
$dropdown-header-color: #959494;
$dropdown-title-btn-color: #bfbfbf;
$dropdown-input-color: #555;
$dropdown-input-focus-border: $focus-border-color;
$dropdown-input-focus-shadow: rgba($dropdown-input-focus-border, .4);
2016-03-07 06:26:35 -05:00
$dropdown-loading-bg: rgba(#fff, .6);
2016-03-07 06:50:39 -05:00
$dropdown-toggle-bg: #fff;
$dropdown-toggle-color: #626262;
$dropdown-toggle-border-color: #eaeaea;
2016-03-07 06:50:39 -05:00
$dropdown-toggle-hover-border-color: darken($dropdown-toggle-border-color, 15%);
$dropdown-toggle-icon-color: #c4c4c4;
2016-03-07 06:50:39 -05:00
$dropdown-toggle-hover-icon-color: $dropdown-toggle-hover-border-color;
2016-03-02 10:40:00 -05:00
2016-04-01 15:27:39 -04:00
/*
* Buttons
*/
2016-04-06 21:33:00 -04:00
$btn-active-gray: #ececec;
$btn-placeholder-gray: #c7c7c7;
2016-04-01 15:27:39 -04:00
$btn-white-active: #848484;
2016-05-09 19:53:25 -04:00
$btn-gray-hover: #eee;
2016-04-01 15:27:39 -04:00
2016-03-02 10:40:00 -05:00
/*
* Award emoji
*/
$award-emoji-menu-bg: #fff;
$award-emoji-menu-border: #f1f2f4;
$award-emoji-new-btn-icon-color: #dcdcdc;
2016-03-21 14:29:31 -04:00
/*
* Search Box
*/
$search-input-border-color: rgba(#4688f1, .8);
$search-input-focus-shadow-color: $dropdown-input-focus-shadow;
$search-input-width: 244px;
2016-03-21 14:29:31 -04:00
$location-badge-color: #aaa;
$location-badge-bg: $gray-normal;
$location-badge-active-bg: #4f91f8;
2016-03-21 14:29:31 -04:00
$location-icon-color: #e7e9ed;
$location-icon-active-color: #807e7e;
2016-03-30 03:48:39 -04:00
/*
* Notes
*/
$notes-light-color: #8e8e8e;
2016-03-31 11:18:45 -04:00
$notes-action-color: #c3c3c3;
$notes-role-color: #8e8e8e;
2016-03-30 03:48:39 -04:00
$notes-role-border-color: #e4e4e4;
2016-04-04 06:00:29 -04:00
$note-disabled-comment-color: #b2b2b2;
$note-form-border-color: #e5e5e5;
$note-toolbar-color: #959494;
$zen-control-hover-color: #111;
2016-04-15 03:32:01 -04:00
$calendar-header-color: #b8b8b8;
$calendar-hover-bg: #ecf3fe;
$calendar-border-color: rgba(#000, .1);
$calendar-unselectable-bg: #faf9f9;