Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
e6245312
Commit
e6245312
authored
May 11, 2020
by
Sarah GP
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove classes that are duplicated in Gitlab UI
Remove lotsa classes
parent
baa0c3d7
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
69 deletions
+6
-69
app/assets/stylesheets/framework/common.scss
app/assets/stylesheets/framework/common.scss
+0
-27
app/assets/stylesheets/utilities.scss
app/assets/stylesheets/utilities.scss
+6
-42
No files found.
app/assets/stylesheets/framework/common.scss
View file @
e6245312
...
...
@@ -523,31 +523,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.
...
...
@@ -640,8 +615,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
;
}
...
...
app/assets/stylesheets/utilities.scss
View file @
e6245312
...
...
@@ -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
;
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment