2019-04-02 22:24:07 -04:00
|
|
|
@each $variant, $range in $color-ranges {
|
|
|
|
@each $suffix, $color in $range {
|
|
|
|
#{'.bg-#{$variant}-#{$suffix}'} {
|
|
|
|
background-color: $color;
|
|
|
|
}
|
|
|
|
|
|
|
|
#{'.text-#{$variant}-#{$suffix}'} {
|
|
|
|
color: $color;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@each $index, $size in $type-scale {
|
|
|
|
#{'.text-#{$index}'} {
|
|
|
|
font-size: $size;
|
|
|
|
}
|
|
|
|
}
|
2019-09-10 11:29:06 -04:00
|
|
|
|
2019-10-31 08:06:26 -04:00
|
|
|
@each $index, $size in $size-scale {
|
|
|
|
#{'.mw-#{$index}'} {
|
|
|
|
max-width: $size;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-12-19 07:07:35 -05:00
|
|
|
@each $index, $size in $type-scale {
|
|
|
|
#{'.lh-#{$index}'} {
|
|
|
|
line-height: $size;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-02-06 07:10:29 -05:00
|
|
|
@for $i from 1 through 12 {
|
|
|
|
#{'.tab-width-#{$i}'} {
|
|
|
|
-moz-tab-size: $i;
|
|
|
|
tab-size: $i;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-09-10 11:29:06 -04:00
|
|
|
.border-width-1px { border-width: 1px; }
|
2020-01-14 19:09:05 -05:00
|
|
|
.border-bottom-width-1px { border-bottom-width: 1px; }
|
2019-09-10 11:29:06 -04:00
|
|
|
.border-style-dashed { border-style: dashed; }
|
|
|
|
.border-style-solid { border-style: solid; }
|
2020-01-14 19:09:05 -05:00
|
|
|
.border-bottom-style-solid { border-bottom-style: solid; }
|
2019-09-10 11:29:06 -04:00
|
|
|
.border-color-blue-300 { border-color: $blue-300; }
|
|
|
|
.border-color-default { border-color: $border-color; }
|
2020-01-14 19:09:05 -05:00
|
|
|
.border-bottom-color-default { border-bottom-color: $border-color; }
|
2019-11-07 01:06:12 -05:00
|
|
|
.box-shadow-default { box-shadow: 0 2px 4px 0 $black-transparent; }
|
2019-11-08 01:06:24 -05:00
|
|
|
|
2020-02-25 07:08:48 -05:00
|
|
|
.gl-children-ml-sm-3 > * {
|
|
|
|
@include media-breakpoint-up(sm) {
|
|
|
|
@include gl-ml-3;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-12-10 02:53:40 -05:00
|
|
|
.mh-50vh { max-height: 50vh; }
|
|
|
|
|
2020-02-03 22:08:37 -05:00
|
|
|
.font-size-inherit { font-size: inherit; }
|
2020-03-09 05:07:45 -04:00
|
|
|
.gl-w-8 { width: px-to-rem($grid-size); }
|
2020-02-28 13:09:07 -05:00
|
|
|
.gl-w-16 { width: px-to-rem($grid-size * 2); }
|
2019-11-08 01:06:24 -05:00
|
|
|
.gl-w-64 { width: px-to-rem($grid-size * 8); }
|
2020-03-09 05:07:45 -04:00
|
|
|
.gl-h-8 { height: px-to-rem($grid-size); }
|
2020-01-20 04:08:32 -05:00
|
|
|
.gl-h-32 { height: px-to-rem($grid-size * 4); }
|
2019-11-08 01:06:24 -05:00
|
|
|
.gl-h-64 { height: px-to-rem($grid-size * 8); }
|
2019-12-10 04:07:51 -05:00
|
|
|
|
|
|
|
.gl-text-purple { color: $purple; }
|
|
|
|
.gl-text-gray-800 { color: $gray-800; }
|
|
|
|
.gl-bg-purple-light { background-color: $purple-light; }
|
|
|
|
|
|
|
|
// Classes using mixins coming from @gitlab-ui
|
|
|
|
// can be removed once https://gitlab.com/gitlab-org/gitlab/merge_requests/19021 has been merged
|
2020-02-27 13:09:21 -05:00
|
|
|
.gl-bg-blue-50 { @include gl-bg-blue-50; }
|
2019-12-10 04:07:51 -05:00
|
|
|
.gl-bg-red-100 { @include gl-bg-red-100; }
|
|
|
|
.gl-bg-orange-100 { @include gl-bg-orange-100; }
|
|
|
|
.gl-bg-gray-100 { @include gl-bg-gray-100; }
|
|
|
|
.gl-bg-green-100 { @include gl-bg-green-100;}
|
|
|
|
|
2019-12-17 13:07:48 -05:00
|
|
|
.gl-text-blue-500 { @include gl-text-blue-500; }
|
2020-01-24 10:09:00 -05:00
|
|
|
.gl-text-gray-700 { @include gl-text-gray-700; }
|
2019-12-10 04:07:51 -05:00
|
|
|
.gl-text-gray-900 { @include gl-text-gray-900; }
|
|
|
|
.gl-text-red-700 { @include gl-text-red-700; }
|
|
|
|
.gl-text-orange-700 { @include gl-text-orange-700; }
|
|
|
|
.gl-text-green-700 { @include gl-text-green-700; }
|
2020-03-05 13:08:19 -05:00
|
|
|
|
|
|
|
.gl-align-items-center { @include gl-align-items-center; }
|