summaryrefslogtreecommitdiff
path: root/buildings.mss
blob: 746253742a574574352fa2d0aee5e83215fabb64 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
#uni-building {
  polygon-fill: #a9ceeb;
  polygon-opacity: 0.9;
  polygon-clip: false;
  [zoom >= 16] {
    line-color: #330066;
    line-width: 0.2;
  }
}

#uni-building-names {
  [zoom >= 16] {
    text-name: "[loc_ref]";
    text-placement: interior;
    text-wrap-width: 20;
    text-face-name: @book-fonts;
    text-size: 8;
    text-fill: #444;
    text-halo-fill: fadeout(white, 10%);
    text-halo-radius: 1.5;
    [zoom >= 17] {
      [loc_ref = "42"] {
        point-file: url('symbols/susu2.png');
        [zoom >= 20] {
          point-file: url('symbols/susu.png');
        }
        text-dy: -12;
      }
      [loc_ref = "57"] {
        point-file: url('symbols/susu-shop2.png');
        [zoom >= 20] {
          point-file: url('symbols/susu-shop.png');
        }
        //text-dy: -12;
      }
      text-name: "[name]";
      [loc_ref != ''] {
        text-name: "[name] + ' (' + [loc_ref] + ')'";
        [name = ''] {
      	  text-name: "[loc_ref]";
        }
      }

      text-size: 8;
      [zoom >= 18] {
        text-size: 9;
        [zoom >= 20] {
          text-size: 14;
        }
      } 
    }
    [name != ''] {
      text-size: 14;
      [zoom >= 18] {
        text-size: 15;
        [zoom >= 20] {
          text-size: 18;
        }
      } 
    }
  }
}

#building {
  polygon-fill: #a9ceeb;
  polygon-opacity: 0.5;
  polygon-clip: false;
}