host FA ourselves, fix icons and blue demo, hopefully fix forms on ios

This commit is contained in:
oitsjustjose 2020-03-30 13:30:00 -04:00
commit bb06bb35a6
28 changed files with 9500 additions and 168 deletions

View file

@ -10,7 +10,7 @@
background-color: $red;
box-shadow: 0px 0px 10px 0px rgba(darken($red, 10%), 0.5);
}
Ø &.blue {
&.blue {
background-color: $cyan;
box-shadow: 0px 0px 10px 0px rgba(darken($cyan, 10%), 0.5);
}

View file

@ -1,162 +1,168 @@
input {
-webkit-appearance: none !important;
-moz-appearance: none !important;
appearance: none !important;
}
form {
max-width: 100vw;
max-width: 100vw;
.input-with-icon {
i {
position: absolute;
margin-top: 10px;
margin-left: 10px;
.input-with-icon {
i {
position: absolute;
margin-top: 10px;
margin-left: 10px;
}
& input {
padding-left: 32px !important;
}
}
& input {
padding-left: 32px !important;
}
}
.flex-form {
display: grid;
align-items: center;
grid-template-columns: repeat(auto-fit, minmax(384px, 1fr));
grid-gap: 1rem 3rem;
grid-auto-flow: dense;
margin: auto;
padding: 1rem;
.flex-form {
display: grid;
align-items: center;
grid-template-columns: repeat(auto-fit, minmax(384px, 1fr));
grid-gap: 1rem 3rem;
grid-auto-flow: dense;
margin: auto;
padding: 1rem;
&.labelled {
grid-template-columns: 1fr 5fr;
}
&.labelled {
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 {
background-color: lighten($background, 25%);
color: $foreground;
input[type="reset"] {
padding: 0.75rem 1rem;
border: none;
outline: none;
color: $foreground;
user-select: none;
cursor: pointer;
width: fit-content;
&[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;
}
background-color: $red;
&[type="search"] {
width: 100%;
}
&:hover {
background-color: lighten($red, 10%);
}
&::placeholder {
color: rgba($foreground, 0.5);
}
&:active {
background-color: lighten($red, 5%);
}
&[type="checkbox"],
&[type="color"],
&[type="radio"] {
&.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;
}
&[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;
}
}
font-family: "Spartan";
margin-bottom: 1rem;
}
}
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

@ -1,4 +1,3 @@
@charset "UTF-8";
/******************************************************
* FIXED COLORS (Change these to propagate chages) *
******************************************************/
@ -24,7 +23,7 @@
box-shadow: 0px 0px 10px 0px rgba(255, 17, 13, 0.5);
}
Ø .color-demo.blue {
.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);
@ -527,6 +526,12 @@ input[type="submit"].cyan.outlined:active {
border: 0;
}
input {
-webkit-appearance: none !important;
-moz-appearance: none !important;
appearance: none !important;
}
form {
max-width: 100vw;
}

File diff suppressed because one or more lines are too long

View file

@ -1,4 +1,3 @@
@charset "UTF-8";
/******************************************************
* FIXED COLORS (Change these to propagate chages) *
******************************************************/
@ -24,7 +23,7 @@
box-shadow: 0px 0px 10px 0px rgba(255, 17, 13, 0.5);
}
Ø .color-demo.blue {
.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);
@ -527,6 +526,12 @@ input[type="submit"].cyan.outlined:active {
border: 0;
}
input {
-webkit-appearance: none !important;
-moz-appearance: none !important;
appearance: none !important;
}
form {
max-width: 100vw;
}

File diff suppressed because one or more lines are too long

View file

@ -1,4 +1,3 @@
@charset "UTF-8";
/******************************************************
* FIXED COLORS (Change these to propagate chages) *
******************************************************/
@ -24,7 +23,7 @@
box-shadow: 0px 0px 10px 0px rgba(255, 17, 13, 0.5);
}
Ø .color-demo.blue {
.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);
@ -527,6 +526,12 @@ input[type="submit"].cyan.outlined:active {
border: 0;
}
input {
-webkit-appearance: none !important;
-moz-appearance: none !important;
appearance: none !important;
}
form {
max-width: 100vw;
}

File diff suppressed because one or more lines are too long