diff --git a/src/style/app/pulldown/accounts.scss b/src/style/app/pulldown/accounts.scss index 889dfef..5d667aa 100644 --- a/src/style/app/pulldown/accounts.scss +++ b/src/style/app/pulldown/accounts.scss @@ -54,12 +54,28 @@ flex-grow:1; } + input[type=text],input[type=password] { + border:none; + border-radius:0; + width:100%; + padding:5px; + background-color:#333333; + color:#dddddd; + outline:none; + + @media screen and (max-width: 500px) { + font-size:16px; + padding:10px; + } + } + .lgBtnContainer { display:flex; position:relative; left:20px; width:calc( 100% - 40px ); gap:10px; + overflow:clip; } .fields { @@ -69,16 +85,7 @@ left:20px; width:calc( 100% - 40px ); gap:5px; - - input { - border:none; - border-radius:0; - width:100%; - padding:5px; - background-color:#333333; - color:#dddddd; - outline:none; - } + overflow:clip; } /* diff --git a/src/svelte/elem/UploadWindow.svelte b/src/svelte/elem/UploadWindow.svelte index debde11..28e94c9 100644 --- a/src/svelte/elem/UploadWindow.svelte +++ b/src/svelte/elem/UploadWindow.svelte @@ -1,5 +1,6 @@ @@ -13,15 +14,15 @@ {#if targetAction} -
- +
+
{:else} -
+
diff --git a/src/svelte/elem/transition/padding_scaleY.js b/src/svelte/elem/transition/padding_scaleY.js new file mode 100644 index 0000000..713ba45 --- /dev/null +++ b/src/svelte/elem/transition/padding_scaleY.js @@ -0,0 +1,18 @@ +import { circIn, circOut } from "svelte/easing" + +export function padding_scaleY(node, { duration, easingFunc, padY, padX, op }) { + let rect = node.getBoundingClientRect() + + return { + duration: duration||300, + css: t => { + let eased = (easingFunc || circOut)(t) + + return ` + height: ${eased*(rect.height-(padY||0))}px; + ${padX&&padY ? `padding: ${(eased)*(padY)}px ${(padX)}px;` : ""} + ${op ? `opacity: ${eased};` : ""} + ` + } + } +} \ No newline at end of file