mirror of
https://github.com/mollersuite/monofile.git
synced 2024-11-21 21:36:26 -08:00
asasasas
This commit is contained in:
parent
f634fb2484
commit
ee96b3ef93
|
@ -1,5 +1,5 @@
|
||||||
@use "../base";
|
@use "../base";
|
||||||
@use "pulldown/faq";
|
@use "pulldown/help";
|
||||||
@use "pulldown/accounts";
|
@use "pulldown/accounts";
|
||||||
|
|
||||||
#overlay {
|
#overlay {
|
||||||
|
|
|
@ -1,16 +1,47 @@
|
||||||
.pulldown_display[name=accounts] {
|
.pulldown_display[name=accounts] {
|
||||||
.notLoggedIn {
|
.notLoggedIn {
|
||||||
|
div {
|
||||||
text-align:center;
|
position:absolute;
|
||||||
|
top:50%;
|
||||||
|
transform:translateY(-50%);
|
||||||
|
width:100%;
|
||||||
|
text-align:center;
|
||||||
|
|
||||||
h1 {
|
@media screen and (max-width:500px) {
|
||||||
font-weight:600;
|
transform:scale(1.35) translateY(-50%);
|
||||||
font-size:24px;
|
}
|
||||||
}
|
|
||||||
|
|
||||||
.flavor {
|
h1 {
|
||||||
font-size:14px;
|
font-weight:600;
|
||||||
color:#999999;
|
font-size:24px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.flavor {
|
||||||
|
font-size:14px;
|
||||||
|
color:#999999;
|
||||||
|
margin: 0 0 10px 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
a {
|
||||||
|
text-decoration: none;
|
||||||
|
color:#999999;
|
||||||
|
font-size:14px;
|
||||||
|
|
||||||
|
&::after {
|
||||||
|
content:" ➜";
|
||||||
|
font-size:0px;
|
||||||
|
opacity: 0;
|
||||||
|
transition-duration:250ms;
|
||||||
|
}
|
||||||
|
|
||||||
|
&:hover {
|
||||||
|
&::after {
|
||||||
|
font-size:13px;
|
||||||
|
opacity: 1;
|
||||||
|
transition-duration:250ms;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
.pulldown_display[name=faq] {
|
.pulldown_display[name=help] {
|
||||||
|
|
||||||
overflow-y:auto;
|
overflow-y:auto;
|
||||||
|
|
||||||
.faqGroup {
|
.faqGroup {
|
||||||
padding:10px;
|
padding:6px 10px 4px 10px;
|
||||||
|
|
||||||
h2 {
|
h2 {
|
||||||
font-weight: 400;
|
font-weight: 400;
|
|
@ -4,13 +4,13 @@
|
||||||
// can't find a better way to do this
|
// can't find a better way to do this
|
||||||
import Files from "./pulldowns/Files.svelte";
|
import Files from "./pulldowns/Files.svelte";
|
||||||
import Accounts from "./pulldowns/Accounts.svelte";
|
import Accounts from "./pulldowns/Accounts.svelte";
|
||||||
import FAQ from "./pulldowns/FAQ.svelte";
|
import Help from "./pulldowns/Help.svelte";
|
||||||
|
|
||||||
export let allPulldowns = new Map()
|
export let allPulldowns = new Map()
|
||||||
|
|
||||||
allPulldowns
|
allPulldowns
|
||||||
.set("account",Accounts)
|
.set("account",Accounts)
|
||||||
.set("faq",FAQ)
|
.set("help",Help)
|
||||||
.set("files",Files)
|
.set("files",Files)
|
||||||
|
|
||||||
export const pulldownOpen = writable(false);
|
export const pulldownOpen = writable(false);
|
||||||
|
|
|
@ -23,7 +23,7 @@
|
||||||
|
|
||||||
<button class="menuBtn" on:click={() => pulldown.openPulldown("files")}>files</button>
|
<button class="menuBtn" on:click={() => pulldown.openPulldown("files")}>files</button>
|
||||||
<button class="menuBtn" on:click={() => pulldown.openPulldown("account")}>account</button>
|
<button class="menuBtn" on:click={() => pulldown.openPulldown("account")}>account</button>
|
||||||
<button class="menuBtn" on:click={() => pulldown.openPulldown("faq")}>faq</button>
|
<button class="menuBtn" on:click={() => pulldown.openPulldown("help")}>help</button>
|
||||||
|
|
||||||
<div /> <!-- not sure what's offcenter but something is
|
<div /> <!-- not sure what's offcenter but something is
|
||||||
so this div is here to ""fix"" that -->
|
so this div is here to ""fix"" that -->
|
||||||
|
|
|
@ -4,7 +4,13 @@
|
||||||
|
|
||||||
<Pulldown name="accounts">
|
<Pulldown name="accounts">
|
||||||
<div class="notLoggedIn">
|
<div class="notLoggedIn">
|
||||||
<h1>monofile <span style:color="#999999">accounts</span></h1>
|
<div>
|
||||||
<p class="flavor">Gain control of your uploads.</p>
|
<h1>monofile <span style:color="#999999">accounts</span></h1>
|
||||||
|
<p class="flavor">Gain control of your uploads.</p>
|
||||||
|
|
||||||
|
<a class="signUp" href="/signup">Sign up</a>
|
||||||
|
<br />
|
||||||
|
<a class="signIn" href="/login">Log in</a>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</Pulldown>
|
</Pulldown>
|
|
@ -13,7 +13,7 @@
|
||||||
]
|
]
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<Pulldown name="faq">
|
<Pulldown name="help">
|
||||||
{#each faq as question}
|
{#each faq as question}
|
||||||
<div class="faqGroup">
|
<div class="faqGroup">
|
||||||
<h2>{question.question}</h2>
|
<h2>{question.question}</h2>
|
|
@ -8,7 +8,7 @@
|
||||||
<div
|
<div
|
||||||
class="pulldown_display"
|
class="pulldown_display"
|
||||||
name={name}
|
name={name}
|
||||||
transition:fade={{duration:200}}
|
transition:fade={{duration:150}}
|
||||||
>
|
>
|
||||||
<slot />
|
<slot />
|
||||||
</div>
|
</div>
|
Loading…
Reference in a new issue