Skip to content

Commit

Permalink
Faster transition from gray to violet borders, z5 to z8
Browse files Browse the repository at this point in the history
  • Loading branch information
jeisenbe committed Feb 8, 2019
1 parent 7221f51 commit 98c4075
Showing 1 changed file with 5 additions and 23 deletions.
28 changes: 5 additions & 23 deletions admin.mss
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
@admin-boundaries-low-zoom: #6b516b;
@admin-boundaries-z6: #764f76;
@admin-boundaries-z7: #814d81;
@admin-boundaries-z8: #8c4c8c;
@admin-boundaries-z9: #964a96;
@admin-boundaries-z10: #a148a1;
@admin-boundaries-z6: #814d81;
@admin-boundaries-z7: #964a96;
@admin-boundaries: #ac46ac;

@admin-boundaries-text: #a148a1;
Expand Down Expand Up @@ -49,23 +46,17 @@ overlapping borders correctly.
}
[zoom >= 8] {
background/line-width: 2.6;
line-color: @admin-boundaries-z8;
line-color: @admin-boundaries;
line-width: 2.6;
}
[zoom >= 9] {
background/line-width: 4;
line-color: @admin-boundaries-z9;
line-width: 4;
}
[zoom >= 10] {
background/line-width: 6;
line-color: @admin-boundaries-z10;
line-width: 6;
}
[zoom >= 11] {
background/line-color: white;
line-color: @admin-boundaries;
}
}

[admin_level = '3'] {
Expand Down Expand Up @@ -97,25 +88,19 @@ overlapping borders correctly.
}
[zoom >= 8] {
background/line-width: 1.5;
line-color: @admin-boundaries-z8;
line-color: @admin-boundaries;
line-width: 1.5;
}
[zoom >= 9] {
background/line-width: 2.5;
line-color: @admin-boundaries-z9;
line-width: 2.5;
}
[zoom >= 10] {
background/line-width: 4;
line-color: @admin-boundaries-z10;
line-width: 4;
line-dasharray: 4,2;
line-clip: false;
}
[zoom >= 11] {
background/line-color: white;
line-color: @admin-boundaries;
}
}

[admin_level = '4'] {
Expand Down Expand Up @@ -149,22 +134,19 @@ overlapping borders correctly.
}
[zoom >= 8] {
background/line-width: 1.4;
line-color: @admin-boundaries-z8;
line-color: @admin-boundaries;
line-width: 1.4;
}
[zoom >= 9] {
background/line-width: 1.8;
line-color: @admin-boundaries-z9;
line-width: 1.8;
}
[zoom >= 10] {
background/line-width: 2.5;
line-color: @admin-boundaries-z10;
line-width: 2.5;
}
[zoom >= 11] {
background/line-width: 2.75;
line-color: @admin-boundaries;
line-width: 2.75;
}
[zoom >= 12] {
Expand Down

0 comments on commit 98c4075

Please sign in to comment.