Loading...
diff --git a/.eslintignore b/.eslintignore
new file mode 100644
index 000000000..5c80a71cf
--- /dev/null
+++ b/.eslintignore
@@ -0,0 +1,3 @@
+node_modules/
+jspm_packages/
+modules/*
diff --git a/assets/styles/components.scss b/assets/styles/components.scss
index 6edba8b63..a4000bc1a 100644
--- a/assets/styles/components.scss
+++ b/assets/styles/components.scss
@@ -420,3 +420,56 @@
}
}
+.switch {
+ -webkit-appearance: none;
+ -moz-appearance: none;
+ appearance: none;
+ -webkit-tap-highlight-color: transparent;
+ cursor: pointer;
+ &:focus {
+ outline: 0;
+ }
+
+}
+
+
+
+.stylized-toggle {
+ height: 32px;
+ width: 52px;
+ border-radius: 16px;
+ display: inline-block;
+ position: relative;
+ margin: 0;
+ border: 2px solid var(--color-button-bg);
+ transition: all .2s ease;
+ background: var(--color-button-bg);
+
+ &:after {
+ content: '';
+ position: absolute;
+ top: 2px;
+ left: 2px;
+ width: 24px;
+ height: 24px;
+ border-radius: 50%;
+ background: white;
+ box-shadow: 0 1px 2px rgba(44,44,44,.2);
+ transition: all .2s cubic-bezier(.5,.1,.75,1.35);
+ }
+ &:checked {
+ background: var(--color-brand);
+ border: 2px solid var(--color-brand);
+ &:after {
+ transform: translatex(20px);
+ }
+ }
+ &:hover &:focus {
+ background: var(--color-button-bg);
+ border: 2px solid var(--color-button-bg);
+ }
+ &:hover:checked &:focus:checked {
+ background: var(--color-brand);
+ border: 2px solid var(--color-brand);
+ }
+}
diff --git a/components/Advertisement.vue b/components/ads/Advertisement.vue
similarity index 56%
rename from components/Advertisement.vue
rename to components/ads/Advertisement.vue
index 6d813ba6d..aea6dd4cd 100644
--- a/components/Advertisement.vue
+++ b/components/ads/Advertisement.vue
@@ -1,25 +1,23 @@
Loading...