source: trip-planner-front/node_modules/bootstrap/less/close.less@ ceaed42

Last change on this file since ceaed42 was fa375fe, checked in by Ema <ema_spirova@…>, 3 years ago

adding new components

  • Property mode set to 100644
File size: 834 bytes
Line 
1// stylelint-disable property-no-vendor-prefix
2
3//
4// Close icons
5// --------------------------------------------------
6
7
8.close {
9 float: right;
10 font-size: (@font-size-base * 1.5);
11 font-weight: @close-font-weight;
12 line-height: 1;
13 color: @close-color;
14 text-shadow: @close-text-shadow;
15 .opacity(.2);
16
17 &:hover,
18 &:focus {
19 color: @close-color;
20 text-decoration: none;
21 cursor: pointer;
22 .opacity(.5);
23 }
24
25 // Additional properties for button version
26 // iOS requires the button element instead of an anchor tag.
27 // If you want the anchor version, it requires `href="#"`.
28 // See https://developer.mozilla.org/en-US/docs/Web/Events/click#Safari_Mobile
29 button& {
30 padding: 0;
31 cursor: pointer;
32 background: transparent;
33 border: 0;
34 -webkit-appearance: none;
35 appearance: none;
36 }
37}
Note: See TracBrowser for help on using the repository browser.