finished scss stylint refactor for remaining pages

finished up refacting all of the style sheets to be brought in line with
the stylint scss standard. the standard will probably change as i tweak
the rules but the foundation is solid and it's rendering so it's a
great place to start

i'll go through the ui to make sure everything is in tact and i'll make
the necessary adjustments

i should probably refactor some structures as well as they nesting is a
bit overly complicated
pull/84/head
Are0h 3 years ago
parent 61b9acb280
commit b8b763637f

@ -118,7 +118,7 @@
<div id="post-header-wrapper" class="columns"> <div id="post-header-wrapper" class="columns">
<div id="post-title" class="column"> <div id="post-title" class="column">
<label>TITLE</label> <label>TITLE</label>
<textarea id="post_title" type="text" name="post_title" class="post-edit" placeholder="TITLE"> <textarea id="post-title-text " type="text" name="post-title-text " class="post-edit" placeholder="TITLE">
{{ - _title - }} {{ - _title - }}
</textarea> </textarea>
@ -142,7 +142,7 @@
</div> </div>
<div id="post-meta" class="column"> <div id="post-meta" class="column">
<label>TAGS</label> <label>TAGS</label>
<textarea id="post_tags" type="text" name="post_tags" class="form-control" placeholder="tags [comma seperated]"> <textarea id="post-tags" type="text" name="post-tags" class="form-control" placeholder="tags [comma seperated]">
{{ - tags - }} {{ - tags - }}
</textarea> </textarea>
<label>OPTIONS</label> <label>OPTIONS</label>

File diff suppressed because it is too large Load Diff

@ -1,181 +1,208 @@
.dp-modal { .dp-modal {
position: fixed; position: fixed;
top: 0; top: 0;
left: 0; left: 0;
right: 0; right: 0;
bottom: 0; bottom: 0;
z-index: 2000; z-index: 2000;
} }
.dp { .dp {
position: relative; position: relative;
background: $primary; background: $primary;
box-shadow: 2px 2px 16px rgba(0, 0, 0, 0.25); box-shadow: 2px 2px 16px rgba(#000, 0.25);
line-height: 1.4; line-height: 1.4;
border-radius: 4px; border-radius: 4px;
max-height: 400px; max-height: 400px;
z-index: 5000; z-index: 5000;
padding-top: 6px; padding-top: 6px;
overflow: hidden; overflow: hidden;
-webkit-tap-highlight-color: transparent; -webkit-tap-highlight-color: transparent;
}
.dp:before {
content: " ";
height: 6px;
position: absolute;
top: 0;
left: 0;
right: 0;
background: $highlight;
} }
.dp::before {
content: ' ';
height: 6px;
position: absolute;
top: 0;
left: 0;
right: 0;
background: $highlight;
}
.dp-permanent .dp { .dp-permanent .dp {
padding-top: 0; padding-top: 0;
border: 1px solid #eee; border: 1px solid #eee;
box-shadow: none; box-shadow: none;
} }
.dp-permanent .dp:before {
display: none; .dp-permanent .dp::before {
display: none;
} }
.dp-cal { .dp-cal {
min-height: 300px; min-height: 300px;
} }
.dp-below { .dp-below {
position: absolute; position: absolute;
font-size: 0.8em; font-size: 0.8em;
width: 400px; width: 400px;
max-width: 90vw; max-width: 90vw;
} }
.dp-permanent { .dp-permanent {
position: relative; position: relative;
font-size: 0.8em; font-size: 0.8em;
width: 400px; width: 400px;
max-width: 100vw; max-width: 100vw;
} }
.dp-permanent .dp { .dp-permanent .dp {
z-index: 0; z-index: 0;
} }
.dp-modal .dp { .dp-modal .dp {
position: absolute; position: absolute;
top: 50%; top: 50%;
left: 50%; left: 50%;
max-width: 600px; max-width: 600px;
width: calc(100% - 4em); width: calc(100% - 4em);
transform: translate(-50%, -50%); transform: translate(-50%, -50%);
animation: slide-up 0.3s forwards; animation: slide-up 0.3s forwards;
} }
.dp-months { .dp-months {
padding: 24px; padding: 24px;
} }
.dp-years { .dp-years {
box-sizing: border-box; box-sizing: border-box;
max-height: 400px; max-height: 400px;
padding: 8px 0; padding: 8px 0;
/* HACK for Chrome on Android */
overflow: auto !important; /* HACK for Chrome on Android */
overflow: auto !important;
} }
.dp-cal-month, .dp-cal-month,
.dp-cal-year, .dp-cal-year,
.dp-day, .dp-day,
.dp-month, .dp-month,
.dp-year { .dp-year {
box-sizing: border-box; box-sizing: border-box;
text-align: center; text-align: center;
text-decoration: none; text-decoration: none;
position: relative; position: relative;
color: $white; color: $white;
border-radius: 2px; border-radius: 2px;
border: 0; border: 0;
background: transparent; background: transparent;
} }
.dp-cal-header { .dp-cal-header {
position: relative; position: relative;
text-align: center; text-align: center;
padding-bottom: 16px; padding-bottom: 16px;
background: color.adjust($primary, $lightness: -10%); background: color.adjust($primary, $lightness: -10%);
} }
.dp-next, .dp-next,
.dp-prev { .dp-prev {
position: absolute; position: absolute;
width: 30px; width: 30px;
height: 30px; height: 30px;
overflow: hidden; overflow: hidden;
top: 14px; top: 14px;
color: color.adjust($primary, $lightness: -50%); color: color.adjust($primary, $lightness: -50%);
border-radius: 2px; border-radius: 2px;
border: 0; border: 0;
background: transparent; background: transparent;
}
.dp-prev {
left: 24px;
}
.dp-next {
right: 24px;
} }
.dp-next:focus, .dp-next:focus,
.dp-prev:focus, .dp-prev:focus,
.dp-next:hover, .dp-next:hover,
.dp-prev:hover { .dp-prev:hover {
outline: none; outline: none;
color: inherit; color: inherit;
} }
.dp-prev {
left: 24px; .dp-prev::before,
.dp-next::before {
content: '';
border: 2px solid;
width: 10px;
height: 10px;
display: inline-block;
transform: rotate(-45deg);
transition: border-color 0.2s;
margin: 9px 0 40px 4px;
} }
.dp-next {
right: 24px; .dp-prev::before {
} border-right: 0;
.dp-prev:before, border-bottom: 0;
.dp-next:before { }
content: "";
border: 2px solid; .dp-next::before {
width: 10px; border-left: 0;
height: 10px; border-top: 0;
display: inline-block; margin-left: 0;
transform: rotate(-45deg); margin-right: 4px;
transition: border-color 0.2s;
margin: 9px 0 40px 4px;
}
.dp-prev:before {
border-right: 0;
border-bottom: 0;
}
.dp-next:before {
border-left: 0;
border-top: 0;
margin-left: 0;
margin-right: 4px;
} }
.dp-cal-month, .dp-cal-month,
.dp-cal-year { .dp-cal-year {
display: inline-block; display: inline-block;
font-size: 1.4em; font-size: 1.4em;
padding: 16px 8px 8px; padding: 16px 8px 8px;
outline: none; outline: none;
} }
.dp-cal-footer { .dp-cal-footer {
text-align: center; text-align: center;
background: color.adjust($primary, $lightness: -10%); background: color.adjust($primary, $lightness: -10%);
} }
.dp-day-today:after {
content: ""; .dp-day-today::after {
height: 0; content: '';
width: 0; height: 0;
border: 7px solid $highlight; width: 0;
border-bottom-color: transparent; border: 7px solid $highlight;
border-left-color: transparent; border-bottom-color: transparent;
position: absolute; border-left-color: transparent;
top: 0; position: absolute;
right: 0; top: 0;
right: 0;
} }
.dp-close, .dp-close,
.dp-clear, .dp-clear,
.dp-today { .dp-today {
box-sizing: border-box; box-sizing: border-box;
display: inline-block; display: inline-block;
width: 33%; width: 33%;
padding: 8px; padding: 8px;
text-decoration: none; text-decoration: none;
color: color.adjust($primary, $lightness: -50%); color: color.adjust($primary, $lightness: -50%);
border: 0; border: 0;
background: transparent; background: transparent;
} }
.dp-permanent .dp-close, .dp-permanent .dp-close,
.dp-permanent .dp-clear { .dp-permanent .dp-clear {
display: none; display: none;
} }
.dp-close:active, .dp-close:active,
.dp-clear:active, .dp-clear:active,
.dp-today:active, .dp-today:active,
@ -183,106 +210,118 @@
.dp-prev:active, .dp-prev:active,
.dp-cal-month:active, .dp-cal-month:active,
.dp-cal-year:active { .dp-cal-year:active {
background: $highlight;
color: $white;
}
@media screen and (min-device-width: 1200px) {
.dp-close:hover,
.dp-close:focus,
.dp-clear:hover,
.dp-clear:focus,
.dp-today:hover,
.dp-today:focus,
.dp-next:hover,
.dp-next:focus,
.dp-prev:hover,
.dp-prev:focus,
.dp-cal-month:focus,
.dp-cal-month:hover,
.dp-cal-year:hover,
.dp-cal-year:focus {
background: $highlight; background: $highlight;
color: $white; color: $white;
} }
@media screen and (min-device-width: 1200px) {
.dp-close:hover,
.dp-close:focus,
.dp-clear:hover,
.dp-clear:focus,
.dp-today:hover,
.dp-today:focus,
.dp-next:hover,
.dp-next:focus,
.dp-prev:hover,
.dp-prev:focus,
.dp-cal-month:focus,
.dp-cal-month:hover,
.dp-cal-year:hover,
.dp-cal-year:focus {
background: $highlight;
color: $white;
}
} }
.dp-col-header, .dp-col-header,
.dp-day { .dp-day {
width: 14.28571429%; width: 14.2857%;
display: inline-block; display: inline-block;
padding: 8px; padding: 8px;
text-align: center; text-align: center;
} }
.dp-col-header { .dp-col-header {
color: #aaa; color: #aaa;
text-transform: uppercase; text-transform: uppercase;
font-weight: 300; font-weight: 300;
font-size: 0.8em; font-size: 0.8em;
padding: 8px 0; padding: 8px 0;
} }
.dp-month { .dp-month {
width: 33%; width: 33%;
display: inline-block; display: inline-block;
padding: 8px; padding: 8px;
} }
.dp-year { .dp-year {
display: block; display: block;
padding: 8px 40px; padding: 8px 40px;
width: 100%; width: 100%;
} }
.dp-edge-day { .dp-edge-day {
color: #aaa; color: #aaa;
} }
.dp-current,
.dp-day:hover, .dp-day:hover,
.dp-month:hover, .dp-month:hover,
.dp-year:hover, .dp-year:hover,
.dp-current:focus, .dp-current:focus,
.dp-current,
.dp-day:focus, .dp-day:focus,
.dp-month:focus, .dp-month:focus,
.dp-year:focus { .dp-year:focus {
outline: none; outline: none;
background: color.adjust($primary, $lightness: -40%); background: color.adjust($primary, $lightness: -40%);
color: $white; color: $white;
} }
.dp-selected:hover, .dp-selected:hover,
.dp-selected:focus, .dp-selected:focus,
.dp-selected { .dp-selected {
background: $highlight; background: $highlight;
color: color.adjust($primary, $lightness: -60%); color: color.adjust($primary, $lightness: -60%);
} }
.dp-day-disabled { .dp-day-disabled {
background: transparent; background: transparent;
color: #ddd; color: #ddd;
} }
.dp-day-disabled:focus, .dp-day-disabled:focus,
.dp-day-disabled:hover { .dp-day-disabled:hover {
background: #ddd; background: #ddd;
} }
.dp-focuser { .dp-focuser {
position: absolute; position: absolute;
z-index: 0; z-index: 0;
top: 50%; top: 50%;
left: 50%; left: 50%;
} }
// Responsive // Responsive
@media (max-width: 480px), (max-height: 480px) { @media (max-width: 480px), (max-height: 480px) {
.dp-modal .dp { .dp-modal .dp {
font-size: 0.9em; font-size: 0.9em;
width: auto; width: auto;
width: 100%; width: 100%;
} }
.dp-day-of-week,
.dp-day { .dp-day-of-week,
padding: 8px; .dp-day {
} padding: 8px;
}
} }
@keyframes slide-up { @keyframes slide-up {
0% { 0% {
transform: translate(-50%, 100%); transform: translate(-50%, 100%);
} }
100% {
transform: translate(-50%, -50%); 100% {
} transform: translate(-50%, -50%);
}
} ; } ;

@ -6,12 +6,11 @@ $white: #efebe3;
$grey: #abb7b7; $grey: #abb7b7;
$black: #32302f; $black: #32302f;
//editor colors // editor colors
$eventCool: #32cd32; $event-cool: #32cd32;
$eventLame: #f64747; $event-lame: #f64747;
$editor-primary: #fde3a7;
$editorPrimary: #fde3a7; $editor-secondary: #e7903c;
$editorSecondary: #e7903c; $editor-tertiary: #6bb9f0;
$editorTertiary: #6bb9f0; $editor-string: #dcc6e0;
$editorString: #dcc6e0; $editor-tag: #e73c4e;
$editorTag: #e73c4e;

@ -1,105 +1,117 @@
code[class*="language-"], code[class*='language-'],
pre[class*="language-"] { pre[class*='language-'] {
color: $editorPrimary; color: $editor-primary;
background: none; background: none;
text-shadow: 0 1px rgba(0, 0, 0, 0.3); text-shadow: 0 1px rgba(#000, 0.3);
font-family: Consolas, Monaco, "Andale Mono", "Ubuntu Mono", monospace; font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
font-size: 1em; font-size: 1em;
text-align: left; text-align: left;
white-space: pre; white-space: pre;
word-spacing: normal; word-spacing: normal;
word-break: normal; word-break: normal;
word-wrap: normal; word-wrap: normal;
line-height: 1.5; line-height: 1.5;
-moz-tab-size: 4; tab-size: 4;
-o-tab-size: 4; hyphens: none;
tab-size: 4;
-webkit-hyphens: none;
-moz-hyphens: none;
-ms-hyphens: none;
hyphens: none;
} }
pre[class*="language-"] {
//padding: 1em pre[class*='language-'] {
margin: 0.1em 0; // padding: 1em
overflow: auto; margin: 0.1em 0;
border-radius: 0.3em; overflow: auto;
border-radius: 0.3em;
} }
:not(pre) > code[class*="language-"],
pre[class*="language-"] { :not(pre) > code[class*='language-'],
background: $primary; pre[class*='language-'] {
background: $primary;
} }
:not(pre) { :not(pre) {
& > code[class*="language-"] { & > code[class*='language-'] {
padding: 0.1em; padding: 0.1em;
border-radius: 0.3em; border-radius: 0.3em;
white-space: normal; white-space: normal;
} }
} }
.token.comment, .token.comment,
.token.prolog, .token.prolog,
.token.doctype, .token.doctype,
.token.cdata { .token.cdata {
color: #8292a2; color: #8292a2;
} }
.token { .token {
&.punctuation { &.punctuation {
color: $editorSecondary; color: $editor-secondary;
} }
&.namespace {
opacity: 0.6; &.namespace {
} opacity: 0.6;
&.keyword { }
color: #66d9ef;
} &.keyword {
&.italic { color: #66d9ef;
font-style: italic; }
}
&.entity { &.italic {
cursor: help; font-style: italic;
} }
&.content {
color: $editorTertiary; &.entity {
} cursor: help;
}
&.content {
color: $editor-tertiary;
}
} }
.token.property, .token.property,
.token.tag, .token.tag,
.token.constant, .token.constant,
.token.symbol, .token.symbol,
.token.deleted { .token.deleted {
color: $editorTag; color: $editor-tag;
} }
.token.boolean, .token.boolean,
.token.number { .token.number {
color: #ae81ff; color: #ae81ff;
} }
.token.selector, .token.selector,
.token.attr-name, .token.attr-name,
.token.string, .token.string,
.token.char, .token.char,
.token.builtin, .token.builtin,
.token.inserted { .token.inserted {
color: #a6e22e; color: #a6e22e;
} }
.token.operator, .token.operator,
.token.entity, .token.entity,
.token.url, .token.url,
.language-css .token.string, .language-css .token.string,
.style .token.string, .style .token.string,
.token.variable { .token.variable {
color: $editorString; color: $editor-string;
} }
.token.atrule, .token.atrule,
.token.attr-value, .token.attr-value,
.token.function, .token.function,
.token.class-name { .token.class-name {
color: #e6db74; color: #e6db74;
} }
.token.regex, .token.regex,
.token.important { .token.important {
color: $editorSecondary; color: $editor-secondary;
} }
.token.important, .token.important,
.token.bold { .token.bold {
font-weight: bold; font-weight: bold;
} }

@ -1,100 +1,116 @@
#edit-control { #edit-control {
// margin 10px // margin 10px
top: 1px; top: 1px;
border-radius: 3px; border-radius: 3px;
width: 100%; width: 100%;
max-width: 880px; max-width: 880px;
margin-top: 30px; margin-top: 30px;
z-index: 2000; z-index: 2000;
button:nth-child(1) { button {
border-radius: 3px 0 0 3px; background: $secondary;
} width: 10%;
button:nth-child(10) { height: 39px;
border-radius: 0 3px 3px 0; transition: all 0.3s linear;
} margin: 0;
button { border-radius: 0;
background: $secondary; display: inline-block;
width: 10%; vertical-align: top;
height: 39px; text-align: center;
transition: all 0.3s linear; }
margin: 0;
border-radius: 0; button:nth-child(1) {
display: inline-block; border-radius: 3px 0 0 3px;
vertical-align: top; }
text-align: center;
} button:nth-child(10) {
button:hover { border-radius: 0 3px 3px 0;
background: color.adjust($secondary, $lightness: -20%); }
}
#option-update { button:hover {
padding: 5px 5px 1px 5px; background: color.adjust($secondary, $lightness: -20%);
display: inline-block; }
vertical-align: top;
text-align: center; #option-update {
} padding: 5px 5px 1px;
.icon-hide { display: inline-block;
display: none; vertical-align: top;
visibility: hidden; text-align: center;
} }
.submit-start {
background: $white; .icon-hide {
display: none;
svg { visibility: hidden;
fill: $eventCool; }
.submit-start {
background: $white;
svg {
fill: $event-cool;
}
}
.submit-cool {
background: $event-cool;
svg {
fill: $white;
}
} }
}
.submit-cool {
background: $eventCool;
svg { .submit-delete {
fill: $white; background: $event-lame !important;
svg {
fill: $white !important;
}
} }
}
.submit-delete {
background: $eventLame !important;
svg { #option-date {
fill: $white !important; height: 30px;
padding-top: 6px;
svg {
margin: -13px 5px 0 0;
display: inline-block;
vertical-align: top;
fill: $white;
}
} }
}
#option-date { .content-editor-btn-icon {
height: 30px; padding: 5px 5px 1px;
padding-top: 6px;
// border-radius 20px
svg { color: $primary;
margin: -13px 5px 0 0;
display: inline-block; svg.edit-btn-icon {
vertical-align: top; fill: $primary;
fill: $white; }
} }
}
.content-editor-btn-icon { .content-editor-btn-text {
padding: 5px 5px 1px 5px; padding: 5px;
// border-radius 20px
color: $primary; // border-radius 20px
color: $primary;
svg { }
fill: $primary;
#option-bold {
font-weight: bold;
text-decoration: none;
}
#option-italic {
font-weight: bold;
text-decoration: none;
font-style: italic;
}
#option-strikethrough {
font-weight: bold;
text-decoration: line-through;
font-style: italic;
} }
}
.content-editor-btn-text {
padding: 5px;
// border-radius 20px
color: $primary;
}
#option-bold {
font-weight: bold;
text-decoration: none;
}
#option-italic {
font-weight: bold;
text-decoration: none;
font-style: italic;
}
#option-strikethrough {
font-weight: bold;
text-decoration: line-through;
font-style: italic;
}
} }

