components.scss
5 years ago
layout.scss
4 years ago
notices.scss
5 years ago
typography.scss
5 years ago
utility.scss
5 years ago
layout.scss
57 lines
| 1 | .presto-dashboard { |
| 2 | &__row { |
| 3 | --spacing: 1rem; |
| 4 | --column-count: 2; |
| 5 | |
| 6 | display: flex; |
| 7 | flex-wrap: wrap; |
| 8 | margin: 0 calc(var(--spacing) * -0.5); |
| 9 | align-items: stretch; |
| 10 | justify-content: space-between; |
| 11 | } |
| 12 | |
| 13 | &__item { |
| 14 | flex: 0 1 33.33%; |
| 15 | padding: calc(var(--spacing) / 3); |
| 16 | width: 33.33%; |
| 17 | |
| 18 | > * { |
| 19 | height: 100%; |
| 20 | } |
| 21 | |
| 22 | &.is-large { |
| 23 | flex: 1; |
| 24 | } |
| 25 | } |
| 26 | |
| 27 | &__header { |
| 28 | background: #fff; |
| 29 | padding: 20px; |
| 30 | display: flex; |
| 31 | align-items: center; |
| 32 | justify-content: space-between; |
| 33 | } |
| 34 | &__logo { |
| 35 | max-width: 175px; |
| 36 | } |
| 37 | &__content { |
| 38 | margin: 25px 0; |
| 39 | width: calc(100% - 20px); |
| 40 | } |
| 41 | &__body { |
| 42 | max-width: 800px; |
| 43 | margin-left: auto; |
| 44 | margin-right: auto; |
| 45 | } |
| 46 | } |
| 47 | @media (max-width: 767px) { |
| 48 | .presto-dashboard { |
| 49 | &__row { |
| 50 | display: block; |
| 51 | } |
| 52 | &__item { |
| 53 | width: 100%; |
| 54 | } |
| 55 | } |
| 56 | } |
| 57 |