Scss #471
65 changed files with 1531 additions and 15 deletions
|
@ -11,7 +11,7 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
|
|||
|
||||
var ActiveStatusBar = function ActiveStatusBar() {
|
||||
return _react.default.createElement("span", {
|
||||
className: "progress-bar progress-bar--active"
|
||||
className: "progress-bar--active"
|
||||
}, "| ");
|
||||
};
|
||||
|
||||
|
|
|
@ -32,14 +32,14 @@ var AssetPreview = function AssetPreview(_ref) {
|
|||
case 'image/png':
|
||||
case 'image/gif':
|
||||
return _react.default.createElement("img", {
|
||||
className: 'asset-preview',
|
||||
className: 'asset-preview-image',
|
||||
src: directSourceLink,
|
||||
alt: name
|
||||
});
|
||||
|
||||
case 'video/mp4':
|
||||
return _react.default.createElement("img", {
|
||||
className: 'asset-preview video',
|
||||
className: 'asset-preview-video',
|
||||
src: thumbnail || defaultThumbnail,
|
||||
alt: name
|
||||
});
|
||||
|
|
|
@ -11,7 +11,7 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
|
|||
|
||||
var InactiveStatusBar = function InactiveStatusBar() {
|
||||
return _react.default.createElement("span", {
|
||||
className: "progress-bar progress-bar--inactive"
|
||||
className: "progress-bar--inactive"
|
||||
}, "| ");
|
||||
};
|
||||
|
||||
|
|
|
@ -102,7 +102,7 @@ function (_React$Component) {
|
|||
return _react.default.createElement("img", {
|
||||
id: "dropzone-preview",
|
||||
src: this.state.imgSource,
|
||||
className: this.props.dimPreview ? 'dim' : '',
|
||||
className: this.props.dimPreview ? 'publish-preview-dim' : '',
|
||||
alt: "publish preview"
|
||||
});
|
||||
}
|
||||
|
|
19
client/build/scss/_align.scss
Normal file
19
client/build/scss/_align.scss
Normal file
|
@ -0,0 +1,19 @@
|
|||
.align-content-left {
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.align-content-center {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.align-content-right {
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.align-content-top {
|
||||
vertical-align: top;
|
||||
}
|
||||
|
||||
.align-content-bottom {
|
||||
vertical-align: bottom;
|
||||
}
|
17
client/build/scss/_body.scss
Normal file
17
client/build/scss/_body.scss
Normal file
|
@ -0,0 +1,17 @@
|
|||
body {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
height: 100%;
|
||||
word-wrap: break-word;
|
||||
}
|
||||
|
||||
|
||||
body {
|
||||
display: -webkit-flex;
|
||||
display: flex;
|
||||
}
|
||||
|
||||
body {
|
||||
-webkit-flex-direction: column;
|
||||
flex-direction: column;
|
||||
}
|
60
client/build/scss/_button.scss
Normal file
60
client/build/scss/_button.scss
Normal file
|
@ -0,0 +1,60 @@
|
|||
button {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.button--primary, .button--primary:focus {
|
||||
border: 1px solid black;
|
||||
padding: 0.5em;
|
||||
margin: 0.5em 0.3em 0.5em 0.3em;
|
||||
color: black;
|
||||
background-color: white;
|
||||
outline: 0px;
|
||||
}
|
||||
|
||||
.button--primary:hover {
|
||||
border: 1px solid #4156C5;
|
||||
color: white;
|
||||
background-color: #4156C5;
|
||||
}
|
||||
|
||||
.button--primary:active{
|
||||
border: 1px solid #ffffff;
|
||||
color: #d0d0d0;
|
||||
background-color: #ffffff;
|
||||
}
|
||||
|
||||
.button--secondary, .button--secondary:focus {
|
||||
border: 0px;
|
||||
border-bottom: 1px solid black;
|
||||
padding: 0.5em;
|
||||
margin: 0.5em 0.3em 0.5em 0.3em;
|
||||
color: black;
|
||||
background-color: white;
|
||||
outline: 0px;
|
||||
}
|
||||
|
||||
.button--secondary:hover {
|
||||
border-bottom: 1px solid #9b9b9b;
|
||||
color: #4156C5;
|
||||
}
|
||||
|
||||
.button--secondary:active {
|
||||
color: #ffffff;;
|
||||
}
|
||||
|
||||
.button--large{
|
||||
margin: 0px;
|
||||
width: calc(100% - 2px);
|
||||
padding: 2rem;
|
||||
font-size: x-large;
|
||||
}
|
||||
|
||||
.button--cancel{
|
||||
border: 0px;
|
||||
background-color: white;
|
||||
color: #9b9b9b;
|
||||
}
|
||||
|
||||
.button--wide {
|
||||
width: 100%;
|
||||
}
|
45
client/build/scss/_column.scss
Normal file
45
client/build/scss/_column.scss
Normal file
|
@ -0,0 +1,45 @@
|
|||
.column {
|
||||
display: inline-block;
|
||||
padding: 0px;
|
||||
margin: 0px;
|
||||
}
|
||||
|
||||
.column--1 {
|
||||
width: 10%;
|
||||
}
|
||||
|
||||
.column--2 {
|
||||
width: 20%;
|
||||
}
|
||||
|
||||
.column--3 {
|
||||
width: 30%;
|
||||
}
|
||||
|
||||
.column--4 {
|
||||
width: 40%;
|
||||
}
|
||||
|
||||
.column--5 {
|
||||
width: 50%;
|
||||
}
|
||||
|
||||
.column--6 {
|
||||
width: 60%;
|
||||
}
|
||||
|
||||
.column--7 {
|
||||
width: 70%;
|
||||
}
|
||||
|
||||
.column--8 {
|
||||
width: 80%;
|
||||
}
|
||||
|
||||
.column--9 {
|
||||
width: 90%;
|
||||
}
|
||||
|
||||
.column--10 {
|
||||
width: 100%;
|
||||
}
|
44
client/build/scss/_flex-container.scss
Normal file
44
client/build/scss/_flex-container.scss
Normal file
|
@ -0,0 +1,44 @@
|
|||
.flex-container--column, .flex-container--row {
|
||||
display: -webkit-flex;
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.flex-container--column {
|
||||
-webkit-flex-direction: column;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.flex-container--row {
|
||||
-webkit-flex-direction: row;
|
||||
flex-direction: row;
|
||||
}
|
||||
|
||||
.flex-container--wrap {
|
||||
-webkit-flex-wrap: wrap;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.flex-container--left-bottom {
|
||||
justify-content: flex-start;
|
||||
align-items: baseline;
|
||||
}
|
||||
|
||||
.flex-container--left-center {
|
||||
justify-content: flex-start;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.flex-container--center-center {
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.flex-container--space-between-bottom {
|
||||
justify-content: space-between;
|
||||
align-items: baseline;
|
||||
}
|
||||
|
||||
.flex-container--space-between-center {
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
}
|
18
client/build/scss/_font.scss
Normal file
18
client/build/scss/_font.scss
Normal file
|
@ -0,0 +1,18 @@
|
|||
@font-face {
|
||||
font-family: 'Lekton';
|
||||
src: url('./font/Lekton/Lekton-Regular.ttf');
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Lekton';
|
||||
src: url('./font/Lekton/Lekton-Bold.ttf');
|
||||
font-weight: bold;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Lekton';
|
||||
src: url('./font/Lekton/Lekton-Italic.ttf');
|
||||
font-weight: normal;
|
||||
font-style: italic;
|
||||
}
|
5
client/build/scss/_html.scss
Normal file
5
client/build/scss/_html.scss
Normal file
|
@ -0,0 +1,5 @@
|
|||
html {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
height: 100%;
|
||||
}
|
15
client/build/scss/_info-message.scss
Normal file
15
client/build/scss/_info-message.scss
Normal file
|
@ -0,0 +1,15 @@
|
|||
.info-message, .info-message--success, .info-message--failure {
|
||||
|
||||
font-size: medium;
|
||||
margin: 0px;
|
||||
padding: 0.3em;
|
||||
color: #9b9b9b;
|
||||
}
|
||||
|
||||
.info-message--success {
|
||||
color: green;
|
||||
}
|
||||
|
||||
.info-message--failure {
|
||||
color: red;
|
||||
}
|
88
client/build/scss/_input.scss
Normal file
88
client/build/scss/_input.scss
Normal file
|
@ -0,0 +1,88 @@
|
|||
input:-webkit-autofill {
|
||||
-webkit-box-shadow: 0 0 0px 1000px white inset;
|
||||
}
|
||||
|
||||
.label, .input-text, .select, .textarea, .text--large {
|
||||
margin: 0px;
|
||||
padding: 0.3em;
|
||||
outline: none;
|
||||
border: 0px;
|
||||
background-color: white;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.input-disabled {
|
||||
border: 1px solid black;
|
||||
padding: 0.5em;
|
||||
margin: 0px;
|
||||
color: black;
|
||||
background-color: white;
|
||||
}
|
||||
|
||||
option {
|
||||
font-family: monospace;
|
||||
}
|
||||
|
||||
|
||||
.input-checkbox {
|
||||
border: 1px solid black;
|
||||
background: white;
|
||||
}
|
||||
|
||||
.input-file {
|
||||
width: 0.1px;
|
||||
height: 0.1px;
|
||||
opacity: 0;
|
||||
overflow: hidden;
|
||||
position: absolute;
|
||||
z-index: -1;
|
||||
}
|
||||
|
||||
.input-radio, .label--pointer {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.select--arrow {
|
||||
-moz-appearance:none;
|
||||
-webkit-appearance: none;
|
||||
background: url('./icon/downArrow.svg') no-repeat right;
|
||||
cursor: pointer;
|
||||
padding-right: 1.5em;
|
||||
}
|
||||
|
||||
.input-text--primary, .select--primary {
|
||||
border-bottom: 1px solid #9b9b9b;
|
||||
}
|
||||
|
||||
.input-text--primary:focus, .select--primary:focus {
|
||||
border-bottom: 1px solid #9b9b9b;
|
||||
}
|
||||
|
||||
.textarea--primary {
|
||||
border-bottom: 1px solid #9b9b9b;
|
||||
}
|
||||
|
||||
.textarea--primary:focus {
|
||||
border-bottom: 1px solid #9b9b9b;
|
||||
}
|
||||
|
||||
.input-text--full-width, .textarea--full-width {
|
||||
width: calc(100% - 0.6em);
|
||||
}
|
||||
|
||||
.input-disabled--full-width {
|
||||
width: calc(100% - 1em - 2px);
|
||||
}
|
||||
|
||||
.url-text--primary, .url-text--secondary {
|
||||
margin:0px;
|
||||
padding:0px;
|
||||
}
|
||||
|
||||
.url-text--primary {
|
||||
color: black;
|
||||
}
|
||||
|
||||
.url-text--secondary {
|
||||
color: #9b9b9b;
|
||||
}
|
35
client/build/scss/_link.scss
Normal file
35
client/build/scss/_link.scss
Normal file
|
@ -0,0 +1,35 @@
|
|||
/* LINKS */
|
||||
|
||||
a, a:visited {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.link--primary, .link--primary:visited {
|
||||
color: #4156C5;
|
||||
}
|
||||
|
||||
.link--secondary, .link--secondary:visited {
|
||||
font-size: medium;
|
||||
margin: 0px;
|
||||
padding: 0.3em;
|
||||
color: #9b9b9b;
|
||||
}
|
||||
|
||||
.link--disabled-text {
|
||||
color: #9b9b9b;
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
.link--nav {
|
||||
color: black;
|
||||
border-bottom: 2px solid white;
|
||||
}
|
||||
|
||||
.link--nav:hover {
|
||||
color: #4156C5;
|
||||
}
|
||||
|
||||
.link--nav-active {
|
||||
color: #4156C5;
|
||||
border-bottom: 2px solid #4156C5;
|
||||
}
|
38
client/build/scss/_row.scss
Normal file
38
client/build/scss/_row.scss
Normal file
|
@ -0,0 +1,38 @@
|
|||
.row {
|
||||
clear: both;
|
||||
margin: 0px;
|
||||
}
|
||||
|
||||
.row--padded {
|
||||
padding: 3rem;
|
||||
}
|
||||
|
||||
.row--margined {
|
||||
margin: 3rem;
|
||||
}
|
||||
|
||||
.row--wide {
|
||||
padding-right: 0px;
|
||||
padding-left: 0px;
|
||||
}
|
||||
|
||||
.row--short {
|
||||
padding-top: 0px;
|
||||
padding-bottom: 0px;
|
||||
}
|
||||
|
||||
.row--tall {
|
||||
flex: 1 0 auto;
|
||||
}
|
||||
|
||||
.row--no-top {
|
||||
padding-top: 0px;
|
||||
}
|
||||
|
||||
.row--no-bottom {
|
||||
padding-bottom: 0px;
|
||||
}
|
||||
|
||||
.row--no-right {
|
||||
padding-right: 0px;
|
||||
}
|
39
client/build/scss/_text.scss
Normal file
39
client/build/scss/_text.scss
Normal file
|
@ -0,0 +1,39 @@
|
|||
body, button, input, textarea, label, select, option, #channel-publish-in-progress > p, #channel-publish-done > p {
|
||||
font-family: 'Lekton', monospace;
|
||||
font-size: large;
|
||||
}
|
||||
|
||||
h3, p {
|
||||
|
||||
font-size: x-large;
|
||||
}
|
||||
|
||||
.text--large {
|
||||
font-size: 2rem;
|
||||
}
|
||||
|
||||
.text--disabled {
|
||||
color: #9b9b9b;
|
||||
}
|
||||
|
||||
.pull-quote {
|
||||
font-size: 3rem;
|
||||
margin-top: 1rem;
|
||||
}
|
||||
|
||||
.fine-print {
|
||||
font-size: small;
|
||||
}
|
||||
|
||||
#show-body > .fine-print {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.blue {
|
||||
color: #4156C5;
|
||||
}
|
||||
|
||||
.blue--underlined {
|
||||
color: #4156C5;
|
||||
text-decoration: underline;
|
||||
}
|
34
client/build/scss/_tooltip.scss
Normal file
34
client/build/scss/_tooltip.scss
Normal file
|
@ -0,0 +1,34 @@
|
|||
/* Tooltip container */
|
||||
.tooltip {
|
||||
position: relative;
|
||||
}
|
||||
/* Tooltip text */
|
||||
.tooltip > .tooltip-text {
|
||||
visibility: hidden;
|
||||
width: 15em;
|
||||
background-color: #9b9b9b;
|
||||
color: #fff;
|
||||
text-align: center;
|
||||
padding: 0.5em;
|
||||
/* Position the tooltip text */
|
||||
position: absolute;
|
||||
z-index: 1;
|
||||
bottom: 110%;
|
||||
left: 50%;
|
||||
margin-left: -8em; /* Use half of the width (120/2 = 60), to center the tooltip */
|
||||
}
|
||||
/* Show the tooltip text when you mouse over the tooltip container */
|
||||
.tooltip:hover > .tooltip-text {
|
||||
visibility: visible;
|
||||
}
|
||||
/* arrow at bottom of tooltip text */
|
||||
.tooltip > .tooltip-text::after {
|
||||
content: " ";
|
||||
position: absolute;
|
||||
top: 100%;
|
||||
left: 50%;
|
||||
margin-left: -5px;
|
||||
border-width: 5px;
|
||||
border-style: solid;
|
||||
border-color: #9b9b9b transparent transparent transparent;
|
||||
}
|
13
client/build/scss/all.scss
Normal file
13
client/build/scss/all.scss
Normal file
|
@ -0,0 +1,13 @@
|
|||
@import '_font';
|
||||
@import '_html';
|
||||
@import '_body';
|
||||
@import '_text';
|
||||
@import '_flex-container';
|
||||
@import '_tooltip';
|
||||
@import '_link';
|
||||
@import '_row';
|
||||
@import '_column';
|
||||
@import '_info-message';
|
||||
@import '_input';
|
||||
@import '_button';
|
||||
@import 'containers/_nav-bar.scss';
|
28
client/build/scss/containers/_dropzone.scss
Normal file
28
client/build/scss/containers/_dropzone.scss
Normal file
|
@ -0,0 +1,28 @@
|
|||
.dropzone, .dropzone--disabled {
|
||||
border: 2px dashed #9b9b9b;
|
||||
text-align: center;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.dropzone:hover, .dropzone--drag-over {
|
||||
border: 2px dashed #4156C5;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
#dropzone-text-holder {
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
#dropzone-dragover, #dropzone-instructions {
|
||||
padding: 1em;
|
||||
}
|
||||
|
||||
#dropzone-preview {
|
||||
display: block;
|
||||
width: 100%;
|
||||
}
|
||||
|
20
client/build/scss/containers/_nav-bar.scss
Normal file
20
client/build/scss/containers/_nav-bar.scss
Normal file
|
@ -0,0 +1,20 @@
|
|||
.nav-bar {
|
||||
border-bottom: 0.5px solid #cacaca;
|
||||
}
|
||||
|
||||
.nav-bar--left {
|
||||
align-self: center;
|
||||
}
|
||||
|
||||
.nav-bar-tagline {
|
||||
font-size: small;
|
||||
}
|
||||
|
||||
.nav-bar-link {
|
||||
padding: 1.5rem;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.nav-bar-logo {
|
||||
cursor: pointer;
|
||||
}
|
BIN
client/build/scss/font/Lekton/Lekton-Bold.ttf
Normal file
BIN
client/build/scss/font/Lekton/Lekton-Bold.ttf
Normal file
Binary file not shown.
BIN
client/build/scss/font/Lekton/Lekton-Italic.ttf
Normal file
BIN
client/build/scss/font/Lekton/Lekton-Italic.ttf
Normal file
Binary file not shown.
BIN
client/build/scss/font/Lekton/Lekton-Regular.ttf
Normal file
BIN
client/build/scss/font/Lekton/Lekton-Regular.ttf
Normal file
Binary file not shown.
93
client/build/scss/font/Lekton/OFL.txt
Normal file
93
client/build/scss/font/Lekton/OFL.txt
Normal file
|
@ -0,0 +1,93 @@
|
|||
Copyright (c) 2008-2010, Isia Urbino (http://www.isiaurbino.net)
|
||||
|
||||
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
||||
This license is copied below, and is also available with a FAQ at:
|
||||
http://scripts.sil.org/OFL
|
||||
|
||||
|
||||
-----------------------------------------------------------
|
||||
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
||||
-----------------------------------------------------------
|
||||
|
||||
PREAMBLE
|
||||
The goals of the Open Font License (OFL) are to stimulate worldwide
|
||||
development of collaborative font projects, to support the font creation
|
||||
efforts of academic and linguistic communities, and to provide a free and
|
||||
open framework in which fonts may be shared and improved in partnership
|
||||
with others.
|
||||
|
||||
The OFL allows the licensed fonts to be used, studied, modified and
|
||||
redistributed freely as long as they are not sold by themselves. The
|
||||
fonts, including any derivative works, can be bundled, embedded,
|
||||
redistributed and/or sold with any software provided that any reserved
|
||||
names are not used by derivative works. The fonts and derivatives,
|
||||
however, cannot be released under any other type of license. The
|
||||
requirement for fonts to remain under this license does not apply
|
||||
to any document created using the fonts or their derivatives.
|
||||
|
||||
DEFINITIONS
|
||||
"Font Software" refers to the set of files released by the Copyright
|
||||
Holder(s) under this license and clearly marked as such. This may
|
||||
include source files, build scripts and documentation.
|
||||
|
||||
"Reserved Font Name" refers to any names specified as such after the
|
||||
copyright statement(s).
|
||||
|
||||
"Original Version" refers to the collection of Font Software components as
|
||||
distributed by the Copyright Holder(s).
|
||||
|
||||
"Modified Version" refers to any derivative made by adding to, deleting,
|
||||
or substituting -- in part or in whole -- any of the components of the
|
||||
Original Version, by changing formats or by porting the Font Software to a
|
||||
new environment.
|
||||
|
||||
"Author" refers to any designer, engineer, programmer, technical
|
||||
writer or other person who contributed to the Font Software.
|
||||
|
||||
PERMISSION & CONDITIONS
|
||||
Permission is hereby granted, free of charge, to any person obtaining
|
||||
a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
||||
redistribute, and sell modified and unmodified copies of the Font
|
||||
Software, subject to the following conditions:
|
||||
|
||||
1) Neither the Font Software nor any of its individual components,
|
||||
in Original or Modified Versions, may be sold by itself.
|
||||
|
||||
2) Original or Modified Versions of the Font Software may be bundled,
|
||||
redistributed and/or sold with any software, provided that each copy
|
||||
contains the above copyright notice and this license. These can be
|
||||
included either as stand-alone text files, human-readable headers or
|
||||
in the appropriate machine-readable metadata fields within text or
|
||||
binary files as long as those fields can be easily viewed by the user.
|
||||
|
||||
3) No Modified Version of the Font Software may use the Reserved Font
|
||||
Name(s) unless explicit written permission is granted by the corresponding
|
||||
Copyright Holder. This restriction only applies to the primary font name as
|
||||
presented to the users.
|
||||
|
||||
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
||||
Software shall not be used to promote, endorse or advertise any
|
||||
Modified Version, except to acknowledge the contribution(s) of the
|
||||
Copyright Holder(s) and the Author(s) or with their explicit written
|
||||
permission.
|
||||
|
||||
5) The Font Software, modified or unmodified, in part or in whole,
|
||||
must be distributed entirely under this license, and must not be
|
||||
distributed under any other license. The requirement for fonts to
|
||||
remain under this license does not apply to any document created
|
||||
using the Font Software.
|
||||
|
||||
TERMINATION
|
||||
This license becomes null and void if any of the above conditions are
|
||||
not met.
|
||||
|
||||
DISCLAIMER
|
||||
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
||||
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
||||
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
||||
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
||||
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
||||
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
||||
OTHER DEALINGS IN THE FONT SOFTWARE.
|
16
client/build/scss/icon/downArrow.svg
Normal file
16
client/build/scss/icon/downArrow.svg
Normal file
|
@ -0,0 +1,16 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg width="12px" height="5px" viewBox="0 0 12 5" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<!-- Generator: Sketch 47 (45396) - http://www.bohemiancoding.com/sketch -->
|
||||
<title>Shape</title>
|
||||
<desc>Created with Sketch.</desc>
|
||||
<defs></defs>
|
||||
<g id="Symbols" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round">
|
||||
<g id="Nav-(Upload)" transform="translate(-993.000000, -29.000000)" stroke-width="0.8" stroke="#2F2F2F">
|
||||
<g id="Group-13">
|
||||
<g id="chevron-down" transform="translate(994.000000, 29.000000)">
|
||||
<polyline id="Shape" points="0 0 5 5 10 0"></polyline>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 858 B |
15
client/build/scss/icon/search.svg
Normal file
15
client/build/scss/icon/search.svg
Normal file
|
@ -0,0 +1,15 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg width="23px" height="22px" viewBox="0 0 23 22" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<!-- Generator: Sketch 47 (45396) - http://www.bohemiancoding.com/sketch -->
|
||||
<title>Fill 5114 + Fill 5115 + Fill 5116</title>
|
||||
<desc>Created with Sketch.</desc>
|
||||
<defs></defs>
|
||||
<g id="Explore" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
||||
<g transform="translate(-59.000000, -113.000000)" id="Fill-5114-+-Fill-5115-+-Fill-5116" fill="#9B9B9B">
|
||||
<g transform="translate(59.000000, 113.000000)">
|
||||
<path d="M14.1990756,0.96478816 C9.91555556,0.96478816 6.43018667,4.37190137 6.43018667,8.56379458 C6.43018667,12.7564878 9.91555556,16.163601 14.1990756,16.163601 C18.4834133,16.163601 21.9679644,12.7564878 21.9679644,8.56379458 C21.9679644,4.37190137 18.4834133,0.96478816 14.1990756,0.96478816 L14.1990756,0.96478816 Z M14.1990756,16.9635806 C9.46414222,16.9635806 5.61240889,13.1964766 5.61240889,8.56379458 C5.61240889,3.93191257 9.46414222,0.164008559 14.1990756,0.164008559 C18.9331911,0.164008559 22.7857422,3.93191257 22.7857422,8.56379458 C22.7857422,13.1964766 18.9331911,16.9635806 14.1990756,16.9635806 L14.1990756,16.9635806 Z" id="Fill-5114"></path>
|
||||
<path d="M0.910186667,21.9642532 C0.805511111,21.9642532 0.700835556,21.9242542 0.621511111,21.8442563 C0.461226667,21.6922601 0.461226667,21.4354667 0.621511111,21.2834706 L8.12789333,13.9404576 C8.28817778,13.7804617 8.54659556,13.7804617 8.70606222,13.9404576 C8.86634667,14.0916538 8.86634667,14.3476472 8.70606222,14.4996434 L1.19968,21.8442563 C1.11953778,21.9242542 1.01486222,21.9642532 0.910186667,21.9642532" id="Fill-5115"></path>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 1.8 KiB |
22
client/build/scss/icon/upload.svg
Normal file
22
client/build/scss/icon/upload.svg
Normal file
|
@ -0,0 +1,22 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg width="20px" height="22px" viewBox="0 0 20 22" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<!-- Generator: Sketch 47 (45396) - http://www.bohemiancoding.com/sketch -->
|
||||
<title>upload</title>
|
||||
<desc>Created with Sketch.</desc>
|
||||
<defs></defs>
|
||||
<g id="Symbols" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round">
|
||||
<g id="Nav-(Profile)" transform="translate(-620.000000, -20.000000)" stroke="#000000">
|
||||
<g id="Group-13">
|
||||
<g id="Group-12">
|
||||
<g id="Group-8" transform="translate(621.000000, 21.000000)">
|
||||
<g id="upload">
|
||||
<path d="M0,15 L0,18 C0,19.1045695 0.8954305,20 2,20 L16,20 C17.1045695,20 18,19.1045695 18,18 L18,15" id="Shape"></path>
|
||||
<polyline id="Shape" points="13 4 9 0 5 4"></polyline>
|
||||
<path d="M9,0 L9,14" id="Shape"></path>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 1.2 KiB |
|
@ -1,7 +1,7 @@
|
|||
import React from 'react';
|
||||
|
||||
const ActiveStatusBar = () => {
|
||||
return <span className='progress-bar progress-bar--active'>| </span>;
|
||||
return <span className='progress-bar--active'>| </span>;
|
||||
};
|
||||
|
||||
export default ActiveStatusBar;
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
import React from 'react';
|
||||
|
||||
const InactiveStatusBar = () => {
|
||||
return <span className='progress-bar progress-bar--inactive'>| </span>;
|
||||
return <span className='progress-bar--inactive'>| </span>;
|
||||
};
|
||||
|
||||
export default InactiveStatusBar;
|
||||
|
|
|
@ -46,7 +46,7 @@ class PublishPreview extends React.Component {
|
|||
<img
|
||||
id='dropzone-preview'
|
||||
src={this.state.imgSource}
|
||||
className={this.props.dimPreview ? 'dim' : ''}
|
||||
className={this.props.dimPreview ? 'publish-preview-dim' : ''}
|
||||
alt='publish preview'
|
||||
/>
|
||||
);
|
||||
|
|
|
@ -5,7 +5,7 @@ const AssetPreview = ({ defaultThumbnail, claimData: { name, claimId, fileExt, c
|
|||
const directSourceLink = `${claimId}/${name}.${fileExt}`;
|
||||
const showUrlLink = `/${claimId}/${name}`;
|
||||
return (
|
||||
<div className='asset-holder'>
|
||||
<div className='asset-preview-holder'>
|
||||
<Link to={showUrlLink} >
|
||||
{(() => {
|
||||
switch (contentType) {
|
||||
|
@ -15,7 +15,7 @@ const AssetPreview = ({ defaultThumbnail, claimData: { name, claimId, fileExt, c
|
|||
case 'image/gif':
|
||||
return (
|
||||
<img
|
||||
className={'asset-preview'}
|
||||
className={'asset-preview-image'}
|
||||
src={directSourceLink}
|
||||
alt={name}
|
||||
/>
|
||||
|
@ -23,7 +23,7 @@ const AssetPreview = ({ defaultThumbnail, claimData: { name, claimId, fileExt, c
|
|||
case 'video/mp4':
|
||||
return (
|
||||
<img
|
||||
className={'asset-preview video'}
|
||||
className={'asset-preview-video'}
|
||||
src={thumbnail || defaultThumbnail}
|
||||
alt={name}
|
||||
/>
|
19
client/src/scss/_align.scss
Normal file
19
client/src/scss/_align.scss
Normal file
|
@ -0,0 +1,19 @@
|
|||
.align-content-left {
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.align-content-center {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.align-content-right {
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.align-content-top {
|
||||
vertical-align: top;
|
||||
}
|
||||
|
||||
.align-content-bottom {
|
||||
vertical-align: bottom;
|
||||
}
|
17
client/src/scss/_body.scss
Normal file
17
client/src/scss/_body.scss
Normal file
|
@ -0,0 +1,17 @@
|
|||
body {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
height: 100%;
|
||||
word-wrap: break-word;
|
||||
}
|
||||
|
||||
|
||||
body {
|
||||
display: -webkit-flex;
|
||||
display: flex;
|
||||
}
|
||||
|
||||
body {
|
||||
-webkit-flex-direction: column;
|
||||
flex-direction: column;
|
||||
}
|
60
client/src/scss/_button.scss
Normal file
60
client/src/scss/_button.scss
Normal file
|
@ -0,0 +1,60 @@
|
|||
button {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.button--primary, .button--primary:focus {
|
||||
border: 1px solid black;
|
||||
padding: 0.5em;
|
||||
margin: 0.5em 0.3em 0.5em 0.3em;
|
||||
color: black;
|
||||
background-color: white;
|
||||
outline: 0px;
|
||||
}
|
||||
|
||||
.button--primary:hover {
|
||||
border: 1px solid #4156C5;
|
||||
color: white;
|
||||
background-color: #4156C5;
|
||||
}
|
||||
|
||||
.button--primary:active{
|
||||
border: 1px solid #ffffff;
|
||||
color: #d0d0d0;
|
||||
background-color: #ffffff;
|
||||
}
|
||||
|
||||
.button--secondary, .button--secondary:focus {
|
||||
border: 0px;
|
||||
border-bottom: 1px solid black;
|
||||
padding: 0.5em;
|
||||
margin: 0.5em 0.3em 0.5em 0.3em;
|
||||
color: black;
|
||||
background-color: white;
|
||||
outline: 0px;
|
||||
}
|
||||
|
||||
.button--secondary:hover {
|
||||
border-bottom: 1px solid #9b9b9b;
|
||||
color: #4156C5;
|
||||
}
|
||||
|
||||
.button--secondary:active {
|
||||
color: #ffffff;;
|
||||
}
|
||||
|
||||
.button--large{
|
||||
margin: 0px;
|
||||
width: calc(100% - 2px);
|
||||
padding: 2rem;
|
||||
font-size: x-large;
|
||||
}
|
||||
|
||||
.button--cancel{
|
||||
border: 0px;
|
||||
background-color: white;
|
||||
color: #9b9b9b;
|
||||
}
|
||||
|
||||
.button--wide {
|
||||
width: 100%;
|
||||
}
|
45
client/src/scss/_column.scss
Normal file
45
client/src/scss/_column.scss
Normal file
|
@ -0,0 +1,45 @@
|
|||
.column {
|
||||
display: inline-block;
|
||||
padding: 0px;
|
||||
margin: 0px;
|
||||
}
|
||||
|
||||
.column--1 {
|
||||
width: 10%;
|
||||
}
|
||||
|
||||
.column--2 {
|
||||
width: 20%;
|
||||
}
|
||||
|
||||
.column--3 {
|
||||
width: 30%;
|
||||
}
|
||||
|
||||
.column--4 {
|
||||
width: 40%;
|
||||
}
|
||||
|
||||
.column--5 {
|
||||
width: 50%;
|
||||
}
|
||||
|
||||
.column--6 {
|
||||
width: 60%;
|
||||
}
|
||||
|
||||
.column--7 {
|
||||
width: 70%;
|
||||
}
|
||||
|
||||
.column--8 {
|
||||
width: 80%;
|
||||
}
|
||||
|
||||
.column--9 {
|
||||
width: 90%;
|
||||
}
|
||||
|
||||
.column--10 {
|
||||
width: 100%;
|
||||
}
|
44
client/src/scss/_flex-container.scss
Normal file
44
client/src/scss/_flex-container.scss
Normal file
|
@ -0,0 +1,44 @@
|
|||
.flex-container--column, .flex-container--row {
|
||||
display: -webkit-flex;
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.flex-container--column {
|
||||
-webkit-flex-direction: column;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.flex-container--row {
|
||||
-webkit-flex-direction: row;
|
||||
flex-direction: row;
|
||||
}
|
||||
|
||||
.flex-container--wrap {
|
||||
-webkit-flex-wrap: wrap;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.flex-container--left-bottom {
|
||||
justify-content: flex-start;
|
||||
align-items: baseline;
|
||||
}
|
||||
|
||||
.flex-container--left-center {
|
||||
justify-content: flex-start;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.flex-container--center-center {
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.flex-container--space-between-bottom {
|
||||
justify-content: space-between;
|
||||
align-items: baseline;
|
||||
}
|
||||
|
||||
.flex-container--space-between-center {
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
}
|
18
client/src/scss/_font.scss
Normal file
18
client/src/scss/_font.scss
Normal file
|
@ -0,0 +1,18 @@
|
|||
@font-face {
|
||||
font-family: 'Lekton';
|
||||
src: url('./font/Lekton/Lekton-Regular.ttf');
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Lekton';
|
||||
src: url('./font/Lekton/Lekton-Bold.ttf');
|
||||
font-weight: bold;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Lekton';
|
||||
src: url('./font/Lekton/Lekton-Italic.ttf');
|
||||
font-weight: normal;
|
||||
font-style: italic;
|
||||
}
|
5
client/src/scss/_html.scss
Normal file
5
client/src/scss/_html.scss
Normal file
|
@ -0,0 +1,5 @@
|
|||
html {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
height: 100%;
|
||||
}
|
15
client/src/scss/_info-message.scss
Normal file
15
client/src/scss/_info-message.scss
Normal file
|
@ -0,0 +1,15 @@
|
|||
.info-message, .info-message--success, .info-message--failure {
|
||||
|
||||
font-size: medium;
|
||||
margin: 0px;
|
||||
padding: 0.3em;
|
||||
color: #9b9b9b;
|
||||
}
|
||||
|
||||
.info-message--success {
|
||||
color: green;
|
||||
}
|
||||
|
||||
.info-message--failure {
|
||||
color: red;
|
||||
}
|
92
client/src/scss/_input.scss
Normal file
92
client/src/scss/_input.scss
Normal file
|
@ -0,0 +1,92 @@
|
|||
input:-webkit-autofill {
|
||||
-webkit-box-shadow: 0 0 0px 1000px white inset;
|
||||
}
|
||||
|
||||
.label, .input-text, .select, .textarea, .text--large {
|
||||
margin: 0px;
|
||||
padding: 0.3em;
|
||||
outline: none;
|
||||
border: 0px;
|
||||
background-color: white;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.input-disabled {
|
||||
border: 1px solid black;
|
||||
padding: 0.5em;
|
||||
margin: 0px;
|
||||
color: black;
|
||||
background-color: white;
|
||||
}
|
||||
|
||||
option {
|
||||
font-family: monospace;
|
||||
}
|
||||
|
||||
|
||||
.input-checkbox {
|
||||
border: 1px solid black;
|
||||
background: white;
|
||||
}
|
||||
|
||||
.input-file {
|
||||
width: 0.1px;
|
||||
height: 0.1px;
|
||||
opacity: 0;
|
||||
overflow: hidden;
|
||||
position: absolute;
|
||||
z-index: -1;
|
||||
}
|
||||
|
||||
.input-radio, .label--pointer {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.select--arrow {
|
||||
-moz-appearance:none;
|
||||
-webkit-appearance: none;
|
||||
background: url('./icon/downArrow.svg') no-repeat right;
|
||||
cursor: pointer;
|
||||
padding-right: 1.5em;
|
||||
}
|
||||
|
||||
.input-text--primary, .select--primary {
|
||||
border-bottom: 1px solid #9b9b9b;
|
||||
}
|
||||
|
||||
.input-text--primary:focus, .select--primary:focus {
|
||||
border-bottom: 1px solid #9b9b9b;
|
||||
}
|
||||
|
||||
.textarea--primary {
|
||||
border-bottom: 1px solid #9b9b9b;
|
||||
}
|
||||
|
||||
.textarea--primary:focus {
|
||||
border-bottom: 1px solid #9b9b9b;
|
||||
}
|
||||
|
||||
.input-text--full-width, .textarea--full-width {
|
||||
width: calc(100% - 0.6em);
|
||||
}
|
||||
|
||||
.input-disabled--full-width {
|
||||
width: calc(100% - 1em - 2px);
|
||||
}
|
||||
|
||||
.url-text--primary, .url-text--secondary {
|
||||
margin:0px;
|
||||
padding:0px;
|
||||
}
|
||||
|
||||
.url-text--primary {
|
||||
color: black;
|
||||
}
|
||||
|
||||
.url-text--secondary {
|
||||
color: #9b9b9b;
|
||||
}
|
||||
|
||||
.slider {
|
||||
width: 100%
|
||||
}
|
35
client/src/scss/_link.scss
Normal file
35
client/src/scss/_link.scss
Normal file
|
@ -0,0 +1,35 @@
|
|||
/* LINKS */
|
||||
|
||||
a, a:visited {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.link--primary, .link--primary:visited {
|
||||
color: #4156C5;
|
||||
}
|
||||
|
||||
.link--secondary, .link--secondary:visited {
|
||||
font-size: medium;
|
||||
margin: 0px;
|
||||
padding: 0.3em;
|
||||
color: #9b9b9b;
|
||||
}
|
||||
|
||||
.link--disabled-text {
|
||||
color: #9b9b9b;
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
.link--nav {
|
||||
color: black;
|
||||
border-bottom: 2px solid white;
|
||||
}
|
||||
|
||||
.link--nav:hover {
|
||||
color: #4156C5;
|
||||
}
|
||||
|
||||
.link--nav-active {
|
||||
color: #4156C5;
|
||||
border-bottom: 2px solid #4156C5;
|
||||
}
|
100
client/src/scss/_media-queries.scss
Normal file
100
client/src/scss/_media-queries.scss
Normal file
|
@ -0,0 +1,100 @@
|
|||
@media (max-width: 1120px) {
|
||||
|
||||
.nav-bar--center {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.column--med-10 {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@media (max-width: 800px ) {
|
||||
|
||||
body, button, input, textarea, label, select, option, p, h3 {
|
||||
font-size: medium;
|
||||
}
|
||||
|
||||
.pull-quote {
|
||||
font-size: 1.5rem;
|
||||
}
|
||||
|
||||
.column--sml-10 {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.nav-bar-logo {
|
||||
height: 1rem;
|
||||
}
|
||||
|
||||
.link--nav, .link--nav-active {
|
||||
padding: 1rem 0.5rem 1rem 0.5rem;
|
||||
}
|
||||
|
||||
.select--arrow {
|
||||
padding-right: 1.5em;
|
||||
}
|
||||
|
||||
#showlite-body #asset-display-component {
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
#showlite-body #asset-status {
|
||||
padding: 2em;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@media (max-width: 500px) {
|
||||
|
||||
.nav-bar-logo {
|
||||
height: 1rem;
|
||||
}
|
||||
|
||||
.row--padded {
|
||||
padding: 1rem;
|
||||
}
|
||||
|
||||
.row--short {
|
||||
padding-top: 0px;
|
||||
padding-bottom: 0px;
|
||||
}
|
||||
|
||||
.row--margined {
|
||||
margin: 1rem;
|
||||
}
|
||||
|
||||
body, button, input, textarea, label, select, option, p, h3, .fine-print {
|
||||
font-size: small;
|
||||
}
|
||||
|
||||
.pull-quote, .text--large, .button--large {
|
||||
font-size: medium;
|
||||
}
|
||||
|
||||
.grid-item {
|
||||
width: calc(100% - 2em);
|
||||
float: none;
|
||||
padding: 1em;
|
||||
margin: 0px;
|
||||
}
|
||||
|
||||
.info-message--success, .info-message--failure {
|
||||
font-size: small;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
@media (max-width: 360px) {
|
||||
|
||||
body, button, input, textarea, label, select, option, p, h3, .fine-print {
|
||||
font-size: x-small;
|
||||
}
|
||||
|
||||
.pull-quote, .text--large, .button--large {
|
||||
font-size: small;
|
||||
}
|
||||
|
||||
}
|
0
client/src/scss/_reset.scss
Normal file
0
client/src/scss/_reset.scss
Normal file
38
client/src/scss/_row.scss
Normal file
38
client/src/scss/_row.scss
Normal file
|
@ -0,0 +1,38 @@
|
|||
.row {
|
||||
clear: both;
|
||||
margin: 0px;
|
||||
}
|
||||
|
||||
.row--padded {
|
||||
padding: 3rem;
|
||||
}
|
||||
|
||||
.row--margined {
|
||||
margin: 3rem;
|
||||
}
|
||||
|
||||
.row--wide {
|
||||
padding-right: 0px;
|
||||
padding-left: 0px;
|
||||
}
|
||||
|
||||
.row--short {
|
||||
padding-top: 0px;
|
||||
padding-bottom: 0px;
|
||||
}
|
||||
|
||||
.row--tall {
|
||||
flex: 1 0 auto;
|
||||
}
|
||||
|
||||
.row--no-top {
|
||||
padding-top: 0px;
|
||||
}
|
||||
|
||||
.row--no-bottom {
|
||||
padding-bottom: 0px;
|
||||
}
|
||||
|
||||
.row--no-right {
|
||||
padding-right: 0px;
|
||||
}
|
9
client/src/scss/_span.scss
Normal file
9
client/src/scss/_span.scss
Normal file
|
@ -0,0 +1,9 @@
|
|||
.span--relative {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.span--absolute {
|
||||
position: absolute;
|
||||
bottom: 0px;
|
||||
right: 0px;
|
||||
}
|
39
client/src/scss/_text.scss
Normal file
39
client/src/scss/_text.scss
Normal file
|
@ -0,0 +1,39 @@
|
|||
body, button, input, textarea, label, select, option, #channel-publish-in-progress > p, #channel-publish-done > p {
|
||||
font-family: 'Lekton', monospace;
|
||||
font-size: large;
|
||||
}
|
||||
|
||||
h3, p {
|
||||
|
||||
font-size: x-large;
|
||||
}
|
||||
|
||||
.text--large {
|
||||
font-size: 2rem;
|
||||
}
|
||||
|
||||
.text--disabled {
|
||||
color: #9b9b9b;
|
||||
}
|
||||
|
||||
.pull-quote {
|
||||
font-size: 3rem;
|
||||
margin-top: 1rem;
|
||||
}
|
||||
|
||||
.fine-print {
|
||||
font-size: small;
|
||||
}
|
||||
|
||||
#show-body > .fine-print {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.blue {
|
||||
color: #4156C5;
|
||||
}
|
||||
|
||||
.blue--underlined {
|
||||
color: #4156C5;
|
||||
text-decoration: underline;
|
||||
}
|
34
client/src/scss/_tooltip.scss
Normal file
34
client/src/scss/_tooltip.scss
Normal file
|
@ -0,0 +1,34 @@
|
|||
/* Tooltip container */
|
||||
.tooltip {
|
||||
position: relative;
|
||||
}
|
||||
/* Tooltip text */
|
||||
.tooltip > .tooltip-text {
|
||||
visibility: hidden;
|
||||
width: 15em;
|
||||
background-color: #9b9b9b;
|
||||
color: #fff;
|
||||
text-align: center;
|
||||
padding: 0.5em;
|
||||
/* Position the tooltip text */
|
||||
position: absolute;
|
||||
z-index: 1;
|
||||
bottom: 110%;
|
||||
left: 50%;
|
||||
margin-left: -8em; /* Use half of the width (120/2 = 60), to center the tooltip */
|
||||
}
|
||||
/* Show the tooltip text when you mouse over the tooltip container */
|
||||
.tooltip:hover > .tooltip-text {
|
||||
visibility: visible;
|
||||
}
|
||||
/* arrow at bottom of tooltip text */
|
||||
.tooltip > .tooltip-text::after {
|
||||
content: " ";
|
||||
position: absolute;
|
||||
top: 100%;
|
||||
left: 50%;
|
||||
margin-left: -5px;
|
||||
border-width: 5px;
|
||||
border-style: solid;
|
||||
border-color: #9b9b9b transparent transparent transparent;
|
||||
}
|
12
client/src/scss/_video.scss
Normal file
12
client/src/scss/_video.scss
Normal file
|
@ -0,0 +1,12 @@
|
|||
video:-moz-full-screen {
|
||||
border:none;
|
||||
padding:0;
|
||||
}
|
||||
video:-webkit-full-screen {
|
||||
border:none;
|
||||
padding:0;
|
||||
}
|
||||
video:fullscreen {
|
||||
border:none;
|
||||
padding:0;
|
||||
}
|
24
client/src/scss/all.scss
Normal file
24
client/src/scss/all.scss
Normal file
|
@ -0,0 +1,24 @@
|
|||
@import '_reset';
|
||||
@import '_font';
|
||||
@import '_html';
|
||||
@import '_body';
|
||||
@import '_text';
|
||||
@import '_flex-container';
|
||||
@import '_tooltip';
|
||||
@import '_link';
|
||||
@import '_row';
|
||||
@import '_column';
|
||||
@import '_info-message';
|
||||
@import '_input';
|
||||
@import '_button';
|
||||
@import '_span';
|
||||
@import '_video';
|
||||
@import 'containers/_nav-bar.scss';
|
||||
@import 'containers/_dropzone.scss';
|
||||
@import 'containers/_asset-preview.scss';
|
||||
@import 'containers/_show-asset-lite.scss';
|
||||
@import 'components/_progress-bar';
|
||||
@import 'components/_publish-preview';
|
||||
@import 'media-queries';
|
||||
|
||||
|
7
client/src/scss/components/_progress-bar.scss
Normal file
7
client/src/scss/components/_progress-bar.scss
Normal file
|
@ -0,0 +1,7 @@
|
|||
.progress-bar--inactive {
|
||||
color: lightgrey;
|
||||
}
|
||||
|
||||
.progress-bar--active {
|
||||
color: #4156C5;
|
||||
}
|
3
client/src/scss/components/_publish-preview.scss
Normal file
3
client/src/scss/components/_publish-preview.scss
Normal file
|
@ -0,0 +1,3 @@
|
|||
.publish-preview-dim {
|
||||
opacity: 0.2;
|
||||
}
|
22
client/src/scss/containers/_asset-preview.scss
Normal file
22
client/src/scss/containers/_asset-preview.scss
Normal file
|
@ -0,0 +1,22 @@
|
|||
.asset-preview-holder {
|
||||
clear : both;
|
||||
display: inline-block;
|
||||
width : 31%;
|
||||
padding: 0px;
|
||||
margin : 1%;
|
||||
}
|
||||
|
||||
.asset-preview-image {
|
||||
width : 100%;
|
||||
padding: 0px;
|
||||
margin : 0px
|
||||
}
|
||||
|
||||
.asset-preview-video {
|
||||
cursor: pointer;
|
||||
background-color: #ffffff;
|
||||
width: calc(100% - 12px - 12px - 2px);
|
||||
margin: 6px;
|
||||
padding: 6px;
|
||||
border: 1px solid #d0d0d0;
|
||||
}
|
28
client/src/scss/containers/_dropzone.scss
Normal file
28
client/src/scss/containers/_dropzone.scss
Normal file
|
@ -0,0 +1,28 @@
|
|||
.dropzone, .dropzone--disabled {
|
||||
border: 2px dashed #9b9b9b;
|
||||
text-align: center;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.dropzone:hover, .dropzone--drag-over {
|
||||
border: 2px dashed #4156C5;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
#dropzone-text-holder {
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
#dropzone-dragover, #dropzone-instructions {
|
||||
padding: 1em;
|
||||
}
|
||||
|
||||
#dropzone-preview {
|
||||
display: block;
|
||||
width: 100%;
|
||||
}
|
||||
|
20
client/src/scss/containers/_nav-bar.scss
Normal file
20
client/src/scss/containers/_nav-bar.scss
Normal file
|
@ -0,0 +1,20 @@
|
|||
.nav-bar {
|
||||
border-bottom: 0.5px solid #cacaca;
|
||||
}
|
||||
|
||||
.nav-bar--left {
|
||||
align-self: center;
|
||||
}
|
||||
|
||||
.nav-bar-tagline {
|
||||
font-size: small;
|
||||
}
|
||||
|
||||
.nav-bar-link {
|
||||
padding: 1.5rem;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.nav-bar-logo {
|
||||
cursor: pointer;
|
||||
}
|
20
client/src/scss/containers/_show-asset-lite.scss
Normal file
20
client/src/scss/containers/_show-asset-lite.scss
Normal file
|
@ -0,0 +1,20 @@
|
|||
.show-lite-container {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.show-lite-container #asset-display-component {
|
||||
max-height: calc(100vh - 3em);
|
||||
}
|
||||
|
||||
.show-details-container #asset-display-component .asset {
|
||||
width: 100%
|
||||
}
|
||||
|
||||
.show-lite-container #asset-display-component .asset {
|
||||
max-height: calc(100vh - 3em);
|
||||
max-width: 100vw;
|
||||
}
|
||||
|
||||
#asset-boilerplate {
|
||||
max-height: 3em;
|
||||
}
|
BIN
client/src/scss/font/Lekton/Lekton-Bold.ttf
Normal file
BIN
client/src/scss/font/Lekton/Lekton-Bold.ttf
Normal file
Binary file not shown.
BIN
client/src/scss/font/Lekton/Lekton-Italic.ttf
Normal file
BIN
client/src/scss/font/Lekton/Lekton-Italic.ttf
Normal file
Binary file not shown.
BIN
client/src/scss/font/Lekton/Lekton-Regular.ttf
Normal file
BIN
client/src/scss/font/Lekton/Lekton-Regular.ttf
Normal file
Binary file not shown.
93
client/src/scss/font/Lekton/OFL.txt
Normal file
93
client/src/scss/font/Lekton/OFL.txt
Normal file
|
@ -0,0 +1,93 @@
|
|||
Copyright (c) 2008-2010, Isia Urbino (http://www.isiaurbino.net)
|
||||
|
||||
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
||||
This license is copied below, and is also available with a FAQ at:
|
||||
http://scripts.sil.org/OFL
|
||||
|
||||
|
||||
-----------------------------------------------------------
|
||||
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
||||
-----------------------------------------------------------
|
||||
|
||||
PREAMBLE
|
||||
The goals of the Open Font License (OFL) are to stimulate worldwide
|
||||
development of collaborative font projects, to support the font creation
|
||||
efforts of academic and linguistic communities, and to provide a free and
|
||||
open framework in which fonts may be shared and improved in partnership
|
||||
with others.
|
||||
|
||||
The OFL allows the licensed fonts to be used, studied, modified and
|
||||
redistributed freely as long as they are not sold by themselves. The
|
||||
fonts, including any derivative works, can be bundled, embedded,
|
||||
redistributed and/or sold with any software provided that any reserved
|
||||
names are not used by derivative works. The fonts and derivatives,
|
||||
however, cannot be released under any other type of license. The
|
||||
requirement for fonts to remain under this license does not apply
|
||||
to any document created using the fonts or their derivatives.
|
||||
|
||||
DEFINITIONS
|
||||
"Font Software" refers to the set of files released by the Copyright
|
||||
Holder(s) under this license and clearly marked as such. This may
|
||||
include source files, build scripts and documentation.
|
||||
|
||||
"Reserved Font Name" refers to any names specified as such after the
|
||||
copyright statement(s).
|
||||
|
||||
"Original Version" refers to the collection of Font Software components as
|
||||
distributed by the Copyright Holder(s).
|
||||
|
||||
"Modified Version" refers to any derivative made by adding to, deleting,
|
||||
or substituting -- in part or in whole -- any of the components of the
|
||||
Original Version, by changing formats or by porting the Font Software to a
|
||||
new environment.
|
||||
|
||||
"Author" refers to any designer, engineer, programmer, technical
|
||||
writer or other person who contributed to the Font Software.
|
||||
|
||||
PERMISSION & CONDITIONS
|
||||
Permission is hereby granted, free of charge, to any person obtaining
|
||||
a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
||||
redistribute, and sell modified and unmodified copies of the Font
|
||||
Software, subject to the following conditions:
|
||||
|
||||
1) Neither the Font Software nor any of its individual components,
|
||||
in Original or Modified Versions, may be sold by itself.
|
||||
|
||||
2) Original or Modified Versions of the Font Software may be bundled,
|
||||
redistributed and/or sold with any software, provided that each copy
|
||||
contains the above copyright notice and this license. These can be
|
||||
included either as stand-alone text files, human-readable headers or
|
||||
in the appropriate machine-readable metadata fields within text or
|
||||
binary files as long as those fields can be easily viewed by the user.
|
||||
|
||||
3) No Modified Version of the Font Software may use the Reserved Font
|
||||
Name(s) unless explicit written permission is granted by the corresponding
|
||||
Copyright Holder. This restriction only applies to the primary font name as
|
||||
presented to the users.
|
||||
|
||||
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
||||
Software shall not be used to promote, endorse or advertise any
|
||||
Modified Version, except to acknowledge the contribution(s) of the
|
||||
Copyright Holder(s) and the Author(s) or with their explicit written
|
||||
permission.
|
||||
|
||||
5) The Font Software, modified or unmodified, in part or in whole,
|
||||
must be distributed entirely under this license, and must not be
|
||||
distributed under any other license. The requirement for fonts to
|
||||
remain under this license does not apply to any document created
|
||||
using the Font Software.
|
||||
|
||||
TERMINATION
|
||||
This license becomes null and void if any of the above conditions are
|
||||
not met.
|
||||
|
||||
DISCLAIMER
|
||||
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
||||
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
||||
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
||||
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
||||
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
||||
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
||||
OTHER DEALINGS IN THE FONT SOFTWARE.
|
16
client/src/scss/icon/downArrow.svg
Normal file
16
client/src/scss/icon/downArrow.svg
Normal file
|
@ -0,0 +1,16 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg width="12px" height="5px" viewBox="0 0 12 5" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<!-- Generator: Sketch 47 (45396) - http://www.bohemiancoding.com/sketch -->
|
||||
<title>Shape</title>
|
||||
<desc>Created with Sketch.</desc>
|
||||
<defs></defs>
|
||||
<g id="Symbols" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round">
|
||||
<g id="Nav-(Upload)" transform="translate(-993.000000, -29.000000)" stroke-width="0.8" stroke="#2F2F2F">
|
||||
<g id="Group-13">
|
||||
<g id="chevron-down" transform="translate(994.000000, 29.000000)">
|
||||
<polyline id="Shape" points="0 0 5 5 10 0"></polyline>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 858 B |
15
client/src/scss/icon/search.svg
Normal file
15
client/src/scss/icon/search.svg
Normal file
|
@ -0,0 +1,15 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg width="23px" height="22px" viewBox="0 0 23 22" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<!-- Generator: Sketch 47 (45396) - http://www.bohemiancoding.com/sketch -->
|
||||
<title>Fill 5114 + Fill 5115 + Fill 5116</title>
|
||||
<desc>Created with Sketch.</desc>
|
||||
<defs></defs>
|
||||
<g id="Explore" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
||||
<g transform="translate(-59.000000, -113.000000)" id="Fill-5114-+-Fill-5115-+-Fill-5116" fill="#9B9B9B">
|
||||
<g transform="translate(59.000000, 113.000000)">
|
||||
<path d="M14.1990756,0.96478816 C9.91555556,0.96478816 6.43018667,4.37190137 6.43018667,8.56379458 C6.43018667,12.7564878 9.91555556,16.163601 14.1990756,16.163601 C18.4834133,16.163601 21.9679644,12.7564878 21.9679644,8.56379458 C21.9679644,4.37190137 18.4834133,0.96478816 14.1990756,0.96478816 L14.1990756,0.96478816 Z M14.1990756,16.9635806 C9.46414222,16.9635806 5.61240889,13.1964766 5.61240889,8.56379458 C5.61240889,3.93191257 9.46414222,0.164008559 14.1990756,0.164008559 C18.9331911,0.164008559 22.7857422,3.93191257 22.7857422,8.56379458 C22.7857422,13.1964766 18.9331911,16.9635806 14.1990756,16.9635806 L14.1990756,16.9635806 Z" id="Fill-5114"></path>
|
||||
<path d="M0.910186667,21.9642532 C0.805511111,21.9642532 0.700835556,21.9242542 0.621511111,21.8442563 C0.461226667,21.6922601 0.461226667,21.4354667 0.621511111,21.2834706 L8.12789333,13.9404576 C8.28817778,13.7804617 8.54659556,13.7804617 8.70606222,13.9404576 C8.86634667,14.0916538 8.86634667,14.3476472 8.70606222,14.4996434 L1.19968,21.8442563 C1.11953778,21.9242542 1.01486222,21.9642532 0.910186667,21.9642532" id="Fill-5115"></path>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 1.8 KiB |
22
client/src/scss/icon/upload.svg
Normal file
22
client/src/scss/icon/upload.svg
Normal file
|
@ -0,0 +1,22 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg width="20px" height="22px" viewBox="0 0 20 22" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<!-- Generator: Sketch 47 (45396) - http://www.bohemiancoding.com/sketch -->
|
||||
<title>upload</title>
|
||||
<desc>Created with Sketch.</desc>
|
||||
<defs></defs>
|
||||
<g id="Symbols" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round">
|
||||
<g id="Nav-(Profile)" transform="translate(-620.000000, -20.000000)" stroke="#000000">
|
||||
<g id="Group-13">
|
||||
<g id="Group-12">
|
||||
<g id="Group-8" transform="translate(621.000000, 21.000000)">
|
||||
<g id="upload">
|
||||
<path d="M0,15 L0,18 C0,19.1045695 0.8954305,20 2,20 L16,20 C17.1045695,20 18,19.1045695 18,18 L18,15" id="Shape"></path>
|
||||
<polyline id="Shape" points="13 4 9 0 5 4"></polyline>
|
||||
<path d="M9,0 L9,14" id="Shape"></path>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 1.2 KiB |
Loading…
Reference in a new issue