@ -1,24 +1,27 @@
#error-index { #error-index {
width: 100%; width: 100%;
max-width: 900px; max-width: 900px;
margin: 0 auto; margin: 0 auto;
padding: 10px; padding: 10px;
height: 100%; height: 100%;
z-index: 10; z-index: 10;
position: relative; position: relative;
label#title {
font-size: 100px; label#title {
color: $highlight; font-size: 100px;
font-weight: 500; color: $highlight;
} font-weight: 500;
label#message { }
font-size: 50px;
color: $tertiary; label#message {
font-weight: 500; font-size: 50px;
} color: $tertiary;
label#error { font-weight: 500;
font-size: 25px; }
color: $eventLame;
font-weight: 500; label#error {
} font-size: 25px;
color: $event-lame;
font-weight: 500;
}
} }

@ -19,7 +19,7 @@ input[type="text"] {
border-radius: 5px; border-radius: 5px;
padding: 5px; padding: 5px;
margin: 10px 5px 0 0; margin: 10px 5px 0 0;
font: 18px $baseType; font: 18px $basetype;
display: inline-block; display: inline-block;
background: $primary; background: $primary;
color: $tertiary; color: $tertiary;
@ -28,14 +28,14 @@ textarea {
border: 0; border: 0;
border-radius: 3px; border-radius: 3px;
color: $white; color: $white;
font: 15px $baseType; font: 15px $basetype;
background: $primary; background: $primary;
} }
button, button,
input[type="submit"] { input[type="submit"] {
background: $highlight; background: $highlight;
color: $primary; color: $primary;
font: 20px $baseType; font: 20px $basetype;
border-radius: 5px; border-radius: 5px;
position: relative; position: relative;
cursor: pointer; cursor: pointer;
@ -44,7 +44,7 @@ input[type="submit"] {
transition: all 0.3s linear; transition: all 0.3s linear;
} }
select { select {
font: 14px $baseType; font: 14px $basetype;
border: 1px solid $secondary; border: 1px solid $secondary;
-webkit-appearance: none; -webkit-appearance: none;
-moz-appearance: none; -moz-appearance: none;
@ -52,20 +52,20 @@ select {
color: $primary; color: $primary;
} }
::-webkit-input-placeholder { ::-webkit-input-placeholder {
font: 25px $baseType; font: 25px $basetype;
color: $white; color: $white;
} }
:-moz-placeholder { :-moz-placeholder {
/* Firefox 18- */ /* Firefox 18- */
font: 25px $baseType; font: 25px $basetype;
color: $white; color: $white;
} }
::-moz-placeholder { ::-moz-placeholder {
/* Firefox 19+ */ /* Firefox 19+ */
font: 15px $baseType; font: 15px $basetype;
color: $white; color: $white;
} }
:-ms-input-placeholder { :-ms-input-placeholder {
font: 25px $baseType; font: 25px $basetype;
color: $white; color: $white;
} }

@ -1,346 +1,381 @@
#dash-index-content { #dash-index-content {
width: 100%;
height: 100%;
margin: 0 auto;
#dash-index {
width: 100%; width: 100%;
height: 100%; height: 100%;
z-index: 10; margin: 0 auto;
position: relative;
#dash-index-wrapper {
width: 100%;
height: 100%;
margin: 0 auto;
.dash-init, #dash-index {
.dash-restore {
width: 100%;
height: 100%;
display: flex;
align-items: center;
justify-content: center;
color: $primary;
form {
background: $white;
padding: 15px;
width: 300px;
border-radius: 5px;
text-align: center;
#the-logo {
width: 40px;
margin: 20px;
}
input {
width: 290px;
margin: 0 0 10px 0;
height: 30px;
}
button {
width: 300px;
}
div {
background: $primary;
color: $white;
border-radius: 3px;
padding: 5px;
label {
display: block;
padding: 5px;
color: $tertiary;
}
}
}
}
.dash-restore {
display: none;
visibility: hidden;
}
#dash-login {
width: 100%;
height: 100%;
margin: 0 auto;
display: flex;
align-items: center;
justify-content: center;
#dash-form,
#dash-reset {
width: 300px;
padding: 0.75em;
background: $white;
border-radius: 5px;
color: $white;
text-align: center;
#the-logo {
width: 40px;
margin: 20px;
}
input {
width: 290px;
margin: 0 0 10px 0;
height: 30px;
}
button {
width: 300px;
}
}
}
#dash-menu {
padding: 10px;
width: 90%;
max-width: 900px;
margin: 50px auto;
a {
display: inline-block;
vertical-align: top;
background: color.adjust($primary, $lightness: -60%);
width: 30%;
padding: 5px;
border-radius: 3px;
color: $white;
margin: 0 10px 10px 0;
&:hover {
background: color.adjust($primary, $lightness: -60%);
}
svg {
display: inline-block;
vertical-align: top;
fill: $white;
}
label {
display: inline-block;
margin-top: 5px;
width: 85%;
text-align: center;
cursor: pointer;
}
}
}
#dash-recent {
width: 100%; width: 100%;
max-width: 900px;
height: 100%; height: 100%;
padding: 5px 0 0 0; z-index: 10;
margin: 0 auto; position: relative;
#recent-list { #dash-index-wrapper {
//padding: 5px width: 100%;
position: relative; height: 100%;
margin: 0 auto;
.recent-header {
height: 50px; .dash-init,
margin-top: 5px; .dash-restore {
.index-header-left { width: 100%;
vertical-align: top; height: 100%;
display: inline-block; display: flex;
width: 50%; align-items: center;
color: $white; justify-content: center;
font-size: 3em; color: $primary;
}
.index-header-right { form {
width: 50%; background: $white;
text-align: right; padding: 15px;
vertical-align: top; width: 300px;
display: inline-block; border-radius: 5px;
right: 10px; text-align: center;
color: $white;
a { #the-logo {
button { width: 40px;
border-radius: 3px; margin: 20px;
margin-left: 10px; }
svg {
transition: all 0.2s linear; input {
width: 40px; width: 290px;
height: 20px; margin: 0 0 10px;
fill: $white; height: 30px;
} }
button {
width: 300px;
}
div {
background: $primary;
color: $white;
border-radius: 3px;
padding: 5px;
label {
display: block;
padding: 5px;
color: $tertiary;
}
}
} }
}
} }
}
a.post-link, .dash-restore {
a.post-video-link { display: none;
font-size: 1.5em; visibility: hidden;
font-weight: 300;
display: inline-block;
border-radius: 3px;
vertical-align: top;
text-decoration: none;
position: relative;
overflow: hidden;
.post-video {
width: 100%;
height: 100%;
object-fit: cover;
position: absolute;
}
label {
font-size: 1.4em;
font-weight: 700;
color: $white;
padding: 5px;
vertical-align: top;
display: inline-block;
word-wrap: break-word;
width: 100%;
text-align: center;
position: relative;
top: 35%;
text-shadow: 2px 2px 0 rgba($black, 1);
} }
div#options {
width: 100%; #dash-login {
position: absolute; width: 100%;
bottom: 0; height: 100%;
border-radius: 0 0 3px 3px; margin: 0 auto;
background: linear-gradient( display: flex;
to bottom, align-items: center;
rgba(0, 0, 0, 0) 0%, justify-content: center;
rgba(0, 0, 0, 0.65) 100%
); #dash-form,
#dash-reset {
#option-left { width: 300px;
display: inline-block; padding: 0.75em;
vertical-align: top; background: $white;
width: 50%; border-radius: 5px;
position: relative; color: $white;
background: none; text-align: center;
button {
border-radius: 3px; #the-logo {
background: $primary; width: 40px;
margin: 0 0 10px 10px; margin: 20px;
svg { }
//@include object-transitions(0.1s)
width: 40px; input {
height: 20px; width: 290px;
fill: $secondary; margin: 0 0 10px;
} height: 30px;
} }
.item-options {
border-radius: 3px; button {
margin: 5px; width: 300px;
display: inline-block; }
}
button[data-active="false"] {
background: $primary;
svg {
fill: $secondary;
}
} }
button[data-active="true"] { }
background: $tertiary;
svg { #dash-menu {
fill: $primary; padding: 10px;
} width: 90%;
max-width: 900px;
margin: 50px auto;
a {
display: inline-block;
vertical-align: top;
background: color.adjust($primary, $lightness: -60%);
width: 30%;
padding: 5px;
border-radius: 3px;
color: $white;
margin: 0 10px 10px 0;
&:hover {
background: color.adjust($primary, $lightness: -60%);
}
svg {
display: inline-block;
vertical-align: top;
fill: $white;
}
label {
display: inline-block;
margin-top: 5px;
width: 85%;
text-align: center;
cursor: pointer;
}
} }
} }
#option-right {
display: inline-block; #dash-recent {
width: 50%; width: 100%;
text-align: right; max-width: 900px;
span { height: 100%;
font-weight: bold; padding: 5px 0 0;
display: block; margin: 0 auto;
background: $white;
color: $primary; #recent-list {
border-radius: 3px; // padding: 5px
font-size: 0.6em; position: relative;
text-align: center;
position: relative; .recent-header {
padding: 5px; height: 50px;
float: right; margin-top: 5px;
margin: 0 10px 0 0;
bottom: -15px; .index-header-left {
vertical-align: top;
display: inline-block;
width: 50%;
color: $white;
font-size: 3em;
}
.index-header-right {
width: 50%;
text-align: right;
vertical-align: top;
display: inline-block;
right: 10px;
color: $white;
a {
button {
border-radius: 3px;
margin-left: 10px;
svg {
transition: all 0.2s linear;
width: 40px;
height: 20px;
fill: $white;
}
}
}
}
}
a.post-link,
a.post-video-link {
font-size: 1.5em;
font-weight: 300;
display: inline-block;
border-radius: 3px;
vertical-align: top;
text-decoration: none;
position: relative;
overflow: hidden;
.post-video {
width: 100%;
height: 100%;
object-fit: cover;
position: absolute;
}
label {
font-size: 1.4em;
font-weight: 700;
color: $white;
padding: 5px;
vertical-align: top;
display: inline-block;
word-wrap: break-word;
width: 100%;
text-align: center;
position: relative;
top: 35%;
text-shadow: 2px 2px 0 rgba($black, 1);
}
div#options {
width: 100%;
position: absolute;
bottom: 0;
border-radius: 0 0 3px 3px;
background: linear-gradient(
to bottom,
rgba(#000, 0) 0%,
rgba(#000, 0.65) 100%
);
#option-left {
display: inline-block;
vertical-align: top;
width: 50%;
position: relative;
background: none;
button {
border-radius: 3px;
background: $primary;
margin: 0 0 10px 10px;
svg {
// @include object-transitions(0.1s)
width: 40px;
height: 20px;
fill: $secondary;
}
}
.item-options {
border-radius: 3px;
margin: 5px;
display: inline-block;
}
button[data-active='false'] {
background: $primary;
svg {
fill: $secondary;
}
}
button[data-active='true'] {
background: $tertiary;
svg {
fill: $primary;
}
}
}
#option-right {
display: inline-block;
width: 50%;
text-align: right;
span {
font-weight: bold;
display: block;
background: $white;
color: $primary;
border-radius: 3px;
font-size: 0.6em;
text-align: center;
position: relative;
padding: 5px;
float: right;
margin: 0 10px 0 0;
bottom: -15px;
}
}
}
}
a.dash-link:nth-child(3) {
width: 100%;
margin-bottom: 20px;
height: 500px;
}
a.dash-link:nth-child(4),
a.dash-link:nth-child(6) {
width: 48.6%;
height: 350px;
margin: 0 10px 20px 0;
}
a.dash-link:nth-child(5),
a.dash-link:nth-child(7) {
width: 48.6%;
height: 350px;
margin: 0 0 20px 10px;
}
} }
}
} }
}
a:nth-child(3) {
width: 100%;
margin-bottom: 20px;
height: 500px;
}
a:nth-child(4),
a:nth-child(6) {
width: 48.6%;
height: 350px;
margin: 0 10px 20px 0;
}
a:nth-child(5),
a:nth-child(7) {
width: 48.6%;
height: 350px;
margin: 0 0 20px 10px;
}
//Reponsive
} }
}
} }
}
} }
@media only screen and (max-width: 768px) { @media only screen and (max-width: 768px) {
#dash-index-content { #dash-index-content {
#dash-index { #dash-index {
#dash-index-wrapper { #dash-index-wrapper {
#dash-recent { #dash-recent {
#recent-list { #recent-list {
a:nth-child(4), a:nth-child(4),
a:nth-child(6) { a:nth-child(6) {
width: 48.9%; width: 48.9%;
}
}
}
} }
}
} }
}
} }
}
} }
@media only screen and (max-width: 640px) { @media only screen and (max-width: 640px) {
#dash-index-content { #dash-index-content {
#dash-index { #dash-index {
#dash-index-wrapper { #dash-index-wrapper {
#dash-recent { #dash-recent {
#recent-list { #recent-list {
a:nth-child(4), a:nth-child(4),
a:nth-child(6) { a:nth-child(6) {
width: 48.5%; width: 48.5%;
}
}
}
} }
}
} }
}
} }
}
} }
@media only screen and (max-width: 480px) { @media only screen and (max-width: 480px) {
#dash-index-content { #dash-index-content {
#dash-index { #dash-index {
#dash-index-wrapper { #dash-index-wrapper {
#dash-recent { #dash-recent {
#recent-list { #recent-list {
.recent-header { .recent-header {
h3 { h3 {
width: 40%; width: 40%;
} }
.index-menu {
width: 60%; .index-menu {
} width: 60%;
} }
a:nth-child(3), }
a:nth-child(4),
a:nth-child(5), a.dash-link:nth-child(3),
a:nth-child(6), a.dash-link:nth-child(4),
a:nth-child(7) { a.dash-link:nth-child(5),
width: 100%; a.dash-link:nth-child(6),
margin: 15px 0 0 0; a.dash-link:nth-child(7) {
height: 400px; width: 100%;
margin: 15px 0 0;
height: 400px;
}
}
}
} }
}
} }
}
} }
}
} ; } ;

