2012-06-29 12:46:45 +08:00
|
|
|
//
|
|
|
|
// Close icons
|
|
|
|
// --------------------------------------------------
|
|
|
|
|
2012-01-06 02:01:42 +08:00
|
|
|
|
|
|
|
.close {
|
|
|
|
float: right;
|
2013-04-24 06:41:06 +08:00
|
|
|
font-size: (@font-size-base * 1.5);
|
2013-07-28 20:32:08 +08:00
|
|
|
font-weight: @close-font-weight;
|
2013-04-24 06:41:06 +08:00
|
|
|
line-height: 1;
|
2013-07-20 15:56:20 +08:00
|
|
|
color: @close-color;
|
|
|
|
text-shadow: @close-text-shadow;
|
2013-03-01 11:46:49 +08:00
|
|
|
.opacity(.2);
|
2013-04-10 01:43:37 +08:00
|
|
|
|
2013-01-03 06:39:21 +08:00
|
|
|
&:hover,
|
|
|
|
&:focus {
|
2013-07-24 14:09:06 +08:00
|
|
|
color: @close-color;
|
2012-01-06 02:01:42 +08:00
|
|
|
text-decoration: none;
|
2012-01-09 15:14:07 +08:00
|
|
|
cursor: pointer;
|
2013-03-01 11:46:49 +08:00
|
|
|
.opacity(.5);
|
2012-01-06 02:01:42 +08:00
|
|
|
}
|
2012-03-26 11:41:59 +08:00
|
|
|
|
2013-07-02 08:32:07 +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="#"`.
|
|
|
|
button& {
|
|
|
|
padding: 0;
|
|
|
|
cursor: pointer;
|
|
|
|
background: transparent;
|
|
|
|
border: 0;
|
|
|
|
-webkit-appearance: none;
|
|
|
|
}
|
2013-04-23 15:30:22 +08:00
|
|
|
}
|