adjusted columns and margins
This commit is contained in:
parent
f7b669eeab
commit
e27c102c7d
10 changed files with 52 additions and 37 deletions
|
@ -81,6 +81,10 @@ p, h3 {
|
|||
font-size: x-large;
|
||||
}
|
||||
|
||||
.h3--no-bottom {
|
||||
margin-bottom: 0px;
|
||||
}
|
||||
|
||||
.p--no-top {
|
||||
margin-top: 0px;
|
||||
}
|
||||
|
@ -169,7 +173,11 @@ a, a:visited {
|
|||
}
|
||||
|
||||
.row--padded {
|
||||
padding: 2rem;
|
||||
padding: 3rem;
|
||||
}
|
||||
|
||||
.row--margined {
|
||||
margin: 3rem;
|
||||
}
|
||||
|
||||
.row--wide {
|
||||
|
@ -282,7 +290,7 @@ align-content-left {
|
|||
|
||||
.info-message-placeholder {
|
||||
display: flex;
|
||||
height: 3rem;
|
||||
height: 2rem;
|
||||
flex-direction: column;
|
||||
justify-content: flex-end;
|
||||
}
|
||||
|
@ -424,8 +432,8 @@ table {
|
|||
|
||||
/* NAV BAR */
|
||||
|
||||
.nav-bar-title-section, .nav-bar-link-section {
|
||||
padding: 0px 1em 0px 1em;
|
||||
.nav-bar-link-section {
|
||||
padding: 0px;
|
||||
}
|
||||
|
||||
.nav-bar-title-section {
|
||||
|
@ -440,9 +448,12 @@ table {
|
|||
right: 0px;
|
||||
z-index: 1;
|
||||
}
|
||||
.nav-bar-title {
|
||||
padding: 2rem 0px 2rem 0px;
|
||||
}
|
||||
|
||||
.nav-bar-title, .nav-bar-link {
|
||||
padding: 2rem 1rem 2rem 1rem;
|
||||
.nav-bar-link {
|
||||
padding: 2rem 1.5rem 2rem 1.5rem;
|
||||
display: inline-block;
|
||||
color: black;
|
||||
}
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
<div class="row row--tall row--padded flex-container flex-container--column">
|
||||
<div class="row row--tall flex-container flex-container--column">
|
||||
<form>
|
||||
<input class="input-file" type="file" id="siofu_input" name="siofu_input" accept="video/*,image/*" onchange="previewAndStageFile(event.target.files[0])" enctype="multipart/form-data"/>
|
||||
</form>
|
||||
<div id="primary-dropzone" class="dropzone row row--tall flex-container flex-container--column flex-container--center" ondrop="drop_handler(event);" ondragover="dragover_handler(event);" ondragend="dragend_handler(event)" ondragenter="dragenter_handler(event)" ondragleave="dragexit_handler(event)" onclick="triggerFileChooser('siofu_input', event)">
|
||||
<div id="primary-dropzone" class="dropzone row row--margined row--padded row--tall flex-container flex-container--column flex-container--center" ondrop="drop_handler(event);" ondragover="dragover_handler(event);" ondragend="dragend_handler(event)" ondragenter="dragenter_handler(event)" ondragleave="dragexit_handler(event)" onclick="triggerFileChooser('siofu_input', event)">
|
||||
<div id="primary-dropzone-instructions">
|
||||
<div class="info-message-placeholder">
|
||||
<div class="info-message info-message--failure" id="input-error-file-selection" hidden="true"></div>
|
||||
|
@ -18,12 +18,14 @@
|
|||
<div id="publish-form" class="hidden">
|
||||
<div class="column column--10">
|
||||
<!-- title input -->
|
||||
<input type="text" id="publish-title" class="input-text input-text--large input-text--full-width" placeholder="Give your post a title...">
|
||||
</div>
|
||||
<div class="column column--5 column--med-10" >
|
||||
<!-- preview -->
|
||||
<div class="row row--padded row--no-bottom">
|
||||
<div id="asset-preview-holder" class="dropzone" ondrop="drop_handler(event);" ondragover="dragover_handler(event);" ondragend="dragend_handler(event)" onmouseenter="showInstructions()" onmouseleave="hideInstructions()" onclick="triggerFileChooser('siofu_input', event)">
|
||||
<input type="text" id="publish-title" class="input-text input-text--large input-text--full-width" placeholder="Give your post a title...">
|
||||
</div>
|
||||
</div>
|
||||
<div class="column column--6 column--med-10" >
|
||||
<!-- preview -->
|
||||
<div class="row row--margined">
|
||||
<div id="asset-preview-holder" class="dropzone row--margined" ondrop="drop_handler(event);" ondragover="dragover_handler(event);" ondragend="dragend_handler(event)" onmouseenter="showInstructions()" onmouseleave="hideInstructions()" onclick="triggerFileChooser('siofu_input', event)">
|
||||
<div id="asset-preview-target"></div>
|
||||
<div id="preview-dropzone-instructions" class="hidden">
|
||||
<p>Drag & drop image or video here</p>
|
||||
|
@ -32,8 +34,8 @@
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div><div class="column column--5 column--med-10 align-content-top">
|
||||
<div id="publish-active-area">
|
||||
</div><div class="column column--4 column--med-10 align-content-top">
|
||||
<div id="publish-active-area" class="row row--margined">
|
||||
{{> publishForm-Channel}}
|
||||
{{> publishForm-Url}}
|
||||
{{> publishForm-Thumbnail}}
|
||||
|
@ -43,9 +45,11 @@
|
|||
</div>
|
||||
</div>
|
||||
<div id="publish-status" class="hidden">
|
||||
<div id="publish-update" class="row align-content-center"></div>
|
||||
<div id="publish-progress-bar" class="row align-content-center"></div>
|
||||
<div id="upload-percent" class="row align-content-center"></div>
|
||||
<div class="row row--margined">
|
||||
<div id="publish-update" class="row align-content-center"></div>
|
||||
<div id="publish-progress-bar" class="row align-content-center"></div>
|
||||
<div id="upload-percent" class="row align-content-center"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
|
|
@ -5,9 +5,9 @@
|
|||
</div>
|
||||
</div><div class="column column--5 column--med-10 align-content-top">
|
||||
<div class="column column--8 column--med-10">
|
||||
<h3>Log in to an existing channel:</h3>
|
||||
<h3 class="h3--no-bottom">Log in to an existing channel:</h3>
|
||||
{{>channelLoginForm}}
|
||||
<h3>Create a brand new channel:</h3>
|
||||
<h3 class="h3--no-bottom">Create a brand new channel:</h3>
|
||||
{{>channelCreationForm}}
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{{#if fileInfo.description}}
|
||||
<p class="p--no-top">{{fileInfo.description}}</p>
|
||||
<p>{{fileInfo.description}}</p>
|
||||
{{/if}}
|
||||
|
||||
<div class="row row--wide">
|
||||
|
@ -42,14 +42,14 @@
|
|||
<div class="column column--2 column--sml-10">
|
||||
<span class="label">Share:</span>
|
||||
</div><div class="column column--7 column--sml-10">
|
||||
<div class="row row--short row--wide flex-container flex-container--row flex-container--wrap">
|
||||
<a target="_blank" href="https://twitter.com/intent/tweet?text=https://spee.ch/{{fileInfo.shortId}}/{{fileInfo.name}}">twitter</a>
|
||||
<a target="_blank" href="https://www.facebook.com/sharer/sharer.php?u=https://spee.ch/{{fileInfo.shortId}}/{{fileInfo.name}}">facebook</a>
|
||||
<a target="_blank" href="http://tumblr.com/widgets/share/tool?canonicalUrl=https://spee.ch/{{fileInfo.shortId}}/{{fileInfo.name}}">tumblr</a>
|
||||
<a target="_blank" href="https://www.reddit.com/submit?url=https://spee.ch/{{fileInfo.shortId}}/{{fileInfo.name}}&title={{fileInfo.name}}">reddit</a>
|
||||
<div class="row row--short row--wide flex-container flex-container--row flex-container--wrap">
|
||||
<a target="_blank" href="https://twitter.com/intent/tweet?text=https://spee.ch/{{fileInfo.shortId}}/{{fileInfo.name}}">twitter</a>
|
||||
<a target="_blank" href="https://www.facebook.com/sharer/sharer.php?u=https://spee.ch/{{fileInfo.shortId}}/{{fileInfo.name}}">facebook</a>
|
||||
<a target="_blank" href="http://tumblr.com/widgets/share/tool?canonicalUrl=https://spee.ch/{{fileInfo.shortId}}/{{fileInfo.name}}">tumblr</a>
|
||||
<a target="_blank" href="https://www.reddit.com/submit?url=https://spee.ch/{{fileInfo.shortId}}/{{fileInfo.name}}&title={{fileInfo.name}}">reddit</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row row--wide">
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<div class="row row--wide nav-bar">
|
||||
<div class="nav-bar-title-section">
|
||||
<div class="nav-bar-title-section row row--padded row--short">
|
||||
<div class="nav-bar-title">
|
||||
<a href="/"><img class="nav-bar-logo" src="/assets/img/logo.gif" alt="spee.ch"/></a>
|
||||
<span class="nav-bar-title nav-bar-title--tagline">Open-source, decentralized image and video sharing.</span>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<!-- select whether to publish anonymously or in a channel -->
|
||||
<div class="row row--padded row--no-bottom">
|
||||
<div class="row row--padded row--short row--wide">
|
||||
<div class="column column--10">
|
||||
<form>
|
||||
<div class="column column--3 column--sml-10">
|
||||
|
@ -14,7 +14,7 @@
|
|||
</div>
|
||||
|
||||
<div id="channel-select-options" {{#unless user}}hidden="true"{{/unless}}>
|
||||
<div class="row row--padded row--no-top row--no-bottom">
|
||||
<div class="row row--padded row--no-top row--no-bottom row--wide">
|
||||
<!--error display-->
|
||||
<div class="info-message-placeholder">
|
||||
<div id="input-error-channel-select" class="info-message info-message--failure"></div>
|
||||
|
@ -33,11 +33,11 @@
|
|||
</div>
|
||||
</div>
|
||||
<!-- log into an existing channel -->
|
||||
<div id="channel-login-details" class="row row--padded row--short" {{#if user}}hidden="true"{{/if}}>
|
||||
<div id="channel-login-details" class="row row--padded row--short row--wide" {{#if user}}hidden="true"{{/if}}>
|
||||
{{> channelLoginForm}}
|
||||
</div>
|
||||
<!-- create a channel -->
|
||||
<div id="channel-create-details" class="row row--padded row--short" hidden="true">
|
||||
<div id="channel-create-details" class="row row--padded row--short row--wide" hidden="true">
|
||||
{{> channelCreationForm}}
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
<div class="row row--padded row--no-top row--no-bottom">
|
||||
<div class="row row--padded row--no-top row--no-bottom row--wide">
|
||||
<div class="column column--10">
|
||||
<a class="label" id="publish-details-toggle" href="#" onclick="toggleSection(event)" data-open="false" data-openlabel="[less]" data-closedlabel="[more]" data-slaveelementid="publish-details">[more]</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="publish-details" hidden="true" class="row row--padded">
|
||||
<div id="publish-details" hidden="true" class="row row--padded row--wide">
|
||||
|
||||
<!-- description input -->
|
||||
<div class="row row--no-top">
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<div class="row row--padded">
|
||||
<div class="row row--padded row--wide">
|
||||
<div class="input-error" id="input-error-publish-submit" hidden="true"></div>
|
||||
<button id="publish-submit" class="button--primary button--large" onclick="publishStagedFile(event)">Upload</button>
|
||||
</div>
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<div class="row row--padded row--no-top">
|
||||
<div class="row row--padded row--no-top row--wide">
|
||||
<!--error display-->
|
||||
<div class="info-message-placeholder">
|
||||
<div id="input-error-claim-name" class="info-message info-message--failure" hidden="true"></div>
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
</div>
|
||||
</div><div class="column column--5 column--med-10 align-content-top">
|
||||
<!-- details -->
|
||||
<div class="row row--padded">
|
||||
<div class="row">
|
||||
{{> assetInfo}}
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue