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
0
Merge Requests
0
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
Léo-Paul Géneau
gitlab-ce
Commits
8ce9a09d
Commit
8ce9a09d
authored
Apr 19, 2018
by
Luke Bennett
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
More stylezz
parent
8b4e1d0c
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
39 additions
and
45 deletions
+39
-45
app/assets/stylesheets/framework/common.scss
app/assets/stylesheets/framework/common.scss
+2
-0
app/assets/stylesheets/pages/labels.scss
app/assets/stylesheets/pages/labels.scss
+32
-40
app/views/shared/_label_row.html.haml
app/views/shared/_label_row.html.haml
+5
-5
No files found.
app/assets/stylesheets/framework/common.scss
View file @
8ce9a09d
...
...
@@ -463,11 +463,13 @@ img.emoji {
.prepend-left-5
{
margin-left
:
5px
;
}
.prepend-left-8
{
margin-left
:
8px
;
}
.prepend-left-10
{
margin-left
:
10px
;
}
.prepend-left-15
{
margin-left
:
15px
;
}
.prepend-left-default
{
margin-left
:
$gl-padding
;
}
.prepend-left-20
{
margin-left
:
20px
;
}
.append-right-5
{
margin-right
:
5px
;
}
.append-right-8
{
margin-right
:
8px
;
}
.append-right-10
{
margin-right
:
10px
;
}
.append-right-15
{
margin-right
:
15px
;
}
.append-right-default
{
margin-right
:
$gl-padding
;
}
.append-right-20
{
margin-right
:
20px
;
}
.append-bottom-0
{
margin-bottom
:
0
;
}
...
...
app/assets/stylesheets/pages/labels.scss
View file @
8ce9a09d
...
...
@@ -57,46 +57,6 @@
border-bottom-left-radius
:
$border-radius-base
;
}
.label-row
{
display
:
flex
;
.label-name
{
width
:
200px
;
flex-shrink
:
0
;
.label
{
overflow
:
hidden
;
text-overflow
:
ellipsis
;
max-width
:
100%
;
}
}
.label-type
{
display
:
block
;
margin-bottom
:
10px
;
margin-left
:
50px
;
}
.label-description
{
display
:
block
;
.description-text
{
margin
:
0
0
10px
0
;
}
a
{
color
:
$blue-600
;
}
}
.label
{
padding
:
4px
$grid-size
;
font-size
:
$label-font-size
;
position
:
relative
;
top
:
(
$grid-size
/
2
);
}
}
.color-label
{
padding
:
0
$grid-size
;
line-height
:
16px
;
...
...
@@ -323,4 +283,36 @@
content
:
none
;
display
:
block
;
}
.label-name
{
width
:
150px
;
flex-shrink
:
0
;
.label
{
overflow
:
hidden
;
text-overflow
:
ellipsis
;
max-width
:
100%
;
}
}
.label-type
{
display
:
block
;
margin-bottom
:
10px
;
margin-left
:
50px
;
}
.label-description
{
flex-grow
:
1
;
a
{
color
:
$blue-600
;
}
}
.label
{
padding
:
4px
$grid-size
;
font-size
:
$label-font-size
;
position
:
relative
;
top
:
(
$grid-size
/
2
);
}
}
\ No newline at end of file
app/views/shared/_label_row.html.haml
View file @
8ce9a09d
...
...
@@ -2,12 +2,12 @@
-
show_label_issues_link
=
show_label_issuables_link?
(
label
,
:issues
,
project:
@project
)
-
show_label_merge_requests_link
=
show_label_issuables_link?
(
label
,
:merge_requests
,
project:
@project
)
.label-
row
.label-name
=
link_to_label
(
label
,
subject:
@project
,
tooltip:
false
)
.
label-description
.label-
name
=
link_to_label
(
label
,
subject:
@project
,
tooltip:
false
)
.label-description
.
append-right-15.prepend-left-15
-
if
label
.
description
.
present?
.description-text
.description-text
.append-bottom-10
=
markdown_field
(
label
,
:description
)
%ul
.label-links
-
if
show_label_issues_link
...
...
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