Tracking de l'application VApp (IHM du jeu)

This commit is contained in:
2025-05-11 18:04:12 +02:00
commit 89e9db9b62
17763 changed files with 3718499 additions and 0 deletions

View File

@ -0,0 +1,8 @@
@use '../settings'
@if (settings.$utilities != false and length(settings.$utilities) > 0)
@each $size, $media_query in settings.$display-breakpoints
.hidden
&-#{$size}
@media #{$media_query}
display: none !important

View File

@ -0,0 +1,13 @@
@use '../tools';
@use '../settings';
@if (settings.$utilities != false and length(settings.$utilities) > 0) {
$z: 24;
@while $z >= 0 {
.elevation-#{$z} {
@include tools.elevation($z, $important: true);
}
$z: $z - 1;
}
}

View File

@ -0,0 +1,44 @@
@use 'sass:string'
@use 'sass:map'
@use 'sass:meta'
@use '../settings'
@use '../tools'
@use './display'
@use './elevation'
@use './screenreaders'
// Utilities
@each $breakpoint in map.keys(settings.$grid-breakpoints)
// Generate media query if needed
+tools.media-breakpoint-up($breakpoint)
$infix: tools.breakpoint-infix($breakpoint, settings.$grid-breakpoints)
// Loop over each utility property
@each $key, $utility in settings.$utilities
// The utility can be disabled with `false`, thus check if the utility is a map first
// Only proceed if responsive media queries are enabled or if it's the base media query
@if string.slice($key, -4) == ':ltr'
@if meta.type-of($utility) == "map" and (map.get($utility, responsive) or $infix == "")
+tools.generate-utility($utility, $infix, 'ltr')
@else if string.slice($key, -4) == ':rtl'
@if meta.type-of($utility) == "map" and (map.get($utility, responsive) or $infix == "")
+tools.generate-utility($utility, $infix, 'rtl')
@else
@if meta.type-of($utility) == "map" and (map.get($utility, responsive) or $infix == "")
+tools.generate-utility($utility, $infix, 'bidi')
// Print utilities
@media print
@each $key, $utility in settings.$utilities
// The utility can be disabled with `false`, thus check if the utility is a map first
// Then check if the utility needs print styles
@if string.slice($key, -4) == ':ltr'
@if meta.type-of($utility) == "map" and map.get($utility, print) == true
+tools.generate-utility($utility, "-print", 'ltr')
@else if string.slice($key, -4) == ':rtl'
@if meta.type-of($utility) == "map" and map.get($utility, print) == true
+tools.generate-utility($utility, "-print", 'rtl')
@else
@if meta.type-of($utility) == "map" and map.get($utility, print) == true
+tools.generate-utility($utility, "-print", 'bidi')

View File

@ -0,0 +1,15 @@
// Source: https://github.com/twbs/bootstrap/blob/master/scss/mixins/_screen-reader.scss
@use '../settings'
@if (settings.$utilities != false and length(settings.$utilities) > 0)
.d-sr-only,
.d-sr-only-focusable:not(:focus)
border: 0 !important
clip: rect(0, 0, 0, 0) !important
height: 1px !important
margin: -1px !important // Fix for https://github.com/twbs/bootstrap/issues/25686
overflow: hidden !important
padding: 0 !important
position: absolute !important
white-space: nowrap !important
width: 1px !important