2016-06-02 11:05:42 +05:30
|
|
|
/*
|
|
|
|
* Layout
|
|
|
|
*/
|
2018-03-17 18:26:18 +05:30
|
|
|
$grid-size: 8px;
|
2018-11-18 11:00:15 +05:30
|
|
|
$gutter-collapsed-width: 62px;
|
|
|
|
$gutter-width: 290px;
|
|
|
|
$gutter-inner-width: 250px;
|
2016-08-24 12:49:21 +05:30
|
|
|
$sidebar-breakpoint: 1024px;
|
2018-05-09 12:01:36 +05:30
|
|
|
$default-transition-duration: 0.15s;
|
2022-07-23 23:45:48 +05:30
|
|
|
$contextual-sidebar-width: 256px;
|
|
|
|
$contextual-sidebar-collapsed-width: 56px;
|
2018-12-13 13:39:08 +05:30
|
|
|
$toggle-sidebar-height: 48px;
|
2023-05-27 22:25:52 +05:30
|
|
|
$super-sidebar-width: 256px;
|
|
|
|
$super-sidebar-toggle-position-breakpoint: 1360px;
|
|
|
|
$super-sidebar-z-index: 600;
|
|
|
|
$super-sidebar-overlay-z-index: 599;
|
2020-04-22 19:07:51 +05:30
|
|
|
|
|
|
|
/**
|
|
|
|
🚨 Do not use this spacing scale — it is deprecated and being removed. 🚨
|
|
|
|
See https://gitlab.com/gitlab-org/gitlab/issues/36857 for more details.
|
|
|
|
|
|
|
|
Instead, if you need a spacing class, add it to app/assets/stylesheets/framework/common.scss,
|
|
|
|
using the following values.
|
|
|
|
|
|
|
|
$gl-spacing-scale-0: 0;
|
|
|
|
$gl-spacing-scale-1: 2px;
|
|
|
|
$gl-spacing-scale-2: 4px;
|
|
|
|
$gl-spacing-scale-3: 8px;
|
|
|
|
$gl-spacing-scale-4: 12px;
|
|
|
|
$gl-spacing-scale-5: 16px;
|
|
|
|
$gl-spacing-scale-6: 24px;
|
|
|
|
$gl-spacing-scale-7: 32px;
|
|
|
|
$gl-spacing-scale-8: 40px;
|
|
|
|
$gl-spacing-scale-9: 48px;
|
|
|
|
$gl-spacing-scale-10: 56px;
|
|
|
|
$gl-spacing-scale-11: 64px;
|
|
|
|
$gl-spacing-scale-12: 80px;
|
|
|
|
$gl-spacing-scale-13: 96px;
|
|
|
|
|
|
|
|
E.g., a padding top of 96px can be added using:
|
|
|
|
.gl-shim-pt-13 {
|
|
|
|
padding-top: 96px;
|
|
|
|
}
|
|
|
|
|
|
|
|
Please use -shim- so it can be differentiated from the old scale classes.
|
|
|
|
|
|
|
|
These will be replaced when the Gitlab UI utilities are included.
|
|
|
|
**/
|
2019-07-31 22:56:46 +05:30
|
|
|
$spacing-scale: (
|
|
|
|
0: 0,
|
|
|
|
1: #{0.5 * $grid-size},
|
|
|
|
2: $grid-size,
|
|
|
|
3: #{2 * $grid-size},
|
|
|
|
4: #{3 * $grid-size},
|
|
|
|
5: #{4 * $grid-size}
|
|
|
|
);
|
2016-06-02 11:05:42 +05:30
|
|
|
|
2022-04-04 11:22:00 +05:30
|
|
|
/* Will be moved to @gitlab/ui by https://gitlab.com/gitlab-org/gitlab-ui/-/issues/1709 */
|
|
|
|
$gl-spacing-scale-48: 48 * $grid-size;
|
|
|
|
$gl-spacing-scale-75: 75 * $grid-size;
|
|
|
|
/* End gitlab-ui#1709 */
|
|
|
|
|
2019-12-26 22:10:19 +05:30
|
|
|
/*
|
|
|
|
* Why another sizing scale???
|
|
|
|
* Great question, friend!
|
|
|
|
* This size scale is a "backport" of the equivalent set of "named" sizes
|
|
|
|
* (e.g. `xl` versus `70`) that came from the following design document as of 2019-10-23:
|
|
|
|
*
|
|
|
|
* https://gitlab-org.gitlab.io/gitlab-design/hosted/design-gitlab-specs/forms-spec-previews/
|
|
|
|
*
|
|
|
|
* (See `input-` items at the bottom)
|
|
|
|
*
|
|
|
|
* The presumption here is that these sizes will be standardized in GitLab UI and thus will be
|
|
|
|
* broadly useful here in the GitLab product when not using the GitLab UI components.
|
|
|
|
*/
|
|
|
|
$size-scale: (
|
|
|
|
'xs': #{10 * $grid-size},
|
|
|
|
's': #{20 * $grid-size},
|
|
|
|
'm': #{30 * $grid-size},
|
|
|
|
'l': #{40 * $grid-size},
|
|
|
|
'xl': #{70 * $grid-size}
|
|
|
|
);
|
|
|
|
|
2020-06-23 00:09:42 +05:30
|
|
|
// Color schema
|
|
|
|
$darken-normal-factor: 7% !default;
|
|
|
|
$darken-dark-factor: 10% !default;
|
|
|
|
$darken-border-factor: 5% !default;
|
|
|
|
$darken-border-dashed-factor: 25% !default;
|
|
|
|
|
|
|
|
$purple: #6d49cb !default;
|
|
|
|
$purple-light: #ede8fb !default;
|
|
|
|
|
2020-07-28 23:09:34 +05:30
|
|
|
$green-50: #ecf4ee !default;
|
|
|
|
$green-100: #c3e6cd !default;
|
|
|
|
$green-200: #91d4a8 !default;
|
|
|
|
$green-300: #52b87a !default;
|
|
|
|
$green-400: #2da160 !default;
|
|
|
|
$green-500: #108548 !default;
|
|
|
|
$green-600: #217645 !default;
|
|
|
|
$green-700: #24663b !default;
|
|
|
|
$green-800: #0d532a !default;
|
2020-06-23 00:09:42 +05:30
|
|
|
$green-900: #0a4020 !default;
|
|
|
|
$green-950: #072b15 !default;
|
|
|
|
|
2020-07-28 23:09:34 +05:30
|
|
|
$blue-50: #e9f3fc !default;
|
|
|
|
$blue-100: #cbe2f9 !default;
|
|
|
|
$blue-200: #9dc7f1 !default;
|
|
|
|
$blue-300: #63a6e9 !default;
|
|
|
|
$blue-400: #428fdc !default;
|
|
|
|
$blue-500: #1f75cb !default;
|
|
|
|
$blue-600: #1068bf !default;
|
|
|
|
$blue-700: #0b5cad !default;
|
|
|
|
$blue-800: #064787 !default;
|
|
|
|
$blue-900: #033464 !default;
|
|
|
|
$blue-950: #002850 !default;
|
2020-06-23 00:09:42 +05:30
|
|
|
|
2020-11-24 15:15:51 +05:30
|
|
|
$orange-50: #fdf1dd !default;
|
|
|
|
$orange-100: #f5d9a8 !default;
|
|
|
|
$orange-200: #e9be74 !default;
|
|
|
|
$orange-300: #d99530 !default;
|
|
|
|
$orange-400: #c17d10 !default;
|
|
|
|
$orange-500: #ab6100 !default;
|
|
|
|
$orange-600: #9e5400 !default;
|
|
|
|
$orange-700: #8f4700 !default;
|
|
|
|
$orange-800: #703800 !default;
|
|
|
|
$orange-900: #5c2900 !default;
|
|
|
|
$orange-950: #421f00 !default;
|
2020-06-23 00:09:42 +05:30
|
|
|
|
|
|
|
$red-50: #fcf1ef !default;
|
|
|
|
$red-100: #fdd4cd !default;
|
|
|
|
$red-200: #fcb5aa !default;
|
|
|
|
$red-300: #f57f6c !default;
|
|
|
|
$red-400: #ec5941 !default;
|
|
|
|
$red-500: #dd2b0e !default;
|
|
|
|
$red-600: #c91c00 !default;
|
|
|
|
$red-700: #ae1800 !default;
|
|
|
|
$red-800: #8d1300 !default;
|
|
|
|
$red-900: #660e00 !default;
|
|
|
|
$red-950: #4d0a00 !default;
|
|
|
|
|
2020-11-24 15:15:51 +05:30
|
|
|
$purple-50: #f4f0ff !default;
|
|
|
|
$purple-100: #e1d8f9 !default;
|
|
|
|
$purple-200: #cbbbf2 !default;
|
|
|
|
$purple-300: #ac93e6 !default;
|
|
|
|
$purple-400: #9475db !default;
|
|
|
|
$purple-500: #7b58cf !default;
|
|
|
|
$purple-600: #694cc0 !default;
|
|
|
|
$purple-700: #5943b6 !default;
|
|
|
|
$purple-800: #453894 !default;
|
|
|
|
$purple-900: #2f2a6b !default;
|
|
|
|
$purple-950: #232150 !default;
|
|
|
|
|
2023-01-13 00:05:48 +05:30
|
|
|
$gray-10: #fbfafd !default;
|
|
|
|
$gray-50: #ececef !default;
|
|
|
|
$gray-100: #dcdcde !default;
|
|
|
|
$gray-200: #bfbfc3 !default;
|
|
|
|
$gray-300: #a4a3a8 !default;
|
|
|
|
$gray-400: #89888d !default;
|
|
|
|
$gray-500: #737278 !default;
|
|
|
|
$gray-600: #626168 !default;
|
|
|
|
$gray-700: #535158 !default;
|
|
|
|
$gray-800: #434248 !default;
|
|
|
|
$gray-900: #333238 !default;
|
|
|
|
$gray-950: #1f1e24 !default;
|
|
|
|
|
|
|
|
$gray-lightest: lighten($gray-10, 1) !default;
|
|
|
|
$gray-light: $gray-10 !default;
|
|
|
|
$gray-lighter: lighten($gray-50, 4) !default;
|
|
|
|
$gray-normal: lighten($gray-50, 2) !default;
|
|
|
|
$gray-dark: darken($gray-light, $darken-dark-factor) !default;
|
|
|
|
$gray-darker: $gray-50 !default;
|
|
|
|
$gray-darkest: $gray-200 !default;
|
|
|
|
|
|
|
|
$t-gray-a-02: rgba($gray-950, 0.02) !default;
|
|
|
|
$t-gray-a-04: rgba($gray-950, 0.04) !default;
|
|
|
|
$t-gray-a-06: rgba($gray-950, 0.06) !default;
|
|
|
|
$t-gray-a-08: rgba($gray-950, 0.08) !default;
|
|
|
|
$t-gray-a-16: rgba($gray-950, 0.16) !default;
|
|
|
|
$t-gray-a-24: rgba($gray-950, 0.24) !default;
|
2019-03-02 22:35:43 +05:30
|
|
|
|
2023-03-04 22:38:38 +05:30
|
|
|
$white: #fff !default;
|
|
|
|
$white-normal: $gray-50 !default;
|
|
|
|
$white-dark: darken($gray-50, 2) !default;
|
|
|
|
$white-transparent: rgba($white, 0.8) !default;
|
|
|
|
|
|
|
|
$black: #000 !default;
|
|
|
|
$black-transparent: $t-gray-a-24 !default;
|
|
|
|
$almost-black: $gray-950 !default;
|
|
|
|
|
2019-07-07 11:18:12 +05:30
|
|
|
$greens: (
|
|
|
|
'50': $green-50,
|
|
|
|
'100': $green-100,
|
|
|
|
'200': $green-200,
|
|
|
|
'300': $green-300,
|
|
|
|
'400': $green-400,
|
|
|
|
'500': $green-500,
|
|
|
|
'600': $green-600,
|
|
|
|
'700': $green-700,
|
|
|
|
'800': $green-800,
|
|
|
|
'900': $green-900,
|
|
|
|
'950': $green-950
|
|
|
|
);
|
|
|
|
|
|
|
|
$blues: (
|
|
|
|
'50': $blue-50,
|
|
|
|
'100': $blue-100,
|
|
|
|
'200': $blue-200,
|
|
|
|
'300': $blue-300,
|
|
|
|
'400': $blue-400,
|
|
|
|
'500': $blue-500,
|
|
|
|
'600': $blue-600,
|
|
|
|
'700': $blue-700,
|
|
|
|
'800': $blue-800,
|
|
|
|
'900': $blue-900,
|
|
|
|
'950': $blue-950
|
|
|
|
);
|
|
|
|
|
|
|
|
$oranges: (
|
|
|
|
'50': $orange-50,
|
|
|
|
'100': $orange-100,
|
|
|
|
'200': $orange-200,
|
|
|
|
'300': $orange-300,
|
|
|
|
'400': $orange-400,
|
|
|
|
'500': $orange-500,
|
|
|
|
'600': $orange-600,
|
|
|
|
'700': $orange-700,
|
|
|
|
'800': $orange-800,
|
|
|
|
'900': $orange-900,
|
|
|
|
'950': $orange-950
|
|
|
|
);
|
|
|
|
|
|
|
|
$reds: (
|
|
|
|
'50': $red-50,
|
|
|
|
'100': $red-100,
|
|
|
|
'200': $red-200,
|
|
|
|
'300': $red-300,
|
|
|
|
'400': $red-400,
|
|
|
|
'500': $red-500,
|
|
|
|
'600': $red-600,
|
|
|
|
'700': $red-700,
|
|
|
|
'800': $red-800,
|
|
|
|
'900': $red-900,
|
|
|
|
'950': $red-950
|
|
|
|
);
|
|
|
|
|
2020-11-24 15:15:51 +05:30
|
|
|
$purples: (
|
|
|
|
'50': $purple-50,
|
|
|
|
'100': $purple-100,
|
|
|
|
'200': $purple-200,
|
|
|
|
'300': $purple-300,
|
|
|
|
'400': $purple-400,
|
|
|
|
'500': $purple-500,
|
|
|
|
'600': $purple-600,
|
|
|
|
'700': $purple-700,
|
|
|
|
'800': $purple-800,
|
|
|
|
'900': $purple-900,
|
|
|
|
'950': $purple-950
|
|
|
|
);
|
|
|
|
|
2019-07-07 11:18:12 +05:30
|
|
|
$grays: (
|
2020-05-24 23:13:21 +05:30
|
|
|
'10': $gray-10,
|
2019-07-07 11:18:12 +05:30
|
|
|
'50': $gray-50,
|
|
|
|
'100': $gray-100,
|
|
|
|
'200': $gray-200,
|
|
|
|
'300': $gray-300,
|
|
|
|
'400': $gray-400,
|
|
|
|
'500': $gray-500,
|
|
|
|
'600': $gray-600,
|
|
|
|
'700': $gray-700,
|
|
|
|
'800': $gray-800,
|
|
|
|
'900': $gray-900,
|
|
|
|
'950': $gray-950
|
|
|
|
);
|
|
|
|
|
|
|
|
$color-ranges: (
|
|
|
|
'primary': $blues,
|
|
|
|
'secondary': $grays,
|
|
|
|
'success': $greens,
|
|
|
|
'warning': $oranges,
|
|
|
|
'danger': $reds
|
|
|
|
);
|
|
|
|
|
2018-03-17 18:26:18 +05:30
|
|
|
// GitLab themes
|
2016-09-29 09:46:39 +05:30
|
|
|
|
2017-09-10 17:25:29 +05:30
|
|
|
$indigo-50: #f7f7ff;
|
|
|
|
$indigo-100: #ebebfa;
|
|
|
|
$indigo-200: #d1d1f0;
|
|
|
|
$indigo-300: #a6a6de;
|
|
|
|
$indigo-400: #7c7ccc;
|
|
|
|
$indigo-500: #6666c4;
|
|
|
|
$indigo-600: #5b5bbd;
|
|
|
|
$indigo-700: #4b4ba3;
|
|
|
|
$indigo-800: #393982;
|
|
|
|
$indigo-900: #292961;
|
|
|
|
$indigo-950: #1a1a40;
|
2021-06-08 01:23:25 +05:30
|
|
|
// To do this variant right for darkmode, we need to create a variable for it.
|
|
|
|
$indigo-900-alpha-008: rgba($indigo-900, 0.08);
|
2017-09-10 17:25:29 +05:30
|
|
|
|
2018-03-17 18:26:18 +05:30
|
|
|
$theme-blue-50: #f4f8fc;
|
|
|
|
$theme-blue-100: #e6edf5;
|
|
|
|
$theme-blue-200: #c8d7e6;
|
|
|
|
$theme-blue-300: #97b3cf;
|
|
|
|
$theme-blue-400: #648cb4;
|
|
|
|
$theme-blue-500: #4a79a8;
|
|
|
|
$theme-blue-600: #3e6fa0;
|
|
|
|
$theme-blue-700: #305c88;
|
|
|
|
$theme-blue-800: #25496e;
|
|
|
|
$theme-blue-900: #1a3652;
|
|
|
|
$theme-blue-950: #0f2235;
|
|
|
|
|
2018-11-08 19:23:39 +05:30
|
|
|
$theme-light-blue-50: #f2f7fc;
|
|
|
|
$theme-light-blue-100: #ebf1f7;
|
|
|
|
$theme-light-blue-200: #c9dcf2;
|
|
|
|
$theme-light-blue-300: #83abd4;
|
|
|
|
$theme-light-blue-400: #4d86bf;
|
|
|
|
$theme-light-blue-500: #367cc2;
|
|
|
|
$theme-light-blue-600: #3771ab;
|
|
|
|
$theme-light-blue-700: #2261a1;
|
|
|
|
|
2018-03-17 18:26:18 +05:30
|
|
|
$theme-green-50: #f2faf6;
|
|
|
|
$theme-green-100: #e4f3ea;
|
|
|
|
$theme-green-200: #c0dfcd;
|
|
|
|
$theme-green-300: #8ac2a1;
|
|
|
|
$theme-green-400: #52a274;
|
|
|
|
$theme-green-500: #35935c;
|
|
|
|
$theme-green-600: #288a50;
|
|
|
|
$theme-green-700: #1c7441;
|
|
|
|
$theme-green-800: #145d33;
|
|
|
|
$theme-green-900: #0d4524;
|
|
|
|
$theme-green-950: #072d16;
|
|
|
|
|
2018-11-08 19:23:39 +05:30
|
|
|
$theme-light-green-700: #156b39;
|
|
|
|
|
|
|
|
$theme-red-50: #fcf4f2;
|
|
|
|
$theme-red-100: #fae9e6;
|
|
|
|
$theme-red-200: #ebcac5;
|
|
|
|
$theme-red-300: #d99b91;
|
|
|
|
$theme-red-400: #b0655a;
|
|
|
|
$theme-red-500: #ad4a3b;
|
|
|
|
$theme-red-600: #9e4133;
|
|
|
|
$theme-red-700: #912f20;
|
|
|
|
$theme-red-800: #78291d;
|
|
|
|
$theme-red-900: #691a16;
|
|
|
|
$theme-red-950: #36140f;
|
|
|
|
|
|
|
|
$theme-light-red-50: #fff6f5;
|
|
|
|
$theme-light-red-100: #fae2de;
|
|
|
|
$theme-light-red-200: #f7d5d0;
|
|
|
|
$theme-light-red-300: #d9796a;
|
|
|
|
$theme-light-red-400: #cf604e;
|
|
|
|
$theme-light-red-500: #c24b38;
|
|
|
|
$theme-light-red-600: #b03927;
|
|
|
|
$theme-light-red-700: #a62e21;
|
|
|
|
|
2023-01-13 00:05:48 +05:30
|
|
|
// Data visualization color palette
|
|
|
|
|
2023-03-04 22:38:38 +05:30
|
|
|
$data-viz-blue-50: #e9ebff !default;
|
|
|
|
$data-viz-blue-100: #d2dcff !default;
|
|
|
|
$data-viz-blue-200: #b7c6ff !default;
|
|
|
|
$data-viz-blue-300: #97acff !default;
|
|
|
|
$data-viz-blue-400: #7992f5 !default;
|
|
|
|
$data-viz-blue-500: #617ae2 !default;
|
|
|
|
$data-viz-blue-600: #4e65cd !default;
|
|
|
|
$data-viz-blue-700: #3f51ae !default;
|
|
|
|
$data-viz-blue-800: #374291 !default;
|
|
|
|
$data-viz-blue-900: #303470 !default;
|
|
|
|
$data-viz-blue-950: #2a2b59 !default;
|
2023-01-13 00:05:48 +05:30
|
|
|
|
2020-06-23 00:09:42 +05:30
|
|
|
$border-white-light: darken($white, $darken-border-factor) !default;
|
|
|
|
$border-white-normal: darken($white-normal, $darken-border-factor) !default;
|
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);
|
2018-03-17 18:26:18 +05:30
|
|
|
$border-gray-normal-dashed: darken($gray-normal, $darken-border-dashed-factor);
|
2016-09-29 09:46:39 +05:30
|
|
|
|
2016-06-02 11:05:42 +05:30
|
|
|
/*
|
|
|
|
* UI elements
|
|
|
|
*/
|
2023-01-13 00:05:48 +05:30
|
|
|
$contextual-sidebar-bg-color: $gray-10;
|
2022-07-23 23:45:48 +05:30
|
|
|
$contextual-sidebar-border-color: #e9e9e9;
|
2020-07-28 23:09:34 +05:30
|
|
|
$border-color: $gray-100;
|
2019-02-15 15:39:39 +05:30
|
|
|
$shadow-color: $t-gray-a-08;
|
2021-04-29 21:17:54 +05:30
|
|
|
$well-expand-item: #e8f2f7 !default;
|
|
|
|
$well-inner-border: #eef0f2 !default;
|
2017-08-17 22:00:37 +05:30
|
|
|
$well-light-border: #f1f1f1;
|
|
|
|
$well-light-text-color: #5b6169;
|
2023-03-04 22:38:38 +05:30
|
|
|
$nav-active-bg: $t-gray-a-08;
|
2016-06-02 11:05:42 +05:30
|
|
|
|
|
|
|
/*
|
|
|
|
* Text
|
|
|
|
*/
|
2017-08-17 22:00:37 +05:30
|
|
|
$gl-font-size: 14px;
|
2018-12-13 13:39:08 +05:30
|
|
|
$gl-font-size-xs: 11px;
|
|
|
|
$gl-font-size-small: 12px;
|
2019-02-15 15:39:39 +05:30
|
|
|
$gl-font-size-large: 16px;
|
2018-03-17 18:26:18 +05:30
|
|
|
$gl-font-weight-normal: 400;
|
|
|
|
$gl-font-weight-bold: 600;
|
2020-04-22 19:07:51 +05:30
|
|
|
$gl-text-color: $gray-900;
|
2023-03-17 16:20:25 +05:30
|
|
|
$gl-text-color-secondary: $gray-500 !default;
|
2020-10-24 23:57:45 +05:30
|
|
|
$gl-text-color-tertiary: $gray-400;
|
2017-09-10 17:25:29 +05:30
|
|
|
$gl-text-color-quaternary: #d6d6d6;
|
2020-04-22 19:07:51 +05:30
|
|
|
$gl-text-color-inverted: $white;
|
2020-06-23 00:09:42 +05:30
|
|
|
$gl-text-color-secondary-inverted: rgba($white, 0.85);
|
2020-10-24 23:57:45 +05:30
|
|
|
$gl-text-color-disabled: $gray-400;
|
2022-11-25 23:54:43 +05:30
|
|
|
$link-color: $blue-500 !default;
|
|
|
|
$link-hover-color: $blue-500 !default;
|
2017-08-17 22:00:37 +05:30
|
|
|
$gl-grayish-blue: #7f8fa4;
|
|
|
|
$gl-header-color: #4c4e54;
|
2019-12-26 22:10:19 +05:30
|
|
|
$gl-font-size-12: 12px;
|
|
|
|
$gl-font-size-14: 14px;
|
|
|
|
$gl-font-size-16: 16px;
|
|
|
|
$gl-font-size-28: 28px;
|
|
|
|
$gl-font-size-42: 42px;
|
2016-06-02 11:05:42 +05:30
|
|
|
|
2019-07-07 11:18:12 +05:30
|
|
|
$type-scale: (
|
|
|
|
1: 12px,
|
|
|
|
2: 14px,
|
|
|
|
3: 16px,
|
|
|
|
4: 20px,
|
|
|
|
5: 28px,
|
|
|
|
6: 42px
|
|
|
|
);
|
|
|
|
|
2016-06-02 11:05:42 +05:30
|
|
|
/*
|
|
|
|
* Lists
|
|
|
|
*/
|
2017-08-17 22:00:37 +05:30
|
|
|
$list-border: rgba(0, 0, 0, 0.05);
|
2016-09-13 17:45:13 +05:30
|
|
|
$list-text-height: 42px;
|
2016-06-02 11:05:42 +05:30
|
|
|
|
|
|
|
/*
|
|
|
|
* Code
|
|
|
|
*/
|
2018-11-18 11:00:15 +05:30
|
|
|
$code-font-size: 90%;
|
|
|
|
$code-line-height: 1.6;
|
2020-04-08 14:13:33 +05:30
|
|
|
$code-color: $gray-950;
|
2016-06-02 11:05:42 +05:30
|
|
|
|
2018-03-17 18:26:18 +05:30
|
|
|
/*
|
|
|
|
* Tooltips
|
|
|
|
*/
|
|
|
|
$tooltip-font-size: 12px;
|
|
|
|
|
2016-06-02 11:05:42 +05:30
|
|
|
/*
|
|
|
|
* Padding
|
|
|
|
*/
|
2018-03-27 19:54:05 +05:30
|
|
|
$gl-padding-4: 4px;
|
2020-05-24 23:13:21 +05:30
|
|
|
$gl-padding-6: 6px;
|
2018-11-08 19:23:39 +05:30
|
|
|
$gl-padding-8: 8px;
|
2019-09-04 21:01:54 +05:30
|
|
|
$gl-padding-12: 12px;
|
2018-11-08 19:23:39 +05:30
|
|
|
$gl-padding: 16px;
|
|
|
|
$gl-padding-24: 24px;
|
|
|
|
$gl-padding-32: 32px;
|
2016-06-16 23:09:34 +05:30
|
|
|
$gl-input-padding: 10px;
|
2016-01-19 16:12:03 +05:30
|
|
|
$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;
|
2018-11-20 20:47:30 +05:30
|
|
|
$input-horizontal-padding: 12px;
|
2019-07-07 11:18:12 +05:30
|
|
|
$browser-scrollbar-size: 10px;
|
2016-06-02 11:05:42 +05:30
|
|
|
|
|
|
|
/*
|
|
|
|
* Misc
|
|
|
|
*/
|
2022-07-23 23:45:48 +05:30
|
|
|
$header-height: var(--header-height, 48px);
|
2020-04-22 19:07:51 +05:30
|
|
|
$header-zindex: 1000;
|
2021-03-11 19:13:27 +05:30
|
|
|
$zindex-dropdown-menu: 300;
|
2018-11-08 19:23:39 +05:30
|
|
|
$ide-statusbar-height: 25px;
|
2016-06-02 11:05:42 +05:30
|
|
|
$fixed-layout-width: 1280px;
|
2017-08-17 22:00:37 +05:30
|
|
|
$limited-layout-width: 990px;
|
2017-09-10 17:25:29 +05:30
|
|
|
$container-text-max-width: 540px;
|
2016-04-02 18:10:28 +05:30
|
|
|
$gl-avatar-size: 40px;
|
2018-03-17 18:26:18 +05:30
|
|
|
$border-radius-default: 4px;
|
|
|
|
$border-radius-small: 2px;
|
2019-07-07 11:18:12 +05:30
|
|
|
$border-radius-large: 8px;
|
2021-04-17 20:07:23 +05:30
|
|
|
$default-icon-size: 16px;
|
2016-06-02 11:05:42 +05:30
|
|
|
$layout-link-gray: #7e7c7c;
|
2022-07-16 23:28:13 +05:30
|
|
|
$btn-side-margin: $grid-size;
|
2016-06-16 23:09:34 +05:30
|
|
|
$btn-sm-side-margin: 7px;
|
2017-08-17 22:00:37 +05:30
|
|
|
$count-arrow-border: #dce0e5;
|
|
|
|
$general-hover-transition-duration: 100ms;
|
|
|
|
$general-hover-transition-curve: linear;
|
2017-09-10 17:25:29 +05:30
|
|
|
$highlight-changes-color: rgb(235, 255, 232);
|
|
|
|
$performance-bar-height: 35px;
|
2019-07-07 11:18:12 +05:30
|
|
|
$system-header-height: 16px;
|
|
|
|
$system-footer-height: $system-header-height;
|
2018-03-17 18:26:18 +05:30
|
|
|
$flash-height: 52px;
|
2019-12-04 20:38:33 +05:30
|
|
|
$flash-container-top: 48px;
|
2018-03-17 18:26:18 +05:30
|
|
|
$context-header-height: 60px;
|
2018-05-09 12:01:36 +05:30
|
|
|
$breadcrumb-min-height: 48px;
|
2019-03-02 22:35:43 +05:30
|
|
|
$home-panel-title-row-height: 64px;
|
|
|
|
$home-panel-avatar-mobile-size: 24px;
|
2020-10-24 23:57:45 +05:30
|
|
|
$issuable-title-max-width: 350px;
|
|
|
|
$milestone-title-max-width: 75px;
|
2018-12-13 13:39:08 +05:30
|
|
|
$gl-line-height: 16px;
|
2020-05-24 23:13:21 +05:30
|
|
|
$gl-line-height-18: 18px;
|
2019-09-04 21:01:54 +05:30
|
|
|
$gl-line-height-20: 20px;
|
2019-02-15 15:39:39 +05:30
|
|
|
$gl-line-height-24: 24px;
|
|
|
|
$gl-line-height-14: 14px;
|
2017-08-17 22:00:37 +05:30
|
|
|
|
2019-07-07 11:18:12 +05:30
|
|
|
$pages-group-name-color: #4c4e54;
|
|
|
|
|
2017-08-17 22:00:37 +05:30
|
|
|
/*
|
|
|
|
* Common component specific colors
|
|
|
|
*/
|
2018-03-17 18:26:18 +05:30
|
|
|
$user-mention-bg: rgba($blue-500, 0.044);
|
|
|
|
$user-mention-bg-hover: rgba($blue-500, 0.15);
|
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:
|
|
|
|
*/
|
2018-11-20 20:47:30 +05:30
|
|
|
$green-500-focus: rgba($green-500, 0.4);
|
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;
|
2020-07-28 23:09:34 +05:30
|
|
|
$line-added-dark: #c7f0d2 !default;
|
2016-06-02 11:05:42 +05:30
|
|
|
$line-removed: #fbe9eb;
|
2020-07-28 23:09:34 +05:30
|
|
|
$line-removed-dark: #fac5cd !default;
|
2020-11-24 15:15:51 +05:30
|
|
|
/*
|
|
|
|
* The transparent colors are used in Monaco editor. Using full opacity colors
|
|
|
|
* would hide other layers (selected text, matching brackets).
|
|
|
|
*
|
|
|
|
* When the transparent colors get layered on white background, they create their
|
2021-11-11 11:23:49 +05:30
|
|
|
* full opacity counterparts:
|
2020-11-24 15:15:51 +05:30
|
|
|
*
|
|
|
|
* - white + $line-added-transparent = $line-added
|
|
|
|
* - white + $line-added-transparent + $line-added-dark-transparent = $line-added-dark
|
|
|
|
*
|
|
|
|
* More details: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/41553
|
|
|
|
*/
|
|
|
|
$line-added-transparent: rgba(160, 245, 180, 0.2);
|
|
|
|
$line-added-dark-transparent: rgba(51, 188, 90, 0.2);
|
|
|
|
$line-removed-transparent: rgba(235, 145, 155, 0.2);
|
|
|
|
$line-removed-dark-transparent: rgba(246, 53, 85, 0.2);
|
2016-06-02 11:05:42 +05:30
|
|
|
$line-number-old: #f9d7dc;
|
|
|
|
$line-number-new: #ddfbe6;
|
|
|
|
$line-number-select: #fbf2da;
|
2021-03-08 18:12:59 +05:30
|
|
|
$line-number-commented: #dae5fb;
|
2020-04-22 19:07:51 +05:30
|
|
|
$line-target-blue: $blue-50;
|
2016-06-02 11:05:42 +05:30
|
|
|
$line-select-yellow: #fcf8e7;
|
|
|
|
$line-select-yellow-dark: #f0e2bd;
|
2021-03-08 18:12:59 +05:30
|
|
|
$line-commented-blue: #e8effc;
|
|
|
|
$line-commented-blue-dark: #bccef0;
|
2020-06-23 00:09:42 +05:30
|
|
|
$dark-diff-match-bg: rgba($white, 0.3);
|
|
|
|
$dark-diff-match-color: rgba($white, 0.1);
|
2019-07-07 11:18:12 +05:30
|
|
|
$diff-image-info-color: #808080;
|
|
|
|
$diff-view-modes-color: #808080;
|
2017-08-17 22:00:37 +05:30
|
|
|
$diff-view-modes-border: #c1c1c1;
|
2018-03-17 18:26:18 +05:30
|
|
|
$diff-jagged-border-gradient-color: darken($white-normal, 8%);
|
2015-10-24 18:46:33 +05:30
|
|
|
|
|
|
|
/*
|
|
|
|
* Fonts
|
|
|
|
*/
|
2023-03-04 22:38:38 +05:30
|
|
|
$monospace-font: var(--default-mono-font, 'Menlo'), 'DejaVu Sans Mono', 'Liberation Mono', 'Consolas',
|
|
|
|
'Ubuntu Mono', 'Courier New', 'andale mono', 'lucida console', monospace;
|
|
|
|
$regular-font: var(--default-regular-font, -apple-system), BlinkMacSystemFont, 'Segoe UI', Roboto, 'Noto Sans',
|
|
|
|
Ubuntu, Cantarell, 'Helvetica Neue', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji',
|
|
|
|
'Segoe UI Symbol', 'Noto Color Emoji';
|
|
|
|
$gl-monospace-font: $monospace-font;
|
|
|
|
$gl-regular-font: $regular-font;
|
2016-06-02 11:05:42 +05:30
|
|
|
|
|
|
|
/*
|
|
|
|
* Dropdowns
|
|
|
|
*/
|
|
|
|
$dropdown-width: 300px;
|
2018-03-17 18:26:18 +05:30
|
|
|
$dropdown-min-height: 40px;
|
|
|
|
$dropdown-max-height: 312px;
|
2019-07-07 11:18:12 +05:30
|
|
|
$dropdown-max-height-lg: 445px;
|
2018-03-17 18:26:18 +05:30
|
|
|
$dropdown-vertical-offset: 4px;
|
2018-05-09 12:01:36 +05:30
|
|
|
$dropdown-empty-row-bg: rgba(#000, 0.04);
|
|
|
|
$dropdown-shadow-color: rgba(#000, 0.1);
|
2016-06-02 11:05:42 +05:30
|
|
|
$dropdown-title-btn-color: #bfbfbf;
|
2018-11-20 20:47:30 +05:30
|
|
|
$dropdown-input-focus-shadow: rgba($blue-300, 0.4);
|
2020-06-23 00:09:42 +05:30
|
|
|
$dropdown-loading-bg: rgba($white, 0.6);
|
2017-08-17 22:00:37 +05:30
|
|
|
$dropdown-chevron-size: 10px;
|
|
|
|
$dropdown-toggle-active-border-color: darken($border-color, 14%);
|
2018-03-17 18:26:18 +05:30
|
|
|
$dropdown-fade-mask-height: 32px;
|
2018-11-08 19:23:39 +05:30
|
|
|
$dropdown-member-form-control-width: 163px;
|
2016-06-02 11:05:42 +05:30
|
|
|
|
2017-08-17 22:00:37 +05:30
|
|
|
/*
|
|
|
|
* Filtered Search
|
|
|
|
*/
|
2017-09-10 17:25:29 +05:30
|
|
|
$filtered-search-term-shadow-color: rgba(0, 0, 0, 0.09);
|
2016-06-02 11:05:42 +05:30
|
|
|
|
2018-03-17 18:26:18 +05:30
|
|
|
/*
|
|
|
|
* Contextual Sidebar
|
|
|
|
*/
|
2020-06-23 00:09:42 +05:30
|
|
|
$link-active-background: rgba($black, 0.04);
|
|
|
|
$link-hover-background: rgba($gray-900, 0.06);
|
|
|
|
$inactive-badge-background: rgba($black, 0.08);
|
2018-10-15 14:42:47 +05:30
|
|
|
$sidebar-toggle-height: 60px;
|
2019-12-04 20:38:33 +05:30
|
|
|
$sidebar-toggle-width: 40px;
|
2018-10-15 14:42:47 +05:30
|
|
|
$sidebar-milestone-toggle-bottom-margin: 10px;
|
2021-09-04 01:27:46 +05:30
|
|
|
$sidebar-avatar-size: 32px;
|
2022-07-23 23:45:48 +05:30
|
|
|
$sidebar-top-item-lr-margin: 8px;
|
2021-09-04 01:27:46 +05:30
|
|
|
$sidebar-top-item-tb-margin: 1px;
|
2018-03-17 18:26:18 +05:30
|
|
|
|
2016-06-02 11:05:42 +05:30
|
|
|
/*
|
|
|
|
* Buttons
|
|
|
|
*/
|
2020-06-23 00:09:42 +05:30
|
|
|
$btn-active-gray: $gray-50;
|
|
|
|
$btn-active-gray-light: $gray-50;
|
2016-06-02 11:05:42 +05:30
|
|
|
$btn-white-active: #848484;
|
2018-03-27 19:54:05 +05:30
|
|
|
$gl-btn-padding: 10px;
|
|
|
|
$gl-btn-line-height: 16px;
|
|
|
|
$gl-btn-vert-padding: 8px;
|
|
|
|
$gl-btn-horz-padding: 12px;
|
2019-02-15 15:39:39 +05:30
|
|
|
$gl-btn-small-font-size: 13px;
|
|
|
|
$gl-btn-small-line-height: 18px;
|
2017-08-17 22:00:37 +05:30
|
|
|
|
|
|
|
/*
|
|
|
|
* Badges
|
|
|
|
*/
|
2021-04-29 21:17:54 +05:30
|
|
|
$badge-bg: rgba($black, 0.07);
|
2016-06-02 11:05:42 +05:30
|
|
|
|
2018-11-08 19:23:39 +05:30
|
|
|
/*
|
|
|
|
* Pagination
|
|
|
|
*/
|
|
|
|
$pagination-padding-y: 6px;
|
|
|
|
$pagination-padding-x: 16px;
|
|
|
|
$pagination-line-height: 20px;
|
|
|
|
$pagination-disabled-color: #cdcdcd;
|
|
|
|
|
2017-09-10 17:25:29 +05:30
|
|
|
/*
|
|
|
|
* Status icons
|
|
|
|
*/
|
|
|
|
$status-icon-size: 22px;
|
|
|
|
|
2022-03-02 08:16:31 +05:30
|
|
|
|
|
|
|
/*
|
|
|
|
* Social Icons
|
|
|
|
*/
|
2023-04-23 21:23:45 +05:30
|
|
|
$discord: #5865f2;
|
2022-03-02 08:16:31 +05:30
|
|
|
$linkedin: #2867b2;
|
2023-04-23 21:23:45 +05:30
|
|
|
$skype: #0078d7;
|
|
|
|
$twitter: #1d9bf0;
|
2022-03-02 08:16:31 +05:30
|
|
|
|
2016-06-02 11:05:42 +05:30
|
|
|
/*
|
|
|
|
* Award emoji
|
|
|
|
*/
|
2018-05-09 12:01:36 +05:30
|
|
|
$award-emoji-menu-shadow: rgba(0, 0, 0, 0.175);
|
2017-08-17 22:00:37 +05:30
|
|
|
$award-emoji-positive-add-bg: #fed159;
|
|
|
|
$award-emoji-positive-add-lines: #bb9c13;
|
2019-07-07 11:18:12 +05:30
|
|
|
$award-emoji-width: 376px;
|
|
|
|
$award-emoji-width-xs: 90%;
|
2016-06-02 11:05:42 +05:30
|
|
|
|
|
|
|
/*
|
|
|
|
* Search Box
|
|
|
|
*/
|
2018-05-09 12:01:36 +05:30
|
|
|
$search-input-border-color: rgba($blue-400, 0.8);
|
2019-02-15 15:39:39 +05:30
|
|
|
$search-input-width: 200px;
|
2019-12-04 20:38:33 +05:30
|
|
|
$search-input-xl-width: 320px;
|
2016-06-02 11:05:42 +05:30
|
|
|
|
|
|
|
/*
|
|
|
|
* Notes
|
|
|
|
*/
|
|
|
|
$note-disabled-comment-color: #b2b2b2;
|
2017-08-17 22:00:37 +05:30
|
|
|
$note-targe3-outside: #fffff0;
|
|
|
|
$note-targe3-inside: #ffffd3;
|
2016-06-02 11:05:42 +05:30
|
|
|
|
2017-08-17 22:00:37 +05:30
|
|
|
/*
|
|
|
|
* Calendar
|
|
|
|
*/
|
2016-06-02 11:05:42 +05:30
|
|
|
$calendar-hover-bg: #ecf3fe;
|
2018-05-09 12:01:36 +05:30
|
|
|
$calendar-border-color: rgba(#000, 0.1);
|
2017-08-17 22:00:37 +05:30
|
|
|
$calendar-user-contrib-text: #959494;
|
2016-09-29 09:46:39 +05:30
|
|
|
|
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;
|
2018-12-13 13:39:08 +05:30
|
|
|
$issue-boards-card-shadow: rgba(0, 0, 0, 0.1);
|
2018-05-09 12:01:36 +05:30
|
|
|
$issue-boards-filter-height: 68px;
|
2020-04-22 19:07:51 +05:30
|
|
|
/*
|
|
|
|
The following heights are used in environment_logs.scss and are used for calculation of the log viewer height.
|
|
|
|
*/
|
|
|
|
$environment-logs-breadcrumbs-height: 63px;
|
|
|
|
$environment-logs-breadcrumbs-height-md: $breadcrumb-min-height;
|
|
|
|
|
2022-03-02 08:16:31 +05:30
|
|
|
$environment-logs-difference-xs-up: calc(#{$header-height} + #{$environment-logs-breadcrumbs-height});
|
|
|
|
$environment-logs-difference-md-up: calc(#{$header-height} + #{$environment-logs-breadcrumbs-height-md});
|
2017-08-17 22:00:37 +05:30
|
|
|
|
|
|
|
/*
|
|
|
|
* Avatar
|
|
|
|
*/
|
2018-11-18 11:00:15 +05:30
|
|
|
$avatar-radius: 50%;
|
2017-08-17 22:00:37 +05:30
|
|
|
$gl-avatar-size: 40px;
|
2019-09-04 21:01:54 +05:30
|
|
|
$gl-avatar-border-opacity: 0.1;
|
2017-08-17 22:00:37 +05:30
|
|
|
|
2017-09-10 17:25:29 +05:30
|
|
|
/*
|
|
|
|
* Blame
|
|
|
|
*/
|
|
|
|
$blame-gray: #ededed;
|
|
|
|
$blame-cyan: #acd5f2;
|
|
|
|
$blame-blue: #254e77;
|
|
|
|
|
2017-08-17 22:00:37 +05:30
|
|
|
/*
|
|
|
|
* Builds
|
|
|
|
*/
|
2021-11-18 22:05:49 +05:30
|
|
|
$builds-log-bg: #111;
|
2019-10-12 21:52:04 +05:30
|
|
|
$job-log-highlight-height: 18px;
|
2019-12-21 20:55:43 +05:30
|
|
|
$job-log-line-padding: 55px;
|
|
|
|
$job-line-number-width: 50px;
|
|
|
|
$job-line-number-margin: 43px;
|
|
|
|
$job-arrow-margin: 55px;
|
2017-08-17 22:00:37 +05:30
|
|
|
|
2021-09-04 01:27:46 +05:30
|
|
|
/*
|
|
|
|
* Calendar
|
|
|
|
*/
|
|
|
|
// See https://gitlab.com/gitlab-org/gitlab/-/issues/332150 to align with Pajamas Design System
|
|
|
|
$calendar-activity-colors: (
|
2023-01-13 00:05:48 +05:30
|
|
|
$gray-50,
|
|
|
|
$data-viz-blue-100,
|
|
|
|
$data-viz-blue-400,
|
|
|
|
$data-viz-blue-700,
|
|
|
|
$data-viz-blue-950,
|
2022-04-04 11:22:00 +05:30
|
|
|
) !default;
|
2021-09-04 01:27:46 +05:30
|
|
|
|
2017-08-17 22:00:37 +05:30
|
|
|
/*
|
|
|
|
* Commit Page
|
|
|
|
*/
|
2018-03-17 18:26:18 +05:30
|
|
|
$commit-max-width-marker-color: rgba(0, 0, 0, 0);
|
|
|
|
$commit-message-text-area-bg: rgba(0, 0, 0, 0);
|
2019-03-02 22:35:43 +05:30
|
|
|
$commit-stat-summary-height: 36px;
|
2017-08-17 22:00:37 +05:30
|
|
|
|
|
|
|
/*
|
|
|
|
* Files
|
|
|
|
*/
|
|
|
|
$logs-li-color: #888;
|
|
|
|
$logs-p-color: #333;
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Forms
|
|
|
|
*/
|
2023-05-27 22:25:52 +05:30
|
|
|
$input-height: 32px;
|
2017-08-17 22:00:37 +05:30
|
|
|
$input-danger-bg: #f2dede;
|
2020-05-24 23:13:21 +05:30
|
|
|
$input-group-addon-bg: $gray-10;
|
2017-08-17 22:00:37 +05:30
|
|
|
$gl-field-focus-shadow: rgba(0, 0, 0, 0.075);
|
|
|
|
$gl-field-focus-shadow-error: rgba($red-500, 0.6);
|
2018-11-08 19:23:39 +05:30
|
|
|
$input-short-width: 200px;
|
|
|
|
$input-short-md-width: 280px;
|
2019-02-15 15:39:39 +05:30
|
|
|
$input-md-width: 240px;
|
|
|
|
$input-lg-width: 320px;
|
2017-08-17 22:00:37 +05:30
|
|
|
|
|
|
|
/*
|
|
|
|
* Help
|
|
|
|
*/
|
|
|
|
$document-index-color: #888;
|
|
|
|
$help-shortcut-header-color: #333;
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Label
|
|
|
|
*/
|
2018-03-27 19:54:05 +05:30
|
|
|
$label-font-size: 12px;
|
2018-03-17 18:26:18 +05:30
|
|
|
$label-padding: 7px;
|
|
|
|
$label-padding-modal: 10px;
|
2017-08-17 22:00:37 +05:30
|
|
|
$label-gray-bg: #f8fafc;
|
|
|
|
$label-inverse-bg: #333;
|
2018-05-09 12:01:36 +05:30
|
|
|
$label-remove-border: rgba(0, 0, 0, 0.1);
|
2017-08-17 22:00:37 +05:30
|
|
|
$label-border-radius: 100px;
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Animation
|
|
|
|
*/
|
|
|
|
$fade-in-duration: 200ms;
|
2018-05-09 12:01:36 +05:30
|
|
|
$fade-mask-transition-duration: 0.1s;
|
2018-03-17 18:26:18 +05:30
|
|
|
$fade-mask-transition-curve: ease-in-out;
|
2017-08-17 22:00:37 +05:30
|
|
|
|
|
|
|
/*
|
|
|
|
* Login
|
|
|
|
*/
|
|
|
|
$login-brand-holder-color: #888;
|
|
|
|
|
|
|
|
/*
|
|
|
|
Stat Graph
|
|
|
|
*/
|
|
|
|
$stat-graph-common-bg: #f3f3f3;
|
|
|
|
$stat-graph-selection-fill: #333;
|
|
|
|
$stat-graph-selection-stroke: #333;
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Typography
|
|
|
|
*/
|
2017-09-10 17:25:29 +05:30
|
|
|
$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;
|
2016-09-13 17:45:13 +05:30
|
|
|
|
2017-08-17 22:00:37 +05:30
|
|
|
/*
|
|
|
|
Pipeline Graph
|
|
|
|
*/
|
2018-03-17 18:26:18 +05:30
|
|
|
$ci-action-icon-size: 22px;
|
2018-11-08 19:23:39 +05:30
|
|
|
$ci-action-icon-size-lg: 24px;
|
2018-03-17 18:26:18 +05:30
|
|
|
$pipeline-dropdown-line-height: 20px;
|
2018-10-15 14:42:47 +05:30
|
|
|
$ci-action-dropdown-button-size: 24px;
|
|
|
|
$ci-action-dropdown-svg-size: 12px;
|
2017-08-17 22:00:37 +05:30
|
|
|
|
2017-09-10 17:25:29 +05:30
|
|
|
/*
|
2018-03-17 18:26:18 +05:30
|
|
|
CI variable lists
|
2017-09-10 17:25:29 +05:30
|
|
|
*/
|
2018-03-17 18:26:18 +05:30
|
|
|
$ci-variable-remove-button-width: calc(1em + #{2 * $gl-padding});
|
2017-09-10 17:25:29 +05:30
|
|
|
|
2019-07-07 11:18:12 +05:30
|
|
|
/*
|
|
|
|
GitLab Plans
|
|
|
|
*/
|
2021-04-17 20:07:23 +05:30
|
|
|
$gl-ultimate-plan: #d4af37;
|
|
|
|
$gl-premium-plan: #91a1ab;
|
2019-07-07 11:18:12 +05:30
|
|
|
$gl-bronze-plan: #cd7f32;
|
|
|
|
|
|
|
|
/*
|
|
|
|
Cross-project Pipelines
|
|
|
|
*/
|
|
|
|
$linked-project-column-margin: 60px;
|
|
|
|
|
2017-09-10 17:25:29 +05:30
|
|
|
/*
|
|
|
|
Performance Bar
|
|
|
|
*/
|
2021-04-29 21:17:54 +05:30
|
|
|
$perf-bar-production: $gray-950;
|
|
|
|
$perf-bar-staging: $indigo-950;
|
|
|
|
$perf-bar-development: $red-950;
|
|
|
|
$perf-bar-bucket-bg: $black;
|
2020-04-22 19:07:51 +05:30
|
|
|
$perf-bar-bucket-box-shadow-from: rgba($white, 0.2);
|
2018-05-09 12:01:36 +05:30
|
|
|
$perf-bar-bucket-box-shadow-to: rgba($black, 0.25);
|
2018-12-13 13:39:08 +05:30
|
|
|
$perf-bar-canary-text: $orange-400;
|
2017-09-10 17:25:29 +05:30
|
|
|
|
2018-03-17 18:26:18 +05:30
|
|
|
/*
|
|
|
|
Issuable warning
|
|
|
|
*/
|
|
|
|
$issuable-warning-size: 24px;
|
|
|
|
$issuable-warning-icon-margin: 4px;
|
|
|
|
|
|
|
|
/*
|
|
|
|
Image Commenting cursor
|
|
|
|
*/
|
|
|
|
$image-comment-cursor-left-offset: 12;
|
|
|
|
$image-comment-cursor-top-offset: 12;
|
|
|
|
|
2021-03-11 19:13:27 +05:30
|
|
|
/*
|
|
|
|
Security & Compliance Carousel
|
|
|
|
*/
|
|
|
|
$security-and-compliance-carousel-image-carousel-width: 1000px;
|
|
|
|
$security-and-compliance-carousel-image-discover-footer-max-width: 500px;
|
|
|
|
$security-and-compliance-carousel-image-discover-text-carousel-max-width: 650px;
|
|
|
|
$security-and-compliance-carousel-image-discover-text-carousel-caption-height: 100%;
|
|
|
|
$security-and-compliance-carousel-image-discover-text-carousel-caption-max-width: 500px;
|
|
|
|
$security-and-compliance-carousel-control-icon-width: 10px;
|
|
|
|
$security-and-compliance-carousel-control-position: -5%;
|
|
|
|
$security-and-compliance-carousel-inner-width: 90%;
|
|
|
|
$security-and-compliance-carousel-indicators-bottom: -20px;
|
|
|
|
$security-and-compliance-carousel-indicators-bottom-lg: -15px;
|
|
|
|
$security-and-compliance-carousel-indicators-dimension: 6px;
|
|
|
|
$security-and-compliance-carousel-indicators-border-radius: 100%;
|
|
|
|
$security-and-compliance-carousel-prev-icon-background: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23666666' viewBox='0 0 8 8'%3E%3Cpath d='M5.25 0l-4 4 4 4 1.5-1.5-2.5-2.5 2.5-2.5-1.5-1.5z'/%3E%3C/svg%3E");
|
|
|
|
$security-and-compliance-carousel-next-icon-background: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23666666' viewBox='0 0 8 8'%3E%3Cpath d='M2.75 0l-1.5 1.5 2.5 2.5-2.5 2.5 1.5 1.5 4-4-4-4z'/%3E%3C/svg%3E");
|
|
|
|
|
2018-03-17 18:26:18 +05:30
|
|
|
/*
|
|
|
|
Popup
|
|
|
|
*/
|
|
|
|
$popup-triangle-size: 15px;
|
|
|
|
$popup-triangle-border-size: 1px;
|
|
|
|
$popup-box-shadow-color: rgba(90, 90, 90, 0.05);
|
|
|
|
|
|
|
|
/*
|
|
|
|
Multi file editor
|
|
|
|
*/
|
|
|
|
$border-color-settings: #e1e1e1;
|
2017-09-10 17:25:29 +05:30
|
|
|
|
|
|
|
/*
|
2018-03-17 18:26:18 +05:30
|
|
|
Modals
|
2017-09-10 17:25:29 +05:30
|
|
|
*/
|
2019-09-30 21:07:59 +05:30
|
|
|
$modal-body-height: 80px;
|
2019-02-15 15:39:39 +05:30
|
|
|
$modal-border-color: #e9ecef;
|
2019-09-30 21:07:59 +05:30
|
|
|
$modal-border-radius: 0.25rem;
|
2018-05-09 12:01:36 +05:30
|
|
|
|
2018-11-08 19:23:39 +05:30
|
|
|
$priority-label-empty-state-width: 114px;
|
2018-12-13 13:39:08 +05:30
|
|
|
|
2019-09-04 21:01:54 +05:30
|
|
|
/*
|
|
|
|
Popovers
|
|
|
|
*/
|
|
|
|
$popover-max-width: 384px;
|
2020-07-28 23:09:34 +05:30
|
|
|
$popover-box-shadow: 0 2px 3px 1px $gray-100;
|
2019-09-04 21:01:54 +05:30
|
|
|
|
2018-12-13 13:39:08 +05:30
|
|
|
/*
|
2020-10-24 23:57:45 +05:30
|
|
|
Issue Analytics
|
2018-12-13 13:39:08 +05:30
|
|
|
*/
|
|
|
|
$issues-analytics-popover-boarder-color: rgba(0, 0, 0, 0.15);
|
2019-03-02 22:35:43 +05:30
|
|
|
|
|
|
|
/*
|
2021-04-29 21:17:54 +05:30
|
|
|
Merge requests
|
2019-03-02 22:35:43 +05:30
|
|
|
*/
|
2019-09-04 21:01:54 +05:30
|
|
|
$mr-tabs-height: 48px;
|
2019-03-02 22:35:43 +05:30
|
|
|
|
|
|
|
/*
|
|
|
|
Compare Branches
|
|
|
|
*/
|
|
|
|
$compare-branches-sticky-header-height: 68px;
|
2019-07-07 11:18:12 +05:30
|
|
|
|
2023-05-27 22:25:52 +05:30
|
|
|
/*
|
|
|
|
Board Swimlanes
|
|
|
|
*/
|
|
|
|
$board-swimlanes-headers-height: 64px;
|
|
|
|
|
2019-07-07 11:18:12 +05:30
|
|
|
/**
|
|
|
|
Bootstrap 4.2.0 introduced new icons for validating forms.
|
|
|
|
Our design system does not use those, so we are disabling them for now:
|
|
|
|
- Docs: https://getbootstrap.com/docs/4.3/components/forms/#server-side
|
|
|
|
- Issue: https://gitlab.com/gitlab-org/design.gitlab.com/issues/242
|
|
|
|
*/
|
|
|
|
$enable-validation-icons: false;
|