diff --git a/components/history.vue b/components/history.vue new file mode 100644 index 000000000..50d5f8a0b --- /dev/null +++ b/components/history.vue @@ -0,0 +1,146 @@ + + + diff --git a/components/toggle.vue b/components/toggle.vue index c02e950bc..2e9ea5d9b 100644 --- a/components/toggle.vue +++ b/components/toggle.vue @@ -3,7 +3,8 @@ - + @@ -14,7 +15,7 @@ $inactiveColor: var(--fg-color); $inactiveHandleColor: $inactiveColor; - $activeHandleColor: var(--fg-color); + $activeHandleColor: var(--act-color); $width: 50px; $height: 20px; @@ -27,7 +28,7 @@ } label.caption { - margin-left: 5px; + margin-left: 4px; vertical-align: middle; } @@ -62,7 +63,7 @@ pointer-events: none; transition: $transition; - box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24); + box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24); } &.on { @@ -75,24 +76,26 @@ } } } + diff --git a/pages/index.vue b/pages/index.vue index dbef71fea..4af0b0c1f 100644 --- a/pages/index.vue +++ b/pages/index.vue @@ -187,46 +187,12 @@ - - - - - - + +