Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
bluecheese
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
bluecheese
Commits
53fb6c46
Commit
53fb6c46
authored
4 years ago
by
Neil Drumm
Browse files
Options
Downloads
Patches
Plain Diff
More-specific selector for attribution
parent
45c2e56f
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
sass/partials/common/_comment.scss
+54
-51
54 additions, 51 deletions
sass/partials/common/_comment.scss
sass/partials/common/_user-profile.scss
+0
-54
0 additions, 54 deletions
sass/partials/common/_user-profile.scss
with
54 additions
and
105 deletions
sass/partials/common/_comment.scss
+
54
−
51
View file @
53fb6c46
...
...
@@ -48,57 +48,6 @@
}
}
// Issue comment attribution.
.attribution-label
{
background
:
$new-lt-gray
;
font-size
:
(
10em
/
12
);
font-style
:
normal
;
padding
:
0
.3em
;
border-radius
:
5px
;
cursor
:
pointer
;
position
:
relative
;
}
.attribution
{
background
:
$new-lt-gray
;
font-size
:
(
12em
/
10
);
font-style
:
normal
;
padding
:
0
.3em
0
.5em
;
border
:
1px
solid
$new-gray
;
border-radius
:
0
.25em
;
box-shadow
:
0
2px
5px
rgba
(
0
,
0
,
0
,
.4
);
position
:
absolute
;
top
:
1
.7em
;
left
:
-4em
;
@include
breakpoint
(
max-width
$small
)
{
width
:
15em
;
// As wide as the screen.
}
@include
breakpoint
(
$small
)
{
white-space
:
pre
;
// As long as the text is.
}
z-index
:
1
;
&
:after
,
&
:before
{
// Arrow
bottom
:
100%
;
left
:
5
.5em
;
border
:
solid
transparent
;
content
:
" "
;
height
:
0
;
width
:
0
;
position
:
absolute
;
pointer-events
:
none
;
}
&
:after
{
border-bottom-color
:
$new-lt-gray
;
border-width
:
5px
;
margin-left
:
-5px
;
}
&
:before
{
border-bottom-color
:
$new-gray
;
border-width
:
7px
;
margin-left
:
-7px
;
}
}
time
{
border-bottom
:
1px
dotted
;
cursor
:
pointer
;
...
...
@@ -275,3 +224,57 @@
}
}
}
// Issue comment & user profile contributor attribution.
.comment
.submitted
,
.view-contribution-roles
{
.attribution-label
{
background
:
$new-lt-gray
;
font-size
:
(
10em
/
12
);
font-style
:
normal
;
padding
:
0
.3em
;
border-radius
:
5px
;
cursor
:
pointer
;
position
:
relative
;
}
.attribution
{
background
:
$new-lt-gray
;
font-size
:
(
12em
/
10
);
font-style
:
normal
;
padding
:
0
.3em
0
.5em
;
border
:
1px
solid
$new-gray
;
border-radius
:
0
.25em
;
box-shadow
:
0
2px
5px
rgba
(
0
,
0
,
0
,
.4
);
position
:
absolute
;
top
:
1
.7em
;
left
:
-4em
;
@include
breakpoint
(
max-width
$small
)
{
width
:
15em
;
// As wide as the screen.
}
@include
breakpoint
(
$small
)
{
white-space
:
pre
;
// As long as the text is.
}
z-index
:
1
;
&
:after
,
&
:before
{
// Arrow
bottom
:
100%
;
left
:
5
.5em
;
border
:
solid
transparent
;
content
:
" "
;
height
:
0
;
width
:
0
;
position
:
absolute
;
pointer-events
:
none
;
}
&
:after
{
border-bottom-color
:
$new-lt-gray
;
border-width
:
5px
;
margin-left
:
-5px
;
}
&
:before
{
border-bottom-color
:
$new-gray
;
border-width
:
7px
;
margin-left
:
-7px
;
}
}
}
This diff is collapsed.
Click to expand it.
sass/partials/common/_user-profile.scss
+
0
−
54
View file @
53fb6c46
...
...
@@ -128,60 +128,6 @@
}
}
// Contributor attribution.
.attribution-label
{
background
:
$new-lt-gray
;
font-size
:
(
10em
/
12
);
font-style
:
normal
;
padding
:
0
.3em
;
border-radius
:
5px
;
cursor
:
pointer
;
position
:
relative
;
}
.attribution
{
background
:
$new-lt-gray
;
font-size
:
(
12em
/
10
);
font-style
:
normal
;
padding
:
0
.3em
0
.5em
;
border
:
1px
solid
$new-gray
;
border-radius
:
0
.25em
;
box-shadow
:
0
2px
5px
rgba
(
0
,
0
,
0
,
.4
);
position
:
absolute
;
top
:
1
.7em
;
left
:
-4em
;
@include
breakpoint
(
max-width
$small
)
{
width
:
15em
;
// As wide as the screen.
}
@include
breakpoint
(
$small
)
{
white-space
:
pre
;
// As long as the text is.
}
z-index
:
1
;
&
:after
,
&
:before
{
// Arrow
bottom
:
100%
;
left
:
5
.5em
;
border
:
solid
transparent
;
content
:
" "
;
height
:
0
;
width
:
0
;
position
:
absolute
;
pointer-events
:
none
;
}
&
:after
{
border-bottom-color
:
$new-lt-gray
;
border-width
:
5px
;
margin-left
:
-5px
;
}
&
:before
{
border-bottom-color
:
$new-gray
;
border-width
:
7px
;
margin-left
:
-7px
;
}
}
// Edit form.
.field-name-field-demographics
{
background
:
$new-lt-gray
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment