update panel styles, fixes Retrospring/bugs#51
This commit is contained in:
parent
b1f6e5e681
commit
884dab5988
|
@ -138,12 +138,32 @@ body {
|
|||
}
|
||||
|
||||
.panel {
|
||||
-webkit-box-shadow: 0 3px 9px rgba(0, 0, 0, 0.25);
|
||||
box-shadow: 0 3px 9px rgba(0, 0, 0, 0.25);
|
||||
-webkit-background-clip: padding-box;
|
||||
background-clip: padding-box;
|
||||
box-shadow: 0px 0px 20px rgba(0,0,0,0.1);
|
||||
}
|
||||
|
||||
.panel-default {
|
||||
border-color: transparent;
|
||||
.panel-default > .panel-heading {
|
||||
box-shadow: inset 0 -10px 10px -10px rgba(0,0,0,0.1);
|
||||
}
|
||||
|
||||
.panel-default > .panel-footer {
|
||||
box-shadow: inset 0 10px 10px -10px rgba(0,0,0,0.1);
|
||||
}
|
||||
|
||||
#profile {
|
||||
border-color: transparent;
|
||||
border-width: 0px;
|
||||
}
|
||||
|
||||
.panel {
|
||||
border-radius: 2px;
|
||||
}
|
||||
|
||||
.panel > .panel-heading {
|
||||
border-top-left-radius: 2px;
|
||||
border-top-right-radius: 2px;
|
||||
}
|
||||
|
||||
.panel > .panel-footer {
|
||||
border-bottom-left-radius: 2px;
|
||||
border-bottom-right-radius: 2px;
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
.panel.panel-default
|
||||
.panel.panel-default#profile
|
||||
%img.profile--avatar{src: @user.profile_picture.url(:large)}
|
||||
- if @user.admin?
|
||||
.profile--panel-badge.panel-badge-danger
|
||||
|
|
Loading…
Reference in New Issue