You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

195 line
3.8 KiB

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