diff --git a/res/static/style/layout.css b/res/static/style/layout.css index ad82353..97702ac 100644 --- a/res/static/style/layout.css +++ b/res/static/style/layout.css @@ -571,16 +571,12 @@ button>svg, .tab_bar>button, .tab_bar>.button { - margin: 10px 0 0 10px; + margin: .5em .4em 0 .4em; border-bottom-left-radius: 0; border-bottom-right-radius: 0; min-width: 5em; } -.tab_bar>*:last-child { - margin-right: 10px; -} - /* Dropdown list of the select tag */ option { background: var(--input_background); diff --git a/svelte/src/file_viewer/FileViewer.svelte b/svelte/src/file_viewer/FileViewer.svelte index 184bedb..48902e9 100644 --- a/svelte/src/file_viewer/FileViewer.svelte +++ b/svelte/src/file_viewer/FileViewer.svelte @@ -597,7 +597,7 @@ const keyboard_event = evt => { {/if} - {details_visible = e.detail}} title="File details" width="1200px"> + {details_visible = e.detail}} title="File details" width="1000px"> @@ -609,7 +609,7 @@ const keyboard_event = evt => { - {embed_visible = e.detail}} title="Embed file" width="850px"> + {embed_visible = e.detail}} title="Embed file" width="820px"> diff --git a/svelte/src/file_viewer/Sharebar.svelte b/svelte/src/file_viewer/Sharebar.svelte index 0dc95f0..7779219 100644 --- a/svelte/src/file_viewer/Sharebar.svelte +++ b/svelte/src/file_viewer/Sharebar.svelte @@ -71,14 +71,15 @@ const share_tumblr = () => { overflow-y: scroll; overflow-x: hidden; background: var(--shaded_background); - border-radius: 16px; + border-top-left-radius: 16px; + border-bottom-left-radius: 16px; text-align: center; overflow: hidden; opacity: 0; transition: left 0.4s, opacity 0.4s; } .visible { - left: 8em; + left: calc(8em + 2px); opacity: 1; } .button_full_width { diff --git a/svelte/src/home_page/FeatureTable.svelte b/svelte/src/home_page/FeatureTable.svelte index f8f03ac..fbf5a5e 100644 --- a/svelte/src/home_page/FeatureTable.svelte +++ b/svelte/src/home_page/FeatureTable.svelte @@ -15,7 +15,7 @@ onMount(() => {
Free
-
Pro
+
Pro
Size limit per file
@@ -122,7 +122,7 @@ onMount(() => {
Free
-
+
{#if window.user.subscription.id === "patreon_1"} You have this plan
Thank you for supporting pixeldrain! @@ -254,7 +254,7 @@ onMount(() => { } .feat_table > div > div { flex: 1 1 0; - margin: 0.25em; + margin: 0.2em; padding: 0.5em; text-align: center; word-wrap: break-word; @@ -263,21 +263,17 @@ onMount(() => { .feat_table > div > .feat_label { border-top-left-radius: 0.5em; border-bottom-left-radius: 0.5em; - border: 2px solid var(--separator); + border: 1px solid var(--separator); } .feat_table > div > .feat_normal { background-color: var(--card_color); + border: 1px solid var(--separator); } .feat_table > div > .feat_pro { background-color: var(--card_color); - box-shadow: 1px 1px 2px -1px var(--shadow_color); -} -.feat_table > div > .feat_highlight { - border: 1px solid var(--link_color) + border: 1px solid var(--highlight_color); } .text_highlight { - color: var(--link_color); - font-size: 1.1em; font-weight: bold; } diff --git a/svelte/src/home_page/OtherPlans.svelte b/svelte/src/home_page/OtherPlans.svelte index a202570..6b16627 100644 --- a/svelte/src/home_page/OtherPlans.svelte +++ b/svelte/src/home_page/OtherPlans.svelte @@ -126,7 +126,7 @@ } .feat_table > div > div { flex: 1 1 0; - margin: 0.25em; + margin: 0.2em; padding: 0.5em; text-align: center; word-wrap: break-word; @@ -134,11 +134,9 @@ } .feat_table > div > .feat_pro { background-color: var(--card_color); - box-shadow: 1px 1px 2px -1px var(--shadow_color); + border: 1px solid var(--highlight_color); } .text_highlight { - color: var(--link_color); - font-size: 1.1em; font-weight: bold; } .feat_table > div > .cell_background { @@ -151,7 +149,7 @@ text-align: left; font-size: 1.2em; color: #ffffff; - text-shadow: 1px 1px 3px #000000; + text-shadow: 1px 1px 2px #000000; } .feat_table > div > div.round_tr { border-top-right-radius: 0.5em; } diff --git a/svelte/src/user_home/PageBranding.svelte b/svelte/src/user_home/PageBranding.svelte index c85e39c..8c758c3 100644 --- a/svelte/src/user_home/PageBranding.svelte +++ b/svelte/src/user_home/PageBranding.svelte @@ -133,7 +133,7 @@ onMount(() => {

Will be shown above the file. Maximum height is 90px. Will be shrunk if larger. You can also add a link to open when the visitor clicks the - image. The link need to start with 'https://'. + image. The link needs to start with 'https://'.