Commit 29af032b authored by Mark Florian's avatar Mark Florian

Merge branch '36857-remove-duplicated-classes' into 'master'

Remove classes that are duplicated in Gitlab UI

See merge request gitlab-org/gitlab!31863
parents 0f6c4880 e6245312
......@@ -520,31 +520,6 @@ img.emoji {
#{'.gl-pb-#{$index}-deprecated-no-really-do-not-use-me'} { padding-bottom: $padding; }
}
/**
The zero-indexed classes will not change and do not need to be updated.
These can be removed when the Gitlab UI class include is merged.
**/
.gl-p-0 {
padding: 0;
}
.gl-pl-0 {
padding-left: 0;
}
.gl-pr-0 {
padding-right: 0;
}
.gl-pt-0 {
padding-top: 0;
}
.gl-pb-0 {
padding-bottom: 0;
}
/**
* Removes browser specific clear icon from input fields in
* Internet Explorer 10, Internet Explorer 11, and Microsoft Edge.
......@@ -637,8 +612,6 @@ img.emoji {
.gl-font-lg { font-size: $gl-font-size-large; }
.gl-font-base { font-size: $gl-font-size-14; }
.gl-line-height-24 { line-height: $gl-line-height-24; }
.gl-font-size-0 { font-size: 0; }
.gl-font-size-28 { font-size: $gl-font-size-28; }
.gl-font-size-42 { font-size: $gl-font-size-42; }
......
......@@ -81,6 +81,12 @@
.gl-h-32 { height: px-to-rem($grid-size * 4); }
.gl-h-64 { height: px-to-rem($grid-size * 8); }
.d-sm-table-column {
@include media-breakpoint-up(sm) {
display: table-column !important;
}
}
.gl-shim-h-2 {
height: px-to-rem(4px);
}
......@@ -98,46 +104,4 @@
}
.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 the mixins are added.
// See https://gitlab.com/gitlab-org/gitlab/issues/36857 for more details.
.gl-bg-blue-50 { @include gl-bg-blue-50; }
.gl-bg-red-100 { @include gl-bg-red-100; }
.gl-bg-orange-100 { @include gl-bg-orange-100; }
.gl-bg-gray-50 { @include gl-bg-gray-50; }
.gl-bg-gray-100 { @include gl-bg-gray-100; }
.gl-bg-green-100 { @include gl-bg-green-100;}
.gl-bg-blue-500 { @include gl-bg-blue-500; }
.gl-bg-green-500 { @include gl-bg-green-500; }
.gl-bg-theme-indigo-500 { @include gl-bg-theme-indigo-500; }
.gl-bg-red-500 { @include gl-bg-red-500; }
.gl-bg-orange-500 { @include gl-bg-orange-500; }
.gl-text-blue-500 { @include gl-text-blue-500; }
.gl-text-gray-500 { @include gl-text-gray-500; }
.gl-text-gray-700 { @include gl-text-gray-700; }
.gl-text-gray-900 { @include gl-text-gray-900; }
.gl-text-red-700 { @include gl-text-red-700; }
.gl-text-red-900 { @include gl-text-red-900; }
.gl-text-orange-400 { @include gl-text-orange-400; }
.gl-text-orange-500 { @include gl-text-orange-500; }
.gl-text-orange-600 { @include gl-text-orange-600; }
.gl-text-orange-700 { @include gl-text-orange-700; }
.gl-text-green-500 { @include gl-text-green-500; }
.gl-text-green-700 { @include gl-text-green-700; }
.gl-align-items-center { @include gl-align-items-center; }
.d-sm-table-column {
@include media-breakpoint-up(sm) {
display: table-column !important;
}
}
.gl-white-space-normal { @include gl-white-space-normal; }
.gl-word-break-all { @include gl-word-break-all; }
.gl-reset-line-height { @include gl-reset-line-height; }
.gl-reset-text-align { @include gl-reset-text-align; }
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment