1// 2// Close icons 3// -------------------------------------------------- 4 5 6.close { 7 float: right; 8 font-size: 20px; 9 font-weight: bold; 10 line-height: @baseLineHeight; 11 color: @black; 12 text-shadow: 0 1px 0 rgba(255,255,255,1); 13 .opacity(20); 14 &:hover, 15 &:focus { 16 color: @black; 17 text-decoration: none; 18 cursor: pointer; 19 .opacity(40); 20 } 21} 22 23// Additional properties for button version 24// iOS requires the button element instead of an anchor tag. 25// If you want the anchor version, it requires `href="#"`. 26button.close { 27 padding: 0; 28 cursor: pointer; 29 background: transparent; 30 border: 0; 31 -webkit-appearance: none; 32}