2012-06-29 12:46:45 +08:00
|
|
|
//
|
|
|
|
// Close icons
|
|
|
|
// --------------------------------------------------
|
|
|
|
|
2012-01-06 02:01:42 +08:00
|
|
|
|
|
|
|
.close {
|
|
|
|
float: right;
|
|
|
|
font-size: 20px;
|
|
|
|
font-weight: bold;
|
2012-12-01 06:45:25 +08:00
|
|
|
line-height: @line-height-base;
|
2012-12-20 14:02:57 +08:00
|
|
|
color: #000;
|
2012-01-06 02:01:42 +08:00
|
|
|
text-shadow: 0 1px 0 rgba(255,255,255,1);
|
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 {
|
2012-12-20 14:02:57 +08:00
|
|
|
color: #000;
|
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
|
|
|
|
|
|
|
// 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.close {
|
|
|
|
padding: 0;
|
|
|
|
cursor: pointer;
|
2012-04-24 21:45:21 +08:00
|
|
|
background: transparent;
|
2012-03-26 11:41:59 +08:00
|
|
|
border: 0;
|
|
|
|
-webkit-appearance: none;
|
2013-04-23 15:30:22 +08:00
|
|
|
}
|