home | career | drupal | java | mac | mysql | perl | php | scala | uml | unix

Drupal example source code file (system.menus-rtl.css)

This example Drupal source code file (system.menus-rtl.css) is included in the DevDaily.com "Drupal Source Code Warehouse" project. The intent of this project is to help you "Learn Drupal by Example".

PHP - Drupal tags/keywords

1em, 5px, border-left, border-right, ccc, display, inline, li, list-style-image, margin-left, none, padding, text-align:right

The system.menus-rtl.css Drupal example source code

/* $Id: system.menus-rtl.css,v 1.2 2010/09/25 02:28:14 dries Exp $ */

/**
 * @file
 * RTL styles for menus and navigation markup.
 */

ul.menu {
  text-align:right;
}
ul.menu li {
  margin: 0 0.5em 0 0;
}
ul li.collapsed {
  list-style-image: url(../../misc/menu-collapsed-rtl.png);
}
li.expanded,
li.collapsed,
li.leaf {
  padding: 0.2em 0 0 0.5em;
}

/**
 * Markup generated by theme_menu_local_tasks().
 */
ul.primary {
  padding: 0 1em 0 0;
}
ul.primary li a {
  margin-right: 5px;
  margin-left: 0.5em;
}
ul.secondary li {
  border-left: 1px solid #ccc;
  border-right: none;
  display: inline;
  padding: 0 1em;
}

Other Drupal examples (source code examples)

Here is a short list of links related to this Drupal system.menus-rtl.css source code file:

new blog posts

"Drupal" is a registered trademark of Dries Buytaert.

my drupal tutorials and examples  

Copyright 1998-2016 Alvin Alexander, alvinalexander.com
All Rights Reserved.

Beginning in 2016, a portion of the proceeds from pages under the '/drupal-code-examples/' URI will be donated to charity.