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