]> git.ipfire.org Git - ipfire.org.git/blob - static/scss/bootstrap-4.0.0-alpha.6/scss/_close.scss
.gitignore: Add .vscode
[ipfire.org.git] / static / scss / bootstrap-4.0.0-alpha.6 / scss / _close.scss
1 .close {
2 float: right;
3 font-size: $close-font-size;
4 font-weight: $close-font-weight;
5 line-height: 1;
6 color: $close-color;
7 text-shadow: $close-text-shadow;
8 opacity: .5;
9
10 @include hover-focus {
11 color: $close-color;
12 text-decoration: none;
13 cursor: pointer;
14 opacity: .75;
15 }
16 }
17
18 // Additional properties for button version
19 // iOS requires the button element instead of an anchor tag.
20 // If you want the anchor version, it requires `href="#"`.
21 // See https://developer.mozilla.org/en-US/docs/Web/Events/click#Safari_Mobile
22
23 // scss-lint:disable QualifyingElement
24 button.close {
25 padding: 0;
26 cursor: pointer;
27 background: transparent;
28 border: 0;
29 -webkit-appearance: none;
30 }
31 // scss-lint:enable QualifyingElement