@ -1,7 +1,7 @@
@mixin background-opacity($rgb_value, $opacity) { @mixin background-opacity($rgb_value, $opacity) {
background: rgba($rgb_value, $opacity); background: rgba($rgb_value, $opacity);
} }
@mixin custom-header($weight, $size, $line_height, $color) { @mixin custom-header($weight, $size, $line_height, $color) {
font: $weight $size/$line_height $bodyTypeSans; font: $weight $size/$line_height $bodyTypeSans;
color: $color; color: $color;
} }

@ -1,88 +1,93 @@
#nav-index { #nav-index {
width: 100%; width: 100%;
max-width: 900px; max-width: 900px;
margin: 0 auto; margin: 0 auto;
#nav-index-wrapper { #nav-index-wrapper {
#nav-pages { #nav-pages {
.nav-item { .nav-item {
display: block; display: block;
width: 98%; width: 98%;
background: $white; background: $white;
border-radius: 3px; border-radius: 3px;
color: $highlight; color: $highlight;
height: 30px; height: 30px;
padding: 10px; padding: 10px;
margin: 0 0 10px 0; margin: 0 0 10px;
font-size: 1.5em; font-size: 1.5em;
cursor: move; cursor: move;
#item-arrows {
fill: $primary; #item-arrows {
width: 40px; fill: $primary;
height: 30px; width: 40px;
} height: 30px;
} }
label { }
display: inline-block;
vertical-align: middle; label {
padding: 0; display: inline-block;
margin: -15px 0 0 10px; vertical-align: middle;
cursor: move; padding: 0;
} margin: -15px 0 0 10px;
#nav-btns { cursor: move;
float: right; }
top: -5px;
position: relative; #nav-btns {
button { float: right;
color: $white; top: -5px;
border-radius: 3px; position: relative;
width: 40px;
margin: 0 10px 0 10px; button {
svg { color: $white;
fill: $white; border-radius: 3px;
width: 25px; width: 40px;
height: 20px; margin: 0 10px;
}
svg {
fill: $white;
width: 25px;
height: 20px;
}
}
}
} }
}
} }
}
} }
@media only screen and (max-width: 375px) { @media only screen and (max-width: 375px) {
#nav-index { #nav-index {
#nav-index-wrapper { #nav-index-wrapper {
#nav-pages { #nav-pages {
.nav-item { .nav-item {
width: 94.5%; width: 94.5%;
font-size: 1em; font-size: 1em;
label { label {
width: 40%; width: 40%;
vertical-align: top; vertical-align: top;
margin-top: 0px; margin-top: 0;
line-height: 1em; line-height: 1em;
} }
}
}
} }
}
} }
}
} }
@media only screen and (max-width: 320px) { @media only screen and (max-width: 320px) {
#nav-index { #nav-index {
#nav-index-wrapper { #nav-index-wrapper {
#nav-pages { #nav-pages {
.nav-item { .nav-item {
width: 94.5%; width: 94.5%;
font-size: 1em; font-size: 1em;
label { label {
width: 37%; width: 37%;
vertical-align: top; vertical-align: top;
margin-top: 0px; margin-top: 0;
line-height: 1em; line-height: 1em;
} }
}
}
} }
}
} }
}
} ; } ;

