@import "variables"; vn-snackbar #shapes { max-height: 20.625em; margin-left: -12.5em; position: fixed; z-index: 100; width: 25em; left: 50%; bottom: 0 } vn-snackbar .shape { background-color: rgba(0, 0, 0, 0.8); box-shadow: 0 0 .4em $color-shadow; transition: transform 300ms ease-in-out; transform: translateY(20em); box-sizing: border-box; border-radius: .2em; margin-bottom: 15px; color: white; padding: 1em; &.text { text-align: center } &.shown { transform: translateY(0); } &.success { background-color: rgba(163, 209, 49, 0.8); color: #445911; & > button { color: rgba(1, 1, 1, 0.6); } } &.error { background-color: rgba(198, 40, 40, 0.8); & > button { color: rgba(1, 1, 1, 0.6); } } & > button { background-color: transparent; text-transform: uppercase; margin-left: .5em; font-weight: bold; cursor: pointer; color: $color-main; float: right; border: none; padding: .5em; margin: -.5em } }