aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorvdigital <vdigital@piwigo.org>2009-05-30 16:25:40 +0000
committervdigital <vdigital@piwigo.org>2009-05-30 16:25:40 +0000
commit01938c844d74818e564afdc663bd428621af21b7 (patch)
tree867111d42bbd3cb4d1f950c81a27ca153ee17f06
parent13b176602774ada13377071e6940917fd4462c10 (diff)
+ Language Switch CSS review (inherit and overrides)
git-svn-id: http://piwigo.org/svn/branches/2.0@3377 68402e56-0260-453c-a942-63ccdbb3a9ee
-rw-r--r--plugins/language_switch/language_switch.css24
1 files changed, 8 insertions, 16 deletions
diff --git a/plugins/language_switch/language_switch.css b/plugins/language_switch/language_switch.css
index 434368366..f9e2b159c 100644
--- a/plugins/language_switch/language_switch.css
+++ b/plugins/language_switch/language_switch.css
@@ -1,16 +1,8 @@
-.flag-pan { width:132px; z-index:100; border:2px solid; background-color: #111; padding: 2px 5px 10px 5px;
--moz-border-radius-bottomleft:8px; -moz-border-radius-bottomright:8px; -moz-border-radius-topleft:8px; -moz-border-radius-topright:8px;}
-.content ul.categoryActions .flag-pan a img.flags { margin: 5px 2px 10px; }
-.content ul.categoryActions .flag-pan a { margin: 0; }
-.menuf { width:30px; height:24px; display: inline; }
-.menuf ul li a, .menuf ul li a:visited {display:block; text-decoration:none; width:44px; height:27px; text-align:center; line-height:27px; overflow:hidden;}
-.menuf ul {padding:0; margin:0; list-style: none;}
-.menuf ul li {float:left; position:relative; right: 0; top: 0;}
-.menuf ul li ul {display: none;}/* specific to non IE browsers */
-.menuf li a:hover { border:0 !important;}
-.menuf .flags {border:1px solid #000 !important; }
-.menuf ul li:hover ul {display:block; position:absolute; top:0px; left:-96px; }
-.menuf ul li:hover ul li ul {display: none;}
-.menuf ul li:hover ul li {display: block;}
-.menuf ul li:hover ul li a {display:block;}
-.menuf ul li:hover ul li:hover ul {display:block; position:absolute; left:0px; top:0;} \ No newline at end of file
+@import "language_switch-default.css";
+
+.flag-pan { border:2px solid; background-color: #111; }
+.menuf .flags {border-color: #000 !important; }
+
+.flag-pan { border-radius: 8px; } /* round corners with CSS3 compliant browsers */
+.flag-pan { -moz-border-radius:8px; }
+.flag-pan { -webkit-border-radius: 8px; } \ No newline at end of file