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
7b39f61a
Commit
7b39f61a
authored
Jan 06, 2022
by
Jarek Ostrowski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update profile social icons to their brand colors
MR:
https://gitlab.com/gitlab-org/gitlab/-/merge_requests/77673
parent
6699578e
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
23 additions
and
3 deletions
+23
-3
app/assets/stylesheets/framework/variables.scss
app/assets/stylesheets/framework/variables.scss
+8
-0
app/assets/stylesheets/pages/profile.scss
app/assets/stylesheets/pages/profile.scss
+12
-0
app/views/users/show.html.haml
app/views/users/show.html.haml
+3
-3
No files found.
app/assets/stylesheets/framework/variables.scss
View file @
7b39f61a
...
...
@@ -610,6 +610,14 @@ $pagination-disabled-color: #cdcdcd;
*/
$status-icon-size
:
22px
;
/*
* Social Icons
*/
$twitter
:
#1d9bf0
;
$skype
:
#0078d7
;
$linkedin
:
#2867b2
;
/*
* Award emoji
*/
...
...
app/assets/stylesheets/pages/profile.scss
View file @
7b39f61a
...
...
@@ -383,3 +383,15 @@ table.u2f-registrations {
width
:
100%
;
max-width
:
$add-to-slack-popup-max-width
;
}
.skype-icon
{
color
:
$skype
;
}
.linkedin-icon
{
color
:
$linkedin
;
}
.twitter-icon
{
color
:
$twitter
;
}
app/views/users/show.html.haml
View file @
7b39f61a
...
...
@@ -98,15 +98,15 @@
-
unless
@user
.
skype
.
blank?
=
render
'middle_dot_divider'
do
=
link_to
"skype:
#{
@user
.
skype
}
"
,
class:
'gl-hover-text-decoration-none'
,
title:
"Skype"
do
=
sprite_icon
(
'skype'
)
=
sprite_icon
(
'skype'
,
css_class:
'skype-icon'
)
-
unless
@user
.
linkedin
.
blank?
=
render
'middle_dot_divider'
do
=
link_to
linkedin_url
(
@user
),
class:
'gl-hover-text-decoration-none'
,
title:
"LinkedIn"
,
target:
'_blank'
,
rel:
'noopener noreferrer nofollow'
do
=
sprite_icon
(
'linkedin'
)
=
sprite_icon
(
'linkedin'
,
css_class:
'linkedin-icon'
)
-
unless
@user
.
twitter
.
blank?
=
render
'middle_dot_divider'
,
breakpoint:
'sm'
do
=
link_to
twitter_url
(
@user
),
class:
'gl-hover-text-decoration-none'
,
title:
"Twitter"
,
target:
'_blank'
,
rel:
'noopener noreferrer nofollow'
do
=
sprite_icon
(
'twitter'
)
=
sprite_icon
(
'twitter'
,
css_class:
'twitter-icon'
)
-
unless
@user
.
website_url
.
blank?
=
render
'middle_dot_divider'
,
stacking:
true
do
-
if
Feature
.
enabled?
(
:security_auto_fix
)
&&
@user
.
bot?
...
...
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