-
+
@@ -68,6 +68,7 @@
import { mapState, mapGetters } from 'vuex';
import GameScreenshots from '@/components/GameDetail/GameScreenshots';
import VueMarkdown from 'vue-markdown';
+import GameProgress from '@/components/GameDetail/GameProgress';
import GameActions from '@/components/GameDetail/GameActions';
import GameTags from '@/components/GameDetail/GameTags';
import GameRating from '@/components/GameDetail/GameRating';
@@ -89,6 +90,7 @@ export default {
GameScreenshots,
GameActions,
VueMarkdown,
+ GameProgress,
GameTags,
GameVideos,
GameDetails,
diff --git a/src/styles/_inputs.scss b/src/styles/_inputs.scss
index 0fe28681..004aea83 100644
--- a/src/styles/_inputs.scss
+++ b/src/styles/_inputs.scss
@@ -76,3 +76,105 @@ textarea {
}
}
}
+
+input[type=range] {
+ -webkit-appearance: none;
+ appearance: none;
+ width: 100%;
+ height: 36px;
+ border: 0;
+ border-radius: $border-radius;
+ padding: 0;
+ background: transparent;
+ overflow: hidden;
+ order: 1;
+ margin: $gp 0;
+
+ &:focus {
+ outline: none;
+
+ &::-webkit-slider-runnable-track,
+ &::-ms-fill-lower,
+ &::-ms-fill-upper {
+ background: var(--accent-color);
+ }
+ }
+
+ &::-webkit-slider-runnable-track {
+ width: 100%;
+ height: 36px;
+ cursor: pointer;
+ animate: 0.2s;
+ background: var(--accent-color);
+ border-radius: $border-radius;
+ overflow: hidden;
+ }
+
+ &::-webkit-slider-thumb {
+ height: 36px;
+ width: 16px;
+ background: var(--primary-background);
+ cursor: pointer;
+ border-radius: 0;
+ -webkit-appearance: none;
+ box-shadow: 500px 0 0 500px var(--list-background);
+ }
+
+ &::-moz-range-track {
+ width: 100%;
+ height: 36px;
+ cursor: pointer;
+ animate: 0.2s;
+ overflow: hidden;
+ background: var(--list-background);
+ border-radius: $border-radius;
+ }
+
+ &::-moz-range-thumb {
+ height: 36px;
+ width: 16px;
+ border: none;
+ border-radius: 0;
+ background: var(--primary-background);
+ cursor: pointer;
+ }
+
+ &::-moz-range-progress {
+ height: 36px;
+ width: 16px;
+ border: none;
+ border-radius: 0;
+ background: var(--accent-color);
+ }
+
+ &::-ms-track {
+ width: 100%;
+ height: 36px;
+ cursor: pointer;
+ animate: 0.2s;
+ overflow: hidden;
+ background: transparent;
+ border-color: transparent;
+ border-width: 16px 0;
+ color: transparent;
+ }
+
+ &::-ms-fill-lower {
+ background: var(--accent-color);
+ border-radius: $border-radius;
+ }
+
+ &::-ms-fill-upper {
+ background: var(--accent-color);
+ border-radius: $border-radius;
+ }
+
+ &::-ms-thumb {
+ height: 36px;
+ width: 16px;
+ border-radius: 0;
+ background: var(--primary-background);
+ box-shadow: 500px 0 0 500px var(--list-background);
+ cursor: pointer;
+ }
+}
\ No newline at end of file