From 3751379f1e9a4c215fb6eb898b4ccc67659b9ace Mon Sep 17 00:00:00 2001 From: stephanchrst Date: Tue, 10 May 2022 21:51:50 +0700 Subject: initial commit 2 --- .../lib/bootstrap/scss/utilities/_stretched-link.scss | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 addons/web/static/lib/bootstrap/scss/utilities/_stretched-link.scss (limited to 'addons/web/static/lib/bootstrap/scss/utilities/_stretched-link.scss') diff --git a/addons/web/static/lib/bootstrap/scss/utilities/_stretched-link.scss b/addons/web/static/lib/bootstrap/scss/utilities/_stretched-link.scss new file mode 100644 index 00000000..fb5066bf --- /dev/null +++ b/addons/web/static/lib/bootstrap/scss/utilities/_stretched-link.scss @@ -0,0 +1,19 @@ +// +// Stretched link +// + +.stretched-link { + &::after { + position: absolute; + top: 0; + right: 0; + bottom: 0; + left: 0; + z-index: 1; + // Just in case `pointer-events: none` is set on a parent + pointer-events: auto; + content: ""; + // IE10 bugfix, see https://stackoverflow.com/questions/16947967/ie10-hover-pseudo-class-doesnt-work-without-background-color + background-color: rgba(0, 0, 0, 0); + } +} -- cgit v1.2.3