eventos del cursor
This commit is contained in:
parent
c358a18c98
commit
ba13d37fbe
1 changed files with 13 additions and 3 deletions
|
@ -14,9 +14,19 @@
|
|||
&::-webkit-scrollbar { display: none; }
|
||||
}
|
||||
|
||||
// El elemento no se puede cliquear
|
||||
.click-through {
|
||||
pointer-events: none;
|
||||
// Eventos del cursor
|
||||
@each $event in (none, auto) {
|
||||
.pointer-event-#{$event} {
|
||||
pointer-events: $event;
|
||||
}
|
||||
|
||||
@each $grid-breakpoint, $_ in $grid-breakpoints {
|
||||
@include media-breakpoint-up($grid-breakpoint) {
|
||||
.pointer-event-#{$grid-breakpoint}-#{$event} {
|
||||
pointer-events: $event;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Agrega una transición a cualquier modificación de atributos
|
||||
|
|
Loading…
Reference in a new issue