desktop layout
This commit is contained in:
parent
e28fc30875
commit
fad87bdf44
@ -37,6 +37,10 @@
|
||||
text-align: center;
|
||||
transition: background-color 0.2s;
|
||||
|
||||
@media screen and (min-width: @sizes[lg]) {
|
||||
flex-grow: 1;
|
||||
}
|
||||
|
||||
&.selected {
|
||||
background-color: darken(@color-light, 20%);
|
||||
}
|
||||
@ -47,7 +51,14 @@
|
||||
}
|
||||
|
||||
&:not(:last-of-type) {
|
||||
border-bottom: 1px solid @color-dark;
|
||||
@separator: 1px solid @color-dark;
|
||||
|
||||
border-bottom: @separator;
|
||||
|
||||
@media screen and (min-width: @sizes[lg]) {
|
||||
border-bottom: unset;
|
||||
border-right: @separator;
|
||||
}
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
@ -10,5 +10,12 @@
|
||||
list-style-type: none;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
|
||||
@media screen and (min-width: @sizes[lg]) {
|
||||
align-items: center;
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
justify-content: space-evenly;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
@ -20,6 +20,11 @@
|
||||
@padding-xl-x: 2em;
|
||||
@padding-xl-y: 1.5em;
|
||||
|
||||
// sizes
|
||||
@sizes: {
|
||||
lg: 1280px;
|
||||
}
|
||||
|
||||
// utils
|
||||
.full-without-padding(@padding) {
|
||||
@result: calc(100% - @padding * 2);
|
||||
|
Loading…
x
Reference in New Issue
Block a user