You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

300 lines
6.1 KiB

7 years ago
  1. /* IE5.5 hacks */
  2. * html #lang_sel,
  3. * html #lang_sel_list {
  4. width: 12em;
  5. }
  6. * html #lang_sel a,
  7. * html #lang_sel_list a {
  8. width: 149px;
  9. }
  10. * html #lang_sel a:visited,
  11. * html #lang_sel_list a:visited {
  12. width: 149px;
  13. }
  14. * html #lang_sel ul ul,
  15. * html #lang_sel_list ul {
  16. top: 18px;
  17. }
  18. * html #lang_sel ul ul a,
  19. * html #lang_sel_list ul a {
  20. width: 150px;
  21. }
  22. * html #lang_sel ul ul a:visited,
  23. * html #lang_sel_list ul a:visited {
  24. width: 150px;
  25. }
  26. /* remove all the bullets, borders and padding from the default list styling */
  27. #lang_sel {
  28. height: 32px;
  29. position: relative;
  30. font-family: verdana, arial, sans-serif;
  31. display: inline-block;
  32. /* style the table so that it takes no part in the layout - required for IE to work */
  33. /* style the top level hover */
  34. }
  35. #lang_sel ul {
  36. padding: 0 !important;
  37. margin: 0 !important;
  38. list-style-type: none !important;
  39. /* hide the sub levels and give them a positon absolute so that they take up no room */
  40. }
  41. #lang_sel ul li:hover ul, #lang_sel ul a:hover ul {
  42. visibility: visible;
  43. }
  44. #lang_sel ul ul {
  45. visibility: hidden;
  46. position: absolute;
  47. height: 0;
  48. top: 25px;
  49. left: 0;
  50. border-top: 1px solid #cdcdcd;
  51. }
  52. #lang_sel ul ul a {
  53. background: #ffffff;
  54. color: #444444;
  55. height: auto;
  56. line-height: 1em;
  57. padding: 5px 10px;
  58. border-width: 0 1px 1px 1px;
  59. }
  60. #lang_sel ul ul a:visited {
  61. background: #ffffff;
  62. color: #444444;
  63. height: auto;
  64. line-height: 1em;
  65. padding: 5px 10px;
  66. border-width: 0 1px 1px 1px;
  67. }
  68. #lang_sel li {
  69. float: left;
  70. width: 95px;
  71. position: relative;
  72. padding: 0 !important;
  73. margin: 0 !important;
  74. list-style-type: none !important;
  75. }
  76. #lang_sel li:before {
  77. content: '' !important;
  78. }
  79. #lang_sel a {
  80. display: block;
  81. font-size: 11px;
  82. text-decoration: none !important;
  83. color: #444444;
  84. border: 1px solid #cdcdcd;
  85. background: #fff;
  86. padding-left: 10px;
  87. line-height: 24px;
  88. }
  89. #lang_sel a:visited {
  90. display: block;
  91. font-size: 11px;
  92. text-decoration: none !important;
  93. color: #444444;
  94. border: 1px solid #cdcdcd;
  95. background: #fff;
  96. padding-left: 10px;
  97. line-height: 24px;
  98. }
  99. #lang_sel a.lang_sel_sel {
  100. background: url(../img/nav-arrow-down.png) #fff right no-repeat;
  101. color: #444;
  102. }
  103. #lang_sel a.lang_sel_sel:hover {
  104. text-decoration: none;
  105. color: #000;
  106. }
  107. #lang_sel table {
  108. position: absolute;
  109. top: 0;
  110. left: 0;
  111. border-collapse: collapse;
  112. }
  113. #lang_sel a:hover, #lang_sel ul ul a:hover, #lang_sel :hover > a, #lang_sel ul ul :hover > a {
  114. color: #000;
  115. background: #eee;
  116. }
  117. #lang_sel img.iclflag {
  118. width: 18px;
  119. height: 12px;
  120. position: relative;
  121. top: 1px;
  122. display:inline;
  123. float:none;
  124. vertical-align: middle;
  125. }
  126. #lang_sel.icl_rtl {
  127. text-align: right;
  128. direction: rtl;
  129. }
  130. #lang_sel.icl_rtl .lang_sel_sel {
  131. padding-right: 14px;
  132. }
  133. /* make the second level visible when hover on first level list OR link */
  134. #lang_sel_footer {
  135. margin: 0;
  136. padding: 7px;
  137. text-align: center;
  138. font: 11px Verdana, sans-serif;
  139. min-height: 15px;
  140. clear: both;
  141. background-color: #fff;
  142. border: 1px solid #cdcdcd;
  143. }
  144. #lang_sel_footer ul {
  145. list-style: none;
  146. margin: 0;
  147. padding: 0;
  148. }
  149. #lang_sel_footer ul li {
  150. display: inline;
  151. margin: 0 1px 0 0;
  152. padding: 0;
  153. white-space: nowrap;
  154. line-height: 25px;
  155. }
  156. #lang_sel_footer ul li img {
  157. position: relative;
  158. top: 1px;
  159. width: 18px;
  160. height: 12px;
  161. }
  162. #lang_sel_footer ul li a {
  163. text-decoration: none;
  164. padding: 5px 10px;
  165. }
  166. #lang_sel_footer ul li a:visited {
  167. text-decoration: none;
  168. padding: 5px 10px;
  169. }
  170. #wpml_credit_footer {
  171. width: 100%;
  172. margin: 10px 0;
  173. padding: 0;
  174. text-align: center;
  175. font-size: 11px;
  176. }
  177. /* remove all the bullets, borders and padding from the default list styling */
  178. #lang_sel_list {
  179. height: 32px;
  180. position: relative;
  181. z-index: 99;
  182. font-family: verdana, arial, sans-serif;
  183. /* style the table so that it takes no ppart in the layout - required for IE to work */
  184. }
  185. #lang_sel_list ul {
  186. padding: 0 !important;
  187. margin: 0 !important;
  188. list-style-type: none !important;
  189. }
  190. #lang_sel_list ul li:hover ul, #lang_sel_list ul a:hover ul {
  191. visibility: visible;
  192. }
  193. #lang_sel_list ul.lang_sel_list_vertical {
  194. width: 149px;
  195. }
  196. #lang_sel_list ul a {
  197. background: #ffffff;
  198. color: #444444;
  199. height: auto;
  200. line-height: 1em;
  201. }
  202. #lang_sel_list li {
  203. float: left;
  204. position: relative;
  205. padding: 0 !important;
  206. margin: 0 !important;
  207. list-style-type: none !important;
  208. }
  209. #lang_sel_list li:before {
  210. content: '' !important;
  211. }
  212. #lang_sel_list a {
  213. display: block;
  214. font-size: 11px;
  215. text-decoration: none !important;
  216. color: #444444;
  217. background: #fff;
  218. line-height: 18px;
  219. padding-left: 5px;
  220. }
  221. #lang_sel_list a:visited {
  222. display: block;
  223. font-size: 11px;
  224. text-decoration: none !important;
  225. color: #444444;
  226. background: #fff;
  227. line-height: 18px;
  228. padding-left: 5px;
  229. }
  230. #lang_sel_list a.lang_sel_sel {
  231. background-image: none;
  232. color: #444;
  233. }
  234. #lang_sel_list a.lang_sel_sel:hover {
  235. text-decoration: none;
  236. color: #000;
  237. }
  238. #lang_sel_list.lang_sel_list_vertical {
  239. width: 149px;
  240. /* hide the sub levels and give them a positon absolute so that they take up no room */
  241. }
  242. #lang_sel_list.lang_sel_list_vertical ul {
  243. /*visibility:hidden;position:absolute;*/
  244. height: 0;
  245. top: 19px;
  246. left: 0;
  247. border-top: 1px solid #cdcdcd;
  248. }
  249. #lang_sel_list.lang_sel_list_vertical ul a {
  250. padding: 3px 10px;
  251. }
  252. #lang_sel_list.lang_sel_list_vertical li {
  253. width: 149px;
  254. }
  255. #lang_sel_list.lang_sel_list_vertical a {
  256. border: 1px solid #cdcdcd;
  257. border-top-width: 0;
  258. padding-left: 10px;
  259. }
  260. #lang_sel_list.lang_sel_list_vertical a:visited {
  261. border: 1px solid #cdcdcd;
  262. border-top-width: 0;
  263. padding-left: 10px;
  264. }
  265. #lang_sel_list table {
  266. position: absolute;
  267. top: 0;
  268. left: 0;
  269. border-collapse: collapse;
  270. }
  271. #lang_sel_list img.iclflag {
  272. width: 18px;
  273. height: 12px;
  274. position: relative;
  275. top: 1px;
  276. display:inline;
  277. }
  278. /* style the second level links */
  279. #lang_sel_list_list ul a:visited {
  280. background: #ffffff;
  281. color: #444444;
  282. height: auto;
  283. line-height: 1em;
  284. padding: 3px 10px;
  285. }
  286. /* reset menu img definitions */
  287. .menu-item-language img.iclflag {
  288. height: 12px !important;
  289. width: 18px !important;
  290. margin-bottom: 0 !important;
  291. margin-right: 4px;
  292. }