diff --git a/public/index.html b/public/index.html index 2939b0d..6464f72 100644 --- a/public/index.html +++ b/public/index.html @@ -1,40 +1,48 @@ - - - - - - - - + + + - Apella - - - -
- + + - You can add webfonts, meta tags, or analytics to this file. - The build step will place the bundled scripts into the tag. + + - To begin the development, run `npm start` or `yarn start`. - To create a production bundle, use `npm run build` or `yarn build`. - --> - + + + Apella + + + +
+ + diff --git a/src/assets/css/App.css b/src/assets/css/App.css index c7946cf..d45cb27 100644 --- a/src/assets/css/App.css +++ b/src/assets/css/App.css @@ -6,9 +6,12 @@ html, body { height: 100%; } -body, -.pure-g [class*=pure-u] { - font-family: 'Open Sans', sans-serif; +body { + font-family: 'Roboto', sans-serif; +} + +strong { + font-weight: bold !important; } .App { @@ -20,16 +23,8 @@ body, } .view-container { - width: calc(100% - 24px); - margin: 10px 12px; -} - -.container { - box-sizing: border-box; - width: calc(100% - 60px); - max-width: 600px; - padding: 45px 20px; - margin: 0 auto; + width: 60%; + margin: 10px auto; } /* LOADING SCREEN */ @@ -78,45 +73,22 @@ body, /* NAVBAR */ -.navbar { - max-width: 100%; - margin: 0px; +.navColor { background: #0c1a2b; - font-family: 'Oswald', 'Arial Narrow', sans-serif; } -.navbar ul { - list-style-type: none; - margin: 0; - padding: 0; - overflow: hidden; -} - -.navbar li { - float: left; -} - -.navbar li a { - display: block; - color: white; - text-align: center; - padding: 14px 16px; - text-decoration: none; -} - -.navbar a:active, -.navbar a:focus, -.navbar a:hover { - background: #233e5e; +.stick { + z-index: 2; + position: fixed; + top: 0; + width: 100%; } /* TOPICS */ .topic { - width: calc(100% - 14px); - background-color: #FFFFFF; - margin: 12px 0px; - padding: 7px; + width: 100%; + margin: 18px 0px; } .topic-subject { @@ -128,34 +100,16 @@ body, } .topic-date { - margin-top: 2px; margin-bottom: 0px; - color: #333333; - font-size: 0.82vw; + font-size: 0.82vw !important; text-align: right; } /* START TOPIC */ -.start-topic-back-button { - background-color: transparent; - margin-left: 7px; - margin-bottom: 7px; - color: #0c1a2b; -} - -.start-topic-back-button .fa-arrow-left{ - filter:drop-shadow(1px 1px 2px #0c1a2b); -} - -.start-topic-back-button .fa-arrow-left:active{ - filter:drop-shadow(0px 1px 1px #0A1624); - color: #0A1624; - transform: translateY(3px); -} - -.start-topic-back-button:focus { - outline:none; +.topic-form { + width: 100%; + margin: 20px 0px; } .topic-form input[type=text], textarea { @@ -181,81 +135,33 @@ body, padding: 0px 20px; } -/* FLOATING BUTTONS */ - -.floating-button{ - position: fixed; - width: 60px; - height: 60px; - bottom: 40px; - right: 40px; - background-color: #0C9; - color: #FFF; - border-radius: 50px; - text-align: center; - box-shadow: 2px 2px 3px #999; -} - -.floating-button:focus { - outline:none; -} - -.floating-button:active { - background-color: #00B386; - box-shadow: 0px 1px 3px #333; - transform: translateY(4px); -} - -.floating-button svg { - min-height: 100%; - text-align: center; - vertical-align: middle; -} - /* POSTS */ .post { - width: calc(100% - 14px); + width: 100%; background-color: #FFFFFF; - margin: 12px 0px; - padding: 7px; + margin: 20px 0px; + padding: 0px; } -.post-header { - margin-bottom: 2px; +.post-meta { + float: right; + margin-right: 11.25px; } .user-avatar { - max-height: 40px; - margin-right: 7px; + width: 52px; + height: 52px; + text-align: center; } -.post-info { - width: 100%; - margin-top: 2px; - margin-bottom: 0px; +.stretch-space-between { display: flex; flex-flow: row nowrap; justify-content: space-between; - color: #333333; - font-size: 0.82vw; -} - -.post-content { - margin: 0px; -} - -.post-meta { - margin-top: 2px; -} - -.user-column { - margin: 0px 10px; - order: 2; } .user-info { - display: inline-block; background-color: #FFFFFF; margin: 12px auto; padding: 7px; @@ -263,71 +169,10 @@ body, /* PROFILE */ -.profile-tabs-header { - width: 100%; - font-size: 1.72em; - font-weight: bold; - margin-bottom: 20px; - display: flex; - flex-flow: row nowrap; - justify-content: space-around; -} - -.profile-tabs-header p { - width: 100%; - height: 100%; - text-align: center; - background-color: lightgrey; - padding: 10px; - margin: 0px; - cursor: pointer; -} - -.profile-tabs-header p:hover { - background-color: grey; -} - -.profile-tab-selected { - border-bottom: 2px solid #0c1a2b; -} - -.profile-tab, .profile-tab>div { +.profile-tab { width: 100%; } -/* FORMS */ - -.pure-form { - display: inline-block; -} - -.pure-form input[type="text"]:focus { - border-color: #0c1a2b; -} - -/* BUTTONS */ - -.pure-button-primary { - background-color: #0c1a2b; -} - -.pure-button-primary:hover { - background-color: #233e5e; -} - -.pure-button-primary:active { - background-color: #0c1a2b; -} - -/* ALERTS */ - -.alert { - padding: .5rem; - color: darkgreen; - background: darkseagreen; - border: 1px solid darkgreen; -} - /* MISC */ .inline { @@ -342,33 +187,15 @@ body, margin-left: 7px; } -.card { - box-shadow: 0 2px 5px 0 rgba(0,0,0,0.16),0 2px 10px 0 rgba(0,0,0,0.12); -} - -.card:hover { - box-shadow:0 4px 10px 0 rgba(0,0,0,0.2),0 4px 20px 0 rgba(0,0,0,0.19) -} - hr { color: #0c1a2b; margin: 0px; } -h1, h2, h3 { - font-family: 'Oswald', 'Arial Narrow', sans-serif; -} - -a:focus {outline:none} +*:focus {outline:none !important} -code { - padding: .25rem; - margin: 0 .25rem; - background: #eee; -} - -.center { - text-align: center; +.centerDiv { + margin: 0 auto; } a { @@ -376,6 +203,10 @@ a { text-decoration: none; } +.post-content a{ + color: #039be5; +} + .center-in-parent { width: 100%; height: 100%; @@ -409,4 +240,13 @@ a { color: white; transform: translate(-50%,-50%); -ms-transform: translate(-50%,-50%); +} + +.full-width { + max-width: 100% !important; + width: 100% !important; +} + +.vis { /* For UX developing */ + border: 1px solid red; } \ No newline at end of file diff --git a/src/assets/css/materialTabs.css b/src/assets/css/materialTabs.css new file mode 100644 index 0000000..abd632c --- /dev/null +++ b/src/assets/css/materialTabs.css @@ -0,0 +1,61 @@ +header { + position: relative; +} + +.hide { + display: none; +} + +.show { + display: block; +} + +.tab-content { + padding:25px; +} + +#material-tabs { + position: relative; + display: block; + padding:0; +} + +#material-tabs>a { + position: relative; + display:inline-block; + text-decoration: none; + padding: 22px; + text-transform: uppercase; + font-size: 14px; + font-weight: 600; + color: #0c1a2b; + text-align: center; + outline:; +} + +#material-tabs>a.active { + font-weight: 700; +} + +#material-tabs>a:not(.active):hover { + background-color: inherit; + color: #7c848a; +} + +@media only screen and (max-width: 520px) { + .nav-tabs#material-tabs>li>a { + font-size: 11px; + } +} + +.underline-bar { + position: absolute; + z-index: 10; + bottom: 0; + height: 3px; + background: #0c1a2b; + display: block; + left: 0; + transition: left .2s ease; + -webkit-transition: left .2s ease; +} \ No newline at end of file diff --git a/src/assets/css/open-sans.css b/src/assets/css/open-sans.css deleted file mode 100644 index 0672095..0000000 --- a/src/assets/css/open-sans.css +++ /dev/null @@ -1,13 +0,0 @@ -@font-face { - font-family: 'Open Sans'; - font-weight: 400; - font-style: normal; - src: url('../fonts/Open-Sans-regular/Open-Sans-regular.eot'); - src: url('../fonts/Open-Sans-regular/Open-Sans-regular.eot?#iefix') format('embedded-opentype'), - local('Open Sans'), - local('Open-Sans-regular'), - url('../fonts/Open-Sans-regular/Open-Sans-regular.woff2') format('woff2'), - url('../fonts/Open-Sans-regular/Open-Sans-regular.woff') format('woff'), - url('../fonts/Open-Sans-regular/Open-Sans-regular.ttf') format('truetype'), - url('../fonts/Open-Sans-regular/Open-Sans-regular.svg#OpenSans') format('svg'); -} diff --git a/src/assets/css/oswald.css b/src/assets/css/oswald.css deleted file mode 100644 index 4c03361..0000000 --- a/src/assets/css/oswald.css +++ /dev/null @@ -1,27 +0,0 @@ -@font-face { - font-family: 'Oswald'; - font-weight: 300; - font-style: normal; - src: url('../fonts/Oswald-300/Oswald-300.eot'); - src: url('../fonts/Oswald-300/Oswald-300.eot?#iefix') format('embedded-opentype'), - local('Oswald Light'), - local('Oswald-300'), - url('../fonts/Oswald-300/Oswald-300.woff2') format('woff2'), - url('../fonts/Oswald-300/Oswald-300.woff') format('woff'), - url('../fonts/Oswald-300/Oswald-300.ttf') format('truetype'), - url('../fonts/Oswald-300/Oswald-300.svg#Oswald') format('svg'); -} - -@font-face { - font-family: 'Oswald'; - font-weight: 400; - font-style: normal; - src: url('../fonts/Oswald-regular/Oswald-regular.eot'); - src: url('../fonts/Oswald-regular/Oswald-regular.eot?#iefix') format('embedded-opentype'), - local('Oswald Regular'), - local('Oswald-regular'), - url('../fonts/Oswald-regular/Oswald-regular.woff2') format('woff2'), - url('../fonts/Oswald-regular/Oswald-regular.woff') format('woff'), - url('../fonts/Oswald-regular/Oswald-regular.ttf') format('truetype'), - url('../fonts/Oswald-regular/Oswald-regular.svg#Oswald') format('svg'); -} diff --git a/src/assets/css/pure-min.css b/src/assets/css/pure-min.css deleted file mode 100644 index f93fe3f..0000000 --- a/src/assets/css/pure-min.css +++ /dev/null @@ -1,11 +0,0 @@ -/*! -Pure v0.6.2 -Copyright 2013 Yahoo! -Licensed under the BSD License. -https://github.com/yahoo/pure/blob/master/LICENSE.md -*/ -/*! -normalize.css v^3.0 | MIT License | git.io/normalize -Copyright (c) Nicolas Gallagher and Jonathan Neal -*/ -/*! normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css */.pure-button:focus,a:active,a:hover{outline:0}.pure-table,table{border-collapse:collapse;border-spacing:0}html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block;vertical-align:baseline}audio:not([controls]){display:none;height:0}[hidden],template{display:none}a{background-color:transparent}abbr[title]{border-bottom:1px dotted}b,optgroup,strong{font-weight:700}dfn{font-style:italic}h1{font-size:2em;margin:.67em 0}mark{background:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-.5em}sub{bottom:-.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:1em 40px}hr{box-sizing:content-box;height:0}pre,textarea{overflow:auto}code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}button,input,optgroup,select,textarea{color:inherit;font:inherit;margin:0}.pure-button,input{line-height:normal}button{overflow:visible}button,select{text-transform:none}button,html input[type=button],input[type=reset],input[type=submit]{-webkit-appearance:button;cursor:pointer}button[disabled],html input[disabled]{cursor:default}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}input[type=checkbox],input[type=radio]{box-sizing:border-box;padding:0}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{height:auto}input[type=search]{-webkit-appearance:textfield;box-sizing:content-box}.pure-button,.pure-form input:not([type]),.pure-menu{box-sizing:border-box}input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration{-webkit-appearance:none}fieldset{border:1px solid silver;margin:0 2px;padding:.35em .625em .75em}legend,td,th{padding:0}legend{border:0}.hidden,[hidden]{display:none!important}.pure-img{max-width:100%;height:auto;display:block}.pure-g{letter-spacing:-.31em;text-rendering:optimizespeed;font-family:FreeSans,Arimo,"Droid Sans",Helvetica,Arial,sans-serif;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-flow:row wrap;-ms-flex-flow:row wrap;flex-flow:row wrap;-webkit-align-content:flex-start;-ms-flex-line-pack:start;align-content:flex-start}@media all and (-ms-high-contrast:none),(-ms-high-contrast:active){table .pure-g{display:block}}.opera-only :-o-prefocus,.pure-g{word-spacing:-.43em}.pure-u,.pure-u-1,.pure-u-1-1,.pure-u-1-12,.pure-u-1-2,.pure-u-1-24,.pure-u-1-3,.pure-u-1-4,.pure-u-1-5,.pure-u-1-6,.pure-u-1-8,.pure-u-10-24,.pure-u-11-12,.pure-u-11-24,.pure-u-12-24,.pure-u-13-24,.pure-u-14-24,.pure-u-15-24,.pure-u-16-24,.pure-u-17-24,.pure-u-18-24,.pure-u-19-24,.pure-u-2-24,.pure-u-2-3,.pure-u-2-5,.pure-u-20-24,.pure-u-21-24,.pure-u-22-24,.pure-u-23-24,.pure-u-24-24,.pure-u-3-24,.pure-u-3-4,.pure-u-3-5,.pure-u-3-8,.pure-u-4-24,.pure-u-4-5,.pure-u-5-12,.pure-u-5-24,.pure-u-5-5,.pure-u-5-6,.pure-u-5-8,.pure-u-6-24,.pure-u-7-12,.pure-u-7-24,.pure-u-7-8,.pure-u-8-24,.pure-u-9-24{letter-spacing:normal;word-spacing:normal;vertical-align:top;text-rendering:auto;display:inline-block;zoom:1}.pure-g [class*=pure-u]{font-family:sans-serif}.pure-u-1-24{width:4.1667%}.pure-u-1-12,.pure-u-2-24{width:8.3333%}.pure-u-1-8,.pure-u-3-24{width:12.5%}.pure-u-1-6,.pure-u-4-24{width:16.6667%}.pure-u-1-5{width:20%}.pure-u-5-24{width:20.8333%}.pure-u-1-4,.pure-u-6-24{width:25%}.pure-u-7-24{width:29.1667%}.pure-u-1-3,.pure-u-8-24{width:33.3333%}.pure-u-3-8,.pure-u-9-24{width:37.5%}.pure-u-2-5{width:40%}.pure-u-10-24,.pure-u-5-12{width:41.6667%}.pure-u-11-24{width:45.8333%}.pure-u-1-2,.pure-u-12-24{width:50%}.pure-u-13-24{width:54.1667%}.pure-u-14-24,.pure-u-7-12{width:58.3333%}.pure-u-3-5{width:60%}.pure-u-15-24,.pure-u-5-8{width:62.5%}.pure-u-16-24,.pure-u-2-3{width:66.6667%}.pure-u-17-24{width:70.8333%}.pure-u-18-24,.pure-u-3-4{width:75%}.pure-u-19-24{width:79.1667%}.pure-u-4-5{width:80%}.pure-u-20-24,.pure-u-5-6{width:83.3333%}.pure-u-21-24,.pure-u-7-8{width:87.5%}.pure-u-11-12,.pure-u-22-24{width:91.6667%}.pure-u-23-24{width:95.8333%}.pure-u-1,.pure-u-1-1,.pure-u-24-24,.pure-u-5-5{width:100%}.pure-button{display:inline-block;zoom:1;white-space:nowrap;vertical-align:middle;text-align:center;cursor:pointer;-webkit-user-drag:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.pure-button::-moz-focus-inner{padding:0;border:0}.pure-button-group{letter-spacing:-.31em;text-rendering:optimizespeed}.opera-only :-o-prefocus,.pure-button-group{word-spacing:-.43em}.pure-button{font-family:inherit;font-size:100%;padding:.5em 1em;color:#444;color:rgba(0,0,0,.8);border:1px solid #999;border:transparent;background-color:#E6E6E6;text-decoration:none;border-radius:2px}.pure-button-hover,.pure-button:focus,.pure-button:hover{filter:alpha(opacity=90);background-image:-webkit-linear-gradient(transparent,rgba(0,0,0,.05) 40%,rgba(0,0,0,.1));background-image:linear-gradient(transparent,rgba(0,0,0,.05) 40%,rgba(0,0,0,.1))}.pure-button-active,.pure-button:active{box-shadow:0 0 0 1px rgba(0,0,0,.15) inset,0 0 6px rgba(0,0,0,.2) inset;border-color:#000\9}.pure-button-disabled,.pure-button-disabled:active,.pure-button-disabled:focus,.pure-button-disabled:hover,.pure-button[disabled]{border:none;background-image:none;filter:alpha(opacity=40);opacity:.4;cursor:not-allowed;box-shadow:none;pointer-events:none}.pure-button-hidden{display:none}.pure-button-primary,.pure-button-selected,a.pure-button-primary,a.pure-button-selected{background-color:#0078e7;color:#fff}.pure-button-group .pure-button{letter-spacing:normal;word-spacing:normal;vertical-align:top;text-rendering:auto;margin:0;border-radius:0;border-right:1px solid #111;border-right:1px solid rgba(0,0,0,.2)}.pure-button-group .pure-button:first-child{border-top-left-radius:2px;border-bottom-left-radius:2px}.pure-button-group .pure-button:last-child{border-top-right-radius:2px;border-bottom-right-radius:2px;border-right:none}.pure-form input[type=password],.pure-form input[type=email],.pure-form input[type=url],.pure-form input[type=date],.pure-form input[type=month],.pure-form input[type=time],.pure-form input[type=datetime],.pure-form input[type=datetime-local],.pure-form input[type=week],.pure-form input[type=tel],.pure-form input[type=color],.pure-form input[type=number],.pure-form input[type=search],.pure-form input[type=text],.pure-form select,.pure-form textarea{padding:.5em .6em;display:inline-block;border:1px solid #ccc;box-shadow:inset 0 1px 3px #ddd;border-radius:4px;vertical-align:middle;box-sizing:border-box}.pure-form input:not([type]){padding:.5em .6em;display:inline-block;border:1px solid #ccc;box-shadow:inset 0 1px 3px #ddd;border-radius:4px}.pure-form input[type=color]{padding:.2em .5em}.pure-form input:not([type]):focus,.pure-form input[type=password]:focus,.pure-form input[type=email]:focus,.pure-form input[type=url]:focus,.pure-form input[type=date]:focus,.pure-form input[type=month]:focus,.pure-form input[type=time]:focus,.pure-form input[type=datetime]:focus,.pure-form input[type=datetime-local]:focus,.pure-form input[type=week]:focus,.pure-form input[type=tel]:focus,.pure-form input[type=color]:focus,.pure-form input[type=number]:focus,.pure-form input[type=search]:focus,.pure-form input[type=text]:focus,.pure-form select:focus,.pure-form textarea:focus{outline:0;border-color:#129FEA}.pure-form input[type=file]:focus,.pure-form input[type=checkbox]:focus,.pure-form input[type=radio]:focus{outline:#129FEA auto 1px}.pure-form .pure-checkbox,.pure-form .pure-radio{margin:.5em 0;display:block}.pure-form input:not([type])[disabled],.pure-form input[type=password][disabled],.pure-form input[type=email][disabled],.pure-form input[type=url][disabled],.pure-form input[type=date][disabled],.pure-form input[type=month][disabled],.pure-form input[type=time][disabled],.pure-form input[type=datetime][disabled],.pure-form input[type=datetime-local][disabled],.pure-form input[type=week][disabled],.pure-form input[type=tel][disabled],.pure-form input[type=color][disabled],.pure-form input[type=number][disabled],.pure-form input[type=search][disabled],.pure-form input[type=text][disabled],.pure-form select[disabled],.pure-form textarea[disabled]{cursor:not-allowed;background-color:#eaeded;color:#cad2d3}.pure-form input[readonly],.pure-form select[readonly],.pure-form textarea[readonly]{background-color:#eee;color:#777;border-color:#ccc}.pure-form input:focus:invalid,.pure-form select:focus:invalid,.pure-form textarea:focus:invalid{color:#b94a48;border-color:#e9322d}.pure-form input[type=file]:focus:invalid:focus,.pure-form input[type=checkbox]:focus:invalid:focus,.pure-form input[type=radio]:focus:invalid:focus{outline-color:#e9322d}.pure-form select{height:2.25em;border:1px solid #ccc;background-color:#fff}.pure-form select[multiple]{height:auto}.pure-form label{margin:.5em 0 .2em}.pure-form fieldset{margin:0;padding:.35em 0 .75em;border:0}.pure-form legend{display:block;width:100%;padding:.3em 0;margin-bottom:.3em;color:#333;border-bottom:1px solid #e5e5e5}.pure-form-stacked input:not([type]),.pure-form-stacked input[type=password],.pure-form-stacked input[type=email],.pure-form-stacked input[type=url],.pure-form-stacked input[type=date],.pure-form-stacked input[type=month],.pure-form-stacked input[type=time],.pure-form-stacked input[type=datetime],.pure-form-stacked input[type=datetime-local],.pure-form-stacked input[type=week],.pure-form-stacked input[type=tel],.pure-form-stacked input[type=color],.pure-form-stacked input[type=file],.pure-form-stacked input[type=number],.pure-form-stacked input[type=search],.pure-form-stacked input[type=text],.pure-form-stacked label,.pure-form-stacked select,.pure-form-stacked textarea{display:block;margin:.25em 0}.pure-form-aligned .pure-help-inline,.pure-form-aligned input,.pure-form-aligned select,.pure-form-aligned textarea,.pure-form-message-inline{display:inline-block;vertical-align:middle}.pure-form-aligned textarea{vertical-align:top}.pure-form-aligned .pure-control-group{margin-bottom:.5em}.pure-form-aligned .pure-control-group label{text-align:right;display:inline-block;vertical-align:middle;width:10em;margin:0 1em 0 0}.pure-form-aligned .pure-controls{margin:1.5em 0 0 11em}.pure-form .pure-input-rounded,.pure-form input.pure-input-rounded{border-radius:2em;padding:.5em 1em}.pure-form .pure-group fieldset{margin-bottom:10px}.pure-form .pure-group input,.pure-form .pure-group textarea{display:block;padding:10px;margin:0 0 -1px;border-radius:0;position:relative;top:-1px}.pure-form .pure-group input:focus,.pure-form .pure-group textarea:focus{z-index:3}.pure-form .pure-group input:first-child,.pure-form .pure-group textarea:first-child{top:1px;border-radius:4px 4px 0 0;margin:0}.pure-form .pure-group input:first-child:last-child,.pure-form .pure-group textarea:first-child:last-child{top:1px;border-radius:4px;margin:0}.pure-form .pure-group input:last-child,.pure-form .pure-group textarea:last-child{top:-2px;border-radius:0 0 4px 4px;margin:0}.pure-form .pure-group button{margin:.35em 0}.pure-form .pure-input-1{width:100%}.pure-form .pure-input-3-4{width:75%}.pure-form .pure-input-2-3{width:66%}.pure-form .pure-input-1-2{width:50%}.pure-form .pure-input-1-3{width:33%}.pure-form .pure-input-1-4{width:25%}.pure-form .pure-help-inline,.pure-form-message-inline{display:inline-block;padding-left:.3em;color:#666;vertical-align:middle;font-size:.875em}.pure-form-message{display:block;color:#666;font-size:.875em}@media only screen and (max-width :480px){.pure-form button[type=submit]{margin:.7em 0 0}.pure-form input:not([type]),.pure-form input[type=password],.pure-form input[type=email],.pure-form input[type=url],.pure-form input[type=date],.pure-form input[type=month],.pure-form input[type=time],.pure-form input[type=datetime],.pure-form input[type=datetime-local],.pure-form input[type=week],.pure-form input[type=tel],.pure-form input[type=color],.pure-form input[type=number],.pure-form input[type=search],.pure-form input[type=text],.pure-form label{margin-bottom:.3em;display:block}.pure-group input:not([type]),.pure-group input[type=password],.pure-group input[type=email],.pure-group input[type=url],.pure-group input[type=date],.pure-group input[type=month],.pure-group input[type=time],.pure-group input[type=datetime],.pure-group input[type=datetime-local],.pure-group input[type=week],.pure-group input[type=tel],.pure-group input[type=color],.pure-group input[type=number],.pure-group input[type=search],.pure-group input[type=text]{margin-bottom:0}.pure-form-aligned .pure-control-group label{margin-bottom:.3em;text-align:left;display:block;width:100%}.pure-form-aligned .pure-controls{margin:1.5em 0 0}.pure-form .pure-help-inline,.pure-form-message,.pure-form-message-inline{display:block;font-size:.75em;padding:.2em 0 .8em}}.pure-menu-fixed{position:fixed;left:0;top:0;z-index:3}.pure-menu-item,.pure-menu-list{position:relative}.pure-menu-list{list-style:none;margin:0;padding:0}.pure-menu-item{padding:0;margin:0;height:100%}.pure-menu-heading,.pure-menu-link{display:block;text-decoration:none;white-space:nowrap}.pure-menu-horizontal{width:100%;white-space:nowrap}.pure-menu-horizontal .pure-menu-list{display:inline-block}.pure-menu-horizontal .pure-menu-heading,.pure-menu-horizontal .pure-menu-item,.pure-menu-horizontal .pure-menu-separator{display:inline-block;zoom:1;vertical-align:middle}.pure-menu-item .pure-menu-item{display:block}.pure-menu-children{display:none;position:absolute;left:100%;top:0;margin:0;padding:0;z-index:3}.pure-menu-horizontal .pure-menu-children{left:0;top:auto;width:inherit}.pure-menu-active>.pure-menu-children,.pure-menu-allow-hover:hover>.pure-menu-children{display:block;position:absolute}.pure-menu-has-children>.pure-menu-link:after{padding-left:.5em;content:"\25B8";font-size:small}.pure-menu-horizontal .pure-menu-has-children>.pure-menu-link:after{content:"\25BE"}.pure-menu-scrollable{overflow-y:scroll;overflow-x:hidden}.pure-menu-scrollable .pure-menu-list{display:block}.pure-menu-horizontal.pure-menu-scrollable .pure-menu-list{display:inline-block}.pure-menu-horizontal.pure-menu-scrollable{white-space:nowrap;overflow-y:hidden;overflow-x:auto;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;padding:.5em 0}.pure-menu-horizontal.pure-menu-scrollable::-webkit-scrollbar{display:none}.pure-menu-horizontal .pure-menu-children .pure-menu-separator,.pure-menu-separator{background-color:#ccc;height:1px;margin:.3em 0}.pure-menu-horizontal .pure-menu-separator{width:1px;height:1.3em;margin:0 .3em}.pure-menu-horizontal .pure-menu-children .pure-menu-separator{display:block;width:auto}.pure-menu-heading{text-transform:uppercase;color:#565d64}.pure-menu-link{color:#777}.pure-menu-children{background-color:#fff}.pure-menu-disabled,.pure-menu-heading,.pure-menu-link{padding:.5em 1em}.pure-menu-disabled{opacity:.5}.pure-menu-disabled .pure-menu-link:hover{background-color:transparent}.pure-menu-active>.pure-menu-link,.pure-menu-link:focus,.pure-menu-link:hover{background-color:#eee}.pure-menu-selected .pure-menu-link,.pure-menu-selected .pure-menu-link:visited{color:#000}.pure-table{empty-cells:show;border:1px solid #cbcbcb}.pure-table caption{color:#000;font:italic 85%/1 arial,sans-serif;padding:1em 0;text-align:center}.pure-table td,.pure-table th{border-left:1px solid #cbcbcb;border-width:0 0 0 1px;font-size:inherit;margin:0;overflow:visible;padding:.5em 1em}.pure-table td:first-child,.pure-table th:first-child{border-left-width:0}.pure-table thead{background-color:#e0e0e0;color:#000;text-align:left;vertical-align:bottom}.pure-table td{background-color:transparent}.pure-table-odd td,.pure-table-striped tr:nth-child(2n-1) td{background-color:#f2f2f2}.pure-table-bordered td{border-bottom:1px solid #cbcbcb}.pure-table-bordered tbody>tr:last-child>td{border-bottom-width:0}.pure-table-horizontal td,.pure-table-horizontal th{border-width:0 0 1px;border-bottom:1px solid #cbcbcb}.pure-table-horizontal tbody>tr:last-child>td{border-bottom-width:0} diff --git a/src/assets/fonts/Open-Sans-regular/LICENSE.txt b/src/assets/fonts/Open-Sans-regular/LICENSE.txt deleted file mode 100644 index d645695..0000000 --- a/src/assets/fonts/Open-Sans-regular/LICENSE.txt +++ /dev/null @@ -1,202 +0,0 @@ - - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "[]" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright [yyyy] [name of copyright owner] - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. diff --git a/src/assets/fonts/Open-Sans-regular/Open-Sans-regular.eot b/src/assets/fonts/Open-Sans-regular/Open-Sans-regular.eot deleted file mode 100644 index 1d98e6e..0000000 Binary files a/src/assets/fonts/Open-Sans-regular/Open-Sans-regular.eot and /dev/null differ diff --git a/src/assets/fonts/Open-Sans-regular/Open-Sans-regular.svg b/src/assets/fonts/Open-Sans-regular/Open-Sans-regular.svg deleted file mode 100644 index 052c59f..0000000 --- a/src/assets/fonts/Open-Sans-regular/Open-Sans-regular.svg +++ /dev/null @@ -1,1637 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/src/assets/fonts/Open-Sans-regular/Open-Sans-regular.ttf b/src/assets/fonts/Open-Sans-regular/Open-Sans-regular.ttf deleted file mode 100644 index 0dae9c3..0000000 Binary files a/src/assets/fonts/Open-Sans-regular/Open-Sans-regular.ttf and /dev/null differ diff --git a/src/assets/fonts/Open-Sans-regular/Open-Sans-regular.woff b/src/assets/fonts/Open-Sans-regular/Open-Sans-regular.woff deleted file mode 100644 index ac2b2c6..0000000 Binary files a/src/assets/fonts/Open-Sans-regular/Open-Sans-regular.woff and /dev/null differ diff --git a/src/assets/fonts/Open-Sans-regular/Open-Sans-regular.woff2 b/src/assets/fonts/Open-Sans-regular/Open-Sans-regular.woff2 deleted file mode 100644 index 402dfd7..0000000 Binary files a/src/assets/fonts/Open-Sans-regular/Open-Sans-regular.woff2 and /dev/null differ diff --git a/src/assets/fonts/Oswald-300/LICENSE.txt b/src/assets/fonts/Oswald-300/LICENSE.txt deleted file mode 100644 index 6022786..0000000 --- a/src/assets/fonts/Oswald-300/LICENSE.txt +++ /dev/null @@ -1,93 +0,0 @@ -Copyright 2016 The Oswald Project Authors (contact@sansoxygen.com) - -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. diff --git a/src/assets/fonts/Oswald-300/Oswald-300.eot b/src/assets/fonts/Oswald-300/Oswald-300.eot deleted file mode 100644 index 781ea9a..0000000 Binary files a/src/assets/fonts/Oswald-300/Oswald-300.eot and /dev/null differ diff --git a/src/assets/fonts/Oswald-300/Oswald-300.svg b/src/assets/fonts/Oswald-300/Oswald-300.svg deleted file mode 100644 index 76ebcb6..0000000 --- a/src/assets/fonts/Oswald-300/Oswald-300.svg +++ /dev/null @@ -1,335 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/src/assets/fonts/Oswald-300/Oswald-300.ttf b/src/assets/fonts/Oswald-300/Oswald-300.ttf deleted file mode 100644 index 27d4a08..0000000 Binary files a/src/assets/fonts/Oswald-300/Oswald-300.ttf and /dev/null differ diff --git a/src/assets/fonts/Oswald-300/Oswald-300.woff b/src/assets/fonts/Oswald-300/Oswald-300.woff deleted file mode 100644 index 9b6a3a1..0000000 Binary files a/src/assets/fonts/Oswald-300/Oswald-300.woff and /dev/null differ diff --git a/src/assets/fonts/Oswald-300/Oswald-300.woff2 b/src/assets/fonts/Oswald-300/Oswald-300.woff2 deleted file mode 100644 index 9389252..0000000 Binary files a/src/assets/fonts/Oswald-300/Oswald-300.woff2 and /dev/null differ diff --git a/src/assets/fonts/Oswald-regular/LICENSE.txt b/src/assets/fonts/Oswald-regular/LICENSE.txt deleted file mode 100644 index 6022786..0000000 --- a/src/assets/fonts/Oswald-regular/LICENSE.txt +++ /dev/null @@ -1,93 +0,0 @@ -Copyright 2016 The Oswald Project Authors (contact@sansoxygen.com) - -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. diff --git a/src/assets/fonts/Oswald-regular/Oswald-regular.eot b/src/assets/fonts/Oswald-regular/Oswald-regular.eot deleted file mode 100644 index 5f24736..0000000 Binary files a/src/assets/fonts/Oswald-regular/Oswald-regular.eot and /dev/null differ diff --git a/src/assets/fonts/Oswald-regular/Oswald-regular.svg b/src/assets/fonts/Oswald-regular/Oswald-regular.svg deleted file mode 100644 index 82fe3f9..0000000 --- a/src/assets/fonts/Oswald-regular/Oswald-regular.svg +++ /dev/null @@ -1,347 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/src/assets/fonts/Oswald-regular/Oswald-regular.ttf b/src/assets/fonts/Oswald-regular/Oswald-regular.ttf deleted file mode 100644 index 1a414c5..0000000 Binary files a/src/assets/fonts/Oswald-regular/Oswald-regular.ttf and /dev/null differ diff --git a/src/assets/fonts/Oswald-regular/Oswald-regular.woff b/src/assets/fonts/Oswald-regular/Oswald-regular.woff deleted file mode 100644 index 5b327f5..0000000 Binary files a/src/assets/fonts/Oswald-regular/Oswald-regular.woff and /dev/null differ diff --git a/src/assets/fonts/Oswald-regular/Oswald-regular.woff2 b/src/assets/fonts/Oswald-regular/Oswald-regular.woff2 deleted file mode 100644 index 1fb723a..0000000 Binary files a/src/assets/fonts/Oswald-regular/Oswald-regular.woff2 and /dev/null differ diff --git a/src/components/FloatingButton.js b/src/components/FloatingButton.js index c6415f5..9374fc5 100644 --- a/src/components/FloatingButton.js +++ b/src/components/FloatingButton.js @@ -3,16 +3,20 @@ import { Link } from 'react-router'; const FloatingButton = (props) => { return ( -
+
{props.to - ? -

- + ?

+ + add + +
+ :
+

+ add

- - :

- -

+
}
); diff --git a/src/components/NavBar.js b/src/components/NavBar.js index d8cc5fb..6e7c60d 100644 --- a/src/components/NavBar.js +++ b/src/components/NavBar.js @@ -1,22 +1,51 @@ -import React from 'react'; +import React, { Component } from 'react'; import { drizzleConnect } from 'drizzle-react'; import { Link } from 'react-router'; -const NavBar = (props) => { - return ( -
- +
+ + ); + } + + componentDidMount(){ + this.headerHeight = this.navRef.current.offsetTop; + window.addEventListener('scroll', this.handleScroll); + } + + componentWillUnmount(){ + window.removeEventListener('scroll', this.handleScroll); + } + + handleScroll(){ + if (window.pageYOffset >= this.headerHeight) { + this.navRef.current.classList.add("stick") + } else { + this.navRef.current.classList.remove("stick"); + } + } }; const mapStateToProps = state => { diff --git a/src/components/NewPost.js b/src/components/NewPost.js index 7f7bf45..fb0fb1a 100644 --- a/src/components/NewPost.js +++ b/src/components/NewPost.js @@ -3,6 +3,7 @@ import React, { Component } from 'react'; import PropTypes from 'prop-types'; import uuidv4 from 'uuid/v4'; +import TimeAgo from 'react-timeago'; import UserAvatar from 'react-user-avatar'; import ReactMarkdown from 'react-markdown'; @@ -18,6 +19,9 @@ class NewPost extends Component { this.validateAndPost = this.validateAndPost.bind(this); this.pushToDatabase = this.pushToDatabase.bind(this); + this.newPostOuterRef = React.createRef(); + this.subjectInputRef = React.createRef(); + this.transactionProgressText = []; this.drizzle = context.drizzle; @@ -67,8 +71,8 @@ class NewPost extends Component { handlePreviewToggle() { this.setState((prevState, props) => ({ - previewEnabled: !prevState.previewEnabled, - previewDate: this.getDate() + previewEnabled: !prevState.previewEnabled, + previewDate: this.getDate() })); } @@ -84,7 +88,7 @@ class NewPost extends Component { render() { return ( -
+
{this.state.creatingPost &&

@@ -93,59 +97,76 @@ class NewPost extends Component {
} -
- -

- {this.props.user.username}
Subject: {this.state.postSubjectInput}
-

-
- - #{this.props.postIndex} +
+
+ +
+
+
+
+ {this.props.user.username} + + {this.state.previewEnabled && + + }{this.state.previewEnabled && ","} #{this.props.postIndex} + +
+
+ + {this.state.previewEnabled && + ("Subject: " + this.state.postSubjectInput) + } + +
+
+
+ {this.state.previewEnabled + ? + : [ + , +