scss variables converted to css variables

This commit is contained in:
tmshv committed 2018-05-23 10:22:28 +03:00
1 parent 6410409d47
commit c9bec06fef
31 files changed
+237 -313

No files matched your search

+4 -6
View File
@@ -1,5 +1,3 @@
@import "../variables";
.navigation {
width: 100%;
background-color: white;
@@ -12,14 +10,14 @@
}
.navigation__right {
color: $dark-color;
font-size: $normal-font-size;
color: var(--dark-color);
font-size: var(--normal-font-size);
margin-right: 1em;
z-index: 1000;
}
@media (max-width: $mobile-width) {
@media (max-width: var(--mobile-width)) {
.navigation {
background-color: white;
}
@@ -29,7 +27,7 @@
}
}
@media screen and (min-width: $tablet-min-width) and (max-width: $tablet-max-width) {
@media screen and (min-width: var(--tablet-min-width)) and (max-width: var(--tablet-max-width)) {
@media screen and (orientation: portrait) {
.navigation__right {
display: none;