[BUGFIX] button jumping on active stated
This commit is contained in:
@@ -36,9 +36,7 @@ h2 {
|
|||||||
/** Button Styles */
|
/** Button Styles */
|
||||||
input[type="submit"],
|
input[type="submit"],
|
||||||
button:not([class="secondary"]) {
|
button:not([class="secondary"]) {
|
||||||
transition: margin-top 0.3s ease,
|
transition: box-shadow 0.3s ease;
|
||||||
margin-left 0.3s ease,
|
|
||||||
box-shadow 0.3s ease;
|
|
||||||
|
|
||||||
background: var(--pico-primary);
|
background: var(--pico-primary);
|
||||||
border: solid 1px var(--pico-primary-hover-background);
|
border: solid 1px var(--pico-primary-hover-background);
|
||||||
@@ -57,13 +55,7 @@ button:not([class="secondary"]) {
|
|||||||
/* When the button is clicked */
|
/* When the button is clicked */
|
||||||
button:not([class="secondary"]):active,
|
button:not([class="secondary"]):active,
|
||||||
input[type="submit"]:active {
|
input[type="submit"]:active {
|
||||||
transition: margin-top 0.3s ease;
|
transition: box-shadow 0.3s ease;
|
||||||
margin-left 0.3s ease;
|
|
||||||
box-shadow 0.3s ease;
|
|
||||||
|
|
||||||
margin-left:9px;
|
|
||||||
margin-top:9px;
|
|
||||||
|
|
||||||
box-shadow: 0px 0px 0px var(--pico-primary-hover-background);
|
box-shadow: 0px 0px 0px var(--pico-primary-hover-background);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user