@ -1,202 +1,351 @@
/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
/* Document
========================================================================== */
/**
* 1. Correct the line height in all browsers.
* 2. Prevent adjustments of font size after orientation changes in iOS.
*/
html { html {
line-height: 1.15; line-height: 1.15; /* 1 */
-ms-text-size-adjust: 100%; // -webkit-text-size-adjust: 100%; /* 2 */
-webkit-text-size-adjust: 100%; }
}
/* Sections
========================================================================== */
/**
* Remove the margin in all browsers.
*/
body { body {
margin: 0; margin: 0;
}
article,
aside,
footer,
header,
nav,
section {
display: block;
} }
h1 {
font-size: 2em; /**
margin: 0.67em 0; * Render the `main` element consistently in IE.
line-height: 1em; */
}
figcaption,
figure,
main { main {
display: block; display: block;
} }
figure {
margin: 1em 40px; /**
} * Correct the font size and margin on `h1` elements within `section` and
* `article` contexts in Chrome, Firefox, and Safari.
*/
h1 {
font-size: 2em;
margin: 0.67em 0;
}
/* Grouping content
========================================================================== */
/**
* 1. Add the correct box sizing in Firefox.
* 2. Show the overflow in Edge and IE.
*/
hr { hr {
box-sizing: content-box; box-sizing: content-box; /* 1 */
height: 0; height: 0; /* 1 */
overflow: visible; overflow: visible; /* 2 */
} }
/**
* 1. Correct the inheritance and scaling of font size in all browsers.
* 2. Correct the odd `em` font sizing in all browsers.
*/
pre { pre {
font-family: monospace, monospace; font-family: monospace; /* 1 */
font-size: 1em; font-size: 1em; /* 2 */
} }
/* Text-level semantics
========================================================================== */
/**
* Remove the gray background on active links in IE 10.
*/
a { a {
background-color: transparent; background-color: transparent;
-webkit-text-decoration-skip: objects; }
}
a:active, /**
a:hover { * 1. Remove the bottom border in Chrome 57-
outline-width: 0; * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
} */
abbr[title] { abbr[title] {
border-bottom: none; border-bottom: none; /* 1 */
text-decoration: underline; text-decoration: underline; /* 2 */
text-decoration: underline dotted; text-decoration: underline dotted; /* 2 */
} }
/**
* Add the correct font weight in Chrome, Edge, and Safari.
*/
b, b,
strong { strong {
font-weight: inherit; font-weight: bolder;
font-weight: bolder; }
}
//code, /**
* 1. Correct the inheritance and scaling of font size in all browsers.
* 2. Correct the odd `em` font sizing in all browsers.
*/
code,
kbd, kbd,
samp { samp {
font-family: monospace, monospace; font-family: monospace; /* 1 */
font-size: 1em; font-size: 1em; /* 2 */
} }
dfn {
font-style: italic; /**
} * Add the correct font size in all browsers.
mark { */
background-color: #ff0;
color: #000;
}
small { small {
font-size: 80%; font-size: 80%;
} }
/**
* Prevent `sub` and `sup` elements from affecting the line height in
* all browsers.
*/
sub, sub,
sup { sup {
font-size: 60%; font-size: 75%;
line-height: 0; line-height: 0;
position: relative; position: relative;
vertical-align: baseline; vertical-align: baseline;
} }
sub { sub {
bottom: -0.25em; bottom: -0.25em;
} }
sup { sup {
top: -0.55em; top: -0.5em;
background: $primary; }
color: $primary;
border-radius: 2px; /* Embedded content
padding: 0 2px 0 2px; ========================================================================== */
margin: 0 2px 0 0;
} /**
audio, * Remove the border on images inside links in IE 10.
video { */
display: inline-block;
}
audio {
&:not([controls]) {
display: none;
height: 0;
}
}
img { img {
border-style: none; border-style: none;
} }
svg {
&:not(:root) { /* Forms
overflow: hidden; ========================================================================== */
}
} /**
* 1. Change the font styles in all browsers.
* 2. Remove the margin in Firefox and Safari.
*/
button, button,
input, input,
optgroup, optgroup,
select, select,
textarea { textarea {
font-family: sans-serif; font-family: inherit; /* 1 */
font-size: 100%; font-size: 100%; /* 1 */
line-height: 1.15; line-height: 1.15; /* 1 */
margin: 0; margin: 0; /* 2 */
} }
/**
* Show the overflow in IE.
* 1. Show the overflow in Edge.
*/
button, button,
input { input {
overflow: visible; /* 1 */
} overflow: visible;
}
/**
* Remove the inheritance of text transform in Edge, Firefox, and IE.
* 1. Remove the inheritance of text transform in Firefox.
*/
button, button,
select { select {
text-transform: none; /* 1 */
} text-transform: none;
}
/**
* Correct the inability to style clickable types in iOS and Safari.
*/
button, button,
html [type="button"], [type='button'],
[type="reset"], [type='reset'],
[type="submit"] { [type='submit'] {
-webkit-appearance: button; // -webkit-appearance: button;
} }
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner, /**
[type="submit"]::-moz-focus-inner, * Remove the inner border and padding in Firefox.
button::-moz-focus-inner { */
border-style: none;
padding: 0; button::-moz-focus-inner,
} [type='button']::-moz-focus-inner,
[type="button"]:-moz-focusring, [type='reset']::-moz-focus-inner,
[type="reset"]:-moz-focusring, [type='submit']::-moz-focus-inner {
[type="submit"]:-moz-focusring, border-style: none;
button:-moz-focusring { padding: 0;
outline: 1px dotted ButtonText; }
}
/**
* Restore the focus styles unset by the previous rule.
*/
button:-moz-focusring,
[type='button']:-moz-focusring,
[type='reset']:-moz-focusring,
[type='submit']:-moz-focusring {
outline: 1px dotted ButtonText;
}
/**
* Correct the padding in Firefox.
*/
fieldset { fieldset {
border: 1px solid #c0c0c0; padding: 0.35em 0.75em 0.625em;
margin: 0 2px; }
padding: 0.35em 0.625em 0.75em;
} /**
* 1. Correct the text wrapping in Edge and IE.
* 2. Correct the color inheritance from `fieldset` elements in IE.
* 3. Remove the padding so developers are not caught out when they zero out
* `fieldset` elements in all browsers.
*/
legend { legend {
box-sizing: border-box; box-sizing: border-box; /* 1 */
color: inherit; color: inherit; /* 2 */
display: table; display: table; /* 1 */
max-width: 100%; max-width: 100%; /* 1 */
padding: 0; padding: 0; /* 3 */
white-space: normal; white-space: normal; /* 1 */
} }
/**
* Add the correct vertical alignment in Chrome, Firefox, and Opera.
*/
progress { progress {
display: inline-block; vertical-align: baseline;
vertical-align: baseline;
} }
/**
* Remove the default vertical scrollbar in IE 10+.
*/
textarea { textarea {
overflow: auto; overflow: auto;
} }
[type="checkbox"],
[type="radio"] { /**
box-sizing: border-box; * 1. Add the correct box sizing in IE 10.
padding: 0; * 2. Remove the padding in IE 10.
} */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button { [type='checkbox'],
height: auto; [type='radio'] {
} box-sizing: border-box; /* 1 */
[type="search"] { padding: 0; /* 2 */
-webkit-appearance: textfield; }
outline-offset: -2px;
} /**
[type="search"]::-webkit-search-cancel-button, * Correct the cursor style of increment and decrement buttons in Chrome.
[type="search"]::-webkit-search-decoration { */
-webkit-appearance: none;
} [type='number']::-webkit-inner-spin-button,
[type='number']::-webkit-outer-spin-button {
height: auto;
}
/**
* 1. Correct the odd appearance in Chrome and Safari.
* 2. Correct the outline style in Safari.
*/
[type='search'] {
// -webkit-appearance: textfield; /* 1 */
outline-offset: -2px; /* 2 */
}
/**
* Remove the inner padding in Chrome and Safari on macOS.
*/
[type='search']::-webkit-search-decoration {
// -webkit-appearance: none;
}
/**
* 1. Correct the inability to style clickable types in iOS and Safari.
* 2. Change font properties to `inherit` in Safari.
*/
::-webkit-file-upload-button { ::-webkit-file-upload-button {
-webkit-appearance: button; // -webkit-appearance: button; /* 1 */
font: inherit; font: inherit; /* 2 */
} }
details,
menu { /* Interactive
display: block; ========================================================================== */
}
/*
* Add the correct display in Edge, IE 10+, and Firefox.
*/
details {
display: block;
}
/*
* Add the correct display in all browsers.
*/
summary { summary {
display: list-item; display: list-item;
} }
canvas {
display: inline-block; /* Misc
} ========================================================================== */
/**
* Add the correct display in IE 10+.
*/
template { template {
display: none; display: none;
} }
/**
* Add the correct display in IE 10.
*/
[hidden] { [hidden] {
display: none; display: none;
} }

File diff suppressed because it is too large Load Diff

@ -1,328 +1,383 @@
#settings-actions { #settings-actions {
position: fixed; position: fixed;
width: 40%; width: 40%;
margin-top: -85px; margin-top: -85px;
left: 50%; left: 50%;
margin-left: -20%; margin-left: -20%;
#buttons {
width: 185px;
margin: 28px auto;
text-align: center;
background: $white;
padding: 2px;
border-radius: 3px;
button {
color: $white;
border-radius: 3px;
width: 40px;
margin: 0 10px 0 10px;
svg {
width: 25px;
height: 20px;
fill: $white;
}
}
button[data-render="false"] {
background: $secondary;
svg {
fill: $primary;
}
}
button[data-render="true"] {
background: $highlight;
svg {
fill: $white;
}
}
}
}
#settings-index {
width: 94%;
max-width: 900px;
margin: 0 auto;
overflow: hidden;
#settings-index-wrapper {
padding: 0;
button {
margin-top: 5px;
width: 100%;
height: 33px;
}
#member-settings,
#feature-settings,
#option-settings,
#token-settings,
#backup-settings {
background: $white;
padding: 0px;
border-radius: 5px 0 5px 0;
width: 100%;
margin: 20px auto;
label {
font-family: $baseType;
color: $primary;
font-weight: bold;
}
span {
color: $secondary;
}
input {
width: 95%;
margin: 0 5px 10px 0;
height: 30px;
padding: 10px;
}
input#backup-upload {
visibility: hidden;
display: none;
}
.backup-meta {
background: $primary;
color: $white;
padding: 8px;
border-radius: 3px;
margin: 5px 0 0 0;
text-align: center;
}
#member-images {
padding: 10px 15px 0 15px;
#member-avatar-drop {
display: inline-block;
margin: 0 0 10px 0;
img { #buttons {
width: 100%; width: 185px;
border-radius: 5px; margin: 28px auto;
overflow: hidden; text-align: center;
cursor: pointer;
display: block;
margin-bottom: 2px;
}
input {
visibility: hidden;
display: none;
}
#privacy-toggle {
width: 50%;
}
#render-toggle {
width: 50%;
}
}
#site-background {
margin: 0 0 10px 0;
img {
width: 92.1%;
height: 292px;
border-radius: 3px;
overflow: hidden;
cursor: pointer;
}
input {
visibility: hidden;
display: none;
}
}
}
#member-meta {
padding: 10px 15px 0 15px;
position: relative;
top: -30px;
}
#features {
padding: 10px 15px 0 15px;
}
}
textarea {
background: $primary;
width: 70%;
height: 89.5px;
color: $tertiary;
padding: 10px;
display: inline-block;
margin-bottom: 10px;
}
span#key {
color: $white;
background: $primary;
font-size: 0.9em;
border-radius: 3px;
padding: 5px;
display: block;
width: 95%;
overflow: hidden;
}
#feature-settings {
#feature-api,
#dynamic-api {
background: $white; background: $white;
padding: 2px;
border-radius: 3px; border-radius: 3px;
padding: 5px;
button { button {
color: $white;
border-radius: 3px;
width: 200px;
margin: 0;
height: 200px;
font-size: 1em;
svg {
width: 100px;
height: 90px;
fill: $white;
position: relative;
display: block;
margin: 12px auto;
}
span {
color: $white; color: $white;
margin: 6px 0 0 5px; border-radius: 3px;
position: relative; width: 40px;
vertical-align: middle; margin: 0 10px;
display: inline-block;
font-weight: bold; svg {
} width: 25px;
height: 20px;
fill: $white;
}
} }
button[data-enabled="false"] {
background: $secondary; button[data-render='false'] {
svg { background: $secondary;
fill: $primary;
} svg {
span { fill: $primary;
color: $primary; }
}
} }
button[data-enabled="true"] {
background: $highlight; button[data-render='true'] {
svg { background: $highlight;
fill: $white;
} svg {
fill: $white;
}
} }
}
} }
#token-settings { }
#keys-tokens {
padding: 10px 15px 0 15px; #settings-index {
#member-api-key, width: 94%;
#form-token { max-width: 900px;
background: $primary; margin: 0 auto;
border-radius: 3px; overflow: hidden;
padding: 5px;
color: $white; #settings-index-wrapper {
padding: 0;
button {
margin-top: 5px;
width: 100%;
height: 33px;
} }
}
} #member-settings,
#option-settings { #feature-settings,
#theme-settings { #option-settings,
a { #token-settings,
width: 95%; #backup-settings {
margin: 0 5px 5px 0; background: $white;
height: 15px; padding: 0;
padding: 10px; border-radius: 5px 0;
display: inline-block; width: 100%;
margin: 20px auto;
label {
font-family: $basetype;
color: $primary;
font-weight: bold;
}
span {
color: $secondary;
}
input {
width: 95%;
margin: 0 5px 10px 0;
height: 30px;
padding: 10px;
}
input#backup-upload {
visibility: hidden;
display: none;
}
.backup-meta {
background: $primary;
color: $white;
padding: 8px;
border-radius: 3px;
margin: 5px 0 0;
text-align: center;
}
#member-images {
padding: 10px 15px 0;
#member-avatar-drop {
display: inline-block;
margin: 0 0 10px;
img {
width: 100%;
border-radius: 5px;
overflow: hidden;
cursor: pointer;
display: block;
margin-bottom: 2px;
}
input {
visibility: hidden;
display: none;
}
#privacy-toggle {
width: 50%;
}
#render-toggle {
width: 50%;
}
}
#site-background {
margin: 0 0 10px;
img {
width: 92.1%;
height: 292px;
border-radius: 3px;
overflow: hidden;
cursor: pointer;
}
input {
visibility: hidden;
display: none;
}
}
}
#member-meta {
padding: 10px 15px 0;
position: relative;
top: -30px;
}
#features {
padding: 10px 15px 0;
}
} }
a[data-enabled="false"] {
background: $white; #mail-settings {
color: $primary; min-height: 240px;
border-radius: 3px;
font-weight: bold; /*
border-top: 1px $highlight solid; input {
border-bottom: 1px $highlight solid; margin: 0 5px 5px 0;
vertical-align: top;
}
*/
a.mail-option {
float: right;
font-family: $monotype;
font-size: 0.9em;
border-radius: 3px;
text-decoration: none;
margin: 0 0 0 5px;
}
a.mail-option[data-enabled='true'] {
color: $highlight;
}
a.mail-option[data-enabled='false'] {
color: $primary;
}
div[data-enabled='false'] {
display: none;
visibility: hidden;
}
#settings-api {
background: $primary;
border-radius: 3px;
padding: 10px;
span {
color: $white !important;
margin: -13px 0 0 5px;
position: relative;
vertical-align: middle;
display: inline-block;
font-weight: bold;
}
button {
color: $white;
border-radius: 3px;
width: 40px;
margin: 0;
svg {
width: 25px;
height: 20px;
fill: $white;
}
}
button[data-enabled='false'] {
background: $secondary;
svg {
fill: $primary;
}
}
button[data-enabled='true'] {
background: $highlight;
svg {
fill: $white;
}
}
}
} }
a[data-enabled="true"] {
background: $highlight; textarea {
color: $primary; background: $primary;
border-radius: 3px; width: 70%;
font-weight: bold; height: 89.5px;
border-top: 1px $primary solid; color: $tertiary;
border-bottom: 1px $primary solid; padding: 10px;
svg {
fill: $primary;
display: inline-block; display: inline-block;
float: right; margin-bottom: 10px;
}
}
}
#mail-settings {
min-height: 240px;
a.mail-option {
float: right;
font-family: $monoType;
font-size: 0.9em;
border-radius: 3px;
text-decoration: none;
margin: 0 0 0 5px;
}
a.mail-option[data-enabled="true"] {
color: $highlight;
} }
a.mail-option[data-enabled="false"] {
color: $primary; span#key {
}
input {
// width 94%
margin: 0 5px 5px 0;
vertical-align: top;
}
div[data-enabled="false"] {
display: none;
visibility: hidden;
}
#settings-api {
background: $primary;
border-radius: 3px;
padding: 10px;
span {
color: $white !important;
margin: -13px 0 0 5px;
position: relative;
vertical-align: middle;
display: inline-block;
font-weight: bold;
}
button {
color: $white; color: $white;
background: $primary;
font-size: 0.9em;
border-radius: 3px; border-radius: 3px;
width: 40px; padding: 5px;
margin: 0; display: block;
svg { width: 95%;
width: 25px; overflow: hidden;
height: 20px; }
fill: $white;
#feature-settings {
#feature-api,
#dynamic-api {
background: $white;
border-radius: 3px;
padding: 5px;
button {
color: $white;
border-radius: 3px;
width: 200px;
margin: 0;
height: 200px;
font-size: 1em;
svg.icons {
width: 100px;
height: 90px;
fill: $white;
position: relative;
display: block;
margin: 12px auto;
}
span {
color: $white;
margin: 6px 0 0 5px;
position: relative;
vertical-align: middle;
display: inline-block;
font-weight: bold;
}
}
button[data-enabled='false'] {
background: $secondary;
svg {
fill: $primary;
}
span {
color: $primary;
}
}
button[data-enabled='true'] {
background: $highlight;
svg {
fill: $white;
}
}
} }
} }
button[data-enabled="false"] {
background: $secondary; #token-settings {
svg { #keys-tokens {
fill: $primary; padding: 10px 15px 0;
#member-api-key,
#form-token {
background: $primary;
border-radius: 3px;
padding: 5px;
color: $white;
}
} }
} }
button[data-enabled="true"] {
background: $highlight; #option-settings {
svg { #theme-settings {
fill: $white; a {
width: 95%;
margin: 0 5px 5px 0;
height: 15px;
padding: 10px;
display: inline-block;
}
a[data-enabled='false'] {
background: $white;
color: $primary;
border-radius: 3px;
font-weight: bold;
border-top: 1px $highlight solid;
border-bottom: 1px $highlight solid;
}
a[data-enabled='true'] {
background: $highlight;
color: $primary;
border-radius: 3px;
font-weight: bold;
border-top: 1px $primary solid;
border-bottom: 1px $primary solid;
svg {
fill: $primary;
display: inline-block;
float: right;
}
}
} }
// responsive
}
} }
}
} }
}
} }
// Responsive for Settings
@media only screen and (max-width: 480px) { @media only screen and (max-width: 480px) {
#settings-actions { #settings-actions {
margin-left: -42%; margin-left: -42%;
#buttons {
width: 150px; #buttons {
background: none; width: 150px;
button { background: none;
margin: 0 5px 0 5px;
} button {
margin: 0 5px;
}
}
} }
}
} ; } ;

