Commit 5067e9dc authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Minor UI improve for dashboard events

parent 5f0b50db
...@@ -311,14 +311,17 @@ li.note { ...@@ -311,14 +311,17 @@ li.note {
} }
} }
.error_message { .error-message {
@extend .cred;
border-left: 4px solid #E99;
padding: 10px; padding: 10px;
margin-bottom: 10px; background: #C67;
background: #FEE;
padding-left: 20px; padding-left: 20px;
margin: 0;
color: #FFF;
a {
color: #fff;
text-decoration: underline;
}
&.centered { &.centered {
text-align: center; text-align: center;
} }
......
...@@ -99,7 +99,7 @@ ...@@ -99,7 +99,7 @@
margin-bottom: 5px; margin-bottom: 5px;
.avatar { .avatar {
width: 18px; width: 18px;
margin-top: 3px; margin: 2px 4px;
} }
} }
...@@ -118,7 +118,12 @@ ...@@ -118,7 +118,12 @@
} }
&.commits-stat { &.commits-stat {
display: block; display: block;
margin-top: 5px; padding: 3px;
margin-top: 3px;
&:hover {
background: none;
}
} }
} }
} }
......
.error_message.js-errors .error-message.js-errors
- note.errors.full_messages.each do |msg| - note.errors.full_messages.each do |msg|
%div= msg %div= msg
- if current_user.require_ssh_key? - if current_user.require_ssh_key?
%p.error_message.centered %p.error-message.centered
You won't be able to pull or push project code via SSH until you #{link_to 'add an SSH key', new_profile_key_path} to your profile You won't be able to pull or push project code via SSH until you #{link_to 'add an SSH key', new_profile_key_path} to your profile
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