OLD | NEW |
1 /*Used for applying style to a <span> so it looks like a highlight*/ | 1 /*Used for applying style to a <span> so it looks like a highlight*/ |
2 .fauxHighlight { | 2 .fauxHighlight { |
3 background-color: rgb(0, 255, 0); | 3 background-color: rgb(0, 255, 0); |
4 color: rgb(0, 255, 0); | 4 color: rgb(0, 255, 0); |
5 } | 5 } |
6 | 6 |
7 .fauxHighlightSquare { | 7 .fauxHighlightSquare { |
8 background-color: rgb(0, 255, 0); | 8 background-color: rgb(0, 255, 0); |
9 color: rgb(0, 255, 0); | 9 color: rgb(0, 255, 0); |
10 } | 10 } |
11 | 11 |
12 .opaqueHighlight { | 12 .opaqueHighlight { |
13 -webkit-tap-highlight-color: rgb(0, 255, 0); | 13 -webkit-tap-highlight-color: rgb(0, 255, 0); |
14 } | 14 } |
15 | 15 |
| 16 .target { |
| 17 cursor: pointer; /* enables link highlighting */ |
| 18 -webkit-tap-highlight-color: rgb(0, 255, 0); |
| 19 border: 2px solid grey; |
| 20 box-sizing: border-box; |
| 21 } |
| 22 /* touch adjustment candidate */ |
| 23 .target:active { |
| 24 border-color: red; |
| 25 } |
| 26 |
16 .transparentHighlight { | 27 .transparentHighlight { |
17 -webkit-tap-highlight-color: rgba(0, 255, 0, 0.5); | 28 -webkit-tap-highlight-color: rgba(0, 255, 0, 0.5); |
18 } | 29 } |
19 | 30 |
20 .activeLink { | 31 .activeLink { |
21 color: rgb(0, 255, 0); | 32 color: rgb(0, 255, 0); |
22 } | 33 } |
23 | 34 |
24 a { | 35 a { |
25 text-decoration: none; | 36 text-decoration: none; |
(...skipping 14 matching lines...) Expand all Loading... |
40 position: absolute; | 51 position: absolute; |
41 } | 52 } |
42 | 53 |
43 .squaredHighlight { | 54 .squaredHighlight { |
44 -webkit-border-radius: 0px; | 55 -webkit-border-radius: 0px; |
45 } | 56 } |
46 | 57 |
47 .composited { | 58 .composited { |
48 -webkit-transform: translateZ(0); | 59 -webkit-transform: translateZ(0); |
49 } | 60 } |
OLD | NEW |