@ -7,12 +7,12 @@ body {
rgba(color.adjust($primary, $lightness: 10%), 1) 100% rgba(color.adjust($primary, $lightness: 10%), 1) 100%
) )
no-repeat; no-repeat;
font: 400 1em $baseType; font: 400 1em $basetype;
height: 100%; height: 100%;
} }
a { a {
font: 300 1em $baseType; font: 300 1em $basetype;
color: $secondary; color: $secondary;
text-decoration: underline; text-decoration: underline;
transition: all 0.2s linear; transition: all 0.2s linear;

@ -1,20 +1,23 @@
$baseType: Helvetica, Arial, sans-serif; $basetype: helvetica, arial, sans-serif;
$monoType: "Lucida Console", Monaco, monospace; $monotype: 'Lucida Console', monaco, monospace;
h1, h1,
h2, h2,
h3 { h3 {
color: $white; color: $white;
} }
h1 { h1 {
font-size: 2em; font-size: 2em;
font-weight: 400; font-weight: 400;
} }
h2 { h2 {
font-size: 1.75em; font-size: 1.75em;
font-weight: 400; font-weight: 400;
} }
h3 { h3 {
font-size: 1.5em; font-size: 1.5em;
font-weight: 300; font-weight: 300;
} }

Loading…
Cancel
Save