1
0
mirror of synced 2024-11-29 08:36:12 +03:00

Removes unecessary 2.3 styling that crept in

This commit is contained in:
Justin Schroeder 2020-05-04 16:43:39 -04:00
parent 3bef91aff1
commit c10fd0c417
3 changed files with 8 additions and 34 deletions

21
dist/snow.css vendored
View File

@ -1,6 +1,5 @@
.formulate-input { .formulate-input {
margin-bottom: 1.5em; margin-bottom: 1.5em; }
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; }
.formulate-input .formulate-input-label { .formulate-input .formulate-input-label {
display: block; display: block;
line-height: 1.5; line-height: 1.5;
@ -28,14 +27,7 @@
line-height: 1.5; line-height: 1.5;
margin-bottom: .25em; } margin-bottom: .25em; }
.formulate-input .formulate-input-group-item { .formulate-input .formulate-input-group-item {
margin-bottom: 1.5em; margin-bottom: .5em; }
padding: 1.5em;
border: 1px solid #efefef;
border-radius: .25em; }
.formulate-input .formulate-input-group-item:last-child {
margin-bottom: 1.5em;
border-bottom: 0;
padding-bottom: 0; }
.formulate-input:last-child { .formulate-input:last-child {
margin-bottom: 0; } margin-bottom: 0; }
.formulate-input[data-classification='text'] input { .formulate-input[data-classification='text'] input {
@ -127,8 +119,8 @@
width: 1em; width: 1em;
height: 1em; height: 1em;
border-radius: 1em; border-radius: 1em;
background-color: #41b883;
border: 0; border: 0;
background-color: #41b883;
margin-top: calc(-.5em + 2px); } margin-top: calc(-.5em + 2px); }
.formulate-input[data-classification='slider'] input::-moz-range-thumb { .formulate-input[data-classification='slider'] input::-moz-range-thumb {
cursor: pointer; cursor: pointer;
@ -136,8 +128,8 @@
width: 1em; width: 1em;
height: 1em; height: 1em;
border-radius: 1em; border-radius: 1em;
background-color: #41b883;
border: 0; border: 0;
background-color: #41b883;
margin-top: calc(-.5em + 2px); } margin-top: calc(-.5em + 2px); }
.formulate-input[data-classification='slider'] input::-ms-thumb { .formulate-input[data-classification='slider'] input::-ms-thumb {
cursor: pointer; cursor: pointer;
@ -145,8 +137,8 @@
width: 1em; width: 1em;
height: 1em; height: 1em;
border-radius: 1em; border-radius: 1em;
background-color: #41b883;
border: 0; border: 0;
background-color: #41b883;
margin-top: calc(-.5em + 2px); } margin-top: calc(-.5em + 2px); }
.formulate-input[data-classification='slider'] input::-webkit-slider-runnable-track { .formulate-input[data-classification='slider'] input::-webkit-slider-runnable-track {
appearance: none; appearance: none;
@ -213,9 +205,6 @@
.formulate-input[data-classification='button'] button:focus { .formulate-input[data-classification='button'] button:focus {
outline: 0; outline: 0;
border: 1px solid #41b883; } border: 1px solid #41b883; }
.formulate-input[data-classification='button'] button[data-secondary] {
background-color: transparent;
border: 1px solid #41b883; }
.formulate-input[data-classification='button'] button[disabled] { .formulate-input[data-classification='button'] button[disabled] {
background-color: #cecece; background-color: #cecece;
border-color: #cecece; } border-color: #cecece; }

2
dist/snow.min.css vendored

File diff suppressed because one or more lines are too long

View File

@ -3,7 +3,6 @@
.formulate-input { .formulate-input {
margin-bottom: 1.5em; margin-bottom: 1.5em;
font-family: $formulate-font-stack;
.formulate-input-label { .formulate-input-label {
display: block; display: block;
@ -42,16 +41,7 @@
} }
.formulate-input-group-item { .formulate-input-group-item {
margin-bottom: 1.5em; margin-bottom: .5em;
padding: 1.5em;
border: 1px solid $formulate-gray;
border-radius: .25em;
&:last-child {
margin-bottom: 1.5em;
border-bottom: 0;
padding-bottom: 0;
}
} }
&:last-child { &:last-child {
@ -165,8 +155,8 @@
width: 1em; width: 1em;
height: 1em; height: 1em;
border-radius: 1em; border-radius: 1em;
background-color: $formulate-green;
border: 0; border: 0;
background-color: $formulate-green;
margin-top: calc(-.5em + 2px); margin-top: calc(-.5em + 2px);
} }
@ -227,11 +217,6 @@
display: inline-flex; display: inline-flex;
align-items: center; align-items: center;
&[data-secondary] {
background-color: transparent;
border: 1px solid $formulate-green;
}
&[disabled] { &[disabled] {
background-color: $formulate-gray-d; background-color: $formulate-gray-d;
border-color: $formulate-gray-d; border-color: $formulate-gray-d;