1
0
mirror of https://github.com/ascribe/onion.git synced 2024-12-23 01:39:36 +01:00
onion/sass/ascribe_global_notification.scss

66 lines
1.2 KiB
SCSS
Raw Normal View History

2015-06-08 18:14:25 +02:00
.ascribe-global-notification {
position: fixed;
background-color: #212121;
2015-07-08 17:06:53 +02:00
color: white;
2015-06-08 18:14:25 +02:00
width: 100%;
height:3.5em;
left:0;
display:table;
transition: .2s bottom cubic-bezier(0.77, 0, 0.175, 1);
}
.ascribe-global-notification-off {
bottom: -3.5em;
}
.ascribe-global-notification-on {
bottom: 0;
}
2015-07-08 17:06:53 +02:00
.ascribe-global-notification > div, .ascribe-global-notification-bubble > div {
2015-06-08 18:14:25 +02:00
display:table-cell;
vertical-align: middle;
font-size: 1.25em;
font-family: 'Source Sans Pro';
text-align: right;
padding-right: 3em;
2015-07-08 15:40:32 +02:00
}
2015-07-08 17:06:53 +02:00
.ascribe-global-notification-bubble > div {
padding: .75em 1.5em .75em 1.5em;
2015-07-08 15:40:32 +02:00
}
2015-07-08 17:06:53 +02:00
.ascribe-global-notification-bubble {
position: fixed;
bottom: 3em;
right: -50em;
display:table;
height: 3.5em;
background-color: #212121;
border-radius: 2px;
color: white;
transition: 1s right ease;
2015-07-08 15:40:32 +02:00
}
2015-07-08 17:06:53 +02:00
.ascribe-global-notification-bubble-off {
2015-07-10 13:54:25 +02:00
right: -100em;
2015-07-08 17:06:53 +02:00
}
.ascribe-global-notification-bubble-on {
right: 3.5em;
2015-07-08 15:40:32 +02:00
}
2015-07-08 17:06:53 +02:00
.ascribe-global-notification-danger {
background-color: #d9534f;
}
.ascribe-global-notification-success {
background-color: rgba(2, 182, 163, 1);
2015-06-08 18:14:25 +02:00
}