Update SCSS to module system (fixes #266)
Change-Id: I2387ef49dadaeac0f62620e0c803df12dad42cf8
diff --git a/dev/scss/main/matchinfo.scss b/dev/scss/main/matchinfo.scss
index a0f98c4..3df52b7 100644
--- a/dev/scss/main/matchinfo.scss
+++ b/dev/scss/main/matchinfo.scss
@@ -1,8 +1,10 @@
@charset "utf-8";
-@import "../util";
-@import "view/matchtable";
-@import "view/matchtree";
-@import "view/metatable";
+@use "../util";
+@use "view/matchtable";
+@use "view/matchtree";
+@use "view/metatable";
+@use "../base/colors";
+@use "../base/lengths";
/**
@@ -14,7 +16,7 @@
div.matchinfo {
position: relative;
width: 100%;
- padding-top: $border-size;
+ padding-top: lengths.$border-size;
height: auto;
font-size: 10pt;
text-align: left;
@@ -24,7 +26,7 @@
}
.view + .view {
- margin-top: 4 * $border-size !important;
+ margin-top: 4 * lengths.$border-size !important;
}
}
@@ -33,7 +35,7 @@
div.matchtable,
div.matchtree {
position: relative;
- background-color: $dark-orange;
+ background-color: colors.$dark-orange;
}
div.button-group.button-panel.button-matchinfo {