Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
 
 
 

184 lignes
3.6 KiB

  1. .pathfinder-page * {
  2. margin: 0;
  3. padding: 0;
  4. outline: none;
  5. border: none;
  6. text-decoration: none;
  7. box-sizing: border-box;
  8. }
  9. :root{
  10. --start: #2b2ff7;
  11. --end: #5fb0fc;
  12. --unexplored-path: #744714;
  13. --open-path: #d4b85d;
  14. --closed-path: #d8e2be;
  15. --path: #9bf776;
  16. --wall: #492b23;
  17. --grid-border: #693737;
  18. }
  19. .pathfinder-page {
  20. width: 100%;
  21. height: 100%;
  22. display: flex;
  23. flex-flow:column nowrap;
  24. justify-content: flex-start;
  25. align-items: stretch;
  26. }
  27. .navbar{
  28. width: 100%;
  29. display: flex;
  30. flex-flow: row wrap;
  31. justify-content: center;
  32. align-items: stretch;
  33. font-size: 16px;
  34. font-weight: bold;
  35. padding: 15px 0;
  36. }
  37. .navbar-item{
  38. text-align: center;
  39. display: flex;
  40. align-items: center;
  41. margin: 0 10px;
  42. }
  43. .navbar-item-caption{
  44. text-align: center;
  45. background-color: var(--closed-path);
  46. }
  47. .general-button{
  48. color: #fff;
  49. font-weight: inherit;
  50. font-size: inherit;
  51. padding: 0.5em 1em;
  52. background-color: transparent;
  53. transition: background-color 0.3s linear, transform 0.15s ease-out;
  54. }
  55. .general-button:hover{
  56. cursor: pointer;
  57. }
  58. .general-button:active{
  59. transform: scale(1.1);
  60. }
  61. .options-button:hover{
  62. color: var(--path);
  63. }
  64. .start-button{
  65. background-color: var(--start);
  66. border-radius: 50px;
  67. color: #fff;
  68. padding: 20px 40px;
  69. }
  70. .start-button:hover{
  71. background-color: var(--end);
  72. }
  73. .speed-container{
  74. margin-top: 0.2em;
  75. padding: 0.2em 0.5em;
  76. }
  77. .range-caption{
  78. font-size: 1em;
  79. display: block;
  80. text-align: center;
  81. }
  82. .custom-select {
  83. position: relative;
  84. font-size: 1em;
  85. background-color: transparent;
  86. height: 100%;
  87. }
  88. .custom-select:hover{
  89. }
  90. .custom-select select {
  91. font-size: inherit;
  92. }
  93. .select-selected:after {
  94. position: absolute;
  95. content: "";
  96. top: 40%;
  97. right: 5px;
  98. width: 0;
  99. height: 0;
  100. border: 6px solid transparent;
  101. border-color: #fff transparent transparent transparent;
  102. }
  103. .select-selected.select-arrow-active:after {
  104. border-color: transparent transparent #fff transparent;
  105. top: 30%;
  106. }
  107. .select-items div,.select-selected {
  108. padding: 0.5em 0 0.5em 0.3em;
  109. border: none;
  110. cursor: pointer;
  111. }
  112. /* Style items (options): */
  113. .select-items {
  114. position: absolute;
  115. top: 100%;
  116. left: 0;
  117. right: 0;
  118. z-index: 99;
  119. text-align:left;
  120. border-radius: 8px;
  121. overflow: hidden;
  122. width: 220px;
  123. }
  124. .select-items div{
  125. background-color: var(--open-path);
  126. transition: background-color 0.3s linear;
  127. padding: 12px 20px;
  128. }
  129. /* Hide the items when the select box is closed: */
  130. .select-hide {
  131. display: none;
  132. }
  133. .select-items div:hover, .same-as-selected {
  134. background-color: var(--closed-path);
  135. }
  136. .select-selected {
  137. background-color: transparent;
  138. border: none;
  139. height: 100%;
  140. padding: 1em 1em 1em 0.3em;
  141. }
  142. .slidecontainer {
  143. width: 100%;
  144. }
  145. .slider {
  146. -webkit-appearance: none;
  147. overflow: hidden;
  148. appearance: none;
  149. width: 100%;
  150. height: 18px;
  151. margin-top: 5px;
  152. outline: none;
  153. border-radius: 15px;
  154. }
  155. .slider::-webkit-slider-thumb {
  156. -webkit-appearance: none;
  157. appearance: none;
  158. width: 18px;
  159. height: 18px;
  160. border-radius: 15px;
  161. cursor: pointer;
  162. background: var(--wall);
  163. box-shadow: -85px 0 0 80px var(--path);
  164. }
  165. .slider::-moz-range-thumb {
  166. width: 1em;
  167. height: 1em;
  168. background: #000;
  169. cursor: pointer;
  170. }