diff --git a/S2/DevWeb/Projet/src/main/webapp/WEB-INF/tags/forms/newGame.tag b/S2/DevWeb/Projet/src/main/webapp/WEB-INF/tags/forms/newGame.tag index 8bbba9b..885d10d 100644 --- a/S2/DevWeb/Projet/src/main/webapp/WEB-INF/tags/forms/newGame.tag +++ b/S2/DevWeb/Projet/src/main/webapp/WEB-INF/tags/forms/newGame.tag @@ -50,14 +50,22 @@
- - -
+ +
+
<%= Deck.NB_VALUES_PER_COLOR_MIN %>
+ +
<%= Deck.NB_VALUES_PER_COLOR_MAX %>
+
+
- - + +
+
<%= Deck.NB_COLORS_MIN %>
+ +
<%= Deck.NB_COLORS_MAX %>
+
@@ -109,13 +117,97 @@ transform: translateX(5px); } } + + .range-field { + display: flex; + flex-direction: row; + align-items: center; + justify-content: center; + height: 100%; + position: relative; + gap: 5px; + } + .range-field .value { + + font-size: 18px; + color: #045fa4; + font-weight: 600; + } + .left { + left: 0px; + } + .right { + right: 0px; + } + .field input { + flex: 1 1 auto; + } + + .sliderValue { + position: relative; + width: 100%; + } + + .sliderValue span { + position: absolute; + height: 45px; + width: 45px; + transform: translateX(-70%) scale(0); + font-weight: 500; + top: -40px; + line-height: 55px; + z-index: 2; + color: #fff; + transform-origin: bottom; + transition: transform 0.3s ease-in-out; + } + + .sliderValue span:after { + position: absolute; + content: ""; + height: 100%; + width: 100%; + background: #045fa4; + border: 3px solid #fff; + z-index: -1; + left: 50%; + transform: translateX(-50%) rotate(45deg); + border-bottom-left-radius: 50%; + box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.1); + border-top-left-radius: 50%; + border-top-right-radius: 50%; + } + + .sliderValue span.show { + transform: translateX(-70%) scale(1); + }