@@ -65,42 +65,43 @@ export default defineComponent( {
6565 </script >
6666
6767<style lang="scss">
68- @import " src/assets/settings" ;
68+ @use " ../assets/settings" ;
69+ @use " sass:math" ;
6970
7071.row {
7172 position : relative ;
7273 display : flex ;
7374 flex-wrap : nowrap ;
74- padding-bottom : $row-padding ;
75- padding-left : $axis-size ;
75+ padding-bottom : settings . $row-padding ;
76+ padding-left : settings . $axis-size ;
7677
7778 & :after {
7879 position : absolute ;
7980 content : ' ' ;
80- bottom : math .div ($row-padding ,2 );
81+ bottom : math .div ( settings . $row-padding , 2 );
8182 right : 0 ;
82- left : $axis-size ;
83- border-bottom : 1px dashed $border-color ;
83+ left : settings . $axis-size ;
84+ border-bottom : 1px dashed settings . $border-color ;
8485 }
8586
8687 & --label {
8788 position : absolute ;
8889 top : 0 ;
8990 left : 0 ;
90- background : $axis-background-color ;
91- width : $axis-size ;
91+ background : settings . $axis-background-color ;
92+ width : settings . $axis-size ;
9293 height : 100% ;
93- color : $axis-color ;
94- padding-bottom : $row-padding ;
94+ color : settings . $axis-color ;
95+ padding-bottom : settings . $row-padding ;
9596
9697 & -text {
9798 position : absolute ;
9899 top : 50% ;
99- margin-top : - $axis-size ;
100+ margin-top : - #{ settings . $axis-size } ;
100101 display : block ;
101- height : $axis-size ;
102- line-height : $axis-size ;
103- width : $axis-size ;
102+ height : settings . $axis-size ;
103+ line-height : settings . $axis-size ;
104+ width : settings . $axis-size ;
104105 text-align : center ;
105106 white-space : nowrap ;
106107 font-size : 16px ;
@@ -116,11 +117,11 @@ export default defineComponent( {
116117
117118
118119 & -content {
119- padding : 0 math .div ($stage-gutter ,2 );
120+ padding : 0 math .div ( settings . $stage-gutter , 2 );
120121 display : block ;
121122 width : 100% ;
122123 min-height : 100px ;
123- color : $font-color-dark ;
124+ color : settings . $font-color-dark ;
124125 text-decoration : none ;
125126 text-align : center ;
126127 }
@@ -156,8 +157,8 @@ export default defineComponent( {
156157 position : absolute ;
157158 top : 0 ;
158159 height : 100% ;
159- left : math .div ($stage-gutter ,2 );
160- right : math .div ($stage-gutter ,2 );
160+ left : math .div ( settings . $stage-gutter , 2 );
161+ right : math .div ( settings . $stage-gutter , 2 );
161162 background : #eeeeee ;
162163 font-size : 12px ;
163164
0 commit comments