debian-mirror-gitlab/app/assets/stylesheets/framework/variables.scss

258 lines
5.7 KiB
SCSS
Raw Normal View History

2016-06-02 11:05:42 +05:30
/*
* Layout
*/
2015-10-24 18:46:33 +05:30
$sidebar_collapsed_width: 62px;
2016-06-02 11:05:42 +05:30
$sidebar_width: 220px;
2016-04-02 18:10:28 +05:30
$gutter_collapsed_width: 62px;
$gutter_width: 290px;
$gutter_inner_width: 258px;
2016-06-02 11:05:42 +05:30
/*
* UI elements
*/
$border-color: #e5e5e5;
$focus-border-color: #3aabf0;
$table-border-color: #f0f0f0;
$background-color: #fafafa;
/*
* Text
*/
$gl-font-size: 15px;
$gl-title-color: #333;
$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;
$gl-grayish-blue: #7f8fa4;
$gl-gray: $gl-text-color;
$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-10-24 18:46:33 +05:30
$code_font_size: 13px;
$code_line_height: 1.5;
2016-06-02 11:05:42 +05:30
/*
* Padding
*/
2015-10-24 18:46:33 +05:30
$gl-padding: 16px;
2016-04-02 18:10:28 +05:30
$gl-btn-padding: 10px;
$gl-vert-padding: 6px;
2016-06-02 11:05:42 +05:30
$gl-padding-top: 10px;
/*
* Misc
*/
$row-hover: #f4f8fe;
$progress-color: #c0392b;
$avatar_radius: 50%;
$header-height: 50px;
$fixed-layout-width: 1280px;
2016-04-02 18:10:28 +05:30
$gl-avatar-size: 40px;
2016-06-02 11:05:42 +05:30
$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;
$link-underline-blue: #4a8bee;
$layout-link-gray: #7e7c7c;
$todo-alert-blue: #428bca;
2015-10-24 18:46:33 +05:30
/*
* Color schema
*/
2016-06-02 11:05:42 +05:30
$white-light: #fff;
$white-normal: #ededed;
2016-06-02 11:05:42 +05:30
$white-dark: #ececec;
2015-10-24 18:46:33 +05:30
2016-04-02 18:10:28 +05:30
$gray-light: #faf9f9;
$gray-normal: #f5f5f5;
$gray-dark: #ededed;
2016-04-02 18:10:28 +05:30
$gray-darkest: #c9c9c9;
2015-10-24 18:46:33 +05:30
2016-04-02 18:10:28 +05:30
$green-light: #38ae67;
2016-06-02 11:05:42 +05:30
$green-normal: #2faa60;
$green-dark: #2ca05b;
2015-10-24 18:46:33 +05:30
2016-06-02 11:05:42 +05:30
$blue-light: #2ea8e5;
$blue-normal: #2d9fd8;
$blue-dark: #2897ce;
2015-10-24 18:46:33 +05:30
2016-06-02 11:05:42 +05:30
$blue-medium-light: #3498cb;
$blue-medium: #2f8ebf;
$blue-medium-dark: #2d86b4;
2016-04-02 18:10:28 +05:30
$orange-light: rgba(252, 109, 38, 0.80);
2016-06-02 11:05:42 +05:30
$orange-normal: #e75e40;
$orange-dark: #ce5237;
$red-light: #e52c5a;
$red-normal: #d22852;
$red-dark: darken($red-normal, 5%);
2015-10-24 18:46:33 +05:30
2016-06-02 11:05:42 +05:30
$black: #000;
$black-transparent: rgba(0, 0, 0, 0.3);
2015-10-24 18:46:33 +05:30
2016-06-02 11:05:42 +05:30
$border-white-light: #f1f2f4;
$border-white-normal: #d6dae2;
$border-white-dark: #c6cacf;
2015-10-24 18:46:33 +05:30
2016-04-02 18:10:28 +05:30
$border-gray-light: rgba(0, 0, 0, 0.06);
$border-gray-normal: rgba(0, 0, 0, 0.10);;
2016-06-02 11:05:42 +05:30
$border-gray-dark: #c6cacf;
2015-10-24 18:46:33 +05:30
2016-06-02 11:05:42 +05:30
$border-green-light: #2faa60;
$border-green-normal: #2ca05b;
2015-10-24 18:46:33 +05:30
$border-green-dark: #279654;
2016-06-02 11:05:42 +05:30
$border-blue-light: #2d9fd8;
$border-blue-normal: #2897ce;
$border-blue-dark: #258dc1;
2015-10-24 18:46:33 +05:30
2016-04-02 18:10:28 +05:30
$border-orange-light: #fc6d26;
2016-06-02 11:05:42 +05:30
$border-orange-normal: #ce5237;
$border-orange-dark: #c14e35;
$border-red-light: #d22852;
$border-red-normal: #ca264f;
$border-red-dark: darken($border-red-normal, 5%);
2015-10-24 18:46:33 +05:30
2016-06-02 11:05:42 +05:30
$help-well-bg: #fafafa;
$help-well-border: #e5e5e5;
$warning-message-bg: #fbf2d9;
$warning-message-color: #9e8e60;
$warning-message-border: #f0e2bb;
2015-10-24 18:46:33 +05:30
/* header */
$light-grey-header: #faf9f9;
2015-10-24 18:46:33 +05:30
/*
* State colors:
*/
$gl-primary: $blue-normal;
$gl-success: $green-normal;
2016-06-02 11:05:42 +05:30
$gl-success-focus: rgba($gl-success, .4);
2015-10-24 18:46:33 +05:30
$gl-info: $blue-normal;
$gl-warning: $orange-normal;
$gl-danger: $red-normal;
2016-06-02 11:05:42 +05:30
$gl-btn-active-background: rgba(0, 0, 0, 0.16);
$gl-btn-active-gradient: inset 0 2px 3px $gl-btn-active-background;
2015-10-24 18:46:33 +05:30
/*
* Commit Diff Colors
*/
$added: #63c363;
$deleted: #f77;
2016-06-02 11:05:42 +05:30
$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;
$match-line: #fafafa;
$table-border-gray: #f0f0f0;
$line-target-blue: #eaf3fc;
$line-select-yellow: #fcf8e7;
$line-select-yellow-dark: #f0e2bd;
2015-10-24 18:46:33 +05:30
/*
* 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;
2016-06-02 11:05:42 +05:30
/*
* 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);
$dropdown-loading-bg: rgba(#fff, .6);
$dropdown-toggle-bg: #fff;
$dropdown-toggle-color: #626262;
$dropdown-toggle-border-color: #eaeaea;
$dropdown-toggle-hover-border-color: darken($dropdown-toggle-border-color, 15%);
$dropdown-toggle-icon-color: #c4c4c4;
$dropdown-toggle-hover-icon-color: $dropdown-toggle-hover-border-color;
/*
* Buttons
*/
$btn-active-gray: #ececec;
$btn-placeholder-gray: #c7c7c7;
$btn-white-active: #848484;
$btn-gray-hover: #eee;
/*
* Award emoji
*/
$award-emoji-menu-bg: #fff;
$award-emoji-menu-border: #f1f2f4;
$award-emoji-new-btn-icon-color: #dcdcdc;
/*
* Search Box
*/
$search-input-border-color: rgba(#4688f1, .8);
$search-input-focus-shadow-color: $dropdown-input-focus-shadow;
$search-input-width: 244px;
$location-badge-color: #aaa;
$location-badge-bg: $gray-normal;
$location-badge-active-bg: #4f91f8;
$location-icon-color: #e7e9ed;
$location-icon-active-color: #807e7e;
/*
* Notes
*/
$notes-light-color: #8e8e8e;
$notes-action-color: #c3c3c3;
$notes-role-color: #8e8e8e;
$notes-role-border-color: #e4e4e4;
$note-disabled-comment-color: #b2b2b2;
$note-form-border-color: #e5e5e5;
$note-toolbar-color: #959494;
$zen-control-hover-color: #111;
$calendar-header-color: #b8b8b8;
$calendar-hover-bg: #ecf3fe;
$calendar-border-color: rgba(#000, .1);
$calendar-unselectable-bg: #faf9f9;