Updated color codes, minor UI tweaks

This commit is contained in:
Liyas Thomas
2020-02-20 08:01:22 +05:30
parent 4665dbc372
commit 73a2a0a127
4 changed files with 20 additions and 17 deletions

View File

@@ -22,13 +22,11 @@ $responsiveWidth: 768px;
::-webkit-scrollbar { ::-webkit-scrollbar {
width: 4px; width: 4px;
height: 4px; height: 4px;
border-radius: 4px; background-color: var(--bg-dark-color);
background-color: var(--bg-light-color);
} }
::-webkit-scrollbar-thumb { ::-webkit-scrollbar-thumb {
background-color: var(--fg-light-color); background-color: var(--fg-light-color);
border-radius: 8px;
&:hover { &:hover {
background-color: var(--fg-color); background-color: var(--fg-color);
@@ -62,7 +60,6 @@ body {
scroll-behavior: smooth; scroll-behavior: smooth;
} }
// Make theme transition smoother.
body.afterLoad { body.afterLoad {
transition: background-color 0.2s ease-in-out; transition: background-color 0.2s ease-in-out;
} }
@@ -76,6 +73,10 @@ a {
color: inherit; color: inherit;
text-decoration: none; text-decoration: none;
transition: all 0.2s ease-in-out; transition: all 0.2s ease-in-out;
&.link {
color: var(--ac-color);
}
} }
header, header,
@@ -146,7 +147,8 @@ footer {
z-index: 1; z-index: 1;
height: 100vh; height: 100vh;
padding: 0 8px; padding: 0 8px;
background-color: var(--bg-light-color); background-color: var(--bg-dark-color);
transition: all 0.2s ease-in-out;
} }
.main { .main {
@@ -186,7 +188,6 @@ nav.primary-nav {
color: var(--fg-light-color); color: var(--fg-light-color);
fill: var(--fg-light-color); fill: var(--fg-light-color);
margin: 8px 0; margin: 8px 0;
transition: all 0.2s ease-in-out;
&:hover { &:hover {
color: var(--fg-color); color: var(--fg-color);
@@ -422,7 +423,6 @@ button {
color: var(--act-color); color: var(--act-color);
fill: var(--act-color); fill: var(--act-color);
box-shadow: inset 0 0 0 2px var(--fg-color); box-shadow: inset 0 0 0 2px var(--fg-color);
transition: all 0.2s ease-in-out;
} }
&.icon { &.icon {
@@ -437,7 +437,6 @@ button {
color: var(--fg-color); color: var(--fg-color);
fill: var(--fg-color); fill: var(--fg-color);
box-shadow: none; box-shadow: none;
transition: all 0.2s ease-in-out;
} }
} }
@@ -472,7 +471,6 @@ button {
fieldset { fieldset {
margin: 16px 0; margin: 16px 0;
border-radius: 16px; border-radius: 16px;
transition: all 0.2s ease-in-out;
background-color: var(--bg-dark-color); background-color: var(--bg-dark-color);
} }
@@ -565,7 +563,6 @@ code {
&:not([readonly]):not(.ace_editor):active, &:not([readonly]):not(.ace_editor):active,
&:not([readonly]):not(.ace_editor):focus { &:not([readonly]):not(.ace_editor):focus {
box-shadow: inset 0 0 0 2px var(--fg-light-color); box-shadow: inset 0 0 0 2px var(--fg-light-color);
transition: all 0.2s ease-in-out;
} }
} }
@@ -576,7 +573,6 @@ code {
&:active, &:active,
&:focus { &:focus {
box-shadow: inset 0 0 0 2px var(--fg-light-color); box-shadow: inset 0 0 0 2px var(--fg-light-color);
transition: all 0.2s ease-in-out;
} }
} }
@@ -884,18 +880,19 @@ input[type="radio"]:checked + label + .tab {
padding: 0; padding: 0;
width: 100%; width: 100%;
background-color: var(--bg-color); background-color: var(--bg-color);
transition: all 0.2s ease-in-out;
box-shadow: 0 2px 6px 0 rgba(0, 0, 0, 0.45); box-shadow: 0 2px 6px 0 rgba(0, 0, 0, 0.45);
} }
nav.primary-nav { nav.primary-nav {
flex-flow: row nowrap; flex-flow: row nowrap;
overflow: auto; overflow: auto;
justify-content: space-around; justify-content: space-between;
background-color: var(--bg-dark-color);
a { a {
background-color: transparent; background-color: transparent;
margin: 8px; margin: 8px;
flex: 1;
&.nuxt-link-exact-active { &.nuxt-link-exact-active {
background-color: transparent; background-color: transparent;

View File

@@ -20,6 +20,7 @@
border-radius: 100%; border-radius: 100%;
border: 3px solid var(--bg-dark-color); border: 3px solid var(--bg-dark-color);
cursor: pointer; cursor: pointer;
transition: all 0.2s ease-in-out;
&.fg { &.fg {
color: var(--act-color); color: var(--act-color);

View File

@@ -408,7 +408,7 @@
<div class="flex-wrap"> <div class="flex-wrap">
<span v-if="version.name" class="mono"> <span v-if="version.name" class="mono">
<a <a
class="link" class="footer-link"
:href=" :href="
'https://github.com/liyasthomas/postwoman/releases/tag/' + 'https://github.com/liyasthomas/postwoman/releases/tag/' +
version.name version.name
@@ -420,7 +420,7 @@
{{ version.name }} {{ version.name }}
</a> </a>
<a <a
class="link hide-on-small-screen" class="footer-link hide-on-small-screen"
href="https://www.netlify.com" href="https://www.netlify.com"
target="_blank" target="_blank"
rel="noopener" rel="noopener"
@@ -660,7 +660,7 @@
</template> </template>
<style scoped lang="scss"> <style scoped lang="scss">
.link { .footer-link {
margin: 8px 16px; margin: 8px 16px;
} }
</style> </style>

View File

@@ -206,7 +206,12 @@
{{ $t("postwoman_official_proxy_hosting") }} {{ $t("postwoman_official_proxy_hosting") }}
<br /> <br />
{{ $t("read_the") }} {{ $t("read_the") }}
<a href="https://apollotv.xyz/legal" target="_blank" rel="noopener"> <a
class="link"
href="https://apollotv.xyz/legal"
target="_blank"
rel="noopener"
>
{{ $t("apollotv_privacy_policy") }} </a {{ $t("apollotv_privacy_policy") }} </a
>. >.
</p> </p>