CSS refactoring and cleanup; removed animate.css
This commit is contained in:
3303
public/css/lib/animate.css
vendored
3303
public/css/lib/animate.css
vendored
File diff suppressed because it is too large
Load Diff
@ -1,6 +1,5 @@
|
|||||||
@import "lib/bootstrap/bootstrap";
|
@import "lib/bootstrap/bootstrap";
|
||||||
@import "themes/default";
|
@import "themes/default";
|
||||||
@import (less) "lib/animate.css";
|
|
||||||
@import (less) "lib/font-awesome.min.css";
|
@import (less) "lib/font-awesome.min.css";
|
||||||
@import (less) "lib/bootstrap-social.css";
|
@import (less) "lib/bootstrap-social.css";
|
||||||
|
|
||||||
@ -27,33 +26,30 @@ footer {
|
|||||||
// Navbar
|
// Navbar
|
||||||
// -------------------------
|
// -------------------------
|
||||||
|
|
||||||
.navbar-nav .profile-image {
|
.navbar-nav img {
|
||||||
width: 30px;
|
width: 30px;
|
||||||
height: 30px;
|
height: 30px;
|
||||||
margin: -15px 15px -15px 0;
|
margin: -15px 15px -15px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.navbar-brand {
|
.navbar-brand {
|
||||||
background-image: url(../img/npm.png);
|
background: url(../img/npm.png) no-repeat left center;
|
||||||
background-repeat: no-repeat;
|
|
||||||
background-size: 40px;
|
background-size: 40px;
|
||||||
background-position: left center;
|
|
||||||
padding-left: 50px;
|
padding-left: 50px;
|
||||||
margin-left: 15px;
|
margin-left: 15px;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Social Buttons
|
// Alerts
|
||||||
// -------------------------
|
// -------------------------
|
||||||
|
|
||||||
.btn-social {
|
.alert {
|
||||||
border-radius: 2px;
|
margin-top: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Font Awesome
|
// Font Awesome
|
||||||
// -------------------------
|
// -------------------------
|
||||||
|
|
||||||
[class^="fa-"],
|
.fa {
|
||||||
[class*="fa-"] {
|
|
||||||
margin-right: 5px;
|
margin-right: 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,15 +1,15 @@
|
|||||||
if messages.errors
|
if messages.errors
|
||||||
.alert.alert-danger.animated.fadeIn
|
.alert.alert-danger.fade.in
|
||||||
button.close(type='button', data-dismiss='alert') ×
|
button.close(type='button', data-dismiss='alert') ×
|
||||||
for error in messages.errors
|
for error in messages.errors
|
||||||
div= error.msg
|
div= error.msg
|
||||||
if messages.info
|
if messages.info
|
||||||
.alert.alert-info.animated.fadeIn
|
.alert.alert-info.fade.in
|
||||||
button.close(type='button', data-dismiss='alert') ×
|
button.close(type='button', data-dismiss='alert') ×
|
||||||
for info in messages.info
|
for info in messages.info
|
||||||
div= info.msg
|
div= info.msg
|
||||||
if messages.success
|
if messages.success
|
||||||
.alert.alert-success.animated.fadeIn
|
.alert.alert-success.fade.in
|
||||||
button.close(type='button', data-dismiss='alert') ×
|
button.close(type='button', data-dismiss='alert') ×
|
||||||
for success in messages.success
|
for success in messages.success
|
||||||
div= success.msg
|
div= success.msg
|
@ -25,9 +25,9 @@
|
|||||||
li.dropdown(class=title=='Account Management'?'active':undefined)
|
li.dropdown(class=title=='Account Management'?'active':undefined)
|
||||||
a.dropdown-toggle(href='#', data-toggle='dropdown')
|
a.dropdown-toggle(href='#', data-toggle='dropdown')
|
||||||
if user.profile.picture
|
if user.profile.picture
|
||||||
img.profile-image(src='#{user.profile.picture}')
|
img(src='#{user.profile.picture}')
|
||||||
else
|
else
|
||||||
img.profile-image(src='#{user.gravatar(60)}')
|
img(src='#{user.gravatar(60)}')
|
||||||
| #{user.profile.name || user.email || user.id}
|
| #{user.profile.name || user.email || user.id}
|
||||||
i.caret
|
i.caret
|
||||||
ul.dropdown-menu
|
ul.dropdown-menu
|
||||||
|
Reference in New Issue
Block a user