WIP Theme: Update to pico-css v2
This commit is contained in:
parent
58f9de807d
commit
d4f658c420
96 changed files with 6261 additions and 46 deletions
|
|
@ -1,6 +1,7 @@
|
|||
@use "sass:map";
|
||||
@use "sass:math";
|
||||
|
||||
@use "../pico-2.1.1/scss/settings" as *;
|
||||
$roomstate_color_unknown: #dda218;
|
||||
$roomstate_color_open: var(--ins-color);
|
||||
$roomstate_color_closed: var(--del-color);
|
||||
|
|
@ -301,9 +302,7 @@ body>main {
|
|||
|
||||
|
||||
// When the header content doesn't display nicely anymore, switch to mobile mode.
|
||||
@import "../pico-1.5.11/scss/variables";
|
||||
|
||||
@media (max-width: map.get($breakpoints, md)) {
|
||||
@media (max-width: map.get(map.get($breakpoints, "md"), "breakpoint")) {
|
||||
.hamburger-button {
|
||||
display: unset;
|
||||
position: absolute;
|
||||
|
|
@ -384,14 +383,14 @@ body>main {
|
|||
|
||||
// Use the media queries, which we need, from here:
|
||||
@if map.get($breakpoints, "sm") {
|
||||
@media (min-width: map.get($breakpoints, "sm")) {
|
||||
@media (min-width: map.get(map.get($breakpoints, "sm"), "breakpoint")) {
|
||||
ul {
|
||||
padding-left: 0;
|
||||
padding-right: 0;
|
||||
}
|
||||
|
||||
.main-nav {
|
||||
max-width: map.get($viewports, "sm");
|
||||
max-width: map.get(map.get($breakpoints, "sm"), "viewport");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue