11@charset " utf-8" ;
22
3- @import " leaflet/dist/leaflet.css" ;
4- @import " leaflet-control-geocoder/dist/Control.Geocoder.css" ;
5- @import " @geoman-io/leaflet-geoman-free/dist/leaflet-geoman.css" ;
6-
7- $mdi-font-path : " @mdi/font/fonts" ;
8- @import " @mdi/font/scss/materialdesignicons.scss" ;
9-
10- $notification-padding : 0.75rem 1.25rem 0.75rem 0.75rem ;
11- $widescreen-enabled : false;
12- $fullhd-enabled : false;
13-
14- @import " bulma/sass/utilities/_all" ;
15- @import " bulma/sass/base/_all" ;
16- @import " bulma/sass/helpers/_all.sass" ;
3+ // Override global Sass variables from the /utilities folder
4+ @use " bulma/sass/utilities" with (
5+ $widescreen-enabled : false,
6+ $fullhd-enabled : false
7+ );
8+ @use " bulma/sass/utilities/mixins" ;
9+
10+ // Navbar customization
11+ @use " bulma/sass/components/navbar" with (
12+ $navbar-dropdown-radius : initial ,
13+ $navbar-dropdown-border-style : none
14+ );
15+
16+ // Card customization
17+ @use " bulma/sass/components/card" with (
18+ $card-radius : none
19+ );
1720
1821// Modal customization
19- $modal-z : 1010 ;
20- $modal-content-width : 560px ;
21- $modal-card-head-padding : 15px ;
22- $modal-card-body-padding : 5px 15px 10px ;
23- $modal-card-head-background-color : $white ;
24- $modal-card-head-border-bottom : none ;
25- $modal-card-foot-border-top : none ;
26-
27- @import " bulma/sass/components/breadcrumb" ;
28- @import " bulma/sass/components/card" ;
29- @import " bulma/sass/components/dropdown" ;
30- @import " bulma/sass/components/message" ;
31- @import " bulma/sass/components/modal" ;
32- @import " bulma/sass/components/navbar" ;
33- @import " bulma/sass/components/tabs" ;
34- @import " bulma/sass/elements/box" ;
35- @import " bulma/sass/elements/button" ;
36- @import " bulma/sass/elements/container" ;
37- @import " bulma/sass/elements/icon" ;
38- @import " bulma/sass/elements/notification" ;
39- @import " bulma/sass/elements/table" ;
40- @import " bulma/sass/elements/tag" ;
41- @import " bulma/sass/elements/title" ;
42- @import " bulma/sass/form/_all" ;
43- @import " bulma/sass/layout/section" ;
44- @import " bulma/sass/grid/_all" ;
22+ @use " bulma/sass/components/modal" with (
23+ $modal-z : 1010 ,
24+ $modal-content-width : 560px ,
25+ $modal-card-head-padding : 15px ,
26+ $modal-card-body-padding : 5px 15px 10px ,
27+ $modal-card-head-background-color : utilities .$white
28+ );
29+
30+ // Notification customization
31+ @use " bulma/sass/elements/notification" with (
32+ $notification-padding : 0.75rem 1.25rem 0.75rem 0.75rem
33+ );
34+
35+ // Import the components you need
36+ @forward " bulma/sass/base" ;
37+ @forward " bulma/sass/components/breadcrumb" ;
38+ @forward " bulma/sass/components/dropdown" ;
39+ @forward " bulma/sass/components/message" ;
40+ @forward " bulma/sass/components/tabs" ;
41+ @forward " bulma/sass/elements/box" ;
42+ @forward " bulma/sass/elements/button" ;
43+ @forward " bulma/sass/elements/icon" ;
44+ @forward " bulma/sass/elements/table" ;
45+ @forward " bulma/sass/elements/tag" ;
46+ @forward " bulma/sass/elements/title" ;
47+ @forward " bulma/sass/form" ;
48+ @forward " bulma/sass/grid" ;
49+ @forward " bulma/sass/helpers" ;
50+ @forward " bulma/sass/layout/container" ;
51+ @forward " bulma/sass/layout/section" ;
52+
53+ // Import the themes so that all CSS variables have a value
54+ @forward " bulma/sass/themes" ;
4555
4656@import " @creativebulma/bulma-tooltip/dist/bulma-tooltip.css" ;
4757@import " @creativebulma/bulma-divider/dist/bulma-divider.css" ;
4858@import " bulma-switch/dist/css/bulma-switch.min.css" ;
4959
60+ @import " leaflet/dist/leaflet.css" ;
61+ @import " leaflet-control-geocoder/dist/Control.Geocoder.css" ;
62+ @import " @geoman-io/leaflet-geoman-free/dist/leaflet-geoman.css" ;
63+
64+ $mdi-font-path : " @mdi/font/fonts" ;
65+ @import " @mdi/font/scss/materialdesignicons.scss" ;
66+
5067@import " ./vendor/modal-fx" ;
5168@import " ./dark-mode" ;
5269
@@ -127,7 +144,7 @@ nav.navbar {
127144 }
128145 }
129146
130- @media screen and (min-width : $tablet ) {
147+ @media screen and (min-width : utilities . $tablet ) {
131148 flex-direction : row ;
132149
133150 .card-image {
@@ -205,7 +222,7 @@ nav.navbar {
205222 font-size : 1.25em ;
206223}
207224
208- @media screen and (orientation : landscape ) and (max-width : $desktop - 1 ) {
225+ @media screen and (orientation : landscape ) and (max-width : utilities . $desktop - 1 ) {
209226 body {
210227 -webkit-text-size-adjust : none ;
211228 }
@@ -222,7 +239,7 @@ nav.navbar {
222239 }
223240}
224241
225- @media screen and (max-width : $tablet ) {
242+ @media screen and (max-width : utilities . $tablet ) {
226243 .navbar-item.has-dropdown {
227244 .navbar-dropdown {
228245 display : none ;
@@ -269,7 +286,7 @@ nav.navbar {
269286 pointer-events : none ;
270287 & :after {
271288 @extend %loader ;
272- @include center (1em );
289+ @include mixins . center (1em );
273290 position : absolute !important ;
274291 }
275292 }
0 commit comments