comparison static/bootstrap/less/close.less @ 149:d29e2f337b00

Updated to Bootstrap 3.0.
author Ludovic Chabant <ludovic@chabant.com>
date Thu, 12 Dec 2013 21:54:04 -0800
parents a5a3d454eac9
children
comparison
equal deleted inserted replaced
148:f02e049d6546 149:d29e2f337b00
3 // -------------------------------------------------- 3 // --------------------------------------------------
4 4
5 5
6 .close { 6 .close {
7 float: right; 7 float: right;
8 font-size: 20px; 8 font-size: (@font-size-base * 1.5);
9 font-weight: bold; 9 font-weight: @close-font-weight;
10 line-height: @baseLineHeight; 10 line-height: 1;
11 color: @black; 11 color: @close-color;
12 text-shadow: 0 1px 0 rgba(255,255,255,1); 12 text-shadow: @close-text-shadow;
13 .opacity(20); 13 .opacity(.2);
14
14 &:hover, 15 &:hover,
15 &:focus { 16 &:focus {
16 color: @black; 17 color: @close-color;
17 text-decoration: none; 18 text-decoration: none;
18 cursor: pointer; 19 cursor: pointer;
19 .opacity(40); 20 .opacity(.5);
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="#"`.
26 button& {
27 padding: 0;
28 cursor: pointer;
29 background: transparent;
30 border: 0;
31 -webkit-appearance: none;
20 } 32 }
21 } 33 }
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="#"`.
26 button.close {
27 padding: 0;
28 cursor: pointer;
29 background: transparent;
30 border: 0;
31 -webkit-appearance: none;
32 }