Form theming
This commit is contained in:
parent
16816ab5fe
commit
20353b8f4b
7 changed files with 97 additions and 166 deletions
|
|
@ -1,41 +1,23 @@
|
||||||
.color-demo {
|
|
||||||
cursor: pointer;
|
|
||||||
text-align: center;
|
|
||||||
padding-top: 3rem;
|
|
||||||
padding-bottom: 3rem;
|
|
||||||
box-shadow: 0px 0px 10px 0px rgba(darken($background, 10%), 0.5);
|
|
||||||
transition: all ease-in-out 150ms;
|
|
||||||
|
|
||||||
&.red {
|
|
||||||
background-color: $red;
|
|
||||||
box-shadow: 0px 0px 10px 0px rgba(darken($red, 10%), 0.5);
|
|
||||||
}
|
|
||||||
&.blue {
|
|
||||||
background-color: $cyan;
|
|
||||||
box-shadow: 0px 0px 10px 0px rgba(darken($cyan, 10%), 0.5);
|
|
||||||
}
|
|
||||||
|
|
||||||
&.green {
|
|
||||||
background-color: $green;
|
|
||||||
box-shadow: 0px 0px 10px 0px rgba(darken($green, 10%), 0.5);
|
|
||||||
}
|
|
||||||
|
|
||||||
&.bg {
|
|
||||||
background-color: $background;
|
|
||||||
}
|
|
||||||
|
|
||||||
&.fg {
|
|
||||||
background-color: $foreground;
|
|
||||||
color: $background;
|
|
||||||
box-shadow: 0px 0px 10px 0px rgba($foreground, 0.5);
|
|
||||||
}
|
|
||||||
|
|
||||||
&:hover {
|
|
||||||
transform: translateY(-10px);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.display-mode-icon {
|
.display-mode-icon {
|
||||||
font-size: 1.4rem;
|
font-size: 1.4rem;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.url-form-container {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
|
margin: auto;
|
||||||
|
width: 98vw;
|
||||||
|
max-width: 768px;
|
||||||
|
height: 75vh;
|
||||||
|
|
||||||
|
.form {
|
||||||
|
width: 100%;
|
||||||
|
|
||||||
|
.input[type='text'] {
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -6,56 +6,39 @@
|
||||||
******************************************************/
|
******************************************************/
|
||||||
@import url("https://fonts.googleapis.com/css?family=Fira+Code&display=swap");
|
@import url("https://fonts.googleapis.com/css?family=Fira+Code&display=swap");
|
||||||
@import url("https://fonts.googleapis.com/css?family=Spartan&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 {
|
.display-mode-icon {
|
||||||
font-size: 1.4rem;
|
font-size: 1.4rem;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.url-form-container {
|
||||||
|
display: -webkit-box;
|
||||||
|
display: -ms-flexbox;
|
||||||
|
display: flex;
|
||||||
|
-webkit-box-orient: vertical;
|
||||||
|
-webkit-box-direction: normal;
|
||||||
|
-ms-flex-direction: column;
|
||||||
|
flex-direction: column;
|
||||||
|
-webkit-box-pack: center;
|
||||||
|
-ms-flex-pack: center;
|
||||||
|
justify-content: center;
|
||||||
|
-webkit-box-align: center;
|
||||||
|
-ms-flex-align: center;
|
||||||
|
align-items: center;
|
||||||
|
margin: auto;
|
||||||
|
width: 98vw;
|
||||||
|
max-width: 768px;
|
||||||
|
height: 75vh;
|
||||||
|
}
|
||||||
|
|
||||||
|
.url-form-container .form {
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.url-form-container .form .input[type='text'] {
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
body {
|
body {
|
||||||
background-color: #252525;
|
background-color: #252525;
|
||||||
color: #eeeeee;
|
color: #eeeeee;
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
|
|
@ -6,56 +6,39 @@
|
||||||
******************************************************/
|
******************************************************/
|
||||||
@import url("https://fonts.googleapis.com/css?family=Fira+Code&display=swap");
|
@import url("https://fonts.googleapis.com/css?family=Fira+Code&display=swap");
|
||||||
@import url("https://fonts.googleapis.com/css?family=Spartan&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 {
|
.display-mode-icon {
|
||||||
font-size: 1.4rem;
|
font-size: 1.4rem;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.url-form-container {
|
||||||
|
display: -webkit-box;
|
||||||
|
display: -ms-flexbox;
|
||||||
|
display: flex;
|
||||||
|
-webkit-box-orient: vertical;
|
||||||
|
-webkit-box-direction: normal;
|
||||||
|
-ms-flex-direction: column;
|
||||||
|
flex-direction: column;
|
||||||
|
-webkit-box-pack: center;
|
||||||
|
-ms-flex-pack: center;
|
||||||
|
justify-content: center;
|
||||||
|
-webkit-box-align: center;
|
||||||
|
-ms-flex-align: center;
|
||||||
|
align-items: center;
|
||||||
|
margin: auto;
|
||||||
|
width: 98vw;
|
||||||
|
max-width: 768px;
|
||||||
|
height: 75vh;
|
||||||
|
}
|
||||||
|
|
||||||
|
.url-form-container .form {
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.url-form-container .form .input[type='text'] {
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
body {
|
body {
|
||||||
background-color: #eeeeee;
|
background-color: #eeeeee;
|
||||||
color: #252525;
|
color: #252525;
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
|
|
@ -6,56 +6,39 @@
|
||||||
******************************************************/
|
******************************************************/
|
||||||
@import url("https://fonts.googleapis.com/css?family=Fira+Code&display=swap");
|
@import url("https://fonts.googleapis.com/css?family=Fira+Code&display=swap");
|
||||||
@import url("https://fonts.googleapis.com/css?family=Spartan&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 {
|
.display-mode-icon {
|
||||||
font-size: 1.4rem;
|
font-size: 1.4rem;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.url-form-container {
|
||||||
|
display: -webkit-box;
|
||||||
|
display: -ms-flexbox;
|
||||||
|
display: flex;
|
||||||
|
-webkit-box-orient: vertical;
|
||||||
|
-webkit-box-direction: normal;
|
||||||
|
-ms-flex-direction: column;
|
||||||
|
flex-direction: column;
|
||||||
|
-webkit-box-pack: center;
|
||||||
|
-ms-flex-pack: center;
|
||||||
|
justify-content: center;
|
||||||
|
-webkit-box-align: center;
|
||||||
|
-ms-flex-align: center;
|
||||||
|
align-items: center;
|
||||||
|
margin: auto;
|
||||||
|
width: 98vw;
|
||||||
|
max-width: 768px;
|
||||||
|
height: 75vh;
|
||||||
|
}
|
||||||
|
|
||||||
|
.url-form-container .form {
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.url-form-container .form .input[type='text'] {
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
body {
|
body {
|
||||||
background-color: #222436;
|
background-color: #222436;
|
||||||
color: #ccdbf1;
|
color: #ccdbf1;
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue