Vulcan/client/sass/modules/_notifications.scss

41 lines
765 B
SCSS
Raw Normal View History

2012-10-04 13:30:57 +09:00
.notifications{
position:fixed;
height:100%;
2012-10-04 17:25:10 +09:00
width:200px;
2012-10-04 13:30:57 +09:00
top:0px;
2012-10-04 17:25:10 +09:00
left:-200px;
2012-10-04 13:30:57 +09:00
background:white(0.8);
2012-10-05 09:42:13 +09:00
@include single-transition(ease-out, left, 400ms, 0ms);
2012-10-04 13:30:57 +09:00
ul{
li{
margin-bottom:10px;
padding:10px;
border-bottom:1px solid $lighter-grey;
font-size:14px;
.notification-timestamp{
color:$light-text;
font-size:13px;
}
}
}
2012-10-04 17:25:10 +09:00
.notifications-toggle{
display:block;
position:absolute;
left:200px;
top:20px;
white-space:nowrap;
background:white;
@include border-radius(0px 3px 3px 0px);
@include box-shadow(0 1px 1px black(0.15));
padding:3px 10px;
font-size:13px;
&.no-notifications{
background:white(0.3);
@include box-shadow(none);
color:$light-text;
}
}
.notifications-open &{
left:0px;
}
2012-10-04 13:30:57 +09:00
}