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

165 lines
3.5 KiB
SCSS
Raw Normal View History

2015-04-26 12:48:37 +05:30
// Override Bootstrap variables here (defaults from bootstrap-sass v3.3.3):
// For all variables see https://github.com/twbs/bootstrap-sass/blob/master/templates/project/_bootstrap-variables.sass
//
// Variables
// --------------------------------------------------
//== Colors
//
//## Gray and brand colors for use across Bootstrap.
// $gray-base: #000
// $gray-darker: lighten($gray-base, 13.5%) // #222
// $gray-dark: lighten($gray-base, 20%) // #333
// $gray: lighten($gray-base, 33.5%) // #555
// $gray-light: lighten($gray-base, 46.7%) // #777
// $gray-lighter: lighten($gray-base, 93.5%) // #eee
2017-08-17 22:00:37 +05:30
$brand-primary: $gl-primary;
$brand-success: $gl-success;
$brand-info: $gl-info;
$brand-warning: $gl-warning;
$brand-danger: $gl-danger;
2015-04-26 12:48:37 +05:30
2017-08-17 22:00:37 +05:30
$border-radius-base: 3px !default;
$border-radius-large: 3px !default;
$border-radius-small: 3px !default;
2015-09-25 12:07:36 +05:30
2015-04-26 12:48:37 +05:30
//== Scaffolding
//
2017-08-17 22:00:37 +05:30
$text-color: $gl-text-color;
$link-color: $gl-link-color;
$link-hover-color: $gl-link-hover-color;
2015-04-26 12:48:37 +05:30
//== Typography
//
//## Font, line-height, and color for body text, headings, and more.
$font-family-sans-serif: $regular_font;
2017-08-17 22:00:37 +05:30
$font-family-monospace: $monospace_font;
$font-size-base: $gl-font-size;
2015-04-26 12:48:37 +05:30
//== Components
//
//## Define common padding and border radius sizes and more. Values based on 14px text and 1.428 line-height (~20px to start).
2017-08-17 22:00:37 +05:30
$padding-base-vertical: $gl-vert-padding;
$padding-base-horizontal: $gl-padding;
$component-active-color: $white-light;
$component-active-bg: $brand-info;
2015-04-26 12:48:37 +05:30
//== Forms
//
//##
2017-08-17 22:00:37 +05:30
$input-color: $text-color;
$input-border: $border-color;
$input-border-focus: $focus-border-color;
$legend-color: $text-color;
2015-04-26 12:48:37 +05:30
//== Pagination
//
//##
2017-08-17 22:00:37 +05:30
$pagination-color: $gl-text-color;
$pagination-bg: $white-light;
$pagination-border: $border-color;
2015-04-26 12:48:37 +05:30
2017-08-17 22:00:37 +05:30
$pagination-hover-color: $gl-text-color;
$pagination-hover-bg: $row-hover;
$pagination-hover-border: $border-color;
2015-04-26 12:48:37 +05:30
2017-08-17 22:00:37 +05:30
$pagination-active-color: $blue-600;
$pagination-active-bg: $white-light;
$pagination-active-border: $border-color;
2015-04-26 12:48:37 +05:30
2017-08-17 22:00:37 +05:30
$pagination-disabled-color: #cdcdcd;
$pagination-disabled-bg: $gray-light;
$pagination-disabled-border: $border-color;
2015-04-26 12:48:37 +05:30
//== Form states and alerts
//
//## Define colors for form feedback states and, by default, alerts.
2017-08-17 22:00:37 +05:30
$state-success-text: $white-light;
$state-success-bg: $brand-success;
$state-success-border: $brand-success;
2015-04-26 12:48:37 +05:30
2017-08-17 22:00:37 +05:30
$state-info-text: $white-light;
$state-info-bg: $brand-info;
$state-info-border: $brand-info;
2015-04-26 12:48:37 +05:30
2017-08-17 22:00:37 +05:30
$state-warning-text: $white-light;
$state-warning-bg: $brand-warning;
$state-warning-border: $brand-warning;
2015-04-26 12:48:37 +05:30
2017-08-17 22:00:37 +05:30
$state-danger-text: $white-light;
$state-danger-bg: $brand-danger;
$state-danger-border: $brand-danger;
2015-04-26 12:48:37 +05:30
//== Alerts
//
//## Define alert colors, border radius, and padding.
2017-08-17 22:00:37 +05:30
$alert-border-radius: 0;
2015-04-26 12:48:37 +05:30
//== Panels
//
//##
2017-08-17 22:00:37 +05:30
$panel-border-radius: 2px;
$panel-default-text: $text-color;
$panel-default-border: $border-color;
$panel-default-heading-bg: $gray-light;
$panel-footer-bg: $gray-light;
$panel-inner-border: $border-color;
$badge-bg: $badge-bg;
$badge-color: $badge-color;
2015-04-26 12:48:37 +05:30
//== Wells
//
//##
2017-08-17 22:00:37 +05:30
$well-bg: $gray-light;
$well-border: #eee;
2015-04-26 12:48:37 +05:30
//== Code
//
//##
2017-08-17 22:00:37 +05:30
$code-color: $red-600;
$code-bg: lighten($red-50, 2%);
2015-04-26 12:48:37 +05:30
2017-08-17 22:00:37 +05:30
$kbd-color: $white-light;
$kbd-bg: #333;
2015-09-25 12:07:36 +05:30
//== Buttons
//
//##
2017-08-17 22:00:37 +05:30
$btn-default-color: $gl-text-color;
$btn-default-bg: $white-light;
$btn-default-border: #e7e9ed;
2015-09-25 12:07:36 +05:30
//== Nav
//
//##
$nav-link-padding: 13px $gl-padding;
//== Code
//
//##
2017-08-17 22:00:37 +05:30
$pre-bg: $gray-light !default;
$pre-color: $gl-text-color !default;
2016-06-02 11:05:42 +05:30
$pre-border-color: $border-color;
2015-10-24 18:46:33 +05:30
2017-08-17 22:00:37 +05:30
$table-bg-accent: $gray-light;