CSS refactoring and cleanup; removed animate.css

This commit is contained in:
Sahat Yalkabov
2014-05-11 05:09:27 -04:00
parent 1038b9ab60
commit 9363a2c8f7
4 changed files with 12 additions and 3319 deletions

File diff suppressed because it is too large Load Diff

View File

@ -1,6 +1,5 @@
@import "lib/bootstrap/bootstrap";
@import "themes/default";
@import (less) "lib/animate.css";
@import (less) "lib/font-awesome.min.css";
@import (less) "lib/bootstrap-social.css";
@ -27,33 +26,30 @@ footer {
// Navbar
// -------------------------
.navbar-nav .profile-image {
.navbar-nav img {
width: 30px;
height: 30px;
margin: -15px 15px -15px 0;
margin: -15px 15px -15px;
}
.navbar-brand {
background-image: url(../img/npm.png);
background-repeat: no-repeat;
background: url(../img/npm.png) no-repeat left center;
background-size: 40px;
background-position: left center;
padding-left: 50px;
margin-left: 15px;
}
// Social Buttons
// Alerts
// -------------------------
.btn-social {
border-radius: 2px;
.alert {
margin-top: 20px;
}
// Font Awesome
// -------------------------
[class^="fa-"],
[class*="fa-"] {
.fa {
margin-right: 5px;
}

View File

@ -1,15 +1,15 @@
if messages.errors
.alert.alert-danger.animated.fadeIn
.alert.alert-danger.fade.in
button.close(type='button', data-dismiss='alert') ×
for error in messages.errors
div= error.msg
if messages.info
.alert.alert-info.animated.fadeIn
.alert.alert-info.fade.in
button.close(type='button', data-dismiss='alert') ×
for info in messages.info
div= info.msg
if messages.success
.alert.alert-success.animated.fadeIn
.alert.alert-success.fade.in
button.close(type='button', data-dismiss='alert') ×
for success in messages.success
div= success.msg

View File

@ -25,9 +25,9 @@
li.dropdown(class=title=='Account Management'?'active':undefined)
a.dropdown-toggle(href='#', data-toggle='dropdown')
if user.profile.picture
img.profile-image(src='#{user.profile.picture}')
img(src='#{user.profile.picture}')
else
img.profile-image(src='#{user.gravatar(60)}')
img(src='#{user.gravatar(60)}')
| #{user.profile.name || user.email || user.id} 
i.caret
ul.dropdown-menu