classified.css in Classified Ads 7.3
Same filename and directory in other branches
Specific CSS styles for classified.module
@copyright (c) 2010 Ouest Systemes Informatiques (OSInet)
@license General Public License version 2 or later
Original code, not derived from the ed_classified module.
Recommended custom styling:
- add your own rules for .classified-max-length to get specific styling of the "remaining" <div>.
File
theme/classified.cssView source
- /**
- * @file
- * Specific CSS styles for classified.module
- *
- * @copyright (c) 2010 Ouest Systemes Informatiques (OSInet)
- *
- * @license General Public License version 2 or later
- *
- * Original code, not derived from the ed_classified module.
- *
- * Recommended custom styling:
- * - add your own rules for .classified-max-length to get specific styling of
- * the "remaining" .
- */
-
- .classified-expires {
- background-color: #c0c0d0;
- padding: 0.5em 1em;
- margin: 0 0 0 1em;
- float: right;
- width: 14em;
- }
-
- .classified-expires-expired {
- color: #606060;
- }
-
- .classified-expires-soon {
- color: #ff8000;
- }
-
- .classified-expires-later {
- color: white;
- }
-
- /**
- * Specific formatting for Advanced Help files related to this module
- */
- .advanced-help-topic .classified-help code {
- border: none;
- display: inline-block;
- margin: 0 0.1em;
- padding: 0 0.25em;
- }
-
- /**
- * Prevent wrapping on the main classified page if the category list is not wide
- * enough
- */
- table.classified-term-list {
- width: 100%;
- }
- /**
- * Center #Ads column
- */
- table.classified-term-list td.classified-number,
- table.classified-term-list th.classified-number {
- text-align: center;
- }
-
- /**
- * Allow specific styling of the "remaining" .
- *
- * This is for the number of characters remaining
- */
- .classified-max-length>span {
- padding: 0.2em 0.5em;
- border: thin solid silver;
- }
-
- /**
- * Used on _classified_list_nodes() in node teaser mode
- */
- .classified-list-title {
- margin: 0 0.5em 0 0;
- }
- .classified-list-teaser {
- margin: 0;
- }
- .classified-list-teaser:before {
- content: '-';
- margin: 0 0.5em 0 0;
- }
-
- /**
- * Classified settings form
- */
- #classified-admin-settings-lifetimes td {
- padding-top: 0.1em;
- padding-bottom: 0.1em;
- }
- #classified-admin-settings-lifetimes td .description {
- margin-bottom: 0;
- }
- #classified-admin-settings-lifetimes td input {
- text-align: center;
- }