The great flattification

This commit is contained in:
2022-03-29 21:41:46 +02:00
parent e5328a7d6c
commit 2b847c0456
41 changed files with 379 additions and 317 deletions

View File

@@ -114,7 +114,7 @@ head.valueimpression_loaded.subscribe(v => {
{:else if ad_type === "aads"}
<iframe bind:this={banner} class="banner"
data-aa="73974"
src="//ad.a-ads.com/73974?size=728x90&background_color={window.style.layer2Color}&text_color={window.style.textColor}&title_color={window.style.highlightColor}&title_hover_color={window.style.highlightColor}&link_color={window.style.highlightColor}&link_hover_color={window.style.highlightColor}"
src="//ad.a-ads.com/73974?size=728x90&background_color={window.style.bodyColor}&text_color={window.style.bodyTextColor}&title_color={window.style.highlightColor}&title_hover_color={window.style.highlightColor}&link_color={window.style.highlightColor}&link_hover_color={window.style.highlightColor}"
style="width:728px; height:90px; border:0px; padding:0; overflow:hidden; background-color: transparent;"
title="A-ads advertisement">
</iframe>

View File

@@ -91,7 +91,7 @@ head.valueimpression_loaded.subscribe(v => {
{#if ad_type === "aads"}
<iframe
data-aa="1811738"
src="//ad.a-ads.com/1811738?size=160x600&background_color={window.style.layer2Color}&text_color={window.style.textColor}&title_color={window.style.highlightColor}&title_hover_color={window.style.highlightColor}&link_color={window.style.highlightColor}&link_hover_color={window.style.highlightColor}"
src="//ad.a-ads.com/1811738?size=160x600&background_color={window.style.bodyColor}&text_color={window.style.bodyTextColor}&title_color={window.style.highlightColor}&title_hover_color={window.style.highlightColor}&link_color={window.style.highlightColor}&link_hover_color={window.style.highlightColor}"
style="width:160px; height:600px; border:0px; padding:0; overflow:hidden; background-color: transparent;"
title="A-ads advertisement">
</iframe>

View File

@@ -11,7 +11,7 @@ export let border_top = false;
<style>
.border_top {
border-top: solid 1px var(--layer_2_color_border);
border-top: solid 1px var(--separator);
}
.image {
display: block;

View File

@@ -709,7 +709,7 @@ const keyboard_event = evt => {
transition: left 0.5s, right 0.5s;
overflow: auto;
text-align: center;
box-shadow: inset 1px 1px 8px var(--shadow_color);
box-shadow: inset 1px 1px 4px -1px var(--shadow_color);
border-radius: 16px;
}
.file_preview.toolbar_visible { left: 8em; }
@@ -717,7 +717,6 @@ const keyboard_event = evt => {
.file_preview.custom_background {
background-size: cover;
background-position: center;
background-color: var(--layer_1_color);
}
/* Toolbars */

View File

@@ -177,8 +177,8 @@ const drop = (e, index) => {
padding: 0;
overflow: hidden;
border-radius: 8px;
box-shadow: 2px 2px 8px 0 var(--shadow_color);
background-color: var(--layer_3_color);
box-shadow: 1px 1px 4px -1px var(--shadow_color);
background-color: var(--input_background);
word-break: break-all;
text-align: center;
line-height: 1.2em;
@@ -186,7 +186,7 @@ const drop = (e, index) => {
text-overflow: ellipsis;
text-decoration: none;
vertical-align: top;
color: var(--text_color);
color: var(--body_text_color);
}
.file:hover, .highlight {
box-shadow: 0 0 2px 2px var(--highlight_color);
@@ -201,9 +201,12 @@ const drop = (e, index) => {
text-align: left;
}
.icon_container.editing {
box-shadow: inset 0 60px 40px -40px var(--shadow_color);
box-shadow: inset 0 60px 40px -20px var(--body_color);
}
.icon_container > i:hover {
.icon_container > .icon {
color: var(--body_text_color);
}
.icon_container > .icon:hover {
color: var(--highlight_color);
cursor: pointer;
}

View File

@@ -56,7 +56,7 @@ onMount(() => {
max-width: 80%;
height: auto;
padding: 8px;
background-color: var(--layer_4_color);
background-color: var(--popout_color);
box-shadow: 2px 2px 16px var(--shadow_color);
border-radius: 20px;
z-index: 50;
@@ -68,7 +68,7 @@ onMount(() => {
position: absolute;
left: 30px;
top: -15px;
border-bottom: 15px solid var(--layer_4_color);
border-bottom: 15px solid var(--popout_color);
border-left: 15px solid transparent;
border-right: 15px solid transparent;
}

View File

@@ -96,7 +96,7 @@ export const set_item = idx => {
display: flex;
position: relative;
width: 100%;
border-top: 1px solid var(--layer_2_color_border);
border-top: 1px solid var(--separator);
text-align: center;
line-height: 1em;

View File

@@ -160,7 +160,7 @@ let submit = async e => {
}
label {
display: block;
border-bottom: 1px var(--layer_2_color_border) solid;
border-bottom: 1px var(--separator) solid;
padding: 0.5em;
}
.spinner_container {

View File

@@ -70,8 +70,7 @@ const share_tumblr = () => {
top: 0;
overflow-y: scroll;
overflow-x: hidden;
box-shadow: inset 1px 1px 5px var(--shadow_color);
background-color: var(--layer_1_color);
background: var(--shaded_background);
border-radius: 16px;
text-align: center;
overflow: hidden;

View File

@@ -103,7 +103,9 @@ const code = async file => {
<style>
.container {
background: var(--layer_2_color);
background: var(--body_color);
border: 2px solid var(--separator);
border-radius: 16px;
position: relative;
text-align: left;
height: 100%;

View File

@@ -191,7 +191,7 @@ h1 {
flex: 0 0 auto;
display: flex;
flex-direction: row;
background-color: var(--layer_1_color);
background-color: var(--shaded_background);
box-shadow: 1px 1px 6px var(--shadow_color);
padding: 0 2px 2px 2px;
align-items: center;