nice-metropole: add external-link class (#89420)

This commit is contained in:
Thomas Jund 2024-04-11 16:10:05 +02:00
parent e0625e6412
commit 82ed4a126f
2 changed files with 21 additions and 0 deletions

View File

@ -59,6 +59,23 @@
}
}
@supports (mask-size: contain) {
a.external-link {
&::after {
content: "";
display: inline-block;
width: 0.625em;
height: 0.625em;
transform: translateY(-0.25em);
background-color: currentColor;
margin-left: 0.25em;
mask-image: url(img/icon-lien-externe.svg);
mask-size: contain;
}
}
}
//
// BUTTONS
//

View File

@ -0,0 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg width="10.917" height="10.875" version="1.1" xmlns="http://www.w3.org/2000/svg">
<path d="m7.3965-0.0039062c-0.75743 0.083867-0.78129 1.2741-0.024829 1.3844 0.37655 0.014477 0.75641 0.0020737 1.1342 0.0062072l-3.3262 3.3262c-0.45043 0.46838 0.090657 1.3578 0.71057 1.1372 0.38072-0.16491 0.61551-0.53756 0.92252-0.80544l2.6677-2.6677c0.015956 0.41626-0.035051 0.83948 0.031728 1.2506 0.14547 0.5373 0.94137 0.66346 1.2428 0.19339 0.22367-0.35422 0.09588-0.79193 0.12974-1.1876-0.0088-0.69221 0.01814-1.3867-0.01443-2.0774-0.0766-0.43242-0.53662-0.61441-0.93101-0.55988-0.84755-2.734e-5 -1.6955 5.468e-5 -2.5428-4.1e-5zm-6.1152 1.291c-0.74639-0.02059-1.3694 0.70202-1.2812 1.4351 0.0043341 2.3338-0.0086791 4.6682 0.0065255 7.0016 0.055558 0.71023 0.76417 1.2388 1.4593 1.1511 2.2067-0.0056 4.4141 0.01133 6.6203-0.0086 0.90249-0.07114 1.5993-0.95881 1.5017-1.8499-0.0014857-1.3228 0.0029742-2.6457-0.0022346-3.9684-0.010837-0.61323-0.88952-0.84211-1.241-0.37322-0.189 0.26505-0.14125 0.49316-0.14736 0.79603v3.7323c-0.034341 0.38614-0.47654 0.25665-0.74097 0.2793h-6.0656v-6.8047h4.3789c0.50912 0.053954 0.92301-0.71072 0.5293-1.1484-0.33597-0.36911-0.86724-0.20559-1.3066-0.24219-1.237 5.3e-6 -2.4741-1.07e-5 -3.7111 8e-6z"/>
</svg>

After

Width:  |  Height:  |  Size: 1.2 KiB