mirror of
https://github.com/KevinMidboe/leifsopplevelser.git
synced 2025-10-29 09:40:21 +00:00
Removed the correct eventlistener function to not create overlapping eventlisteners for the same fn
This commit is contained in:
@@ -36,7 +36,7 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
destroyed() {
|
destroyed() {
|
||||||
window.removeEventListener('keyup')
|
window.removeEventListener('keyup', this.arrowNavigation)
|
||||||
document.ontouchmove = function (e) {
|
document.ontouchmove = function (e) {
|
||||||
return true;
|
return true;
|
||||||
};
|
};
|
||||||
|
|||||||
30
src/scss/buttons.scss
Normal file
30
src/scss/buttons.scss
Normal file
@@ -0,0 +1,30 @@
|
|||||||
|
.button {
|
||||||
|
-webkit-appearance: none;
|
||||||
|
-webkit-backface-visibility: none;
|
||||||
|
border: 2.5px solid #c91119;
|
||||||
|
border-radius: 3px;
|
||||||
|
// color: rgb(255, 255, 255);
|
||||||
|
background-color: white;
|
||||||
|
color: #c91119;
|
||||||
|
cursor: pointer;
|
||||||
|
font-size: 14px;
|
||||||
|
font-weight: 600;
|
||||||
|
height: 42px;
|
||||||
|
letter-spacing: 1px;
|
||||||
|
line-height: 14px;
|
||||||
|
margin-left: -10px;
|
||||||
|
padding: 0 1rem;
|
||||||
|
text-transform: uppercase;
|
||||||
|
transition-delay: 0s;
|
||||||
|
transition-duration: 0.1s;
|
||||||
|
transition-property: opacity;
|
||||||
|
transition-timing-function: linear;
|
||||||
|
vertical-align: baseline;
|
||||||
|
white-space: pre;
|
||||||
|
writing-mode: horizontal-tb;
|
||||||
|
|
||||||
|
&:hover, &:active, &:focus {
|
||||||
|
color: white;
|
||||||
|
background-color: #c91119;
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user