style(catpure): Add disallowed button's state when you press the button

This commit is contained in:
Tixie 2019-04-14 23:48:43 +02:00
parent e69c49eff7
commit 3af53c7a37

View file

@ -64,9 +64,12 @@
/* Capturing state */ /* Capturing state */
.capture-btn--capturing { .capture-btn--capturing,
.capture-btn--capturing:visited,
.capture-btn--capturing:active {
position: relative; position: relative;
background: linear-gradient(135deg, #212045 0%, #3633a0 100%); background: linear-gradient(135deg, #212045 0%, #3633a0 100%);
cursor: not-allowed;
} }
.capture-btn--capturing::after { .capture-btn--capturing::after {
@ -103,7 +106,6 @@
display: block; display: block;
padding: 1rem; padding: 1rem;
border: none; border: none;
border-radius: 0;
border-radius: .2rem; border-radius: .2rem;
background-color: transparent; background-color: transparent;
color: #fff; color: #fff;