Update CSS with JuiceUI

This commit is contained in:
oitsjustjose 2020-05-02 22:49:01 -05:00
commit cebb9e5678
16 changed files with 1603 additions and 677 deletions

View file

@ -0,0 +1,49 @@
body {
background-color: $background;
color: $foreground;
margin-left: 0px;
margin-right: 0px;
}
// Easing of animations for color shifting with the color scheme
body,
.item,
.titlebar,
.titlebar a span,
.masthead {
transition: all ease-in-out 200ms;
}
.blurred {
filter: blur(5px);
&.unblurable {
transition: filter ease-in-out 250ms;
&:hover {
filter: none;
transition: filter ease-in-out 250ms;
}
}
}
.bounce {
-moz-animation: bounce 2s 10;
-webkit-animation: bounce 2s 10;
animation: bounce 2s 10;
}
@keyframes bounce {
0%,
20%,
50%,
80%,
100% {
transform: translateY(0);
}
40% {
transform: translateY(-30px);
}
60% {
transform: translateY(-15px);
}
}

View file

@ -1,4 +1,6 @@
button {
button,
input[type="button"],
input[type="submit"] {
padding: 0.75rem 1rem;
border: none;
outline: none;
@ -72,7 +74,8 @@ button {
}
}
&.red {
&.red,
input[type="reset"] {
background-color: $red;
&:hover {

View file

@ -1,6 +1,12 @@
.container {
width: 90vw;
padding: 2rem 5vw;
&.centered {
display: block;
margin: auto;
text-align: center;
padding: 0;
}
}
.divider {
@ -9,7 +15,7 @@
border-bottom: 1px solid map-get($components, "item");
margin: 1rem auto;
&.wide {
width: 100vw;
width: 100%;
}
&.narrow {
width: 30vw;

View file

@ -0,0 +1,169 @@
input {
appearance: none !important;
}
form {
max-width: 100vw;
.input-with-icon {
i {
position: absolute;
margin-top: 10px;
margin-left: 10px;
}
& input {
padding-left: 32px !important;
}
}
.flex-form {
display: grid;
align-items: center;
grid-template-columns: repeat(auto-fit, minmax(256px, 1fr));
grid-gap: 1rem 3rem;
grid-auto-flow: dense;
margin: auto;
padding: 1rem;
&.labelled {
@media (max-width: 767px) {
grid-template-columns: repeat(auto-fit, minmax(256px, 1fr));
}
grid-template-columns: 1fr 5fr;
}
input {
background-color: lighten($background, 25%);
color: $foreground;
&[type="password"],
&[type="text"],
&[type="date"],
&[type="email"],
&[type="file"],
&[type="month"],
&[type="number"],
&[type="tel"],
&[type="search"],
&[type="url"],
&[type="week"] {
font-family: "Spartan";
border-radius: 0.3em;
box-shadow: 0px 0px 10px 0px rgba(darken($background, 10%), 0.5);
transition: all 150ms ease-in-out;
font-size: 14px;
padding: 0.75rem 1rem;
border: none;
outline: none;
}
&[type="color"] {
border-radius: 0.3em;
}
&[type="search"] {
width: 100%;
}
&::placeholder {
color: rgba($foreground, 0.5);
}
&[type="checkbox"],
&[type="color"],
&[type="radio"] {
margin: auto;
}
&[type="range"] {
height: 26px;
-webkit-appearance: none;
margin: 10px 0;
width: 100%;
background-color: transparent;
&:focus {
outline: none;
}
&::-webkit-slider-runnable-track {
width: 100%;
height: 14px;
cursor: pointer;
animation: 0.2s;
box-shadow: 0px 0px 10px 0px rgba(darken($background, 10%), 0.5);
background: lighten($background, 10%);
border-radius: 14px;
}
&::-webkit-slider-thumb {
box-shadow: 0px 0px 10px 0px rgba(darken($background, 10%), 0.5);
height: 20px;
width: 40px;
border-radius: 12px;
background: $cyan;
cursor: pointer;
-webkit-appearance: none;
margin-top: -3px;
}
}
}
}
input[type="reset"] {
padding: 0.75rem 1rem;
border: none;
outline: none;
color: $foreground;
user-select: none;
cursor: pointer;
width: fit-content;
border-radius: 0.3em;
box-shadow: 0px 0px 10px 0px rgba(darken($background, 10%), 0.5);
transition: all 150ms ease-in-out;
font-size: 14px;
background-color: $red;
&:hover {
background-color: lighten($red, 10%);
}
&:active {
background-color: lighten($red, 5%);
}
&.small {
font-size: 12px;
padding: 0.5rem 0.75rem;
}
&.outlined {
background-color: transparent;
border: 2px solid map-get($components, "button");
&:hover {
background-color: transparent;
border: 2px solid lighten($background, 10%);
transition: all 150ms ease-in-out;
}
&:active {
background-color: transparent;
border: 2px solid lighten($background, 5%);
}
}
}
input[type="button"],
input[type="reset"],
input[type="submit"] {
display: block;
width: fit-content;
margin: auto;
font-family: "Spartan";
margin-bottom: 1rem;
}
}

View file

@ -9,54 +9,41 @@
align-items: center;
justify-content: center;
&.gradient {
background: url("../../../Resources/img/cover.png"), $mastColor;
background: url("../../../Resources/img/cover.png"), -webkit-linear-gradient(to bottom left, $cyan, $green);
background: url("../../../Resources/img/cover.png"), linear-gradient(to bottom left, $cyan, $green);
&.rainbow {
-webkit-animation: Rainbow 30s ease infinite;
-moz-animation: Rainbow 30s ease infinite;
animation: Rainbow 30s ease infinite;
&.rainbow {
background: linear-gradient(45deg, #ff0000, #ffb200, #f2ff00, #00c00c, #00d2d0, #0040d2, #a400f6, #f600f1);
background-size: 1600% 1600%;
color: #252525;
-webkit-animation: RainbowGradient 30s ease infinite;
-moz-animation: RainbowGradient 30s ease infinite;
animation: RainbowGradient 30s ease infinite;
@-webkit-keyframes RainbowGradient {
0% {
background-position: 0% 50%;
}
50% {
background-position: 100% 51%;
}
100% {
background-position: 0% 50%;
}
@-webkit-keyframes Rainbow {
0% {
filter: hue-rotate(0deg);
}
@-moz-keyframes RainbowGradient {
0% {
background-position: 0% 50%;
}
50% {
background-position: 100% 51%;
}
100% {
background-position: 0% 50%;
}
}
@keyframes RainbowGradient {
0% {
background-position: 0% 50%;
}
50% {
background-position: 100% 51%;
}
100% {
background-position: 0% 50%;
}
100% {
filter: hue-rotate(360deg);
}
}
@-moz-keyframes Rainbow {
0% {
filter: hue-rotate(0deg);
}
100% {
filter: hue-rotate(360deg);
}
}
@keyframes Rainbow {
0% {
filter: hue-rotate(0deg);
}
100% {
filter: hue-rotate(360deg);
}
}
}
&.gradient {
background: url("/Resources/img/cover.png"), $mastColor;
background: url("/Resources/img/cover.png"), -webkit-linear-gradient(to bottom left, $cyan, $green);
background: url("/Resources/img/cover.png"), linear-gradient(to bottom left, $cyan, $green);
}
p.content {

View file

@ -1,215 +1,184 @@
.titlebar.top {
background-color: $background;
color: $foreground;
position: fixed;
z-index: 1;
top: 0;
left: 0;
width: 100vw;
height: 3rem;
display: flex;
flex-direction: row;
align-items: center;
box-shadow: 0px 2px 0px 0px rgba(darken($background, 10%), 0.5);
@at-root .masthead {
height: calc(100vh - 3rem);
}
@at-root body {
margin-top: 3rem;
}
a {
background-color: $background;
color: $foreground;
text-decoration: none;
}
&.translucent {
background-color: rgba($background, 0.95);
}
.item {
display: inline-flex;
flex-direction: column;
justify-content: center;
background-color: map-get($components, "item");
padding: 0px 1rem;
height: 100%;
cursor: pointer;
span {
display: inline-flex;
position: fixed;
z-index: 1;
top: 0;
left: 0;
width: 100vw;
height: 3rem;
display: flex;
flex-direction: row;
align-items: center;
box-shadow: 0px 2px 0px 0px rgba(darken($background, 10%), 0.5);
@at-root .masthead {
height: calc(100vh - 3rem);
}
&:hover {
background-color: darken($background, 5%);
transition: all ease-in 150ms;
@at-root body {
margin-top: 3rem;
}
a {
color: $foreground;
text-decoration: none;
}
&.translucent {
background-color: rgba($background, 0.95);
}
.item {
display: inline-flex;
flex-direction: column;
justify-content: center;
background-color: map-get($components, "item");
padding: 0px 1rem;
height: 100%;
cursor: pointer;
span {
display: inline-flex;
}
&:hover {
background-color: darken($background, 5%);
transition: all ease-in 150ms;
}
}
}
}
// Desktop Titlebar Logic
@media (min-width: 767px) {
.dropdown.item.compact > *,
.dropdown.item.compact {
display: none;
}
.dropdown.item.compact > *,
.dropdown.item.compact {
display: none;
}
}
// Mobile Titlebar Logic
@media (max-width: 767px) {
.titlebar.top .item:not(.compact) {
display: none;
}
.titlebar.top .item:not(.compact) {
display: none;
}
}
.mobile-menu {
visibility: hidden;
opacity: 0;
visibility: hidden;
opacity: 0;
position: fixed;
z-index: 1024;
top: 0;
left: 0;
width: 100vw;
height: 100vh;
background-color: rgba($background, 0.95);
color: $foreground;
transition-duration: 200ms, 200ms;
transition-property: visibility, opacity;
&.visible {
visibility: visible;
opacity: 1;
transition-duration: 200ms, 0;
transition-property: opacity, visibility;
transition-delay: 0, 200ms;
}
.close-mobile-menu {
display: flex;
flex-direction: row-reverse;
justify-items: flex-end;
position: fixed;
z-index: 1024;
top: 0;
left: 0;
width: 100vw;
max-width: 100vw;
font-size: 4rem;
background-color: rgba(darken($red, 10%), 0.5);
cursor: pointer;
height: 100vh;
background-color: rgba($background, 0.95);
color: $foreground;
&:hover {
color: #ffffff;
}
}
.item {
width: 100vw;
height: 10px;
max-height: 4rem;
}
.sub.item {
display: block;
padding-left: 3rem;
background-color: lighten($background, 15%);
-moz-animation: disappear 250ms 1;
-webkit-animation: disappear 250ms 1;
animation: disappear 250ms 1;
// USE HEIGHT TO ANIMATE
max-height: 0;
transition-duration: 200ms, 200ms;
transition-property: visibility, opacity;
&.visible {
display: -webkit-inline-box;
// USE HEIGHT TO ANIMATE
max-height: 4rem;
-moz-animation: appear 250ms 1;
-webkit-animation: appear 250ms 1;
animation: appear 250ms 1;
visibility: visible;
opacity: 1;
transition-duration: 200ms, 0;
transition-property: opacity, visibility;
transition-delay: 0, 200ms;
}
}
}
@keyframes appear {
0% {
max-height: 0;
}
100% {
max-height: 4rem;
}
}
.close-mobile-menu {
display: flex;
flex-direction: row-reverse;
justify-items: flex-end;
width: 100vw;
max-width: 100vw;
font-size: 4rem;
background-color: rgba(darken($red, 10%), 0.5);
cursor: pointer;
@keyframes disappear {
0% {
max-height: 4rem;
}
100% {
max-height: 0;
}
&:hover {
color: #ffffff;
}
}
.item {
width: 100vw;
height: 10px;
max-height: 4rem;
}
.sub.item {
display: none;
padding-left: 3rem;
background-color: lighten($background, 15%);
&.visible {
display: inline-flex;
}
}
}
.no-scroll {
overflow: hidden;
overflow: hidden;
}
.dropdown.item {
position: relative;
display: inline-block;
position: relative;
display: inline-block;
&:hover .dropdown-content {
max-height: 100vh;
display: block;
}
& .dropdown-content {
max-height: 0px;
overflow-y: hidden;
top: 100%;
left: 0;
-webkit-transition: max-height 0.5s ease-in-out;
-moz-transition: max-height 0.5s ease-in-out;
-o-transition: max-height 0.5s ease-in-out;
transition: max-height 0.5s ease-in-out;
position: absolute;
background-color: map-get($components, "item");
& .item {
color: $foreground;
padding: 12px 16px;
text-decoration: none;
display: block;
&:hover {
background-color: darken($background, 5%);
transition: all ease-in 150ms;
}
}
& .dropdown.item {
display: inline-block;
overflow: visible;
&:hover .dropdown-content {
position: unset;
&:hover .dropdown-content {
max-height: 100vh;
}
& .dropdown-content {
max-height: 0px;
& .item {
display: inline-flex;
}
}
display: block;
}
}
& & .dropdown-content {
top: 0;
left: 100%;
}
& .dropdown-content {
max-height: 0px;
width: 100%;
overflow-y: hidden;
top: 100%;
left: 0;
-webkit-transition: max-height 0.5s ease-in-out;
-moz-transition: max-height 0.5s ease-in-out;
-o-transition: max-height 0.5s ease-in-out;
transition: max-height 0.5s ease-in-out;
position: absolute;
background-color: map-get($components, "item");
& .item {
color: $foreground;
padding: 12px 16px;
text-decoration: none;
display: block;
&:hover {
background-color: darken($background, 5%);
transition: all ease-in 150ms;
}
}
& .dropdown.item {
display: inline-block;
overflow: visible;
&:hover .dropdown-content {
position: unset;
max-height: 100vh;
}
& .dropdown-content {
max-height: 0px;
& .item {
display: inline-flex;
}
}
}
}
& & .dropdown-content {
top: 0;
left: 100%;
}
}

View file

@ -34,11 +34,13 @@
background-color: $background;
padding: 20px;
border: 1px solid lighten($background, 10%);
width: 80%;
max-width: 80%;
max-height: 80%;
border-radius: 8px;
box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.5);
overflow: auto;
max-width: 1024;
img {
display: block;

View file

@ -6,6 +6,56 @@
******************************************************/
@import url("https://fonts.googleapis.com/css?family=Fira+Code&display=swap");
@import url("https://fonts.googleapis.com/css?family=Spartan&display=swap");
.color-demo {
cursor: pointer;
text-align: center;
padding-top: 3rem;
padding-bottom: 3rem;
-webkit-box-shadow: 0px 0px 10px 0px rgba(12, 12, 12, 0.5);
box-shadow: 0px 0px 10px 0px rgba(12, 12, 12, 0.5);
-webkit-transition: all ease-in-out 150ms;
transition: all ease-in-out 150ms;
}
.color-demo.red {
background-color: #ff4340;
-webkit-box-shadow: 0px 0px 10px 0px rgba(255, 17, 13, 0.5);
box-shadow: 0px 0px 10px 0px rgba(255, 17, 13, 0.5);
}
.color-demo.blue {
background-color: #00bee0;
-webkit-box-shadow: 0px 0px 10px 0px rgba(0, 147, 173, 0.5);
box-shadow: 0px 0px 10px 0px rgba(0, 147, 173, 0.5);
}
.color-demo.green {
background-color: #7cb342;
-webkit-box-shadow: 0px 0px 10px 0px rgba(98, 142, 52, 0.5);
box-shadow: 0px 0px 10px 0px rgba(98, 142, 52, 0.5);
}
.color-demo.bg {
background-color: #252525;
}
.color-demo.fg {
background-color: #eeeeee;
color: #252525;
-webkit-box-shadow: 0px 0px 10px 0px rgba(238, 238, 238, 0.5);
box-shadow: 0px 0px 10px 0px rgba(238, 238, 238, 0.5);
}
.color-demo:hover {
-webkit-transform: translateY(-10px);
transform: translateY(-10px);
}
.display-mode-icon {
font-size: 1.4rem;
text-align: center;
}
body {
background-color: #252525;
color: #eeeeee;
@ -13,6 +63,15 @@ body {
margin-right: 0px;
}
body,
.item,
.titlebar,
.titlebar a span,
.masthead {
-webkit-transition: all ease-in-out 200ms;
transition: all ease-in-out 200ms;
}
.blurred {
-webkit-filter: blur(5px);
filter: blur(5px);
@ -77,58 +136,6 @@ body {
}
}
.color-demo {
cursor: pointer;
text-align: center;
padding-top: 3rem;
padding-bottom: 3rem;
-webkit-box-shadow: 0px 0px 10px 0px rgba(12, 12, 12, 0.5);
box-shadow: 0px 0px 10px 0px rgba(12, 12, 12, 0.5);
-webkit-transition: all ease-in-out 150ms;
transition: all ease-in-out 150ms;
}
.color-demo.red {
background-color: #ff4340;
-webkit-box-shadow: 0px 0px 10px 0px rgba(255, 17, 13, 0.5);
box-shadow: 0px 0px 10px 0px rgba(255, 17, 13, 0.5);
}
.color-demo.blue {
background-color: #00bee0;
-webkit-box-shadow: 0px 0px 10px 0px rgba(0, 147, 173, 0.5);
box-shadow: 0px 0px 10px 0px rgba(0, 147, 173, 0.5);
}
.color-demo.green {
background-color: #7cb342;
-webkit-box-shadow: 0px 0px 10px 0px rgba(98, 142, 52, 0.5);
box-shadow: 0px 0px 10px 0px rgba(98, 142, 52, 0.5);
}
.color-demo.bg {
background-color: #252525;
}
.color-demo.fg {
background-color: #eeeeee;
color: #252525;
-webkit-box-shadow: 0px 0px 10px 0px rgba(238, 238, 238, 0.5);
box-shadow: 0px 0px 10px 0px rgba(238, 238, 238, 0.5);
}
.color-demo:hover {
-webkit-transform: translateY(-10px);
transform: translateY(-10px);
}
.display-mode-icon {
font-size: 1.4rem;
text-align: center;
text-decoration: none;
font-style: normal;
}
.modal {
visibility: hidden;
opacity: 0;
@ -176,12 +183,14 @@ body {
background-color: #252525;
padding: 20px;
border: 1px solid #3f3f3f;
width: 80%;
max-width: 80%;
max-height: 80%;
border-radius: 8px;
-webkit-box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.5);
box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.5);
overflow: auto;
max-width: 1024;
/* The Close Button */
}
@ -228,7 +237,9 @@ body {
overflow: hidden;
}
button {
button,
input[type="button"],
input[type="submit"] {
padding: 0.75rem 1rem;
border: none;
outline: none;
@ -250,157 +261,241 @@ button {
font-size: 14px;
}
button:hover {
button:hover,
input[type="button"]:hover,
input[type="submit"]:hover {
background-color: #3f3f3f;
}
button:active {
button:active,
input[type="button"]:active,
input[type="submit"]:active {
background-color: #323232;
}
button.small {
button.small,
input[type="button"].small,
input[type="submit"].small {
font-size: 12px;
padding: 0.5rem 0.75rem;
}
button.outlined {
button.outlined,
input[type="button"].outlined,
input[type="submit"].outlined {
background-color: transparent;
border: 2px solid #3a3a3a;
}
button.outlined:hover {
button.outlined:hover,
input[type="button"].outlined:hover,
input[type="submit"].outlined:hover {
background-color: transparent;
border: 2px solid #3f3f3f;
-webkit-transition: all 150ms ease-in-out;
transition: all 150ms ease-in-out;
}
button.outlined:active {
button.outlined:active,
input[type="button"].outlined:active,
input[type="submit"].outlined:active {
background-color: transparent;
border: 2px solid #323232;
}
button.inverted {
button.inverted,
input[type="button"].inverted,
input[type="submit"].inverted {
background-color: #dadada;
color: #111111;
-webkit-box-shadow: 0px 0px 10px 0px rgba(218, 218, 218, 0.5);
box-shadow: 0px 0px 10px 0px rgba(218, 218, 218, 0.5);
}
button.inverted:hover {
button.inverted:hover,
input[type="button"].inverted:hover,
input[type="submit"].inverted:hover {
background-color: #f4f4f4;
}
button.inverted:active {
button.inverted:active,
input[type="button"].inverted:active,
input[type="submit"].inverted:active {
background-color: #e7e7e7;
}
button.inverted.outlined {
button.inverted.outlined,
input[type="button"].inverted.outlined,
input[type="submit"].inverted.outlined {
background-color: transparent;
color: #dadada;
border: 2px solid #dadada;
}
button.inverted.outlined:hover {
button.inverted.outlined:hover,
input[type="button"].inverted.outlined:hover,
input[type="submit"].inverted.outlined:hover {
color: #f4f4f4;
border: 2px solid #f4f4f4;
}
button.inverted.outlined:active {
button.inverted.outlined:active,
input[type="button"].inverted.outlined:active,
input[type="submit"].inverted.outlined:active {
color: #fbfbfb;
border: 2px solid #e7e7e7;
}
button.red {
button.red,
button input[type="reset"],
input[type="button"].red,
input[type="button"] input[type="reset"],
input[type="submit"].red,
input[type="submit"] input[type="reset"] {
background-color: #ff4340;
}
button.red:hover {
button.red:hover,
button input[type="reset"]:hover,
input[type="button"].red:hover,
input[type="button"] input[type="reset"]:hover,
input[type="submit"].red:hover,
input[type="submit"] input[type="reset"]:hover {
background-color: #ff7573;
}
button.red:active {
button.red:active,
button input[type="reset"]:active,
input[type="button"].red:active,
input[type="button"] input[type="reset"]:active,
input[type="submit"].red:active,
input[type="submit"] input[type="reset"]:active {
background-color: #ff5c5a;
}
button.red.outlined {
button.red.outlined,
button input[type="reset"].outlined,
input[type="button"].red.outlined,
input[type="button"] input[type="reset"].outlined,
input[type="submit"].red.outlined,
input[type="submit"] input[type="reset"].outlined {
background-color: transparent;
color: #ff4340;
border: 2px solid #ff4340;
}
button.red.outlined:hover {
button.red.outlined:hover,
button input[type="reset"].outlined:hover,
input[type="button"].red.outlined:hover,
input[type="button"] input[type="reset"].outlined:hover,
input[type="submit"].red.outlined:hover,
input[type="submit"] input[type="reset"].outlined:hover {
color: #ff7573;
border: 2px solid #ff7573;
}
button.red.outlined:active {
button.red.outlined:active,
button input[type="reset"].outlined:active,
input[type="button"].red.outlined:active,
input[type="button"] input[type="reset"].outlined:active,
input[type="submit"].red.outlined:active,
input[type="submit"] input[type="reset"].outlined:active {
color: #ff5c5a;
border: 2px solid #ff5c5a;
}
button.green {
button.green,
input[type="button"].green,
input[type="submit"].green {
background-color: #7cb342;
}
button.green:hover {
button.green:hover,
input[type="button"].green:hover,
input[type="submit"].green:hover {
background-color: #95c563;
}
button.green:active {
button.green:active,
input[type="button"].green:active,
input[type="submit"].green:active {
background-color: #89be50;
}
button.green.outlined {
button.green.outlined,
input[type="button"].green.outlined,
input[type="submit"].green.outlined {
background-color: transparent;
color: #7cb342;
border: 2px solid #7cb342;
}
button.green.outlined:hover {
button.green.outlined:hover,
input[type="button"].green.outlined:hover,
input[type="submit"].green.outlined:hover {
color: #95c563;
border: 2px solid;
}
button.green.outlined:active {
button.green.outlined:active,
input[type="button"].green.outlined:active,
input[type="submit"].green.outlined:active {
color: #89be50;
border: 2px solid;
}
button.cyan {
button.cyan,
input[type="button"].cyan,
input[type="submit"].cyan {
background-color: #00bee0;
color: #252525;
}
button.cyan:hover {
button.cyan:hover,
input[type="button"].cyan:hover,
input[type="submit"].cyan:hover {
background-color: #14dbff;
}
button.cyan:active {
button.cyan:active,
input[type="button"].cyan:active,
input[type="submit"].cyan:active {
background-color: #00d4fa;
}
button.cyan.outlined {
button.cyan.outlined,
input[type="button"].cyan.outlined,
input[type="submit"].cyan.outlined {
background-color: transparent;
color: #00bee0;
border: 2px solid #00bee0;
}
button.cyan.outlined:hover {
button.cyan.outlined:hover,
input[type="button"].cyan.outlined:hover,
input[type="submit"].cyan.outlined:hover {
color: #14dbff;
border: 2px solid #14dbff;
}
button.cyan.outlined:active {
button.cyan.outlined:active,
input[type="button"].cyan.outlined:active,
input[type="submit"].cyan.outlined:active {
color: #00d4fa;
border: 2px solid #00d4fa;
}
.container {
width: 90vw;
padding: 2rem 5vw;
}
.container.centered {
display: block;
margin: auto;
text-align: center;
padding: 0;
}
.divider {
width: 70vw;
height: 10px;
@ -409,7 +504,7 @@ button.cyan.outlined:active {
}
.divider.wide {
width: 100vw;
width: 100%;
}
.divider.narrow {
@ -431,6 +526,198 @@ button.cyan.outlined:active {
border: 0;
}
input {
-webkit-appearance: none !important;
-moz-appearance: none !important;
appearance: none !important;
}
form {
max-width: 100vw;
}
form .input-with-icon i {
position: absolute;
margin-top: 10px;
margin-left: 10px;
}
form .input-with-icon input {
padding-left: 32px !important;
}
form .flex-form {
display: -ms-grid;
display: grid;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
-ms-grid-columns: (minmax(256px, 1fr))[auto-fit];
grid-template-columns: repeat(auto-fit, minmax(256px, 1fr));
grid-gap: 1rem 3rem;
grid-auto-flow: dense;
margin: auto;
padding: 1rem;
}
form .flex-form.labelled {
-ms-grid-columns: 1fr 5fr;
grid-template-columns: 1fr 5fr;
}
@media (max-width: 767px) {
form .flex-form.labelled {
-ms-grid-columns: (minmax(256px, 1fr))[auto-fit];
grid-template-columns: repeat(auto-fit, minmax(256px, 1fr));
}
}
form .flex-form input {
background-color: #656565;
color: #eeeeee;
}
form .flex-form input[type="password"], form .flex-form input[type="text"], form .flex-form input[type="date"], form .flex-form input[type="email"], form .flex-form input[type="file"], form .flex-form input[type="month"], form .flex-form input[type="number"], form .flex-form input[type="tel"], form .flex-form input[type="search"], form .flex-form input[type="url"], form .flex-form input[type="week"] {
font-family: "Spartan";
border-radius: 0.3em;
-webkit-box-shadow: 0px 0px 10px 0px rgba(12, 12, 12, 0.5);
box-shadow: 0px 0px 10px 0px rgba(12, 12, 12, 0.5);
-webkit-transition: all 150ms ease-in-out;
transition: all 150ms ease-in-out;
font-size: 14px;
padding: 0.75rem 1rem;
border: none;
outline: none;
}
form .flex-form input[type="color"] {
border-radius: 0.3em;
}
form .flex-form input[type="search"] {
width: 100%;
}
form .flex-form input::-webkit-input-placeholder {
color: rgba(238, 238, 238, 0.5);
}
form .flex-form input:-ms-input-placeholder {
color: rgba(238, 238, 238, 0.5);
}
form .flex-form input::-ms-input-placeholder {
color: rgba(238, 238, 238, 0.5);
}
form .flex-form input::placeholder {
color: rgba(238, 238, 238, 0.5);
}
form .flex-form input[type="checkbox"], form .flex-form input[type="color"], form .flex-form input[type="radio"] {
margin: auto;
}
form .flex-form input[type="range"] {
height: 26px;
-webkit-appearance: none;
margin: 10px 0;
width: 100%;
background-color: transparent;
}
form .flex-form input[type="range"]:focus {
outline: none;
}
form .flex-form input[type="range"]::-webkit-slider-runnable-track {
width: 100%;
height: 14px;
cursor: pointer;
-webkit-animation: 0.2s;
animation: 0.2s;
-webkit-box-shadow: 0px 0px 10px 0px rgba(12, 12, 12, 0.5);
box-shadow: 0px 0px 10px 0px rgba(12, 12, 12, 0.5);
background: #3f3f3f;
border-radius: 14px;
}
form .flex-form input[type="range"]::-webkit-slider-thumb {
-webkit-box-shadow: 0px 0px 10px 0px rgba(12, 12, 12, 0.5);
box-shadow: 0px 0px 10px 0px rgba(12, 12, 12, 0.5);
height: 20px;
width: 40px;
border-radius: 12px;
background: #00bee0;
cursor: pointer;
-webkit-appearance: none;
margin-top: -3px;
}
form input[type="reset"] {
padding: 0.75rem 1rem;
border: none;
outline: none;
color: #eeeeee;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
cursor: pointer;
width: -webkit-fit-content;
width: -moz-fit-content;
width: fit-content;
border-radius: 0.3em;
-webkit-box-shadow: 0px 0px 10px 0px rgba(12, 12, 12, 0.5);
box-shadow: 0px 0px 10px 0px rgba(12, 12, 12, 0.5);
-webkit-transition: all 150ms ease-in-out;
transition: all 150ms ease-in-out;
font-size: 14px;
background-color: #ff4340;
}
form input[type="reset"]:hover {
background-color: #ff7573;
}
form input[type="reset"]:active {
background-color: #ff5c5a;
}
form input[type="reset"].small {
font-size: 12px;
padding: 0.5rem 0.75rem;
}
form input[type="reset"].outlined {
background-color: transparent;
border: 2px solid #3a3a3a;
}
form input[type="reset"].outlined:hover {
background-color: transparent;
border: 2px solid #3f3f3f;
-webkit-transition: all 150ms ease-in-out;
transition: all 150ms ease-in-out;
}
form input[type="reset"].outlined:active {
background-color: transparent;
border: 2px solid #323232;
}
form input[type="button"],
form input[type="reset"],
form input[type="submit"] {
display: block;
width: -webkit-fit-content;
width: -moz-fit-content;
width: fit-content;
margin: auto;
font-family: "Spartan";
margin-bottom: 1rem;
}
.grid {
display: -ms-grid;
display: grid;
@ -546,42 +833,37 @@ img.large {
justify-content: center;
}
.masthead.rainbow {
-webkit-animation: Rainbow 30s ease infinite;
animation: Rainbow 30s ease infinite;
}
@-webkit-keyframes Rainbow {
0% {
-webkit-filter: hue-rotate(0deg);
filter: hue-rotate(0deg);
}
100% {
-webkit-filter: hue-rotate(360deg);
filter: hue-rotate(360deg);
}
}
@keyframes Rainbow {
0% {
-webkit-filter: hue-rotate(0deg);
filter: hue-rotate(0deg);
}
100% {
-webkit-filter: hue-rotate(360deg);
filter: hue-rotate(360deg);
}
}
.masthead.gradient {
background: url("../../../Resources/img/cover.png"), #7cb342;
background: url("../../../Resources/img/cover.png"), -webkit-gradient(linear, right top, left bottom, from(#00bee0), to(#7cb342));
background: url("../../../Resources/img/cover.png"), linear-gradient(to bottom left, #00bee0, #7cb342);
}
.masthead.gradient.rainbow {
background: linear-gradient(45deg, #ff0000, #ffb200, #f2ff00, #00c00c, #00d2d0, #0040d2, #a400f6, #f600f1);
background-size: 1600% 1600%;
color: #252525;
-webkit-animation: RainbowGradient 30s ease infinite;
animation: RainbowGradient 30s ease infinite;
}
@-webkit-keyframes RainbowGradient {
0% {
background-position: 0% 50%;
}
50% {
background-position: 100% 51%;
}
100% {
background-position: 0% 50%;
}
}
@keyframes RainbowGradient {
0% {
background-position: 0% 50%;
}
50% {
background-position: 100% 51%;
}
100% {
background-position: 0% 50%;
}
background: url("/Resources/img/cover.png"), #7cb342;
background: url("/Resources/img/cover.png"), -webkit-gradient(linear, right top, left bottom, from(#00bee0), to(#7cb342));
background: url("/Resources/img/cover.png"), linear-gradient(to bottom left, #00bee0, #7cb342);
}
.masthead p.content {
@ -759,55 +1041,15 @@ body {
}
.mobile-menu .sub.item {
display: block;
display: none;
padding-left: 3rem;
background-color: #4b4b4b;
-webkit-animation: disappear 250ms 1;
animation: disappear 250ms 1;
max-height: 0;
}
.mobile-menu .sub.item.visible {
display: -webkit-inline-box;
max-height: 4rem;
-webkit-animation: appear 250ms 1;
animation: appear 250ms 1;
}
@-webkit-keyframes appear {
0% {
max-height: 0;
}
100% {
max-height: 4rem;
}
}
@keyframes appear {
0% {
max-height: 0;
}
100% {
max-height: 4rem;
}
}
@-webkit-keyframes disappear {
0% {
max-height: 4rem;
}
100% {
max-height: 0;
}
}
@keyframes disappear {
0% {
max-height: 4rem;
}
100% {
max-height: 0;
}
display: -ms-inline-flexbox;
display: inline-flex;
}
.no-scroll {
@ -826,6 +1068,7 @@ body {
.dropdown.item .dropdown-content {
max-height: 0px;
width: 100%;
overflow-y: hidden;
top: 100%;
left: 0;

File diff suppressed because one or more lines are too long

View file

@ -2,10 +2,12 @@
@import "_custom";
@import "base";
@import "modal";
@import "button";
@import "container";
@import "embed";
@import "form";
@import "grid";
@import "image";
@import "masthead";

View file

@ -6,6 +6,56 @@
******************************************************/
@import url("https://fonts.googleapis.com/css?family=Fira+Code&display=swap");
@import url("https://fonts.googleapis.com/css?family=Spartan&display=swap");
.color-demo {
cursor: pointer;
text-align: center;
padding-top: 3rem;
padding-bottom: 3rem;
-webkit-box-shadow: 0px 0px 10px 0px rgba(213, 213, 213, 0.5);
box-shadow: 0px 0px 10px 0px rgba(213, 213, 213, 0.5);
-webkit-transition: all ease-in-out 150ms;
transition: all ease-in-out 150ms;
}
.color-demo.red {
background-color: #ff4340;
-webkit-box-shadow: 0px 0px 10px 0px rgba(255, 17, 13, 0.5);
box-shadow: 0px 0px 10px 0px rgba(255, 17, 13, 0.5);
}
.color-demo.blue {
background-color: #00bee0;
-webkit-box-shadow: 0px 0px 10px 0px rgba(0, 147, 173, 0.5);
box-shadow: 0px 0px 10px 0px rgba(0, 147, 173, 0.5);
}
.color-demo.green {
background-color: #7cb342;
-webkit-box-shadow: 0px 0px 10px 0px rgba(98, 142, 52, 0.5);
box-shadow: 0px 0px 10px 0px rgba(98, 142, 52, 0.5);
}
.color-demo.bg {
background-color: #eeeeee;
}
.color-demo.fg {
background-color: #252525;
color: #eeeeee;
-webkit-box-shadow: 0px 0px 10px 0px rgba(37, 37, 37, 0.5);
box-shadow: 0px 0px 10px 0px rgba(37, 37, 37, 0.5);
}
.color-demo:hover {
-webkit-transform: translateY(-10px);
transform: translateY(-10px);
}
.display-mode-icon {
font-size: 1.4rem;
text-align: center;
}
body {
background-color: #eeeeee;
color: #252525;
@ -13,6 +63,15 @@ body {
margin-right: 0px;
}
body,
.item,
.titlebar,
.titlebar a span,
.masthead {
-webkit-transition: all ease-in-out 200ms;
transition: all ease-in-out 200ms;
}
.blurred {
-webkit-filter: blur(5px);
filter: blur(5px);
@ -77,58 +136,6 @@ body {
}
}
.color-demo {
cursor: pointer;
text-align: center;
padding-top: 3rem;
padding-bottom: 3rem;
-webkit-box-shadow: 0px 0px 10px 0px rgba(213, 213, 213, 0.5);
box-shadow: 0px 0px 10px 0px rgba(213, 213, 213, 0.5);
-webkit-transition: all ease-in-out 150ms;
transition: all ease-in-out 150ms;
}
.color-demo.red {
background-color: #ff4340;
-webkit-box-shadow: 0px 0px 10px 0px rgba(255, 17, 13, 0.5);
box-shadow: 0px 0px 10px 0px rgba(255, 17, 13, 0.5);
}
.color-demo.blue {
background-color: #00bee0;
-webkit-box-shadow: 0px 0px 10px 0px rgba(0, 147, 173, 0.5);
box-shadow: 0px 0px 10px 0px rgba(0, 147, 173, 0.5);
}
.color-demo.green {
background-color: #7cb342;
-webkit-box-shadow: 0px 0px 10px 0px rgba(98, 142, 52, 0.5);
box-shadow: 0px 0px 10px 0px rgba(98, 142, 52, 0.5);
}
.color-demo.bg {
background-color: #eeeeee;
}
.color-demo.fg {
background-color: #252525;
color: #eeeeee;
-webkit-box-shadow: 0px 0px 10px 0px rgba(37, 37, 37, 0.5);
box-shadow: 0px 0px 10px 0px rgba(37, 37, 37, 0.5);
}
.color-demo:hover {
-webkit-transform: translateY(-10px);
transform: translateY(-10px);
}
.display-mode-icon {
font-size: 1.4rem;
text-align: center;
text-decoration: none;
font-style: normal;
}
.modal {
visibility: hidden;
opacity: 0;
@ -176,12 +183,14 @@ body {
background-color: #eeeeee;
padding: 20px;
border: 1px solid white;
width: 80%;
max-width: 80%;
max-height: 80%;
border-radius: 8px;
-webkit-box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.5);
box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.5);
overflow: auto;
max-width: 1024;
/* The Close Button */
}
@ -228,7 +237,9 @@ body {
overflow: hidden;
}
button {
button,
input[type="button"],
input[type="submit"] {
padding: 0.75rem 1rem;
border: none;
outline: none;
@ -250,157 +261,241 @@ button {
font-size: 14px;
}
button:hover {
button:hover,
input[type="button"]:hover,
input[type="submit"]:hover {
background-color: white;
}
button:active {
button:active,
input[type="button"]:active,
input[type="submit"]:active {
background-color: #fbfbfb;
}
button.small {
button.small,
input[type="button"].small,
input[type="submit"].small {
font-size: 12px;
padding: 0.5rem 0.75rem;
}
button.outlined {
button.outlined,
input[type="button"].outlined,
input[type="submit"].outlined {
background-color: transparent;
border: 2px solid #d0d0d0;
}
button.outlined:hover {
button.outlined:hover,
input[type="button"].outlined:hover,
input[type="submit"].outlined:hover {
background-color: transparent;
border: 2px solid white;
-webkit-transition: all 150ms ease-in-out;
transition: all 150ms ease-in-out;
}
button.outlined:active {
button.outlined:active,
input[type="button"].outlined:active,
input[type="submit"].outlined:active {
background-color: transparent;
border: 2px solid #fbfbfb;
}
button.inverted {
button.inverted,
input[type="button"].inverted,
input[type="submit"].inverted {
background-color: #111111;
color: #dadada;
-webkit-box-shadow: 0px 0px 10px 0px rgba(17, 17, 17, 0.5);
box-shadow: 0px 0px 10px 0px rgba(17, 17, 17, 0.5);
}
button.inverted:hover {
button.inverted:hover,
input[type="button"].inverted:hover,
input[type="submit"].inverted:hover {
background-color: #2b2b2b;
}
button.inverted:active {
button.inverted:active,
input[type="button"].inverted:active,
input[type="submit"].inverted:active {
background-color: #1e1e1e;
}
button.inverted.outlined {
button.inverted.outlined,
input[type="button"].inverted.outlined,
input[type="submit"].inverted.outlined {
background-color: transparent;
color: #111111;
border: 2px solid #111111;
}
button.inverted.outlined:hover {
button.inverted.outlined:hover,
input[type="button"].inverted.outlined:hover,
input[type="submit"].inverted.outlined:hover {
color: #2b2b2b;
border: 2px solid #2b2b2b;
}
button.inverted.outlined:active {
button.inverted.outlined:active,
input[type="button"].inverted.outlined:active,
input[type="submit"].inverted.outlined:active {
color: #323232;
border: 2px solid #1e1e1e;
}
button.red {
button.red,
button input[type="reset"],
input[type="button"].red,
input[type="button"] input[type="reset"],
input[type="submit"].red,
input[type="submit"] input[type="reset"] {
background-color: #ff4340;
}
button.red:hover {
button.red:hover,
button input[type="reset"]:hover,
input[type="button"].red:hover,
input[type="button"] input[type="reset"]:hover,
input[type="submit"].red:hover,
input[type="submit"] input[type="reset"]:hover {
background-color: #ff7573;
}
button.red:active {
button.red:active,
button input[type="reset"]:active,
input[type="button"].red:active,
input[type="button"] input[type="reset"]:active,
input[type="submit"].red:active,
input[type="submit"] input[type="reset"]:active {
background-color: #ff5c5a;
}
button.red.outlined {
button.red.outlined,
button input[type="reset"].outlined,
input[type="button"].red.outlined,
input[type="button"] input[type="reset"].outlined,
input[type="submit"].red.outlined,
input[type="submit"] input[type="reset"].outlined {
background-color: transparent;
color: #ff4340;
border: 2px solid #ff4340;
}
button.red.outlined:hover {
button.red.outlined:hover,
button input[type="reset"].outlined:hover,
input[type="button"].red.outlined:hover,
input[type="button"] input[type="reset"].outlined:hover,
input[type="submit"].red.outlined:hover,
input[type="submit"] input[type="reset"].outlined:hover {
color: #ff7573;
border: 2px solid #ff7573;
}
button.red.outlined:active {
button.red.outlined:active,
button input[type="reset"].outlined:active,
input[type="button"].red.outlined:active,
input[type="button"] input[type="reset"].outlined:active,
input[type="submit"].red.outlined:active,
input[type="submit"] input[type="reset"].outlined:active {
color: #ff5c5a;
border: 2px solid #ff5c5a;
}
button.green {
button.green,
input[type="button"].green,
input[type="submit"].green {
background-color: #7cb342;
}
button.green:hover {
button.green:hover,
input[type="button"].green:hover,
input[type="submit"].green:hover {
background-color: #95c563;
}
button.green:active {
button.green:active,
input[type="button"].green:active,
input[type="submit"].green:active {
background-color: #89be50;
}
button.green.outlined {
button.green.outlined,
input[type="button"].green.outlined,
input[type="submit"].green.outlined {
background-color: transparent;
color: #7cb342;
border: 2px solid #7cb342;
}
button.green.outlined:hover {
button.green.outlined:hover,
input[type="button"].green.outlined:hover,
input[type="submit"].green.outlined:hover {
color: #95c563;
border: 2px solid;
}
button.green.outlined:active {
button.green.outlined:active,
input[type="button"].green.outlined:active,
input[type="submit"].green.outlined:active {
color: #89be50;
border: 2px solid;
}
button.cyan {
button.cyan,
input[type="button"].cyan,
input[type="submit"].cyan {
background-color: #00bee0;
color: #eeeeee;
}
button.cyan:hover {
button.cyan:hover,
input[type="button"].cyan:hover,
input[type="submit"].cyan:hover {
background-color: #14dbff;
}
button.cyan:active {
button.cyan:active,
input[type="button"].cyan:active,
input[type="submit"].cyan:active {
background-color: #00d4fa;
}
button.cyan.outlined {
button.cyan.outlined,
input[type="button"].cyan.outlined,
input[type="submit"].cyan.outlined {
background-color: transparent;
color: #00bee0;
border: 2px solid #00bee0;
}
button.cyan.outlined:hover {
button.cyan.outlined:hover,
input[type="button"].cyan.outlined:hover,
input[type="submit"].cyan.outlined:hover {
color: #14dbff;
border: 2px solid #14dbff;
}
button.cyan.outlined:active {
button.cyan.outlined:active,
input[type="button"].cyan.outlined:active,
input[type="submit"].cyan.outlined:active {
color: #00d4fa;
border: 2px solid #00d4fa;
}
.container {
width: 90vw;
padding: 2rem 5vw;
}
.container.centered {
display: block;
margin: auto;
text-align: center;
padding: 0;
}
.divider {
width: 70vw;
height: 10px;
@ -409,7 +504,7 @@ button.cyan.outlined:active {
}
.divider.wide {
width: 100vw;
width: 100%;
}
.divider.narrow {
@ -431,6 +526,198 @@ button.cyan.outlined:active {
border: 0;
}
input {
-webkit-appearance: none !important;
-moz-appearance: none !important;
appearance: none !important;
}
form {
max-width: 100vw;
}
form .input-with-icon i {
position: absolute;
margin-top: 10px;
margin-left: 10px;
}
form .input-with-icon input {
padding-left: 32px !important;
}
form .flex-form {
display: -ms-grid;
display: grid;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
-ms-grid-columns: (minmax(256px, 1fr))[auto-fit];
grid-template-columns: repeat(auto-fit, minmax(256px, 1fr));
grid-gap: 1rem 3rem;
grid-auto-flow: dense;
margin: auto;
padding: 1rem;
}
form .flex-form.labelled {
-ms-grid-columns: 1fr 5fr;
grid-template-columns: 1fr 5fr;
}
@media (max-width: 767px) {
form .flex-form.labelled {
-ms-grid-columns: (minmax(256px, 1fr))[auto-fit];
grid-template-columns: repeat(auto-fit, minmax(256px, 1fr));
}
}
form .flex-form input {
background-color: white;
color: #252525;
}
form .flex-form input[type="password"], form .flex-form input[type="text"], form .flex-form input[type="date"], form .flex-form input[type="email"], form .flex-form input[type="file"], form .flex-form input[type="month"], form .flex-form input[type="number"], form .flex-form input[type="tel"], form .flex-form input[type="search"], form .flex-form input[type="url"], form .flex-form input[type="week"] {
font-family: "Spartan";
border-radius: 0.3em;
-webkit-box-shadow: 0px 0px 10px 0px rgba(213, 213, 213, 0.5);
box-shadow: 0px 0px 10px 0px rgba(213, 213, 213, 0.5);
-webkit-transition: all 150ms ease-in-out;
transition: all 150ms ease-in-out;
font-size: 14px;
padding: 0.75rem 1rem;
border: none;
outline: none;
}
form .flex-form input[type="color"] {
border-radius: 0.3em;
}
form .flex-form input[type="search"] {
width: 100%;
}
form .flex-form input::-webkit-input-placeholder {
color: rgba(37, 37, 37, 0.5);
}
form .flex-form input:-ms-input-placeholder {
color: rgba(37, 37, 37, 0.5);
}
form .flex-form input::-ms-input-placeholder {
color: rgba(37, 37, 37, 0.5);
}
form .flex-form input::placeholder {
color: rgba(37, 37, 37, 0.5);
}
form .flex-form input[type="checkbox"], form .flex-form input[type="color"], form .flex-form input[type="radio"] {
margin: auto;
}
form .flex-form input[type="range"] {
height: 26px;
-webkit-appearance: none;
margin: 10px 0;
width: 100%;
background-color: transparent;
}
form .flex-form input[type="range"]:focus {
outline: none;
}
form .flex-form input[type="range"]::-webkit-slider-runnable-track {
width: 100%;
height: 14px;
cursor: pointer;
-webkit-animation: 0.2s;
animation: 0.2s;
-webkit-box-shadow: 0px 0px 10px 0px rgba(213, 213, 213, 0.5);
box-shadow: 0px 0px 10px 0px rgba(213, 213, 213, 0.5);
background: white;
border-radius: 14px;
}
form .flex-form input[type="range"]::-webkit-slider-thumb {
-webkit-box-shadow: 0px 0px 10px 0px rgba(213, 213, 213, 0.5);
box-shadow: 0px 0px 10px 0px rgba(213, 213, 213, 0.5);
height: 20px;
width: 40px;
border-radius: 12px;
background: #00bee0;
cursor: pointer;
-webkit-appearance: none;
margin-top: -3px;
}
form input[type="reset"] {
padding: 0.75rem 1rem;
border: none;
outline: none;
color: #252525;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
cursor: pointer;
width: -webkit-fit-content;
width: -moz-fit-content;
width: fit-content;
border-radius: 0.3em;
-webkit-box-shadow: 0px 0px 10px 0px rgba(213, 213, 213, 0.5);
box-shadow: 0px 0px 10px 0px rgba(213, 213, 213, 0.5);
-webkit-transition: all 150ms ease-in-out;
transition: all 150ms ease-in-out;
font-size: 14px;
background-color: #ff4340;
}
form input[type="reset"]:hover {
background-color: #ff7573;
}
form input[type="reset"]:active {
background-color: #ff5c5a;
}
form input[type="reset"].small {
font-size: 12px;
padding: 0.5rem 0.75rem;
}
form input[type="reset"].outlined {
background-color: transparent;
border: 2px solid #d0d0d0;
}
form input[type="reset"].outlined:hover {
background-color: transparent;
border: 2px solid white;
-webkit-transition: all 150ms ease-in-out;
transition: all 150ms ease-in-out;
}
form input[type="reset"].outlined:active {
background-color: transparent;
border: 2px solid #fbfbfb;
}
form input[type="button"],
form input[type="reset"],
form input[type="submit"] {
display: block;
width: -webkit-fit-content;
width: -moz-fit-content;
width: fit-content;
margin: auto;
font-family: "Spartan";
margin-bottom: 1rem;
}
.grid {
display: -ms-grid;
display: grid;
@ -546,42 +833,37 @@ img.large {
justify-content: center;
}
.masthead.rainbow {
-webkit-animation: Rainbow 30s ease infinite;
animation: Rainbow 30s ease infinite;
}
@-webkit-keyframes Rainbow {
0% {
-webkit-filter: hue-rotate(0deg);
filter: hue-rotate(0deg);
}
100% {
-webkit-filter: hue-rotate(360deg);
filter: hue-rotate(360deg);
}
}
@keyframes Rainbow {
0% {
-webkit-filter: hue-rotate(0deg);
filter: hue-rotate(0deg);
}
100% {
-webkit-filter: hue-rotate(360deg);
filter: hue-rotate(360deg);
}
}
.masthead.gradient {
background: url("../../../Resources/img/cover.png"), #7cb342;
background: url("../../../Resources/img/cover.png"), -webkit-gradient(linear, right top, left bottom, from(#00bee0), to(#7cb342));
background: url("../../../Resources/img/cover.png"), linear-gradient(to bottom left, #00bee0, #7cb342);
}
.masthead.gradient.rainbow {
background: linear-gradient(45deg, #ff0000, #ffb200, #f2ff00, #00c00c, #00d2d0, #0040d2, #a400f6, #f600f1);
background-size: 1600% 1600%;
color: #252525;
-webkit-animation: RainbowGradient 30s ease infinite;
animation: RainbowGradient 30s ease infinite;
}
@-webkit-keyframes RainbowGradient {
0% {
background-position: 0% 50%;
}
50% {
background-position: 100% 51%;
}
100% {
background-position: 0% 50%;
}
}
@keyframes RainbowGradient {
0% {
background-position: 0% 50%;
}
50% {
background-position: 100% 51%;
}
100% {
background-position: 0% 50%;
}
background: url("/Resources/img/cover.png"), #7cb342;
background: url("/Resources/img/cover.png"), -webkit-gradient(linear, right top, left bottom, from(#00bee0), to(#7cb342));
background: url("/Resources/img/cover.png"), linear-gradient(to bottom left, #00bee0, #7cb342);
}
.masthead p.content {
@ -759,55 +1041,15 @@ body {
}
.mobile-menu .sub.item {
display: block;
display: none;
padding-left: 3rem;
background-color: white;
-webkit-animation: disappear 250ms 1;
animation: disappear 250ms 1;
max-height: 0;
}
.mobile-menu .sub.item.visible {
display: -webkit-inline-box;
max-height: 4rem;
-webkit-animation: appear 250ms 1;
animation: appear 250ms 1;
}
@-webkit-keyframes appear {
0% {
max-height: 0;
}
100% {
max-height: 4rem;
}
}
@keyframes appear {
0% {
max-height: 0;
}
100% {
max-height: 4rem;
}
}
@-webkit-keyframes disappear {
0% {
max-height: 4rem;
}
100% {
max-height: 0;
}
}
@keyframes disappear {
0% {
max-height: 4rem;
}
100% {
max-height: 0;
}
display: -ms-inline-flexbox;
display: inline-flex;
}
.no-scroll {
@ -826,6 +1068,7 @@ body {
.dropdown.item .dropdown-content {
max-height: 0px;
width: 100%;
overflow-y: hidden;
top: 100%;
left: 0;

File diff suppressed because one or more lines are too long

View file

@ -2,10 +2,12 @@
@import "_custom";
@import "base";
@import "modal";
@import "button";
@import "container";
@import "embed";
@import "form";
@import "grid";
@import "image";
@import "masthead";

View file

@ -6,6 +6,56 @@
******************************************************/
@import url("https://fonts.googleapis.com/css?family=Fira+Code&display=swap");
@import url("https://fonts.googleapis.com/css?family=Spartan&display=swap");
.color-demo {
cursor: pointer;
text-align: center;
padding-top: 3rem;
padding-bottom: 3rem;
-webkit-box-shadow: 0px 0px 10px 0px rgba(14, 15, 23, 0.5);
box-shadow: 0px 0px 10px 0px rgba(14, 15, 23, 0.5);
-webkit-transition: all ease-in-out 150ms;
transition: all ease-in-out 150ms;
}
.color-demo.red {
background-color: #ff4340;
-webkit-box-shadow: 0px 0px 10px 0px rgba(255, 17, 13, 0.5);
box-shadow: 0px 0px 10px 0px rgba(255, 17, 13, 0.5);
}
.color-demo.blue {
background-color: #00bee0;
-webkit-box-shadow: 0px 0px 10px 0px rgba(0, 147, 173, 0.5);
box-shadow: 0px 0px 10px 0px rgba(0, 147, 173, 0.5);
}
.color-demo.green {
background-color: #7cb342;
-webkit-box-shadow: 0px 0px 10px 0px rgba(98, 142, 52, 0.5);
box-shadow: 0px 0px 10px 0px rgba(98, 142, 52, 0.5);
}
.color-demo.bg {
background-color: #222436;
}
.color-demo.fg {
background-color: #ccdbf1;
color: #222436;
-webkit-box-shadow: 0px 0px 10px 0px rgba(204, 219, 241, 0.5);
box-shadow: 0px 0px 10px 0px rgba(204, 219, 241, 0.5);
}
.color-demo:hover {
-webkit-transform: translateY(-10px);
transform: translateY(-10px);
}
.display-mode-icon {
font-size: 1.4rem;
text-align: center;
}
body {
background-color: #222436;
color: #ccdbf1;
@ -13,6 +63,15 @@ body {
margin-right: 0px;
}
body,
.item,
.titlebar,
.titlebar a span,
.masthead {
-webkit-transition: all ease-in-out 200ms;
transition: all ease-in-out 200ms;
}
.blurred {
-webkit-filter: blur(5px);
filter: blur(5px);
@ -77,58 +136,6 @@ body {
}
}
.color-demo {
cursor: pointer;
text-align: center;
padding-top: 3rem;
padding-bottom: 3rem;
-webkit-box-shadow: 0px 0px 10px 0px rgba(14, 15, 23, 0.5);
box-shadow: 0px 0px 10px 0px rgba(14, 15, 23, 0.5);
-webkit-transition: all ease-in-out 150ms;
transition: all ease-in-out 150ms;
}
.color-demo.red {
background-color: #ff4340;
-webkit-box-shadow: 0px 0px 10px 0px rgba(255, 17, 13, 0.5);
box-shadow: 0px 0px 10px 0px rgba(255, 17, 13, 0.5);
}
.color-demo.blue {
background-color: #00bee0;
-webkit-box-shadow: 0px 0px 10px 0px rgba(0, 147, 173, 0.5);
box-shadow: 0px 0px 10px 0px rgba(0, 147, 173, 0.5);
}
.color-demo.green {
background-color: #7cb342;
-webkit-box-shadow: 0px 0px 10px 0px rgba(98, 142, 52, 0.5);
box-shadow: 0px 0px 10px 0px rgba(98, 142, 52, 0.5);
}
.color-demo.bg {
background-color: #222436;
}
.color-demo.fg {
background-color: #ccdbf1;
color: #222436;
-webkit-box-shadow: 0px 0px 10px 0px rgba(204, 219, 241, 0.5);
box-shadow: 0px 0px 10px 0px rgba(204, 219, 241, 0.5);
}
.color-demo:hover {
-webkit-transform: translateY(-10px);
transform: translateY(-10px);
}
.display-mode-icon {
font-size: 1.4rem;
text-align: center;
text-decoration: none;
font-style: normal;
}
.modal {
visibility: hidden;
opacity: 0;
@ -176,12 +183,14 @@ body {
background-color: #222436;
padding: 20px;
border: 1px solid #363955;
width: 80%;
max-width: 80%;
max-height: 80%;
border-radius: 8px;
-webkit-box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.5);
box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.5);
overflow: auto;
max-width: 1024;
/* The Close Button */
}
@ -228,7 +237,9 @@ body {
overflow: hidden;
}
button {
button,
input[type="button"],
input[type="submit"] {
padding: 0.75rem 1rem;
border: none;
outline: none;
@ -250,157 +261,241 @@ button {
font-size: 14px;
}
button:hover {
button:hover,
input[type="button"]:hover,
input[type="submit"]:hover {
background-color: #363955;
}
button:active {
button:active,
input[type="button"]:active,
input[type="submit"]:active {
background-color: #2c2e46;
}
button.small {
button.small,
input[type="button"].small,
input[type="submit"].small {
font-size: 12px;
padding: 0.5rem 0.75rem;
}
button.outlined {
button.outlined,
input[type="button"].outlined,
input[type="submit"].outlined {
background-color: transparent;
border: 2px solid #525572;
}
button.outlined:hover {
button.outlined:hover,
input[type="button"].outlined:hover,
input[type="submit"].outlined:hover {
background-color: transparent;
border: 2px solid #363955;
-webkit-transition: all 150ms ease-in-out;
transition: all 150ms ease-in-out;
}
button.outlined:active {
button.outlined:active,
input[type="button"].outlined:active,
input[type="submit"].outlined:active {
background-color: transparent;
border: 2px solid #2c2e46;
}
button.inverted {
button.inverted,
input[type="button"].inverted,
input[type="submit"].inverted {
background-color: #dddbc9;
color: #33240e;
-webkit-box-shadow: 0px 0px 10px 0px rgba(221, 219, 201, 0.5);
box-shadow: 0px 0px 10px 0px rgba(221, 219, 201, 0.5);
}
button.inverted:hover {
button.inverted:hover,
input[type="button"].inverted:hover,
input[type="submit"].inverted:hover {
background-color: #f1f0e8;
}
button.inverted:active {
button.inverted:active,
input[type="button"].inverted:active,
input[type="submit"].inverted:active {
background-color: #e7e5d9;
}
button.inverted.outlined {
button.inverted.outlined,
input[type="button"].inverted.outlined,
input[type="submit"].inverted.outlined {
background-color: transparent;
color: #dddbc9;
border: 2px solid #dddbc9;
}
button.inverted.outlined:hover {
button.inverted.outlined:hover,
input[type="button"].inverted.outlined:hover,
input[type="submit"].inverted.outlined:hover {
color: #f1f0e8;
border: 2px solid #f1f0e8;
}
button.inverted.outlined:active {
button.inverted.outlined:active,
input[type="button"].inverted.outlined:active,
input[type="submit"].inverted.outlined:active {
color: #e0e9f6;
border: 2px solid #e7e5d9;
}
button.red {
button.red,
button input[type="reset"],
input[type="button"].red,
input[type="button"] input[type="reset"],
input[type="submit"].red,
input[type="submit"] input[type="reset"] {
background-color: #ff4340;
}
button.red:hover {
button.red:hover,
button input[type="reset"]:hover,
input[type="button"].red:hover,
input[type="button"] input[type="reset"]:hover,
input[type="submit"].red:hover,
input[type="submit"] input[type="reset"]:hover {
background-color: #ff7573;
}
button.red:active {
button.red:active,
button input[type="reset"]:active,
input[type="button"].red:active,
input[type="button"] input[type="reset"]:active,
input[type="submit"].red:active,
input[type="submit"] input[type="reset"]:active {
background-color: #ff5c5a;
}
button.red.outlined {
button.red.outlined,
button input[type="reset"].outlined,
input[type="button"].red.outlined,
input[type="button"] input[type="reset"].outlined,
input[type="submit"].red.outlined,
input[type="submit"] input[type="reset"].outlined {
background-color: transparent;
color: #ff4340;
border: 2px solid #ff4340;
}
button.red.outlined:hover {
button.red.outlined:hover,
button input[type="reset"].outlined:hover,
input[type="button"].red.outlined:hover,
input[type="button"] input[type="reset"].outlined:hover,
input[type="submit"].red.outlined:hover,
input[type="submit"] input[type="reset"].outlined:hover {
color: #ff7573;
border: 2px solid #ff7573;
}
button.red.outlined:active {
button.red.outlined:active,
button input[type="reset"].outlined:active,
input[type="button"].red.outlined:active,
input[type="button"] input[type="reset"].outlined:active,
input[type="submit"].red.outlined:active,
input[type="submit"] input[type="reset"].outlined:active {
color: #ff5c5a;
border: 2px solid #ff5c5a;
}
button.green {
button.green,
input[type="button"].green,
input[type="submit"].green {
background-color: #7cb342;
}
button.green:hover {
button.green:hover,
input[type="button"].green:hover,
input[type="submit"].green:hover {
background-color: #95c563;
}
button.green:active {
button.green:active,
input[type="button"].green:active,
input[type="submit"].green:active {
background-color: #89be50;
}
button.green.outlined {
button.green.outlined,
input[type="button"].green.outlined,
input[type="submit"].green.outlined {
background-color: transparent;
color: #7cb342;
border: 2px solid #7cb342;
}
button.green.outlined:hover {
button.green.outlined:hover,
input[type="button"].green.outlined:hover,
input[type="submit"].green.outlined:hover {
color: #95c563;
border: 2px solid;
}
button.green.outlined:active {
button.green.outlined:active,
input[type="button"].green.outlined:active,
input[type="submit"].green.outlined:active {
color: #89be50;
border: 2px solid;
}
button.cyan {
button.cyan,
input[type="button"].cyan,
input[type="submit"].cyan {
background-color: #00bee0;
color: #222436;
}
button.cyan:hover {
button.cyan:hover,
input[type="button"].cyan:hover,
input[type="submit"].cyan:hover {
background-color: #14dbff;
}
button.cyan:active {
button.cyan:active,
input[type="button"].cyan:active,
input[type="submit"].cyan:active {
background-color: #00d4fa;
}
button.cyan.outlined {
button.cyan.outlined,
input[type="button"].cyan.outlined,
input[type="submit"].cyan.outlined {
background-color: transparent;
color: #00bee0;
border: 2px solid #00bee0;
}
button.cyan.outlined:hover {
button.cyan.outlined:hover,
input[type="button"].cyan.outlined:hover,
input[type="submit"].cyan.outlined:hover {
color: #14dbff;
border: 2px solid #14dbff;
}
button.cyan.outlined:active {
button.cyan.outlined:active,
input[type="button"].cyan.outlined:active,
input[type="submit"].cyan.outlined:active {
color: #00d4fa;
border: 2px solid #00d4fa;
}
.container {
width: 90vw;
padding: 2rem 5vw;
}
.container.centered {
display: block;
margin: auto;
text-align: center;
padding: 0;
}
.divider {
width: 70vw;
height: 10px;
@ -409,7 +504,7 @@ button.cyan.outlined:active {
}
.divider.wide {
width: 100vw;
width: 100%;
}
.divider.narrow {
@ -431,6 +526,198 @@ button.cyan.outlined:active {
border: 0;
}
input {
-webkit-appearance: none !important;
-moz-appearance: none !important;
appearance: none !important;
}
form {
max-width: 100vw;
}
form .input-with-icon i {
position: absolute;
margin-top: 10px;
margin-left: 10px;
}
form .input-with-icon input {
padding-left: 32px !important;
}
form .flex-form {
display: -ms-grid;
display: grid;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
-ms-grid-columns: (minmax(256px, 1fr))[auto-fit];
grid-template-columns: repeat(auto-fit, minmax(256px, 1fr));
grid-gap: 1rem 3rem;
grid-auto-flow: dense;
margin: auto;
padding: 1rem;
}
form .flex-form.labelled {
-ms-grid-columns: 1fr 5fr;
grid-template-columns: 1fr 5fr;
}
@media (max-width: 767px) {
form .flex-form.labelled {
-ms-grid-columns: (minmax(256px, 1fr))[auto-fit];
grid-template-columns: repeat(auto-fit, minmax(256px, 1fr));
}
}
form .flex-form input {
background-color: #535884;
color: #ccdbf1;
}
form .flex-form input[type="password"], form .flex-form input[type="text"], form .flex-form input[type="date"], form .flex-form input[type="email"], form .flex-form input[type="file"], form .flex-form input[type="month"], form .flex-form input[type="number"], form .flex-form input[type="tel"], form .flex-form input[type="search"], form .flex-form input[type="url"], form .flex-form input[type="week"] {
font-family: "Spartan";
border-radius: 0.3em;
-webkit-box-shadow: 0px 0px 10px 0px rgba(14, 15, 23, 0.5);
box-shadow: 0px 0px 10px 0px rgba(14, 15, 23, 0.5);
-webkit-transition: all 150ms ease-in-out;
transition: all 150ms ease-in-out;
font-size: 14px;
padding: 0.75rem 1rem;
border: none;
outline: none;
}
form .flex-form input[type="color"] {
border-radius: 0.3em;
}
form .flex-form input[type="search"] {
width: 100%;
}
form .flex-form input::-webkit-input-placeholder {
color: rgba(204, 219, 241, 0.5);
}
form .flex-form input:-ms-input-placeholder {
color: rgba(204, 219, 241, 0.5);
}
form .flex-form input::-ms-input-placeholder {
color: rgba(204, 219, 241, 0.5);
}
form .flex-form input::placeholder {
color: rgba(204, 219, 241, 0.5);
}
form .flex-form input[type="checkbox"], form .flex-form input[type="color"], form .flex-form input[type="radio"] {
margin: auto;
}
form .flex-form input[type="range"] {
height: 26px;
-webkit-appearance: none;
margin: 10px 0;
width: 100%;
background-color: transparent;
}
form .flex-form input[type="range"]:focus {
outline: none;
}
form .flex-form input[type="range"]::-webkit-slider-runnable-track {
width: 100%;
height: 14px;
cursor: pointer;
-webkit-animation: 0.2s;
animation: 0.2s;
-webkit-box-shadow: 0px 0px 10px 0px rgba(14, 15, 23, 0.5);
box-shadow: 0px 0px 10px 0px rgba(14, 15, 23, 0.5);
background: #363955;
border-radius: 14px;
}
form .flex-form input[type="range"]::-webkit-slider-thumb {
-webkit-box-shadow: 0px 0px 10px 0px rgba(14, 15, 23, 0.5);
box-shadow: 0px 0px 10px 0px rgba(14, 15, 23, 0.5);
height: 20px;
width: 40px;
border-radius: 12px;
background: #00bee0;
cursor: pointer;
-webkit-appearance: none;
margin-top: -3px;
}
form input[type="reset"] {
padding: 0.75rem 1rem;
border: none;
outline: none;
color: #ccdbf1;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
cursor: pointer;
width: -webkit-fit-content;
width: -moz-fit-content;
width: fit-content;
border-radius: 0.3em;
-webkit-box-shadow: 0px 0px 10px 0px rgba(14, 15, 23, 0.5);
box-shadow: 0px 0px 10px 0px rgba(14, 15, 23, 0.5);
-webkit-transition: all 150ms ease-in-out;
transition: all 150ms ease-in-out;
font-size: 14px;
background-color: #ff4340;
}
form input[type="reset"]:hover {
background-color: #ff7573;
}
form input[type="reset"]:active {
background-color: #ff5c5a;
}
form input[type="reset"].small {
font-size: 12px;
padding: 0.5rem 0.75rem;
}
form input[type="reset"].outlined {
background-color: transparent;
border: 2px solid #525572;
}
form input[type="reset"].outlined:hover {
background-color: transparent;
border: 2px solid #363955;
-webkit-transition: all 150ms ease-in-out;
transition: all 150ms ease-in-out;
}
form input[type="reset"].outlined:active {
background-color: transparent;
border: 2px solid #2c2e46;
}
form input[type="button"],
form input[type="reset"],
form input[type="submit"] {
display: block;
width: -webkit-fit-content;
width: -moz-fit-content;
width: fit-content;
margin: auto;
font-family: "Spartan";
margin-bottom: 1rem;
}
.grid {
display: -ms-grid;
display: grid;
@ -546,42 +833,37 @@ img.large {
justify-content: center;
}
.masthead.rainbow {
-webkit-animation: Rainbow 30s ease infinite;
animation: Rainbow 30s ease infinite;
}
@-webkit-keyframes Rainbow {
0% {
-webkit-filter: hue-rotate(0deg);
filter: hue-rotate(0deg);
}
100% {
-webkit-filter: hue-rotate(360deg);
filter: hue-rotate(360deg);
}
}
@keyframes Rainbow {
0% {
-webkit-filter: hue-rotate(0deg);
filter: hue-rotate(0deg);
}
100% {
-webkit-filter: hue-rotate(360deg);
filter: hue-rotate(360deg);
}
}
.masthead.gradient {
background: url("../../../Resources/img/cover.png"), #7cb342;
background: url("../../../Resources/img/cover.png"), -webkit-gradient(linear, right top, left bottom, from(#00bee0), to(#7cb342));
background: url("../../../Resources/img/cover.png"), linear-gradient(to bottom left, #00bee0, #7cb342);
}
.masthead.gradient.rainbow {
background: linear-gradient(45deg, #ff0000, #ffb200, #f2ff00, #00c00c, #00d2d0, #0040d2, #a400f6, #f600f1);
background-size: 1600% 1600%;
color: #252525;
-webkit-animation: RainbowGradient 30s ease infinite;
animation: RainbowGradient 30s ease infinite;
}
@-webkit-keyframes RainbowGradient {
0% {
background-position: 0% 50%;
}
50% {
background-position: 100% 51%;
}
100% {
background-position: 0% 50%;
}
}
@keyframes RainbowGradient {
0% {
background-position: 0% 50%;
}
50% {
background-position: 100% 51%;
}
100% {
background-position: 0% 50%;
}
background: url("/Resources/img/cover.png"), #7cb342;
background: url("/Resources/img/cover.png"), -webkit-gradient(linear, right top, left bottom, from(#00bee0), to(#7cb342));
background: url("/Resources/img/cover.png"), linear-gradient(to bottom left, #00bee0, #7cb342);
}
.masthead p.content {
@ -759,55 +1041,15 @@ body {
}
.mobile-menu .sub.item {
display: block;
display: none;
padding-left: 3rem;
background-color: #404365;
-webkit-animation: disappear 250ms 1;
animation: disappear 250ms 1;
max-height: 0;
}
.mobile-menu .sub.item.visible {
display: -webkit-inline-box;
max-height: 4rem;
-webkit-animation: appear 250ms 1;
animation: appear 250ms 1;
}
@-webkit-keyframes appear {
0% {
max-height: 0;
}
100% {
max-height: 4rem;
}
}
@keyframes appear {
0% {
max-height: 0;
}
100% {
max-height: 4rem;
}
}
@-webkit-keyframes disappear {
0% {
max-height: 4rem;
}
100% {
max-height: 0;
}
}
@keyframes disappear {
0% {
max-height: 4rem;
}
100% {
max-height: 0;
}
display: -ms-inline-flexbox;
display: inline-flex;
}
.no-scroll {
@ -826,6 +1068,7 @@ body {
.dropdown.item .dropdown-content {
max-height: 0px;
width: 100%;
overflow-y: hidden;
top: 100%;
left: 0;

File diff suppressed because one or more lines are too long

View file

@ -2,10 +2,12 @@
@import "_custom";
@import "base";
@import "modal";
@import "button";
@import "container";
@import "embed";
@import "form";
@import "grid";
@import "image";
@import "masthead";