hlist-rtl.css 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. /**
  2. * "Yet Another Multicolumn Layout" - YAML CSS Framework
  3. *
  4. * (en) RTL Horizontal list navigation "hlist"
  5. * (de) RTL Horizontale Navigationsliste "hlist"
  6. *
  7. * @note: Many thanks to Alexander Hass (http://www.yaml-fuer-drupal.de/) for contribution
  8. *
  9. * @copyright Copyright 2005-2012, Dirk Jesse
  10. * @license CC-BY 2.0 (http://creativecommons.org/licenses/by/2.0/),
  11. * YAML-CDL (http://www.yaml.de/license.html)
  12. * @link http://www.yaml.de
  13. * @package yaml
  14. * @version v4.0.1
  15. * @revision $Revision: 724 $
  16. * @lastmodified $Date: 2012-03-03 11:45:41 +0100 (Sa, 03 Mrz 2012) $
  17. */
  18. @media all
  19. {
  20. /**
  21. * (en) Workaround disappearing list elements on hover
  22. * (de) Workaround verhindert das Verschwinden der Listenelemente beim Hovern
  23. *
  24. * @workaround
  25. * @affected IE 5.x/Win, IE6, IE7
  26. * @css-for IE 5.x/Win, IE6, IE7
  27. * @valid yes
  28. */
  29. .ym-hlist * { direction:ltr !important; }
  30. .ym-hlist a,
  31. .ym-hlist strong { direction:rtl !important; }
  32. .ym-hlist ul {
  33. position:relative;
  34. float:right;
  35. /* (en) Left margin of the first button */
  36. /* (de) Abstand des ersten Buttons vom linken Rand */
  37. margin-left: 0; /* Reset LTR */
  38. }
  39. .ym-hlist ul li {
  40. float: right;
  41. text-align:right !important;
  42. }
  43. .ym-searchform {
  44. float:left;
  45. display: inline;
  46. line-height: 2em;
  47. padding: 0.5em 1.5em;
  48. }
  49. }