/css -> /sass
This commit is contained in:
parent
a9d3e14b66
commit
383f0223e7
30 changed files with 574 additions and 550 deletions
|
|
@ -1,324 +0,0 @@
|
|||
textarea {
|
||||
background-color: lighten($background, 25%);
|
||||
color: $foreground;
|
||||
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;
|
||||
resize: none;
|
||||
width: -webkit-fill-available;
|
||||
height: auto;
|
||||
margin: 16px;
|
||||
|
||||
&:focus {
|
||||
box-shadow: 0px 0px 10px 0px $cyan;
|
||||
}
|
||||
}
|
||||
|
||||
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;
|
||||
|
||||
&:focus {
|
||||
box-shadow: 0px 0px 10px 0px $cyan;
|
||||
}
|
||||
}
|
||||
|
||||
&[type="color"] {
|
||||
border-radius: 0.3em;
|
||||
}
|
||||
|
||||
&[type="search"] {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
&::placeholder {
|
||||
color: rgba($foreground, 0.5);
|
||||
}
|
||||
|
||||
&[type="checkbox"],
|
||||
&[type="color"],
|
||||
&[type="radio"] {
|
||||
margin: auto;
|
||||
|
||||
&:focus {
|
||||
outline: none;
|
||||
box-shadow: 0px 0px 10px 0px $cyan;
|
||||
}
|
||||
}
|
||||
|
||||
&[type="checkbox"],
|
||||
&[type="radio"] {
|
||||
--active-inner: #fff;
|
||||
--background: #fff;
|
||||
--disabled: #f6f8ff;
|
||||
--disabled-inner: #e1e6f9;
|
||||
-webkit-appearance: none;
|
||||
-moz-appearance: none;
|
||||
height: 21px;
|
||||
outline: none;
|
||||
display: inline-block;
|
||||
vertical-align: top;
|
||||
position: relative;
|
||||
cursor: pointer;
|
||||
background: var(--b, lighten($background, 25%));
|
||||
transition: background 0.3s, border-color 0.3s, box-shadow 0.2s;
|
||||
&:after {
|
||||
content: "";
|
||||
display: block;
|
||||
left: 1px;
|
||||
top: 1px;
|
||||
position: absolute;
|
||||
transition: transform var(--d-t, 0.3s) var(--d-t-e, ease), opacity var(--d-o, 0.2s);
|
||||
}
|
||||
|
||||
&:checked {
|
||||
background: var(--b, $cyan);
|
||||
--d-o: 0.3s;
|
||||
--d-t: 0.6s;
|
||||
--d-t-e: cubic-bezier(0.2, 0.85, 0.32, 1.2);
|
||||
}
|
||||
|
||||
&:disabled {
|
||||
--b: var(--disabled);
|
||||
cursor: not-allowed;
|
||||
opacity: 0.9;
|
||||
&:checked {
|
||||
--b: var(--disabled-inner);
|
||||
--bc: var(--border);
|
||||
}
|
||||
& + label {
|
||||
cursor: not-allowed;
|
||||
}
|
||||
}
|
||||
&:hover {
|
||||
&:not(:checked) {
|
||||
&:not(:disabled) {
|
||||
--bc: $cyan;
|
||||
}
|
||||
}
|
||||
}
|
||||
&:focus {
|
||||
box-shadow: 0 0 10px 0 rgba($cyan, 0.9);
|
||||
}
|
||||
&:not(.switch) {
|
||||
width: 21px;
|
||||
&:after {
|
||||
opacity: var(--o, 0);
|
||||
}
|
||||
&:checked {
|
||||
--o: 1;
|
||||
}
|
||||
}
|
||||
& + label {
|
||||
font-size: 14px;
|
||||
line-height: 21px;
|
||||
display: inline-block;
|
||||
vertical-align: top;
|
||||
cursor: pointer;
|
||||
margin-left: 4px;
|
||||
}
|
||||
}
|
||||
&[type="checkbox"] {
|
||||
&:not(.switch) {
|
||||
border-radius: 7px;
|
||||
&:after {
|
||||
width: 5px;
|
||||
height: 9px;
|
||||
border: 2px solid lighten($background, 25%);
|
||||
border-top: 0;
|
||||
border-left: 0;
|
||||
left: 7px;
|
||||
top: 4px;
|
||||
transform: rotate(var(--r, 20deg));
|
||||
}
|
||||
&:checked {
|
||||
--r: 43deg;
|
||||
}
|
||||
}
|
||||
&.switch {
|
||||
width: 38px;
|
||||
border-radius: 11px;
|
||||
&:after {
|
||||
left: 3px;
|
||||
top: 3px;
|
||||
border-radius: 50%;
|
||||
width: 15px;
|
||||
height: 15px;
|
||||
background: var(--ab, $cyan);
|
||||
transform: translateX(var(--x, 0));
|
||||
}
|
||||
&:checked {
|
||||
--ab: var(--active-inner);
|
||||
--x: 17px;
|
||||
&:after {
|
||||
background: lighten($background, 25%);
|
||||
}
|
||||
}
|
||||
&:disabled {
|
||||
&:not(:checked) {
|
||||
&:after {
|
||||
opacity: 0.6;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
&[type="radio"] {
|
||||
border-radius: 50%;
|
||||
&:after {
|
||||
width: 19px;
|
||||
height: 19px;
|
||||
border-radius: 50%;
|
||||
background: lighten($background, 25%);
|
||||
opacity: 0;
|
||||
transform: scale(var(--s, 0.7));
|
||||
}
|
||||
}
|
||||
|
||||
&[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;
|
||||
}
|
||||
}
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
|
@ -16,15 +16,15 @@ const toggleDisplayMode = () => {
|
|||
if (currentDisplayMode == "dark") {
|
||||
window.localStorage.setItem("displayMode", "moonlight");
|
||||
currentDisplayMode = "moonlight";
|
||||
document.getElementById("themekit-css").href = "./Libraries/css/themekit/main-moonlight.css";
|
||||
document.getElementById("themekit-css").href = "./Libraries/sass/themekit/main-moonlight.css";
|
||||
} else if (currentDisplayMode == "moonlight") {
|
||||
window.localStorage.setItem("displayMode", "light");
|
||||
currentDisplayMode = "light";
|
||||
document.getElementById("themekit-css").href = "./Libraries/css/themekit/main-light.css";
|
||||
document.getElementById("themekit-css").href = "./Libraries/sass/themekit/main-light.css";
|
||||
} else {
|
||||
window.localStorage.setItem("displayMode", "dark");
|
||||
currentDisplayMode = "dark";
|
||||
document.getElementById("themekit-css").href = "./Libraries/css/themekit/main-dark.css";
|
||||
document.getElementById("themekit-css").href = "./Libraries/sass/themekit/main-dark.css";
|
||||
}
|
||||
updateDisplayModeIcons();
|
||||
};
|
||||
|
|
@ -48,11 +48,11 @@ window.addEventListener("DOMContentLoaded", (evt) => {
|
|||
currentDisplayMode = window.localStorage.getItem("displayMode");
|
||||
|
||||
if (currentDisplayMode == "dark") {
|
||||
document.getElementById("themekit-css").href = "./Libraries/css/themekit/main-dark.css";
|
||||
document.getElementById("themekit-css").href = "./Libraries/sass/themekit/main-dark.css";
|
||||
} else if (currentDisplayMode == "moonlight") {
|
||||
document.getElementById("themekit-css").href = "./Libraries/css/themekit/main-moonlight.css";
|
||||
document.getElementById("themekit-css").href = "./Libraries/sass/themekit/main-moonlight.css";
|
||||
} else {
|
||||
document.getElementById("themekit-css").href = "./Libraries/css/themekit/main-light.css";
|
||||
document.getElementById("themekit-css").href = "./Libraries/sass/themekit/main-light.css";
|
||||
}
|
||||
|
||||
updateDisplayModeIcons();
|
||||
|
|
|
|||
330
Libraries/sass/themekit/_form.scss
Normal file
330
Libraries/sass/themekit/_form.scss
Normal file
|
|
@ -0,0 +1,330 @@
|
|||
textarea {
|
||||
background-color: lighten($background, 25%);
|
||||
color: $foreground;
|
||||
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;
|
||||
resize: none;
|
||||
width: -webkit-fill-available;
|
||||
height: auto;
|
||||
margin: 16px;
|
||||
|
||||
&:focus {
|
||||
box-shadow: 0px 0px 10px 0px $cyan;
|
||||
}
|
||||
}
|
||||
|
||||
form {
|
||||
max-width: 100vw;
|
||||
|
||||
.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-with-icon {
|
||||
i {
|
||||
position: absolute;
|
||||
margin-top: 10px;
|
||||
margin-left: 10px;
|
||||
}
|
||||
|
||||
& input {
|
||||
padding-left: 32px !important;
|
||||
}
|
||||
}
|
||||
|
||||
input {
|
||||
background-color: lighten($background, 25%);
|
||||
color: $foreground;
|
||||
display: block;
|
||||
width: 100%;
|
||||
width: 16em;
|
||||
|
||||
&.small {
|
||||
}
|
||||
|
||||
&[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;
|
||||
|
||||
&:focus {
|
||||
box-shadow: 0px 0px 10px 0px $cyan;
|
||||
}
|
||||
}
|
||||
|
||||
&[type="color"] {
|
||||
border-radius: 0.3em;
|
||||
}
|
||||
|
||||
&[type="search"] {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
&::placeholder {
|
||||
color: rgba($foreground, 0.5);
|
||||
}
|
||||
|
||||
&[type="checkbox"],
|
||||
&[type="color"],
|
||||
&[type="radio"] {
|
||||
margin: auto;
|
||||
|
||||
&:focus {
|
||||
outline: none;
|
||||
box-shadow: 0px 0px 10px 0px $cyan;
|
||||
}
|
||||
}
|
||||
|
||||
&[type="checkbox"],
|
||||
&[type="radio"] {
|
||||
--active-inner: #fff;
|
||||
--background: #fff;
|
||||
--disabled: #f6f8ff;
|
||||
--disabled-inner: #e1e6f9;
|
||||
-webkit-appearance: none;
|
||||
-moz-appearance: none;
|
||||
height: 21px;
|
||||
outline: none;
|
||||
display: inline-block;
|
||||
vertical-align: top;
|
||||
position: relative;
|
||||
cursor: pointer;
|
||||
background: var(--b, lighten($background, 25%));
|
||||
transition: background 0.3s, border-color 0.3s, box-shadow 0.2s;
|
||||
&:after {
|
||||
content: "";
|
||||
display: block;
|
||||
left: 1px;
|
||||
top: 1px;
|
||||
position: absolute;
|
||||
transition: transform var(--d-t, 0.3s) var(--d-t-e, ease), opacity var(--d-o, 0.2s);
|
||||
}
|
||||
|
||||
&:checked {
|
||||
background: var(--b, $cyan);
|
||||
--d-o: 0.3s;
|
||||
--d-t: 0.6s;
|
||||
--d-t-e: cubic-bezier(0.2, 0.85, 0.32, 1.2);
|
||||
}
|
||||
|
||||
&:disabled {
|
||||
--b: var(--disabled);
|
||||
cursor: not-allowed;
|
||||
opacity: 0.9;
|
||||
&:checked {
|
||||
--b: var(--disabled-inner);
|
||||
--bc: var(--border);
|
||||
}
|
||||
& + label {
|
||||
cursor: not-allowed;
|
||||
}
|
||||
}
|
||||
&:hover {
|
||||
&:not(:checked) {
|
||||
&:not(:disabled) {
|
||||
--bc: $cyan;
|
||||
}
|
||||
}
|
||||
}
|
||||
&:focus {
|
||||
box-shadow: 0 0 10px 0 rgba($cyan, 0.9);
|
||||
}
|
||||
&:not(.switch) {
|
||||
width: 21px;
|
||||
&:after {
|
||||
opacity: var(--o, 0);
|
||||
}
|
||||
&:checked {
|
||||
--o: 1;
|
||||
}
|
||||
}
|
||||
& + label {
|
||||
font-size: 14px;
|
||||
line-height: 21px;
|
||||
display: inline-block;
|
||||
vertical-align: top;
|
||||
cursor: pointer;
|
||||
margin-left: 4px;
|
||||
}
|
||||
}
|
||||
&[type="checkbox"] {
|
||||
&:not(.switch) {
|
||||
border-radius: 7px;
|
||||
&:after {
|
||||
width: 5px;
|
||||
height: 9px;
|
||||
border: 2px solid lighten($background, 25%);
|
||||
border-top: 0;
|
||||
border-left: 0;
|
||||
left: 7px;
|
||||
top: 4px;
|
||||
transform: rotate(var(--r, 20deg));
|
||||
}
|
||||
&:checked {
|
||||
--r: 43deg;
|
||||
}
|
||||
}
|
||||
&.switch {
|
||||
width: 38px;
|
||||
border-radius: 11px;
|
||||
&:after {
|
||||
left: 3px;
|
||||
top: 3px;
|
||||
border-radius: 50%;
|
||||
width: 15px;
|
||||
height: 15px;
|
||||
background: var(--ab, $cyan);
|
||||
transform: translateX(var(--x, 0));
|
||||
}
|
||||
&:checked {
|
||||
--ab: var(--active-inner);
|
||||
--x: 17px;
|
||||
&:after {
|
||||
background: lighten($background, 25%);
|
||||
}
|
||||
}
|
||||
&:disabled {
|
||||
&:not(:checked) {
|
||||
&:after {
|
||||
opacity: 0.6;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
&[type="radio"] {
|
||||
border-radius: 50%;
|
||||
&:after {
|
||||
width: 19px;
|
||||
height: 19px;
|
||||
border-radius: 50%;
|
||||
background: lighten($background, 25%);
|
||||
opacity: 0;
|
||||
transform: scale(var(--s, 0.7));
|
||||
}
|
||||
}
|
||||
|
||||
&[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;
|
||||
}
|
||||
}
|
||||
|
|
@ -554,16 +554,6 @@ 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;
|
||||
|
|
@ -590,12 +580,25 @@ form .flex-form.labelled {
|
|||
}
|
||||
}
|
||||
|
||||
form .flex-form input {
|
||||
background-color: #656565;
|
||||
color: #eeeeee;
|
||||
form .input-with-icon i {
|
||||
position: absolute;
|
||||
margin-top: 10px;
|
||||
margin-left: 10px;
|
||||
}
|
||||
|
||||
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"] {
|
||||
form .input-with-icon input {
|
||||
padding-left: 32px !important;
|
||||
}
|
||||
|
||||
form input {
|
||||
background-color: #656565;
|
||||
color: #eeeeee;
|
||||
display: block;
|
||||
width: 100%;
|
||||
width: 16em;
|
||||
}
|
||||
|
||||
form input[type="password"], form input[type="text"], form input[type="date"], form input[type="email"], form input[type="file"], form input[type="month"], form input[type="number"], form input[type="tel"], form input[type="search"], form input[type="url"], form input[type="week"] {
|
||||
font-family: "Spartan";
|
||||
border-radius: 0.3em;
|
||||
-webkit-box-shadow: 0px 0px 10px 0px rgba(12, 12, 12, 0.5);
|
||||
|
|
@ -608,46 +611,46 @@ form .flex-form input[type="password"], form .flex-form input[type="text"], form
|
|||
outline: none;
|
||||
}
|
||||
|
||||
form .flex-form input[type="password"]:focus, form .flex-form input[type="text"]:focus, form .flex-form input[type="date"]:focus, form .flex-form input[type="email"]:focus, form .flex-form input[type="file"]:focus, form .flex-form input[type="month"]:focus, form .flex-form input[type="number"]:focus, form .flex-form input[type="tel"]:focus, form .flex-form input[type="search"]:focus, form .flex-form input[type="url"]:focus, form .flex-form input[type="week"]:focus {
|
||||
form input[type="password"]:focus, form input[type="text"]:focus, form input[type="date"]:focus, form input[type="email"]:focus, form input[type="file"]:focus, form input[type="month"]:focus, form input[type="number"]:focus, form input[type="tel"]:focus, form input[type="search"]:focus, form input[type="url"]:focus, form input[type="week"]:focus {
|
||||
-webkit-box-shadow: 0px 0px 10px 0px #00bee0;
|
||||
box-shadow: 0px 0px 10px 0px #00bee0;
|
||||
}
|
||||
|
||||
form .flex-form input[type="color"] {
|
||||
form input[type="color"] {
|
||||
border-radius: 0.3em;
|
||||
}
|
||||
|
||||
form .flex-form input[type="search"] {
|
||||
form input[type="search"] {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
form .flex-form input::-webkit-input-placeholder {
|
||||
form input::-webkit-input-placeholder {
|
||||
color: rgba(238, 238, 238, 0.5);
|
||||
}
|
||||
|
||||
form .flex-form input:-ms-input-placeholder {
|
||||
form input:-ms-input-placeholder {
|
||||
color: rgba(238, 238, 238, 0.5);
|
||||
}
|
||||
|
||||
form .flex-form input::-ms-input-placeholder {
|
||||
form input::-ms-input-placeholder {
|
||||
color: rgba(238, 238, 238, 0.5);
|
||||
}
|
||||
|
||||
form .flex-form input::placeholder {
|
||||
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"] {
|
||||
form input[type="checkbox"], form input[type="color"], form input[type="radio"] {
|
||||
margin: auto;
|
||||
}
|
||||
|
||||
form .flex-form input[type="checkbox"]:focus, form .flex-form input[type="color"]:focus, form .flex-form input[type="radio"]:focus {
|
||||
form input[type="checkbox"]:focus, form input[type="color"]:focus, form input[type="radio"]:focus {
|
||||
outline: none;
|
||||
-webkit-box-shadow: 0px 0px 10px 0px #00bee0;
|
||||
box-shadow: 0px 0px 10px 0px #00bee0;
|
||||
}
|
||||
|
||||
form .flex-form input[type="checkbox"], form .flex-form input[type="radio"] {
|
||||
form input[type="checkbox"], form input[type="radio"] {
|
||||
--active-inner: #fff;
|
||||
--background: #fff;
|
||||
--disabled: #f6f8ff;
|
||||
|
|
@ -667,7 +670,7 @@ form .flex-form input[type="checkbox"], form .flex-form input[type="radio"] {
|
|||
transition: background 0.3s, border-color 0.3s, box-shadow 0.2s, -webkit-box-shadow 0.2s;
|
||||
}
|
||||
|
||||
form .flex-form input[type="checkbox"]:after, form .flex-form input[type="radio"]:after {
|
||||
form input[type="checkbox"]:after, form input[type="radio"]:after {
|
||||
content: "";
|
||||
display: block;
|
||||
left: 1px;
|
||||
|
|
@ -679,50 +682,50 @@ form .flex-form input[type="checkbox"]:after, form .flex-form input[type="radio"
|
|||
transition: transform var(--d-t, 0.3s) var(--d-t-e, ease), opacity var(--d-o, 0.2s), -webkit-transform var(--d-t, 0.3s) var(--d-t-e, ease);
|
||||
}
|
||||
|
||||
form .flex-form input[type="checkbox"]:checked, form .flex-form input[type="radio"]:checked {
|
||||
form input[type="checkbox"]:checked, form input[type="radio"]:checked {
|
||||
background: var(--b, #00bee0);
|
||||
--d-o: 0.3s;
|
||||
--d-t: 0.6s;
|
||||
--d-t-e: cubic-bezier(0.2, 0.85, 0.32, 1.2);
|
||||
}
|
||||
|
||||
form .flex-form input[type="checkbox"]:disabled, form .flex-form input[type="radio"]:disabled {
|
||||
form input[type="checkbox"]:disabled, form input[type="radio"]:disabled {
|
||||
--b: var(--disabled);
|
||||
cursor: not-allowed;
|
||||
opacity: 0.9;
|
||||
}
|
||||
|
||||
form .flex-form input[type="checkbox"]:disabled:checked, form .flex-form input[type="radio"]:disabled:checked {
|
||||
form input[type="checkbox"]:disabled:checked, form input[type="radio"]:disabled:checked {
|
||||
--b: var(--disabled-inner);
|
||||
--bc: var(--border);
|
||||
}
|
||||
|
||||
form .flex-form input[type="checkbox"]:disabled + label, form .flex-form input[type="radio"]:disabled + label {
|
||||
form input[type="checkbox"]:disabled + label, form input[type="radio"]:disabled + label {
|
||||
cursor: not-allowed;
|
||||
}
|
||||
|
||||
form .flex-form input[type="checkbox"]:hover:not(:checked):not(:disabled), form .flex-form input[type="radio"]:hover:not(:checked):not(:disabled) {
|
||||
form input[type="checkbox"]:hover:not(:checked):not(:disabled), form input[type="radio"]:hover:not(:checked):not(:disabled) {
|
||||
--bc: $cyan;
|
||||
}
|
||||
|
||||
form .flex-form input[type="checkbox"]:focus, form .flex-form input[type="radio"]:focus {
|
||||
form input[type="checkbox"]:focus, form input[type="radio"]:focus {
|
||||
-webkit-box-shadow: 0 0 10px 0 rgba(0, 190, 224, 0.9);
|
||||
box-shadow: 0 0 10px 0 rgba(0, 190, 224, 0.9);
|
||||
}
|
||||
|
||||
form .flex-form input[type="checkbox"]:not(.switch), form .flex-form input[type="radio"]:not(.switch) {
|
||||
form input[type="checkbox"]:not(.switch), form input[type="radio"]:not(.switch) {
|
||||
width: 21px;
|
||||
}
|
||||
|
||||
form .flex-form input[type="checkbox"]:not(.switch):after, form .flex-form input[type="radio"]:not(.switch):after {
|
||||
form input[type="checkbox"]:not(.switch):after, form input[type="radio"]:not(.switch):after {
|
||||
opacity: var(--o, 0);
|
||||
}
|
||||
|
||||
form .flex-form input[type="checkbox"]:not(.switch):checked, form .flex-form input[type="radio"]:not(.switch):checked {
|
||||
form input[type="checkbox"]:not(.switch):checked, form input[type="radio"]:not(.switch):checked {
|
||||
--o: 1;
|
||||
}
|
||||
|
||||
form .flex-form input[type="checkbox"] + label, form .flex-form input[type="radio"] + label {
|
||||
form input[type="checkbox"] + label, form input[type="radio"] + label {
|
||||
font-size: 14px;
|
||||
line-height: 21px;
|
||||
display: inline-block;
|
||||
|
|
@ -731,11 +734,11 @@ form .flex-form input[type="checkbox"] + label, form .flex-form input[type="radi
|
|||
margin-left: 4px;
|
||||
}
|
||||
|
||||
form .flex-form input[type="checkbox"]:not(.switch) {
|
||||
form input[type="checkbox"]:not(.switch) {
|
||||
border-radius: 7px;
|
||||
}
|
||||
|
||||
form .flex-form input[type="checkbox"]:not(.switch):after {
|
||||
form input[type="checkbox"]:not(.switch):after {
|
||||
width: 5px;
|
||||
height: 9px;
|
||||
border: 2px solid #656565;
|
||||
|
|
@ -747,16 +750,16 @@ form .flex-form input[type="checkbox"]:not(.switch):after {
|
|||
transform: rotate(var(--r, 20deg));
|
||||
}
|
||||
|
||||
form .flex-form input[type="checkbox"]:not(.switch):checked {
|
||||
form input[type="checkbox"]:not(.switch):checked {
|
||||
--r: 43deg;
|
||||
}
|
||||
|
||||
form .flex-form input[type="checkbox"].switch {
|
||||
form input[type="checkbox"].switch {
|
||||
width: 38px;
|
||||
border-radius: 11px;
|
||||
}
|
||||
|
||||
form .flex-form input[type="checkbox"].switch:after {
|
||||
form input[type="checkbox"].switch:after {
|
||||
left: 3px;
|
||||
top: 3px;
|
||||
border-radius: 50%;
|
||||
|
|
@ -767,24 +770,24 @@ form .flex-form input[type="checkbox"].switch:after {
|
|||
transform: translateX(var(--x, 0));
|
||||
}
|
||||
|
||||
form .flex-form input[type="checkbox"].switch:checked {
|
||||
form input[type="checkbox"].switch:checked {
|
||||
--ab: var(--active-inner);
|
||||
--x: 17px;
|
||||
}
|
||||
|
||||
form .flex-form input[type="checkbox"].switch:checked:after {
|
||||
form input[type="checkbox"].switch:checked:after {
|
||||
background: #656565;
|
||||
}
|
||||
|
||||
form .flex-form input[type="checkbox"].switch:disabled:not(:checked):after {
|
||||
form input[type="checkbox"].switch:disabled:not(:checked):after {
|
||||
opacity: 0.6;
|
||||
}
|
||||
|
||||
form .flex-form input[type="radio"] {
|
||||
form input[type="radio"] {
|
||||
border-radius: 50%;
|
||||
}
|
||||
|
||||
form .flex-form input[type="radio"]:after {
|
||||
form input[type="radio"]:after {
|
||||
width: 19px;
|
||||
height: 19px;
|
||||
border-radius: 50%;
|
||||
|
|
@ -794,7 +797,7 @@ form .flex-form input[type="radio"]:after {
|
|||
transform: scale(var(--s, 0.7));
|
||||
}
|
||||
|
||||
form .flex-form input[type="range"] {
|
||||
form input[type="range"] {
|
||||
height: 26px;
|
||||
-webkit-appearance: none;
|
||||
margin: 10px 0;
|
||||
|
|
@ -802,11 +805,11 @@ form .flex-form input[type="range"] {
|
|||
background-color: transparent;
|
||||
}
|
||||
|
||||
form .flex-form input[type="range"]:focus {
|
||||
form input[type="range"]:focus {
|
||||
outline: none;
|
||||
}
|
||||
|
||||
form .flex-form input[type="range"]::-webkit-slider-runnable-track {
|
||||
form input[type="range"]::-webkit-slider-runnable-track {
|
||||
width: 100%;
|
||||
height: 14px;
|
||||
cursor: pointer;
|
||||
|
|
@ -818,7 +821,7 @@ form .flex-form input[type="range"]::-webkit-slider-runnable-track {
|
|||
border-radius: 14px;
|
||||
}
|
||||
|
||||
form .flex-form input[type="range"]::-webkit-slider-thumb {
|
||||
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;
|
||||
22
Libraries/sass/themekit/main-dark.css.map
Normal file
22
Libraries/sass/themekit/main-dark.css.map
Normal file
File diff suppressed because one or more lines are too long
|
|
@ -554,16 +554,6 @@ 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;
|
||||
|
|
@ -590,12 +580,25 @@ form .flex-form.labelled {
|
|||
}
|
||||
}
|
||||
|
||||
form .flex-form input {
|
||||
background-color: white;
|
||||
color: #252525;
|
||||
form .input-with-icon i {
|
||||
position: absolute;
|
||||
margin-top: 10px;
|
||||
margin-left: 10px;
|
||||
}
|
||||
|
||||
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"] {
|
||||
form .input-with-icon input {
|
||||
padding-left: 32px !important;
|
||||
}
|
||||
|
||||
form input {
|
||||
background-color: white;
|
||||
color: #252525;
|
||||
display: block;
|
||||
width: 100%;
|
||||
width: 16em;
|
||||
}
|
||||
|
||||
form input[type="password"], form input[type="text"], form input[type="date"], form input[type="email"], form input[type="file"], form input[type="month"], form input[type="number"], form input[type="tel"], form input[type="search"], form input[type="url"], form input[type="week"] {
|
||||
font-family: "Spartan";
|
||||
border-radius: 0.3em;
|
||||
-webkit-box-shadow: 0px 0px 10px 0px rgba(213, 213, 213, 0.5);
|
||||
|
|
@ -608,46 +611,46 @@ form .flex-form input[type="password"], form .flex-form input[type="text"], form
|
|||
outline: none;
|
||||
}
|
||||
|
||||
form .flex-form input[type="password"]:focus, form .flex-form input[type="text"]:focus, form .flex-form input[type="date"]:focus, form .flex-form input[type="email"]:focus, form .flex-form input[type="file"]:focus, form .flex-form input[type="month"]:focus, form .flex-form input[type="number"]:focus, form .flex-form input[type="tel"]:focus, form .flex-form input[type="search"]:focus, form .flex-form input[type="url"]:focus, form .flex-form input[type="week"]:focus {
|
||||
form input[type="password"]:focus, form input[type="text"]:focus, form input[type="date"]:focus, form input[type="email"]:focus, form input[type="file"]:focus, form input[type="month"]:focus, form input[type="number"]:focus, form input[type="tel"]:focus, form input[type="search"]:focus, form input[type="url"]:focus, form input[type="week"]:focus {
|
||||
-webkit-box-shadow: 0px 0px 10px 0px #00bee0;
|
||||
box-shadow: 0px 0px 10px 0px #00bee0;
|
||||
}
|
||||
|
||||
form .flex-form input[type="color"] {
|
||||
form input[type="color"] {
|
||||
border-radius: 0.3em;
|
||||
}
|
||||
|
||||
form .flex-form input[type="search"] {
|
||||
form input[type="search"] {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
form .flex-form input::-webkit-input-placeholder {
|
||||
form input::-webkit-input-placeholder {
|
||||
color: rgba(37, 37, 37, 0.5);
|
||||
}
|
||||
|
||||
form .flex-form input:-ms-input-placeholder {
|
||||
form input:-ms-input-placeholder {
|
||||
color: rgba(37, 37, 37, 0.5);
|
||||
}
|
||||
|
||||
form .flex-form input::-ms-input-placeholder {
|
||||
form input::-ms-input-placeholder {
|
||||
color: rgba(37, 37, 37, 0.5);
|
||||
}
|
||||
|
||||
form .flex-form input::placeholder {
|
||||
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"] {
|
||||
form input[type="checkbox"], form input[type="color"], form input[type="radio"] {
|
||||
margin: auto;
|
||||
}
|
||||
|
||||
form .flex-form input[type="checkbox"]:focus, form .flex-form input[type="color"]:focus, form .flex-form input[type="radio"]:focus {
|
||||
form input[type="checkbox"]:focus, form input[type="color"]:focus, form input[type="radio"]:focus {
|
||||
outline: none;
|
||||
-webkit-box-shadow: 0px 0px 10px 0px #00bee0;
|
||||
box-shadow: 0px 0px 10px 0px #00bee0;
|
||||
}
|
||||
|
||||
form .flex-form input[type="checkbox"], form .flex-form input[type="radio"] {
|
||||
form input[type="checkbox"], form input[type="radio"] {
|
||||
--active-inner: #fff;
|
||||
--background: #fff;
|
||||
--disabled: #f6f8ff;
|
||||
|
|
@ -667,7 +670,7 @@ form .flex-form input[type="checkbox"], form .flex-form input[type="radio"] {
|
|||
transition: background 0.3s, border-color 0.3s, box-shadow 0.2s, -webkit-box-shadow 0.2s;
|
||||
}
|
||||
|
||||
form .flex-form input[type="checkbox"]:after, form .flex-form input[type="radio"]:after {
|
||||
form input[type="checkbox"]:after, form input[type="radio"]:after {
|
||||
content: "";
|
||||
display: block;
|
||||
left: 1px;
|
||||
|
|
@ -679,50 +682,50 @@ form .flex-form input[type="checkbox"]:after, form .flex-form input[type="radio"
|
|||
transition: transform var(--d-t, 0.3s) var(--d-t-e, ease), opacity var(--d-o, 0.2s), -webkit-transform var(--d-t, 0.3s) var(--d-t-e, ease);
|
||||
}
|
||||
|
||||
form .flex-form input[type="checkbox"]:checked, form .flex-form input[type="radio"]:checked {
|
||||
form input[type="checkbox"]:checked, form input[type="radio"]:checked {
|
||||
background: var(--b, #00bee0);
|
||||
--d-o: 0.3s;
|
||||
--d-t: 0.6s;
|
||||
--d-t-e: cubic-bezier(0.2, 0.85, 0.32, 1.2);
|
||||
}
|
||||
|
||||
form .flex-form input[type="checkbox"]:disabled, form .flex-form input[type="radio"]:disabled {
|
||||
form input[type="checkbox"]:disabled, form input[type="radio"]:disabled {
|
||||
--b: var(--disabled);
|
||||
cursor: not-allowed;
|
||||
opacity: 0.9;
|
||||
}
|
||||
|
||||
form .flex-form input[type="checkbox"]:disabled:checked, form .flex-form input[type="radio"]:disabled:checked {
|
||||
form input[type="checkbox"]:disabled:checked, form input[type="radio"]:disabled:checked {
|
||||
--b: var(--disabled-inner);
|
||||
--bc: var(--border);
|
||||
}
|
||||
|
||||
form .flex-form input[type="checkbox"]:disabled + label, form .flex-form input[type="radio"]:disabled + label {
|
||||
form input[type="checkbox"]:disabled + label, form input[type="radio"]:disabled + label {
|
||||
cursor: not-allowed;
|
||||
}
|
||||
|
||||
form .flex-form input[type="checkbox"]:hover:not(:checked):not(:disabled), form .flex-form input[type="radio"]:hover:not(:checked):not(:disabled) {
|
||||
form input[type="checkbox"]:hover:not(:checked):not(:disabled), form input[type="radio"]:hover:not(:checked):not(:disabled) {
|
||||
--bc: $cyan;
|
||||
}
|
||||
|
||||
form .flex-form input[type="checkbox"]:focus, form .flex-form input[type="radio"]:focus {
|
||||
form input[type="checkbox"]:focus, form input[type="radio"]:focus {
|
||||
-webkit-box-shadow: 0 0 10px 0 rgba(0, 190, 224, 0.9);
|
||||
box-shadow: 0 0 10px 0 rgba(0, 190, 224, 0.9);
|
||||
}
|
||||
|
||||
form .flex-form input[type="checkbox"]:not(.switch), form .flex-form input[type="radio"]:not(.switch) {
|
||||
form input[type="checkbox"]:not(.switch), form input[type="radio"]:not(.switch) {
|
||||
width: 21px;
|
||||
}
|
||||
|
||||
form .flex-form input[type="checkbox"]:not(.switch):after, form .flex-form input[type="radio"]:not(.switch):after {
|
||||
form input[type="checkbox"]:not(.switch):after, form input[type="radio"]:not(.switch):after {
|
||||
opacity: var(--o, 0);
|
||||
}
|
||||
|
||||
form .flex-form input[type="checkbox"]:not(.switch):checked, form .flex-form input[type="radio"]:not(.switch):checked {
|
||||
form input[type="checkbox"]:not(.switch):checked, form input[type="radio"]:not(.switch):checked {
|
||||
--o: 1;
|
||||
}
|
||||
|
||||
form .flex-form input[type="checkbox"] + label, form .flex-form input[type="radio"] + label {
|
||||
form input[type="checkbox"] + label, form input[type="radio"] + label {
|
||||
font-size: 14px;
|
||||
line-height: 21px;
|
||||
display: inline-block;
|
||||
|
|
@ -731,11 +734,11 @@ form .flex-form input[type="checkbox"] + label, form .flex-form input[type="radi
|
|||
margin-left: 4px;
|
||||
}
|
||||
|
||||
form .flex-form input[type="checkbox"]:not(.switch) {
|
||||
form input[type="checkbox"]:not(.switch) {
|
||||
border-radius: 7px;
|
||||
}
|
||||
|
||||
form .flex-form input[type="checkbox"]:not(.switch):after {
|
||||
form input[type="checkbox"]:not(.switch):after {
|
||||
width: 5px;
|
||||
height: 9px;
|
||||
border: 2px solid white;
|
||||
|
|
@ -747,16 +750,16 @@ form .flex-form input[type="checkbox"]:not(.switch):after {
|
|||
transform: rotate(var(--r, 20deg));
|
||||
}
|
||||
|
||||
form .flex-form input[type="checkbox"]:not(.switch):checked {
|
||||
form input[type="checkbox"]:not(.switch):checked {
|
||||
--r: 43deg;
|
||||
}
|
||||
|
||||
form .flex-form input[type="checkbox"].switch {
|
||||
form input[type="checkbox"].switch {
|
||||
width: 38px;
|
||||
border-radius: 11px;
|
||||
}
|
||||
|
||||
form .flex-form input[type="checkbox"].switch:after {
|
||||
form input[type="checkbox"].switch:after {
|
||||
left: 3px;
|
||||
top: 3px;
|
||||
border-radius: 50%;
|
||||
|
|
@ -767,24 +770,24 @@ form .flex-form input[type="checkbox"].switch:after {
|
|||
transform: translateX(var(--x, 0));
|
||||
}
|
||||
|
||||
form .flex-form input[type="checkbox"].switch:checked {
|
||||
form input[type="checkbox"].switch:checked {
|
||||
--ab: var(--active-inner);
|
||||
--x: 17px;
|
||||
}
|
||||
|
||||
form .flex-form input[type="checkbox"].switch:checked:after {
|
||||
form input[type="checkbox"].switch:checked:after {
|
||||
background: white;
|
||||
}
|
||||
|
||||
form .flex-form input[type="checkbox"].switch:disabled:not(:checked):after {
|
||||
form input[type="checkbox"].switch:disabled:not(:checked):after {
|
||||
opacity: 0.6;
|
||||
}
|
||||
|
||||
form .flex-form input[type="radio"] {
|
||||
form input[type="radio"] {
|
||||
border-radius: 50%;
|
||||
}
|
||||
|
||||
form .flex-form input[type="radio"]:after {
|
||||
form input[type="radio"]:after {
|
||||
width: 19px;
|
||||
height: 19px;
|
||||
border-radius: 50%;
|
||||
|
|
@ -794,7 +797,7 @@ form .flex-form input[type="radio"]:after {
|
|||
transform: scale(var(--s, 0.7));
|
||||
}
|
||||
|
||||
form .flex-form input[type="range"] {
|
||||
form input[type="range"] {
|
||||
height: 26px;
|
||||
-webkit-appearance: none;
|
||||
margin: 10px 0;
|
||||
|
|
@ -802,11 +805,11 @@ form .flex-form input[type="range"] {
|
|||
background-color: transparent;
|
||||
}
|
||||
|
||||
form .flex-form input[type="range"]:focus {
|
||||
form input[type="range"]:focus {
|
||||
outline: none;
|
||||
}
|
||||
|
||||
form .flex-form input[type="range"]::-webkit-slider-runnable-track {
|
||||
form input[type="range"]::-webkit-slider-runnable-track {
|
||||
width: 100%;
|
||||
height: 14px;
|
||||
cursor: pointer;
|
||||
|
|
@ -818,7 +821,7 @@ form .flex-form input[type="range"]::-webkit-slider-runnable-track {
|
|||
border-radius: 14px;
|
||||
}
|
||||
|
||||
form .flex-form input[type="range"]::-webkit-slider-thumb {
|
||||
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;
|
||||
22
Libraries/sass/themekit/main-light.css.map
Normal file
22
Libraries/sass/themekit/main-light.css.map
Normal file
File diff suppressed because one or more lines are too long
|
|
@ -554,16 +554,6 @@ 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;
|
||||
|
|
@ -590,12 +580,25 @@ form .flex-form.labelled {
|
|||
}
|
||||
}
|
||||
|
||||
form .flex-form input {
|
||||
background-color: #535884;
|
||||
color: #ccdbf1;
|
||||
form .input-with-icon i {
|
||||
position: absolute;
|
||||
margin-top: 10px;
|
||||
margin-left: 10px;
|
||||
}
|
||||
|
||||
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"] {
|
||||
form .input-with-icon input {
|
||||
padding-left: 32px !important;
|
||||
}
|
||||
|
||||
form input {
|
||||
background-color: #535884;
|
||||
color: #ccdbf1;
|
||||
display: block;
|
||||
width: 100%;
|
||||
width: 16em;
|
||||
}
|
||||
|
||||
form input[type="password"], form input[type="text"], form input[type="date"], form input[type="email"], form input[type="file"], form input[type="month"], form input[type="number"], form input[type="tel"], form input[type="search"], form input[type="url"], form input[type="week"] {
|
||||
font-family: "Spartan";
|
||||
border-radius: 0.3em;
|
||||
-webkit-box-shadow: 0px 0px 10px 0px rgba(14, 15, 23, 0.5);
|
||||
|
|
@ -608,46 +611,46 @@ form .flex-form input[type="password"], form .flex-form input[type="text"], form
|
|||
outline: none;
|
||||
}
|
||||
|
||||
form .flex-form input[type="password"]:focus, form .flex-form input[type="text"]:focus, form .flex-form input[type="date"]:focus, form .flex-form input[type="email"]:focus, form .flex-form input[type="file"]:focus, form .flex-form input[type="month"]:focus, form .flex-form input[type="number"]:focus, form .flex-form input[type="tel"]:focus, form .flex-form input[type="search"]:focus, form .flex-form input[type="url"]:focus, form .flex-form input[type="week"]:focus {
|
||||
form input[type="password"]:focus, form input[type="text"]:focus, form input[type="date"]:focus, form input[type="email"]:focus, form input[type="file"]:focus, form input[type="month"]:focus, form input[type="number"]:focus, form input[type="tel"]:focus, form input[type="search"]:focus, form input[type="url"]:focus, form input[type="week"]:focus {
|
||||
-webkit-box-shadow: 0px 0px 10px 0px #00bee0;
|
||||
box-shadow: 0px 0px 10px 0px #00bee0;
|
||||
}
|
||||
|
||||
form .flex-form input[type="color"] {
|
||||
form input[type="color"] {
|
||||
border-radius: 0.3em;
|
||||
}
|
||||
|
||||
form .flex-form input[type="search"] {
|
||||
form input[type="search"] {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
form .flex-form input::-webkit-input-placeholder {
|
||||
form input::-webkit-input-placeholder {
|
||||
color: rgba(204, 219, 241, 0.5);
|
||||
}
|
||||
|
||||
form .flex-form input:-ms-input-placeholder {
|
||||
form input:-ms-input-placeholder {
|
||||
color: rgba(204, 219, 241, 0.5);
|
||||
}
|
||||
|
||||
form .flex-form input::-ms-input-placeholder {
|
||||
form input::-ms-input-placeholder {
|
||||
color: rgba(204, 219, 241, 0.5);
|
||||
}
|
||||
|
||||
form .flex-form input::placeholder {
|
||||
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"] {
|
||||
form input[type="checkbox"], form input[type="color"], form input[type="radio"] {
|
||||
margin: auto;
|
||||
}
|
||||
|
||||
form .flex-form input[type="checkbox"]:focus, form .flex-form input[type="color"]:focus, form .flex-form input[type="radio"]:focus {
|
||||
form input[type="checkbox"]:focus, form input[type="color"]:focus, form input[type="radio"]:focus {
|
||||
outline: none;
|
||||
-webkit-box-shadow: 0px 0px 10px 0px #00bee0;
|
||||
box-shadow: 0px 0px 10px 0px #00bee0;
|
||||
}
|
||||
|
||||
form .flex-form input[type="checkbox"], form .flex-form input[type="radio"] {
|
||||
form input[type="checkbox"], form input[type="radio"] {
|
||||
--active-inner: #fff;
|
||||
--background: #fff;
|
||||
--disabled: #f6f8ff;
|
||||
|
|
@ -667,7 +670,7 @@ form .flex-form input[type="checkbox"], form .flex-form input[type="radio"] {
|
|||
transition: background 0.3s, border-color 0.3s, box-shadow 0.2s, -webkit-box-shadow 0.2s;
|
||||
}
|
||||
|
||||
form .flex-form input[type="checkbox"]:after, form .flex-form input[type="radio"]:after {
|
||||
form input[type="checkbox"]:after, form input[type="radio"]:after {
|
||||
content: "";
|
||||
display: block;
|
||||
left: 1px;
|
||||
|
|
@ -679,50 +682,50 @@ form .flex-form input[type="checkbox"]:after, form .flex-form input[type="radio"
|
|||
transition: transform var(--d-t, 0.3s) var(--d-t-e, ease), opacity var(--d-o, 0.2s), -webkit-transform var(--d-t, 0.3s) var(--d-t-e, ease);
|
||||
}
|
||||
|
||||
form .flex-form input[type="checkbox"]:checked, form .flex-form input[type="radio"]:checked {
|
||||
form input[type="checkbox"]:checked, form input[type="radio"]:checked {
|
||||
background: var(--b, #00bee0);
|
||||
--d-o: 0.3s;
|
||||
--d-t: 0.6s;
|
||||
--d-t-e: cubic-bezier(0.2, 0.85, 0.32, 1.2);
|
||||
}
|
||||
|
||||
form .flex-form input[type="checkbox"]:disabled, form .flex-form input[type="radio"]:disabled {
|
||||
form input[type="checkbox"]:disabled, form input[type="radio"]:disabled {
|
||||
--b: var(--disabled);
|
||||
cursor: not-allowed;
|
||||
opacity: 0.9;
|
||||
}
|
||||
|
||||
form .flex-form input[type="checkbox"]:disabled:checked, form .flex-form input[type="radio"]:disabled:checked {
|
||||
form input[type="checkbox"]:disabled:checked, form input[type="radio"]:disabled:checked {
|
||||
--b: var(--disabled-inner);
|
||||
--bc: var(--border);
|
||||
}
|
||||
|
||||
form .flex-form input[type="checkbox"]:disabled + label, form .flex-form input[type="radio"]:disabled + label {
|
||||
form input[type="checkbox"]:disabled + label, form input[type="radio"]:disabled + label {
|
||||
cursor: not-allowed;
|
||||
}
|
||||
|
||||
form .flex-form input[type="checkbox"]:hover:not(:checked):not(:disabled), form .flex-form input[type="radio"]:hover:not(:checked):not(:disabled) {
|
||||
form input[type="checkbox"]:hover:not(:checked):not(:disabled), form input[type="radio"]:hover:not(:checked):not(:disabled) {
|
||||
--bc: $cyan;
|
||||
}
|
||||
|
||||
form .flex-form input[type="checkbox"]:focus, form .flex-form input[type="radio"]:focus {
|
||||
form input[type="checkbox"]:focus, form input[type="radio"]:focus {
|
||||
-webkit-box-shadow: 0 0 10px 0 rgba(0, 190, 224, 0.9);
|
||||
box-shadow: 0 0 10px 0 rgba(0, 190, 224, 0.9);
|
||||
}
|
||||
|
||||
form .flex-form input[type="checkbox"]:not(.switch), form .flex-form input[type="radio"]:not(.switch) {
|
||||
form input[type="checkbox"]:not(.switch), form input[type="radio"]:not(.switch) {
|
||||
width: 21px;
|
||||
}
|
||||
|
||||
form .flex-form input[type="checkbox"]:not(.switch):after, form .flex-form input[type="radio"]:not(.switch):after {
|
||||
form input[type="checkbox"]:not(.switch):after, form input[type="radio"]:not(.switch):after {
|
||||
opacity: var(--o, 0);
|
||||
}
|
||||
|
||||
form .flex-form input[type="checkbox"]:not(.switch):checked, form .flex-form input[type="radio"]:not(.switch):checked {
|
||||
form input[type="checkbox"]:not(.switch):checked, form input[type="radio"]:not(.switch):checked {
|
||||
--o: 1;
|
||||
}
|
||||
|
||||
form .flex-form input[type="checkbox"] + label, form .flex-form input[type="radio"] + label {
|
||||
form input[type="checkbox"] + label, form input[type="radio"] + label {
|
||||
font-size: 14px;
|
||||
line-height: 21px;
|
||||
display: inline-block;
|
||||
|
|
@ -731,11 +734,11 @@ form .flex-form input[type="checkbox"] + label, form .flex-form input[type="radi
|
|||
margin-left: 4px;
|
||||
}
|
||||
|
||||
form .flex-form input[type="checkbox"]:not(.switch) {
|
||||
form input[type="checkbox"]:not(.switch) {
|
||||
border-radius: 7px;
|
||||
}
|
||||
|
||||
form .flex-form input[type="checkbox"]:not(.switch):after {
|
||||
form input[type="checkbox"]:not(.switch):after {
|
||||
width: 5px;
|
||||
height: 9px;
|
||||
border: 2px solid #535884;
|
||||
|
|
@ -747,16 +750,16 @@ form .flex-form input[type="checkbox"]:not(.switch):after {
|
|||
transform: rotate(var(--r, 20deg));
|
||||
}
|
||||
|
||||
form .flex-form input[type="checkbox"]:not(.switch):checked {
|
||||
form input[type="checkbox"]:not(.switch):checked {
|
||||
--r: 43deg;
|
||||
}
|
||||
|
||||
form .flex-form input[type="checkbox"].switch {
|
||||
form input[type="checkbox"].switch {
|
||||
width: 38px;
|
||||
border-radius: 11px;
|
||||
}
|
||||
|
||||
form .flex-form input[type="checkbox"].switch:after {
|
||||
form input[type="checkbox"].switch:after {
|
||||
left: 3px;
|
||||
top: 3px;
|
||||
border-radius: 50%;
|
||||
|
|
@ -767,24 +770,24 @@ form .flex-form input[type="checkbox"].switch:after {
|
|||
transform: translateX(var(--x, 0));
|
||||
}
|
||||
|
||||
form .flex-form input[type="checkbox"].switch:checked {
|
||||
form input[type="checkbox"].switch:checked {
|
||||
--ab: var(--active-inner);
|
||||
--x: 17px;
|
||||
}
|
||||
|
||||
form .flex-form input[type="checkbox"].switch:checked:after {
|
||||
form input[type="checkbox"].switch:checked:after {
|
||||
background: #535884;
|
||||
}
|
||||
|
||||
form .flex-form input[type="checkbox"].switch:disabled:not(:checked):after {
|
||||
form input[type="checkbox"].switch:disabled:not(:checked):after {
|
||||
opacity: 0.6;
|
||||
}
|
||||
|
||||
form .flex-form input[type="radio"] {
|
||||
form input[type="radio"] {
|
||||
border-radius: 50%;
|
||||
}
|
||||
|
||||
form .flex-form input[type="radio"]:after {
|
||||
form input[type="radio"]:after {
|
||||
width: 19px;
|
||||
height: 19px;
|
||||
border-radius: 50%;
|
||||
|
|
@ -794,7 +797,7 @@ form .flex-form input[type="radio"]:after {
|
|||
transform: scale(var(--s, 0.7));
|
||||
}
|
||||
|
||||
form .flex-form input[type="range"] {
|
||||
form input[type="range"] {
|
||||
height: 26px;
|
||||
-webkit-appearance: none;
|
||||
margin: 10px 0;
|
||||
|
|
@ -802,11 +805,11 @@ form .flex-form input[type="range"] {
|
|||
background-color: transparent;
|
||||
}
|
||||
|
||||
form .flex-form input[type="range"]:focus {
|
||||
form input[type="range"]:focus {
|
||||
outline: none;
|
||||
}
|
||||
|
||||
form .flex-form input[type="range"]::-webkit-slider-runnable-track {
|
||||
form input[type="range"]::-webkit-slider-runnable-track {
|
||||
width: 100%;
|
||||
height: 14px;
|
||||
cursor: pointer;
|
||||
|
|
@ -818,7 +821,7 @@ form .flex-form input[type="range"]::-webkit-slider-runnable-track {
|
|||
border-radius: 14px;
|
||||
}
|
||||
|
||||
form .flex-form input[type="range"]::-webkit-slider-thumb {
|
||||
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;
|
||||
22
Libraries/sass/themekit/main-moonlight.css.map
Normal file
22
Libraries/sass/themekit/main-moonlight.css.map
Normal file
File diff suppressed because one or more lines are too long
35
index.html
35
index.html
|
|
@ -6,7 +6,7 @@
|
|||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
|
||||
<link href="./Libraries/fontawesome/css/all.min.css" rel="stylesheet">
|
||||
<link href="./Libraries/css/themekit/main-dark.css" rel="stylesheet" id="themekit-css">
|
||||
<link href="./Libraries/sass/themekit/main-dark.css" rel="stylesheet" id="themekit-css">
|
||||
|
||||
<script src="./Libraries/js/themekit/menu.js"></script>
|
||||
<script src="./Libraries/js/themekit/modal.js"></script>
|
||||
|
|
@ -511,6 +511,15 @@
|
|||
<input type="submit" value="Submit This Form">
|
||||
</form>
|
||||
|
||||
<p>
|
||||
You can also have a normal form if that works better for you! 😄
|
||||
</p>
|
||||
|
||||
<form action="#">
|
||||
<input type="text" value="Text Input">
|
||||
<input type="submit" value="Send This Form!">
|
||||
</form>
|
||||
|
||||
<!-- MODALS: -->
|
||||
|
||||
<div id="card-modal-demo" class="modal">
|
||||
|
|
@ -550,18 +559,18 @@
|
|||
<div class="container">
|
||||
<h3 class="header">About This Page</h3>
|
||||
<p class="content">
|
||||
<ul>
|
||||
<li>
|
||||
This page was written with mobile optimization first!
|
||||
</li>
|
||||
<li>
|
||||
This ThemeKit is written from scratch with minimal <b>NO</b> JQuery (using DOM)
|
||||
</li>
|
||||
<li>
|
||||
This page not only shows you how these things work, but demo to me how they're turning
|
||||
out too!
|
||||
</li>
|
||||
</ul>
|
||||
<ul>
|
||||
<li>
|
||||
This page was written with mobile optimization first!
|
||||
</li>
|
||||
<li>
|
||||
This ThemeKit is written from scratch with minimal <b>NO</b> JQuery (using DOM)
|
||||
</li>
|
||||
<li>
|
||||
This page not only shows you how these things work, but demo to me how they're turning
|
||||
out too!
|
||||
</li>
|
||||
</ul>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Reference in a new issue