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

Drupal example source code file (locale.css)

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

000000, 0062a0, color, float, form-item-group, form-item-translation, language-switcher-locale-session, left, ltr, margin, padding, text-decoration, width

The locale.css Drupal example source code

/* $Id: locale.css,v 1.8 2010/10/08 03:30:40 webchick Exp $ */

.locale-untranslated {
  font-style: normal;
  text-decoration: line-through;
}

.form-item-language,
.form-item-translation,
.form-item-group {
  float: left; /* LTR */
  padding-right: .8em; /* LTR */
  margin: 0.1em;
  /**
   * In Opera 9, DOM elements with the property of "overflow: auto"
   * will partially hide its contents with unnecessary scrollbars when
   * its immediate child is floated without an explicit width set.
   */
  width: 15em;
}
#locale-translation-filter-form .form-type-select select {
  width: 100%;
}
#locale-translation-filter-form .form-actions {
  float: left;
  padding: 3ex 0 0 1em;
}

.language-switcher-locale-session a.active {
  color: #0062A0;
}

.language-switcher-locale-session a.session-active {
  color: #000000;
}

Other Drupal examples (source code examples)

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