2012-01-05 13:01:42 -05:00
|
|
|
.close {
|
|
|
|
float: right;
|
2017-01-03 16:51:06 -05:00
|
|
|
font-size: $close-font-size;
|
2014-12-02 17:02:35 -05:00
|
|
|
font-weight: $close-font-weight;
|
2013-04-23 18:41:06 -04:00
|
|
|
line-height: 1;
|
2014-12-02 17:02:35 -05:00
|
|
|
color: $close-color;
|
|
|
|
text-shadow: $close-text-shadow;
|
2016-11-25 19:03:13 -05:00
|
|
|
opacity: .5;
|
2013-04-09 13:43:37 -04:00
|
|
|
|
2015-01-01 04:05:01 -05:00
|
|
|
@include hover-focus {
|
2014-12-02 17:02:35 -05:00
|
|
|
color: $close-color;
|
2012-01-05 13:01:42 -05:00
|
|
|
text-decoration: none;
|
2016-11-25 19:03:13 -05:00
|
|
|
opacity: .75;
|
2012-01-05 13:01:42 -05:00
|
|
|
}
|
2015-01-19 19:11:39 -05:00
|
|
|
}
|
2012-03-25 23:41:59 -04:00
|
|
|
|
2015-01-19 19:11:39 -05:00
|
|
|
// Additional properties for button version
|
|
|
|
// iOS requires the button element instead of an anchor tag.
|
|
|
|
// If you want the anchor version, it requires `href="#"`.
|
|
|
|
// See https://developer.mozilla.org/en-US/docs/Web/Events/click#Safari_Mobile
|
2016-02-06 15:28:18 -05:00
|
|
|
|
2017-10-02 23:34:56 -04:00
|
|
|
// stylelint-disable property-no-vendor-prefix, selector-no-qualifying-type
|
2015-01-19 19:11:39 -05:00
|
|
|
button.close {
|
|
|
|
padding: 0;
|
2017-11-05 19:23:36 -05:00
|
|
|
background-color: transparent;
|
2015-01-19 19:11:39 -05:00
|
|
|
border: 0;
|
|
|
|
-webkit-appearance: none;
|
2013-04-23 03:30:22 -04:00
|
|
|
}
|
2017-10-02 23:34:56 -04:00
|
|
|
// stylelint-enable
|