feat: new style update

This commit is contained in:
Dillon
2019-08-19 13:26:39 +08:00
parent ee7c7549b5
commit dcbc7547fc
11 changed files with 109 additions and 22 deletions

View File

@@ -73,3 +73,11 @@ a {
}
}
}
.navbar {
background-color: $navbar-background-color;
.dark-theme & {
background-color: $navbar-background-color-dark;
}
}

View File

@@ -19,7 +19,6 @@
margin: 0;
height: 4.5em;
line-height: 4.5em;
background: $global-background-color;
.navbar-header {
display: flex;
@@ -90,7 +89,6 @@
.menu {
text-align: center;
background: $global-background-color;
border-top: 2px solid $global-font-color;
display: none;
box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1), 0px 4px 8px rgba(0, 0, 0, 0.1);
@@ -105,14 +103,9 @@
}
.dark-theme & {
background: $global-background-color-dark;
border-top: 2px solid $global-font-color-dark;
}
}
.dark-theme & {
background: $global-background-color-dark !important;
}
}
}