comparison dep/fmt/doc/bootstrap/close.less @ 343:1faa72660932

*: transfer back to cmake from autotools autotools just made lots of things more complicated than they should have and many things broke (i.e. translations)
author Paper <paper@paper.us.eu.org>
date Thu, 20 Jun 2024 05:56:06 -0400
parents
children
comparison
equal deleted inserted replaced
342:adb79bdde329 343:1faa72660932
1 //
2 // Close icons
3 // --------------------------------------------------
4
5
6 .close {
7 float: right;
8 font-size: (@font-size-base * 1.5);
9 font-weight: @close-font-weight;
10 line-height: 1;
11 color: @close-color;
12 text-shadow: @close-text-shadow;
13 .opacity(.2);
14
15 &:hover,
16 &:focus {
17 color: @close-color;
18 text-decoration: none;
19 cursor: pointer;
20 .opacity(.5);
21 }
22
23 // Additional properties for button version
24 // iOS requires the button element instead of an anchor tag.
25 // If you want the anchor version, it requires `href="#"`.
26 // See https://developer.mozilla.org/en-US/docs/Web/Events/click#Safari_Mobile
27 button& {
28 padding: 0;
29 cursor: pointer;
30 background: transparent;
31 border: 0;
32 -webkit-appearance: none;
33 }
34 }