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; }
|
&::-webkit-scrollbar { display: none; }
|
||||||
}
|
}
|
||||||
|
|
||||||
// El elemento no se puede cliquear
|
// Eventos del cursor
|
||||||
.click-through {
|
@each $event in (none, auto) {
|
||||||
pointer-events: none;
|
.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
|
// Agrega una transición a cualquier modificación de atributos
|
||||||
|
|
Loading…
Reference in a new issue