Skip to content

Commit

Permalink
⚡ Zap
Browse files Browse the repository at this point in the history
  • Loading branch information
liyasthomas committed Dec 10, 2019
1 parent 60ba539 commit d284002
Show file tree
Hide file tree
Showing 7 changed files with 180 additions and 27 deletions.
17 changes: 9 additions & 8 deletions assets/css/styles.scss
Expand Up @@ -2,7 +2,7 @@
.page-leave-active,
.layout-enter-active,
.layout-leave-active {
transition: all 0.2s;
transition: opacity 0.2s;
}

.page-enter,
Expand All @@ -14,10 +14,6 @@

$responsiveWidth: 768px;

html {
scroll-behavior: smooth;
}

::selection {
background-color: var(--ac-color);
color: var(--act-color);
Expand Down Expand Up @@ -50,6 +46,7 @@ html {
border: 0;
}

html,
body {
background-color: var(--bg-color);
color: var(--fg-color);
Expand All @@ -62,11 +59,12 @@ body {
user-select: none;
padding: 0;
margin: 0;
scroll-behavior: smooth;
}

// Make theme transition smoother.
body.afterLoad {
transition: all 0.2s ease-in-out;
transition: background-color 0.2s ease-in-out;
}

body.sticky-footer footer {
Expand Down Expand Up @@ -97,8 +95,8 @@ footer {
flex-direction: column;
}

.wrapper .content {
min-height: 100vh;
.wrapper .page {
min-height: calc(100vh - 153px);
}

.header,
Expand Down Expand Up @@ -149,11 +147,14 @@ footer {
}

.main {
display: flex;
flex-flow: column;
flex: 1;
order: 2;
position: relative;
padding: 0 16px;
background-color: var(--bg-light-color);
height: 100%;
}

.nav-second {
Expand Down
4 changes: 2 additions & 2 deletions components/ace-editor.vue
Expand Up @@ -64,8 +64,8 @@ export default {
this.editor = editor;
this.cacheValue = this.value;
editor.on('change', () => {
editor.on("change", () => {
const content = editor.getValue();
this.$emit("input", content);
this.cacheValue = content;
Expand Down
1 change: 0 additions & 1 deletion components/settings/swatch.vue
Expand Up @@ -20,7 +20,6 @@
border-radius: 100%;
border: 3px solid var(--bg-dark-color);
cursor: pointer;
transition: all 0.2s ease-in-out;
&.fg {
color: var(--act-color);
Expand Down
24 changes: 11 additions & 13 deletions docs/index.html
@@ -1,17 +1,15 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<title>Postwoman</title>
<meta http-equiv="refresh" content="0; url=https://postwoman.io" />
<link rel="canonical" href="https://postwoman.io" />
</head>

<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Postwoman</title>
<meta http-equiv="refresh" content="0; url=https://postwoman.io">
<link rel="canonical" href="https://postwoman.io">
</head>

<body>
Redirecting to postwoman.io
</body>

<body>
Redirecting to postwoman.io
</body>
</html>
5 changes: 3 additions & 2 deletions pages/index.vue
Expand Up @@ -552,7 +552,7 @@
</ul>
</pw-section>
</div>
<div class="flex-wrap">
<!-- <div class="flex-wrap">
<span></span>
<button
class="icon hide-on-small-screen"
Expand All @@ -565,7 +565,7 @@
{{ activeSidebar ? "last_page" : "first_page" }}
</i>
</button>
</div>
</div> -->
</section>

<pw-section
Expand Down Expand Up @@ -794,6 +794,7 @@
</div>
</div>
</template>

<script>
import section from "../components/section";
import url from "url";
Expand Down
1 change: 1 addition & 0 deletions pages/realtime.vue
Expand Up @@ -154,6 +154,7 @@
</section>
</div>
</template>

<style scoped lang="scss">
div.log {
margin: 4px;
Expand Down
155 changes: 154 additions & 1 deletion static/icons/error.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit d284002

Please sign in to comment.