12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 |
- .drawer {
- position: fixed;
- z-index: 3;
- bottom: 0;
- left: 0;
- width: 100%;
- height: calc(100% - 7rem);
- box-shadow: 0 2.5rem 5rem rgba(0,0,0,0.30), 0 2rem 1.5rem rgba(0,0,0,0.22);
- transition: transform .3s cubic-bezier(.4,0,.2,1) .2s;
- }
- .drawer .flex .block:not(.subheader):not(.large) {
- flex: 0 1 33.33%;
- }
- .drawer > section {
- height: 100%;
- overflow-y: auto;
- position: relative;
- }
- .drawer > section > table,
- .drawer > section > ul.flex {
- margin: 0 auto;
- padding: 2rem 1.5rem;
- }
- .drawer.empty {
- transform: translateY(100%);
- pointer-events: none;
- }
- .drawer form.padded {
- padding: 2rem;
- }
- @media screen and (min-width: 35rem) {
- .drawer {
- border-radius: 0.5rem 0.5rem 0 0;
- width: 70rem;
- left: calc(50% - 35rem);
- }
- .drawer .flex .block:not(.subheader):not(.large) {
- flex: 0 1 25%;
- }
- }
|