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,13 @@
@keyframes v-shake {
59% {
margin-left: 0;
}
60%, 80% {
margin-left: 2px;
}
70%, 90% {
margin-left: -2px;
}
}

View File

@ -0,0 +1,72 @@
@use 'sass:map';
@use '../settings';
@use '../settings/colors';
@use '../tools/functions' as *;
@mixin background-color($color_value) {
background-color: $color_value !important;
}
@mixin text-color($color_value) {
color: $color_value !important;
}
@mixin background-text-color($color_name, $color_type) {
$map_value: map-deep-get(colors.$text-on-colors, $color_name, $color_type);
color: $map_value !important;
}
@if (settings.$color-pack) {
@each $color_name, $color_value in colors.$shades {
.bg-#{$color_name} {
@include background-color($color_value);
@if (map.has-key(colors.$text-on-colors, 'shades')) {
@include background-text-color('shades', $color_name);
}
}
}
@each $color_name, $color_color in colors.$colors {
@each $color_type, $color_value in $color_color {
@if ($color_type == 'base') {
.bg-#{$color_name} {
@include background-color($color_value);
@if (map.has-key(colors.$text-on-colors, $color_name)) {
@include background-text-color($color_name, $color_type);
}
}
}
@else if ($color_type != 'shades') {
.bg-#{$color_name}-#{$color_type} {
@include background-color($color_value);
@if (map.has-key(colors.$text-on-colors, $color_name)) {
@include background-text-color($color_name, $color_type);
}
}
}
}
}
@each $color_name, $color_value in colors.$shades {
.text-#{$color_name} {
@include text-color($color_value);
}
}
@each $color_name, $color_color in colors.$colors {
@each $color_type, $color_value in $color_color {
@if ($color_type == 'base') {
.text-#{$color_name} {
@include text-color($color_value);
}
}
@else if ($color_type != 'shades') {
.text-#{$color_name}-#{$color_type} {
@include text-color($color_value);
}
}
}
}
}

View File

@ -0,0 +1,5 @@
@use './animations';
@use './colors';
@use './reset';
@use './transitions';
@use './rtl';

View File

