Commit 573c89e6 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Improve Profile#account page UI

parent 1935b494
...@@ -270,26 +270,6 @@ li.note { ...@@ -270,26 +270,6 @@ li.note {
} }
} }
.oauth_select_holder {
img {
padding: 5px;
margin-right: 10px;
}
.active {
img {
border: 1px solid #ccc;
background: $hover;
@include border-radius(5px);
}
}
}
.btn-build-token {
float: left;
padding: 6px 20px;
margin-right: 12px;
}
.gitlab-promo { .gitlab-promo {
a { a {
color: #aaa; color: #aaa;
......
...@@ -4,3 +4,41 @@ ...@@ -4,3 +4,41 @@
margin-bottom: 0; margin-bottom: 0;
} }
} }
.account-page {
fieldset {
margin-bottom: 15px;
border-bottom: 1px dashed #ddd;
padding-bottom: 15px;
&:last-child {
border: none;
}
legend {
border: none;
margin: 0;
}
}
}
.oauth_select_holder {
img {
padding: 2px;
margin-right: 10px;
}
.active {
img {
border: 1px solid #4BD;
background: $hover;
@include border-radius(5px);
}
}
}
.btn-build-token {
float: left;
padding: 6px 20px;
margin-right: 12px;
}
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
%hr %hr
%div .account-page
%fieldset.update-token %fieldset.update-token
%legend %legend
Private token Private token
...@@ -33,7 +33,7 @@ ...@@ -33,7 +33,7 @@
- if show_profile_social_tab? - if show_profile_social_tab?
%fieldset %fieldset
%legend Social Accounts %legend Social Accounts
.oauth_select_holder .oauth_select_holder.append-bottom-10
%p Click on icon to activate signin with one of the following services %p Click on icon to activate signin with one of the following services
- enabled_social_providers.each do |provider| - enabled_social_providers.each do |provider|
%span{class: oauth_active_class(provider) } %span{class: oauth_active_class(provider) }
......
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