From ca8caa9227ad9151bd57ab7eccab2c8947ea55da Mon Sep 17 00:00:00 2001 From: Mischa POSLAWSKY Date: Sun, 1 Feb 2015 10:03:18 +0100 Subject: [PATCH] countries: change antarctica class to .an Apparently more widely used, including in geonames data, saving conversion. --- base.css | 4 ++-- circus.css | 4 ++-- countries.plp | 2 +- dark.css | 2 +- darklite.css | 2 +- lite.css | 2 +- mono.css | 2 +- red.css | 2 +- tools/mkcountries-geonames | 1 - 9 files changed, 10 insertions(+), 11 deletions(-) diff --git a/base.css b/base.css index c53f11e..e2f9bac 100644 --- a/base.css +++ b/base.css @@ -458,7 +458,7 @@ table.dimap { .c-as, .mo, .g6 {background: #FCC} /* red: mode */ -.c-aa, +.c-an, .mv, .g7 {background: #ECE} /* purple: visual (g6+) */ .c-oc, @@ -484,7 +484,7 @@ table.dimap { .c-as:hover, .mo a:hover, .mo[onclick]:hover, .g6 a:hover, .g6[onclick]:hover {background: #F88} -.c-aa:hover, +.c-an:hover, .mv a:hover, .mv[onclick]:hover, .g7 a:hover, .g7[onclick]:hover {background: #D9D} .c-oc:hover, diff --git a/circus.css b/circus.css index 8f2c85c..afc5cb1 100644 --- a/circus.css +++ b/circus.css @@ -45,7 +45,7 @@ .c-as, .mo, .g6 {background: #F77} -.c-aa, +.c-an, .mv, .g7 {background: #E8E} .c-oc, @@ -73,7 +73,7 @@ .c-as:hover, .mo a:hover, .mo[onclick]:hover, .g6 a:hover, .g6[onclick]:hover {background: #000; color: #F77} -.c-aa:hover, +.c-an:hover, .mv a:hover, .mv[onclick]:hover, .g7 a:hover, .g7[onclick]:hover {background: #000; color: #E8E} .c-oc:hover, diff --git a/countries.plp b/countries.plp index 3019a29..575aa8b 100644 --- a/countries.plp +++ b/countries.plp @@ -58,7 +58,7 @@ my $cc = do 'countries.inc.pl'; africa europe asia - antarctica + antarctica oceania south america north america diff --git a/dark.css b/dark.css index 2cfc111..835d32d 100644 --- a/dark.css +++ b/dark.css @@ -92,7 +92,7 @@ th, td { .c-as, .mo, .g6 {background: #500} -.c-aa, +.c-an, .mv, .g7 {background: #503} .c-oc, diff --git a/darklite.css b/darklite.css index 0fdfcf6..d57f249 100644 --- a/darklite.css +++ b/darklite.css @@ -23,7 +23,7 @@ th, td { .Xr {background: #111} /* reverse */ .Co {background: #181111} /* private */ -.me, .c-aa .g8 {background: #102} +.me, .c-an .g8 {background: #102} .mv, .c-oc .g7 {background: #012} .mo, .c-as, .g6 .l1 {background: #200} .mi .g5 {} diff --git a/lite.css b/lite.css index d82fa4c..9074b75 100644 --- a/lite.css +++ b/lite.css @@ -7,6 +7,6 @@ .cp, td.c-eu {background: #FED} .mi {background: #FDC} .mo, td.c-as {background: #FDD} -.mv, td.c-aa {background: #EEDDF4} +.mv, td.c-an {background: #EEDDF4} .me, td.c-oc {background: #E3E8FF} diff --git a/mono.css b/mono.css index 32a8733..d6eaeba 100644 --- a/mono.css +++ b/mono.css @@ -75,7 +75,7 @@ body ul.keys li.new { .c-af {background: #000; color: #FFF} /* .g3 */ .c-eu {background: #333; color: #FFF} /* .g4 */ .c-as {background: #666; color: #FFF} /* .g6 */ -.c-aa {background: #999; color: #FFF} /* .g7 */ +.c-an {background: #999; color: #FFF} /* .g7 */ .c-oc {background: #BBB} /* .g8 */ .c-sa {background: #999} /* .g0 */ .c-na {background: #666} /* .g1 */ diff --git a/red.css b/red.css index f3698cc..48f8fcf 100644 --- a/red.css +++ b/red.css @@ -123,7 +123,7 @@ tbody, colgroup, th { .c-af {background: #100; color: #FFF} .c-eu {background: #300; color: #FFF} .c-as {background: #500; color: #FFF} -.c-aa {background: #400; color: #8BC} +.c-an {background: #400; color: #8BC} .c-oc {background: #100; color: #8BC} .c-sa {background: #100; color: #DD6} .c-na {background: #300; color: #DD6} diff --git a/tools/mkcountries-geonames b/tools/mkcountries-geonames index b10bb83..325379c 100755 --- a/tools/mkcountries-geonames +++ b/tools/mkcountries-geonames @@ -53,7 +53,6 @@ my %cc; # map of country code to info array while (<>) { /^#/ and next; # skip comments my ($iso, $name, $cont) = (split /\t/)[0, 4, 8]; - $cont =~ s/\AAN\z/aa/; # different antarctica abbreviation my $class = "c-\L$cont"; $cc{ lc $iso } = [ $name, $class ]; } -- 2.30.0