@ -0,0 +1,291 @@
@use '../settings';
/*!
* ress.css • v2.0.4
* MIT License
* github.com/filipelinhares/ress
*/
@if (settings.$reset) {
/* # =================================================================
# Global selectors
# ================================================================= */
html {
box-sizing: border-box;
overflow-y: scroll; /* All browsers without overlaying scrollbars */
-webkit-text-size-adjust: 100%; /* Prevent adjustments of font size after orientation changes in iOS */
word-break: normal;
-moz-tab-size: 4;
tab-size: 4;
}
*,
::before,
::after {
background-repeat: no-repeat; /* Set `background-repeat: no-repeat` to all elements and pseudo elements */
box-sizing: inherit;
}
::before,
::after {
text-decoration: inherit; /* Inherit text-decoration and vertical align to ::before and ::after pseudo elements */
vertical-align: inherit;
}
* {
padding: 0; /* Reset `padding` and `margin` of all elements */
margin: 0;
}
/* # =================================================================
# General elements
# ================================================================= */
hr {
overflow: visible; /* Show the overflow in Edge and IE */
height: 0; /* Add the correct box sizing in Firefox */
}
details,
main {
display: block; /* Render the `main` element consistently in IE. */
}
summary {
display: list-item; /* Add the correct display in all browsers */
}
small {
font-size: 80%; /* Set font-size to 80% in `small` elements */
}
[hidden] {
display: none; /* Add the correct display in IE */
}
abbr[title] {
border-bottom: none; /* Remove the bottom border in Chrome 57 */
/* Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari */
text-decoration: underline;
text-decoration: underline dotted;
}
a {
background-color: transparent; /* Remove the gray background on active links in IE 10 */
}
a:active,
a:hover {
outline-width: 0; /* Remove the outline when hovering in all browsers */
}
code,
kbd,
pre,
samp {
font-family: monospace, monospace; /* Specify the font family of code elements */
}
pre {
font-size: 1em; /* Correct the odd `em` font sizing in all browsers */
}
b,
strong {
font-weight: bolder; /* Add the correct font weight in Chrome, Edge, and Safari */
}
/* https://gist.github.com/unruthless/413930 */
sub,
sup {
font-size: 75%;
line-height: 0;
position: relative;
vertical-align: baseline;
}
sub {
bottom: -0.25em;
}
sup {
top: -0.5em;
}
/* # =================================================================
# Forms
# ================================================================= */
input {
border-radius: 0;
}
/* Replace pointer cursor in disabled elements */
[disabled] {
cursor: default;
}
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
height: auto; /* Correct the cursor style of increment and decrement buttons in Chrome */
}
[type="search"] {
-webkit-appearance: textfield; /* Correct the odd appearance in Chrome and Safari */
outline-offset: -2px; /* Correct the outline style in Safari */
}
[type="search"]::-webkit-search-cancel-button,
[type="search"]::-webkit-search-decoration {
-webkit-appearance: none; /* Remove the inner padding in Chrome and Safari on macOS */
}
textarea {
overflow: auto; /* Internet Explorer 11+ */
resize: vertical; /* Specify textarea resizability */
}
button,
input,
optgroup,
select,
textarea {
font: inherit; /* Specify font inheritance of form elements */
}
optgroup {
font-weight: bold; /* Restore the font weight unset by the previous rule */
}
button {
overflow: visible; /* Address `overflow` set to `hidden` in IE 8/9/10/11 */
}
button,
select {
text-transform: none; /* Firefox 40+, Internet Explorer 11- */
}
/* Apply cursor pointer to button elements */
button,
[type="button"],
[type="reset"],
[type="submit"],
[role="button"] {
cursor: pointer;
color: inherit;
}
/* Remove inner padding and border in Firefox 4+ */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
border-style: none;
padding: 0;
}
/* Replace focus style removed in the border reset above */
button:-moz-focusring,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
outline: 1px dotted ButtonText;
}
button,
html [type="button"], /* Prevent a WebKit bug where (2) destroys native `audio` and `video`controls in Android 4 */
[type="reset"],
[type="submit"] {
-webkit-appearance: button; /* Correct the inability to style clickable types in iOS */
}
/* Remove the default button styling in all browsers */
button,
input,
select,
textarea {
background-color: transparent;
border-style: none;
}
/* Style select like a standard input */
select {
-moz-appearance: none; /* Firefox 36+ */
-webkit-appearance: none; /* Chrome 41+ */
}
select::-ms-expand {
display: none; /* Internet Explorer 11+ */
}
select::-ms-value {
color: currentColor; /* Internet Explorer 11+ */
}
legend {
border: 0; /* Correct `color` not being inherited in IE 8/9/10/11 */
color: inherit; /* Correct the color inheritance from `fieldset` elements in IE */
display: table; /* Correct the text wrapping in Edge and IE */
max-width: 100%; /* Correct the text wrapping in Edge and IE */
white-space: normal; /* Correct the text wrapping in Edge and IE */
max-width: 100%; /* Correct the text wrapping in Edge 18- and IE */
}
::-webkit-file-upload-button {
/* Correct the inability to style clickable types in iOS and Safari */
-webkit-appearance: button;
color: inherit;
font: inherit; /* Change font properties to `inherit` in Chrome and Safari */
}
// Remove default password icon in EdgeHTML (#537)
::-ms-clear,
::-ms-reveal {
display: none
}
/* # =================================================================
# Specify media element style
# ================================================================= */
img {
border-style: none; /* Remove border when inside `a` element in IE 8/9/10 */
}
/* Add the correct vertical alignment in Chrome, Firefox, and Opera */
progress {
vertical-align: baseline;
}
/* # =================================================================
# Accessibility
# ================================================================= */
/* Hide content from screens but not screenreaders */
@media screen {
[hidden~="screen"] {
display: inherit;
}
[hidden~="screen"]:not(:active):not(:focus):not(:target) {
position: absolute !important;
clip: rect(0 0 0 0) !important;
}
}
/* Specify the progress cursor of updating elements */
[aria-busy="true"] {
cursor: progress;
}
/* Specify the pointer cursor of trigger elements */
[aria-controls] {
cursor: pointer;
}
/* Specify the unstyled cursor of disabled, not-editable, or otherwise inoperable elements */
[aria-disabled="true"] {
cursor: default;
}
}

View File

@ -0,0 +1,9 @@
.v-locale {
&--is-rtl {
direction: rtl;
}
&--is-ltr {
direction: ltr;
}
}

View File

