UNPKG

400 BSCSSView Raw
1.notification-bar {
2 background: #212121;
3 border-radius: 5px;
4 bottom: 2rem;
5 box-shadow: 0 0 1px 1px rgba(10, 10, 11, 0.125);
6 color: #fafafa;
7 cursor: default;
8 left: -100%;
9 margin: 0;
10 padding: 1rem;
11 position: fixed;
12 transform: translatez(0);
13 transition: 0.5s cubic-bezier(0.89, 0.01, 0.5, 1.1);
14 width: auto;
15 z-index: 200;
16
17 &.notification-bar-active {
18 left: 2rem;
19 }
20}