UNPKG

react-toolbox-build4server

Version:

Builds react-toolbox in such a way that it's components can be required and used in node - most likely for server-side rendered webapps - without having to depend on webpack to build your entire server-side project

52 lines (48 loc) 1.38 kB
.rt-snackbar-root { position: fixed; right: 2.4rem; bottom: 0; left: 2.4rem; z-index: 200; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; -webkit-box-align: center; -webkit-align-items: center; -ms-flex-align: center; align-items: center; padding: 1.4rem 2.4rem; margin: 0 auto; margin-top: 1.4rem; color: white; background-color: #212121; border-radius: 0.2rem; -webkit-transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1) 0.35s; transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1) 0.35s; } .rt-snackbar-root.rt-snackbar-accept .rt-snackbar-button { color: #4caf50; } .rt-snackbar-root.rt-snackbar-warning .rt-snackbar-button { color: #eeff41; } .rt-snackbar-root.rt-snackbar-cancel .rt-snackbar-button { color: #f44336; } .rt-snackbar-root:not(.rt-snackbar-active) { -webkit-transform: translateY(100%); transform: translateY(100%); } .rt-snackbar-root.rt-snackbar-active { -webkit-transform: translateY(0%); transform: translateY(0%); } .rt-snackbar-icon { margin-right: 1.4rem; } .rt-snackbar-label { -webkit-box-flex: 1; -webkit-flex-grow: 1; -ms-flex-positive: 1; flex-grow: 1; font-size: 1.4rem; } .rt-snackbar-button { min-width: inherit; margin-top: -0.7rem; margin-right: -1.2rem; margin-bottom: -0.7rem; margin-left: 4.8rem; }