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

573 lines
12 KiB
SCSS
Raw Normal View History

2016-06-02 11:05:42 +05:30
/*
* Layout
*/
2016-04-02 18:10:28 +05:30
$gutter_collapsed_width: 62px;
$gutter_width: 290px;
2017-08-17 22:00:37 +05:30
$gutter_inner_width: 250px;
2016-06-22 15:30:34 +05:30
$sidebar-transition-duration: .15s;
2016-08-24 12:49:21 +05:30
$sidebar-breakpoint: 1024px;
2016-06-02 11:05:42 +05:30
2016-09-29 09:46:39 +05:30
/*
* Color schema
*/
2017-08-17 22:00:37 +05:30
$darken-normal-factor: 7%;
$darken-dark-factor: 10%;
$darken-border-factor: 5%;
2016-09-29 09:46:39 +05:30
$white-light: #fff;
2017-08-17 22:00:37 +05:30
$white-normal: #f0f0f0;
$white-dark: #eaeaea;
2016-09-29 09:46:39 +05:30
2016-11-03 12:29:30 +05:30
$gray-lightest: #fdfdfd;
2016-09-29 09:46:39 +05:30
$gray-light: #fafafa;
2016-11-03 12:29:30 +05:30
$gray-lighter: #f9f9f9;
2016-09-29 09:46:39 +05:30
$gray-normal: #f5f5f5;
2017-08-17 22:00:37 +05:30
$gray-dark: darken($gray-light, $darken-dark-factor);
2016-11-03 12:29:30 +05:30
$gray-darker: #eee;
2017-08-17 22:00:37 +05:30
$gray-darkest: #c4c4c4;
$green-25: #f6fcf8;
$green-50: #e4f5eb;
$green-100: #bae6cc;
$green-200: #8dd5aa;
$green-300: #5fc488;
$green-400: #3cb76f;
$green-500: #1aaa55;
$green-600: #168f48;
$green-700: #12753a;
$green-800: #0e5a2d;
$green-900: #0a4020;
$blue-25: #f6fafd;
$blue-50: #e4eff9;
$blue-100: #bcd7f1;
$blue-200: #8fbce8;
$blue-300: #62a1df;
$blue-400: #418cd8;
$blue-500: #1f78d1;
$blue-600: #1b69b6;
$blue-700: #17599c;
$blue-800: #134a81;
$blue-900: #0f3b66;
$orange-25: #fffcf8;
$orange-50: #fff2e1;
$orange-100: #fedfb3;
$orange-200: #feca81;
$orange-300: #fdb44f;
$orange-400: #fca429;
$orange-500: #fc9403;
$orange-600: #de7e00;
$orange-700: #c26700;
$orange-800: #a35100;
$orange-900: #853b00;
$red-25: #fef7f6;
$red-50: #fbe7e4;
$red-100: #f4c4bc;
$red-200: #ed9d90;
$red-300: #e67664;
$red-400: #e05842;
$red-500: #db3b21;
$red-600: #c0341d;
$red-700: #a62d19;
$red-800: #8b2615;
$red-900: #711e11;
2016-09-29 09:46:39 +05:30
$black: #000;
$black-transparent: rgba(0, 0, 0, 0.3);
2017-08-17 22:00:37 +05:30
$border-white-light: darken($white-light, $darken-border-factor);
$border-white-normal: darken($white-normal, $darken-border-factor);
2016-09-29 09:46:39 +05:30
2017-08-17 22:00:37 +05:30
$border-gray-light: darken($gray-light, $darken-border-factor);
$border-gray-normal: darken($gray-normal, $darken-border-factor);
$border-gray-dark: darken($white-normal, $darken-border-factor);
2016-09-29 09:46:39 +05:30
2016-06-02 11:05:42 +05:30
/*
* UI elements
*/
2017-08-17 22:00:37 +05:30
$border-color: #e5e5e5;
$focus-border-color: $blue-300;
$well-expand-item: #e8f2f7;
$well-inner-border: #eef0f2;
$well-light-border: #f1f1f1;
$well-light-text-color: #5b6169;
2016-06-02 11:05:42 +05:30
/*
* Text
*/
2017-08-17 22:00:37 +05:30
$gl-font-size: 14px;
$gl-text-color: rgba(0, 0, 0, .85);
$gl-text-color-secondary: rgba(0, 0, 0, .55);
$gl-text-color-disabled: rgba(0, 0, 0, .35);
$gl-text-color-inverted: rgba(255, 255, 255, 1.0);
$gl-text-color-secondary-inverted: rgba(255, 255, 255, .85);
$gl-text-green: $green-600;
$gl-text-red: $red-500;
$gl-text-orange: $orange-600;
$gl-link-color: $blue-600;
$gl-link-hover-color: $blue-800;
$gl-grayish-blue: #7f8fa4;
$gl-gray: $gl-text-color;
$gl-gray-dark: #313236;
$gl-gray-light: #5c5c5c;
$gl-header-color: #4c4e54;
$gl-header-nav-hover-color: #434343;
$placeholder-text-color: rgba(0, 0, 0, .42);
2016-06-02 11:05:42 +05:30
/*
* Lists
*/
2017-08-17 22:00:37 +05:30
$list-font-size: $gl-font-size;
$list-title-color: $gl-text-color;
$list-text-color: $gl-text-color;
$list-text-disabled-color: $gl-text-color-disabled;
$list-border-light: #eee;
$list-border: rgba(0, 0, 0, 0.05);
2016-09-13 17:45:13 +05:30
$list-text-height: 42px;
2017-08-17 22:00:37 +05:30
$list-warning-row-bg: $orange-50;
$list-warning-row-border: $orange-100;
$list-warning-row-color: $orange-700;
2016-06-02 11:05:42 +05:30
/*
* Markdown
*/
$md-link-color: $gl-link-color;
2017-08-17 22:00:37 +05:30
$md-area-border: #ddd;
2016-06-02 11:05:42 +05:30
/*
* Code
*/
2017-08-17 22:00:37 +05:30
$code_font_size: 12px;
$code_line_height: 1.6;
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-input-padding: 10px;
$gl-vert-padding: 6px;
2016-06-02 11:05:42 +05:30
$gl-padding-top: 10px;
2016-08-24 12:49:21 +05:30
$gl-sidebar-padding: 22px;
2016-06-02 11:05:42 +05:30
/*
* Misc
*/
2017-08-17 22:00:37 +05:30
$row-hover: $blue-25;
$row-hover-border: $blue-100;
2016-06-02 11:05:42 +05:30
$progress-color: #c0392b;
$header-height: 50px;
$fixed-layout-width: 1280px;
2017-08-17 22:00:37 +05:30
$limited-layout-width: 990px;
2016-04-02 18:10:28 +05:30
$gl-avatar-size: 40px;
2017-08-17 22:00:37 +05:30
$error-exclamation-point: $red-500;
2016-06-02 11:05:42 +05:30
$border-radius-default: 2px;
$settings-icon-size: 18px;
2017-08-17 22:00:37 +05:30
$provider-btn-not-active-color: $blue-500;
$link-underline-blue: $blue-500;
$active-item-blue: $blue-500;
2016-06-02 11:05:42 +05:30
$layout-link-gray: #7e7c7c;
$btn-side-margin: 10px;
$btn-sm-side-margin: 7px;
$btn-xs-side-margin: 5px;
2017-08-17 22:00:37 +05:30
$issue-status-expired: $orange-500;
$issuable-sidebar-color: $gl-text-color-secondary;
$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;
$general-hover-transition-duration: 100ms;
$general-hover-transition-curve: linear;
/*
* 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: $red-400;
$warning-message-bg: $orange-50;
$warning-message-border: $orange-100;
$warning-message-color: $orange-700;
$control-group-descr-color: #666;
$table-permission-x-bg: #d9edf7;
$username-color: #666;
$description-color: #666;
$profiler-border: #eee;
2015-10-24 18:46:33 +05:30
2016-06-22 15:30:34 +05:30
/* tanuki logo colors */
$tanuki-red: #e24329;
$tanuki-orange: #fc6d26;
$tanuki-yellow: #fca326;
2015-10-24 18:46:33 +05:30
/*
* State colors:
*/
2017-08-17 22:00:37 +05:30
$gl-primary: $blue-500;
$gl-success: $green-500;
2016-06-02 11:05:42 +05:30
$gl-success-focus: rgba($gl-success, .4);
2017-08-17 22:00:37 +05:30
$gl-info: $blue-500;
$gl-warning: $orange-500;
$gl-danger: $red-500;
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;
2017-08-17 22:00:37 +05:30
$line-target-blue: #f6faff;
2016-06-02 11:05:42 +05:30
$line-select-yellow: #fcf8e7;
$line-select-yellow-dark: #f0e2bd;
2017-08-17 22:00:37 +05:30
$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;
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;
2017-08-17 22:00:37 +05:30
$regular_font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
2016-06-02 11:05:42 +05:30
/*
* Dropdowns
*/
$dropdown-width: 300px;
$dropdown-link-color: #555;
$dropdown-link-hover-bg: $row-hover;
$dropdown-empty-row-bg: rgba(#000, .04);
2017-08-17 22:00:37 +05:30
$dropdown-border-color: $border-color;
2016-06-02 11:05:42 +05:30
$dropdown-shadow-color: rgba(#000, .1);
$dropdown-divider-color: rgba(#000, .1);
$dropdown-title-btn-color: #bfbfbf;
$dropdown-input-color: #555;
2017-08-17 22:00:37 +05:30
$dropdown-input-fa-color: #c7c7c7;
2016-06-02 11:05:42 +05:30
$dropdown-input-focus-border: $focus-border-color;
$dropdown-input-focus-shadow: rgba($dropdown-input-focus-border, .4);
$dropdown-loading-bg: rgba(#fff, .6);
2017-08-17 22:00:37 +05:30
$dropdown-chevron-size: 10px;
$dropdown-toggle-active-border-color: darken($border-color, 14%);
2016-06-02 11:05:42 +05:30
2017-08-17 22:00:37 +05:30
/*
* Filtered Search
*/
$dropdown-hover-color: $blue-400;
2016-06-02 11:05:42 +05:30
/*
* Buttons
*/
$btn-active-gray: #ececec;
2017-08-17 22:00:37 +05:30
$btn-active-gray-light: e4e7ed;
2016-06-02 11:05:42 +05:30
$btn-white-active: #848484;
2017-08-17 22:00:37 +05:30
/*
* Badges
*/
$badge-bg: #eee;
$badge-color: $gl-text-color-secondary;
2016-06-02 11:05:42 +05:30
/*
* Award emoji
*/
2017-08-17 22:00:37 +05:30
$award-emoji-menu-shadow: rgba(0,0,0,.175);
$award-emoji-positive-add-bg: #fed159;
$award-emoji-positive-add-lines: #bb9c13;
2016-06-02 11:05:42 +05:30
/*
* Search Box
*/
2017-08-17 22:00:37 +05:30
$search-input-border-color: rgba($blue-400, .8);
2016-06-02 11:05:42 +05:30
$search-input-focus-shadow-color: $dropdown-input-focus-shadow;
2017-08-17 22:00:37 +05:30
$search-input-width: 220px;
$location-badge-active-bg: $blue-500;
2016-06-02 11:05:42 +05:30
$location-icon-color: #e7e9ed;
/*
* Notes
*/
2017-08-17 22:00:37 +05:30
$notes-light-color: $gl-text-color-secondary;
$notes-role-color: $gl-text-color-secondary;
2016-06-02 11:05:42 +05:30
$note-disabled-comment-color: #b2b2b2;
2017-08-17 22:00:37 +05:30
$note-targe3-outside: #fffff0;
$note-targe3-inside: #ffffd3;
$note-line2-border: #ddd;
2016-06-02 11:05:42 +05:30
2017-08-17 22:00:37 +05:30
/*
* Zen
*/
$zen-control-color: #555;
/*
* Calendar
*/
2016-06-02 11:05:42 +05:30
$calendar-hover-bg: #ecf3fe;
$calendar-border-color: rgba(#000, .1);
2017-08-17 22:00:37 +05:30
$calendar-user-contrib-text: #959494;
2016-09-29 09:46:39 +05:30
/*
* Cycle Analytics
*/
$cycle-analytics-box-padding: 30px;
$cycle-analytics-box-text-color: #8c8c8c;
2017-08-17 22:00:37 +05:30
$cycle-analytics-big-font: 19px;
$cycle-analytics-dark-text: $gl-text-color;
$cycle-analytics-light-gray: #bfbfbf;
$cycle-analytics-dismiss-icon-color: #b2b2b2;
2016-06-22 15:30:34 +05:30
/*
2017-08-17 22:00:37 +05:30
* CI
*/
$ci-skipped-color: #888;
/*
* Boards
*/
$issue-boards-font-size: 14px;
$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: $red-50;
$callout-danger-border: $red-100;
$callout-danger-color: $red-700;
$callout-warning-bg: $orange-50;
$callout-warning-border: $orange-100;
$callout-warning-color: $orange-700;
$callout-info-bg: $blue-50;
$callout-info-border: $blue-100;
$callout-info-color: $blue-700;
$callout-success-bg: $green-50;
$callout-success-border: $green-100;
$callout-success-color: $green-700;
/*
* Commit Page
*/
$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-text-color;
$common-gray-light: #bbb;
$common-gray-dark: #444;
$common-red: $gl-text-red;
$common-green: $gl-text-green;
/*
* Editor
*/
$editor-cancel-color: $red-600;
/*
* 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: $red-400;
$input-group-addon-bg: #f7f8fa;
$gl-field-focus-shadow: rgba(0, 0, 0, 0.075);
$gl-field-focus-shadow-error: rgba($red-500, 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;
$compare-display-color: #888;
/*
* 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);
$label-border-radius: 100px;
/*
* Animation
*/
$fade-in-duration: 200ms;
/*
* Lint
*/
$lint-incorrect-color: $red-500;
$lint-correct-color: $green-500;
/*
* Login
*/
$login-brand-holder-color: #888;
$login-devise-error-color: $red-700;
/*
* Nav
*/
$nav-link-gray: #959494;
$nav-badge-bg: #eee;
$nav-toggle-gray: #666;
/*
* Notify
*/
$notify-details: #777;
$notify-footer: #777;
$notify-new-file: $green-600;
$notify-deleted-file: $red-700;
/*
* Projects
*/
$project-option-descr-color: #54565b;
$project-breadcrumb-color: #999;
$project-private-forks-notice-odd: $green-600;
$project-network-controls-color: #888;
/*
* Runners
*/
$runner-state-shared-bg: $green-400;
$runner-state-specific-bg: $blue-400;
$runner-status-online-color: $green-600;
$runner-status-offline-color: $gray-darkest;
$runner-status-paused-color: $red-500;
/*
Stat Graph
*/
$stat-graph-common-bg: #f3f3f3;
$stat-graph-area-fill: $green-500;
$stat-graph-axis-fill: #aaa;
$stat-graph-orange-fill: $orange-500;
$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: $blue-500;
$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);
2016-06-22 15:30:34 +05:30
2017-08-17 22:00:37 +05:30
/*
* UI Dev Kit
*/
$ui-dev-kit-example-color: #bbb;
$ui-dev-kit-example-border: #ddd;
2016-09-13 17:45:13 +05:30
2017-08-17 22:00:37 +05:30
/*
Pipeline Graph
*/
$stage-hover-bg: #eaf3fc;
$stage-hover-border: #d1e7fc;
$action-icon-color: #d6d6d6;
/*
Filtered Search
*/
$filter-name-resting-color: #f8f8f8;
$filter-name-text-color: rgba(0, 0, 0, 0.55);
$filter-value-text-color: rgba(0, 0, 0, 0.85);
$filter-name-selected-color: #ebebeb;
$filter-value-selected-color: #d7d7d7;
/*
Animation Functions
*/
$dropdown-animation-timing: cubic-bezier(0.23, 1, 0.32, 1);