source: josm/trunk/styles_nodist/potlatch2/source/core_interactive.css@ 9343

Last change on this file since 9343 was 5215, checked in by bastiK, 12 years ago

update Potlatch 2 style from upstream. (Fixes casing-width)

File size: 1.9 KB
Line 
1/* Turn restrictions */
2
3relation[type=restriction] node { z-index:11; icon-image: icons/restriction.png; }
4
5/* Interactive way behaviour */
6
7way::highlight :hover { z-index: 2; width: eval('_width+10'); color: #ffff99; }
8way::highlight :hover :background { color: lightcyan; }
9way::highlight :selected { z-index: 2; width: eval('_width+10'); color: yellow; opacity: 0.7;}
10way::highlight :selected :background { color: cyan; }
11way::highlight :restrictfrom { z-index: -1; width: eval('_width+10'); color: red; opacity: 0.7;}
12way::highlight :restrictto { z-index: -1; width: eval('_width+10'); color: blue; opacity: 0.7;}
13/*way !:drawn !:hasTags{ z-index:10; width: 0.5; color: red; }*/
14way !:drawn { z-index:10; width: 1; color: #333333; }
15way :tiger { casing-color: #ff00ff;}
16
17/* Interactive node behaviour */
18
19node :dupe { z-index: 9; icon-image: circle; icon-width:8; color: white; opacity: 0.4; casing-opacity: 0.4; casing-color: red; casing-width: 3; }
20node :hoverway { z-index: 9; icon-image: circle; icon-width: 8; color: blue; layer: 5; }
21node !:drawn :hasTags :poi { z-index: 2; icon-image: circle; icon-width: 8; color: #00ac00; casing-color: #004400; casing-width: 1; }
22node !:drawn :poi { z-index: 2; icon-image: circle; icon-width: 8; color: #BBB; casing-color: #333; casing-width: 1; }
23node !:drawn :hasTags :selectedway { z-index: 9; icon-image: circle; icon-width: 10; color: black; layer: 5; }
24node !:drawn :hasTags { z-index: 9; icon-image: circle; icon-width: 8; color: black; }
25node !:drawn :selectedway { z-index: 9; icon-image: circle; icon-width: 8; color: red; casing-color: #cc0000; casing-width: 1; layer: 5; }
26node::selectedNode :selected { z-index: 1; icon-image: square; icon-width: eval('_width+10'); color: yellow; interactive: no; layer: 5; }
27node::selectedNode :selected :background { color: cyan; }
28node::junctionNode :junction :selectedway { z-index: 8; icon-image: circle; icon-width: 12; casing-color: black; casing-width: 1; layer: 5; }
Note: See TracBrowser for help on using the repository browser.