2012-01-05 10:01:42 -08:00
|
|
|
.close {
|
|
|
|
float: right;
|
2017-01-03 13:51:06 -08:00
|
|
|
font-size: $close-font-size;
|
2014-12-02 14:02:35 -08:00
|
|
|
font-weight: $close-font-weight;
|
2013-04-24 00:41:06 +02:00
|
|
|
line-height: 1;
|
2014-12-02 14:02:35 -08:00
|
|
|
color: $close-color;
|
|
|
|
text-shadow: $close-text-shadow;
|
2016-11-25 16:03:13 -08:00
|
|
|
opacity: .5;
|
2013-04-09 10:43:37 -07:00
|
|
|
|
2015-01-01 01:05:01 -08:00
|
|
|
@include hover-focus {
|
2014-12-02 14:02:35 -08:00
|
|
|
color: $close-color;
|
2012-01-05 10:01:42 -08:00
|
|
|
text-decoration: none;
|
2016-11-25 16:03:13 -08:00
|
|
|
opacity: .75;
|
2012-01-05 10:01:42 -08:00
|
|
|
}
|
2015-01-19 16:11:39 -08:00
|
|
|
}
|
2012-03-25 20:41:59 -07:00
|
|
|
|
2015-01-19 16:11:39 -08: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 12:28:18 -08:00
|
|
|
|
|
|
|
// scss-lint:disable QualifyingElement
|
2015-01-19 16:11:39 -08:00
|
|
|
button.close {
|
|
|
|
padding: 0;
|
|
|
|
background: transparent;
|
|
|
|
border: 0;
|
|
|
|
-webkit-appearance: none;
|
2013-04-23 17:30:22 +10:00
|
|
|
}
|
2016-02-06 12:28:18 -08:00
|
|
|
// scss-lint:enable QualifyingElement
|