Minor UI improve for dashboard events

This commit is contained in:
Dmitriy Zaporozhets 2013-07-04 17:10:34 +03:00
parent 5f0b50db7a
commit 5067e9dc88
4 changed files with 17 additions and 9 deletions

View File

@ -311,14 +311,17 @@ li.note {
}
}
.error_message {
@extend .cred;
border-left: 4px solid #E99;
.error-message {
padding: 10px;
margin-bottom: 10px;
background: #FEE;
background: #C67;
padding-left: 20px;
margin: 0;
color: #FFF;
a {
color: #fff;
text-decoration: underline;
}
&.centered {
text-align: center;
}

View File

@ -99,7 +99,7 @@
margin-bottom: 5px;
.avatar {
width: 18px;
margin-top: 3px;
margin: 2px 4px;
}
}
@ -118,7 +118,12 @@
}
&.commits-stat {
display: block;
margin-top: 5px;
padding: 3px;
margin-top: 3px;
&:hover {
background: none;
}
}
}
}

View File

@ -1,3 +1,3 @@
.error_message.js-errors
.error-message.js-errors
- note.errors.full_messages.each do |msg|
%div= msg

View File

@ -1,3 +1,3 @@
- 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