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

Drupal example source code file (admin_menu-rtl.css)

This example Drupal source code file (admin_menu-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

auto, important, left, right

The admin_menu-rtl.css Drupal example source code

/* $Id: admin_menu-rtl.css,v 1.1.2.3 2008/10/29 20:02:01 sun Exp $ */

#admin-menu { text-align: right; direction: rtl; }
#admin-menu li.admin-menu-action { float: left; }
#admin-menu li.admin-menu-action a { border-right: 1px solid #323232; border-left: none; }

/* all lists */
#admin-menu ul a { border-left: 1px solid #323232; border-right: 0; padding: 4px 8px; text-align: right; }

/* all list items */
/* width needed or else Opera goes nuts */
#admin-menu li { float: right; position: relative; }
#admin-menu li li { position: static; }
#admin-menu li ul { right: 0; }

/* third-and-above-level lists */
#admin-menu li li.expandable ul { margin: -20px 160px 0 0; }

#admin-menu li.admin-menu-action:hover ul {
  left: 0 !important;
  right: auto;
}

/* second-and-more-level hovering */
#admin-menu li li.expandable { background: #45454a url(images/arrow-rtl.png) no-repeat 5px 7px; }

Other Drupal examples (source code examples)

Here is a short list of links related to this Drupal admin_menu-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.