@ -0,0 +1,364 @@
@use '../settings';
@mixin transition-default() {
&-enter-active {
transition-duration: 0.3s !important;
transition-timing-function: settings.$standard-easing !important;
}
&-leave-active {
transition-duration: 0.3s !important;
transition-timing-function: settings.$standard-easing !important;
}
&-move {
transition-duration: 0.5s !important;
transition-property: transform !important;
transition-timing-function: settings.$standard-easing !important;
}
}
@mixin fade-out() {
&-leave-to {
opacity: 0;
}
&-leave-active {
transition-duration: 100ms !important;
}
}
// Component specific transitions
.dialog-transition,
.dialog-bottom-transition,
.dialog-top-transition {
&-enter-active {
transition-duration: 225ms !important;
transition-timing-function: settings.$decelerated-easing !important;
}
&-leave-active {
transition-duration: 125ms !important;
transition-timing-function: settings.$accelerated-easing !important;
}
&-enter-active,
&-leave-active {
transition-property: transform, opacity !important;
pointer-events: none;
}
}
.dialog-transition {
&-enter-from, &-leave-to {
transform: scale(0.9);
opacity: 0;
}
&-enter-to, &-leave-from {
opacity: 1;
}
}
.dialog-bottom-transition {
&-enter-from, &-leave-to {
transform: translateY(calc(50vh + 50%));
}
}
.dialog-top-transition {
&-enter-from, &-leave-to {
transform: translateY(calc(-50vh - 50%));
}
}
.picker-transition,
.picker-reverse-transition {
@include transition-default();
&-enter-from,
&-leave-to {
opacity: 0;
}
&-leave-from,
&-leave-active,
&-leave-to {
position: absolute !important;
}
&-enter-active,
&-leave-active {
transition-property: transform, opacity !important;
}
}
.picker-transition {
@include transition-default();
&-enter-from {
transform: translate(0, 100%);
}
&-leave-to {
transform: translate(0, -100%);
}
}
.picker-reverse-transition {
@include transition-default();
&-enter-from {
transform: translate(0, -100%);
}
&-leave-to {
transform: translate(0, 100%);
}
}
// Generic transitions
.expand-transition {
@include transition-default();
&-enter-active,
&-leave-active {
transition-property: height !important;
}
}
.expand-x-transition {
@include transition-default();
&-enter-active,
&-leave-active {
transition-property: width !important;
}
}
.scale-transition {
@include transition-default();
@include fade-out();
&-enter-from {
opacity: 0;
transform: scale(0);
}
&-enter-active,
&-leave-active {
transition-property: transform, opacity !important;
}
}
.scale-rotate-transition {
@include transition-default();
@include fade-out();
&-enter-from {
opacity: 0;
transform: scale(0) rotate(-45deg);
}
&-enter-active,
&-leave-active {
transition-property: transform, opacity !important;
}
}
.scale-rotate-reverse-transition {
@include transition-default();
@include fade-out();
&-enter-from {
opacity: 0;
transform: scale(0) rotate(45deg);
}
&-enter-active,
&-leave-active {
transition-property: transform, opacity !important;
}
}
.message-transition {
@include transition-default();
&-enter-from, &-leave-to {
opacity: 0;
transform: translateY(-15px);
}
&-leave-from, &-leave-active {
position: absolute;
}
&-enter-active,
&-leave-active {
transition-property: transform, opacity !important;
}
}
.slide-y-transition {
@include transition-default();
&-enter-from, &-leave-to {
opacity: 0;
transform: translateY(-15px);
}
&-enter-active,
&-leave-active {
transition-property: transform, opacity !important;
}
}
.slide-y-reverse-transition {
@include transition-default();
&-enter-from, &-leave-to {
opacity: 0;
transform: translateY(15px);
}
&-enter-active,
&-leave-active {
transition-property: transform, opacity !important;
}
}
.scroll-y-transition {
@include transition-default();
&-enter-from, &-leave-to {
opacity: 0;
}
&-enter-from {
transform: translateY(-15px);
}
&-leave-to {
transform: translateY(15px);
}
&-enter-active,
&-leave-active {
transition-property: transform, opacity !important;
}
}
.scroll-y-reverse-transition {
@include transition-default();
&-enter-from, &-leave-to {
opacity: 0;
}
&-enter-from {
transform: translateY(15px);
}
&-leave-to {
transform: translateY(-15px);
}
&-enter-active,
&-leave-active {
transition-property: transform, opacity !important;
}
}
.scroll-x-transition {
@include transition-default();
&-enter-from, &-leave-to {
opacity: 0;
}
&-enter-from {
transform: translateX(-15px);
}
&-leave-to {
transform: translateX(15px);
}
&-enter-active,
&-leave-active {
transition-property: transform, opacity !important;
}
}
.scroll-x-reverse-transition {
@include transition-default();
&-enter-from, &-leave-to {
opacity: 0;
}
&-enter-from {
transform: translateX(15px);
}
&-leave-to {
transform: translateX(-15px);
}
&-enter-active,
&-leave-active {
transition-property: transform, opacity !important;
}
}
.slide-x-transition {
@include transition-default();
&-enter-from, &-leave-to {
opacity: 0;
transform: translateX(-15px);
}
&-enter-active,
&-leave-active {
transition-property: transform, opacity !important;
}
}
.slide-x-reverse-transition {
@include transition-default();
&-enter-from, &-leave-to {
opacity: 0;
transform: translateX(15px);
}
&-enter-active,
&-leave-active {
transition-property: transform, opacity !important;
}
}
.fade-transition {
@include transition-default();
&-enter-from, &-leave-to {
opacity: 0 !important;
}
&-enter-active,
&-leave-active {
transition-property: opacity !important;
}
}
.fab-transition {
@include transition-default();
&-enter-from, &-leave-to {
transform: scale(0) rotate(-45deg);
}
&-enter-active,
&-leave-active {
transition-property: transform !important;
}
}