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

Drupal example source code file (uc_cart_block.css)

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

0em, 0pt, background, cart-block-items, cart-block-summary-total, cart-block-title-bar, center, display, inline, no-repeat, padding, text-align, top, transparent

The uc_cart_block.css Drupal example source code

/* $Id: uc_cart_block.css,v 1.7.2.10 2009/07/21 14:51:20 islandusurper Exp $ */

/**
 * Styles for the cart block icon.
 */
.cart-block-icon-full, .cart-block-icon-empty {
  display: inline;
  padding: 4px 12px 0;
  height: 7px;
}

.cart-block-icon-full {
  background: transparent url(images/cart-full.png) no-repeat left center;
}

.cart-block-icon-empty {
  background: transparent url(images/cart-empty.png) no-repeat left center;
}

/**
 * Styles for the cart block title and toggle.
 */
.cart-block-title-bar {
  display: inline;
}

.cart-block-toggle {
  cursor: pointer;
}

.cart-block-arrow {
  display: inline;
  padding: 4px 12px 0;
  height: 7px;
}

.cart-block-title-bar .arrow-up {
  background: transparent url(images/bullet-arrow-up.gif) no-repeat center center;
}

.cart-block-title-bar .arrow-down {
  background: transparent url(images/bullet-arrow-down.gif) no-repeat center center;
}

.cart-help-text {
  font-size: x-small;
  position: relative;
  top: -5px;
}

/**
 * Styles for the cart block contents and summary.
 */
#cart-block-contents ul.product-description {
  margin: 0pt;
  padding: 0pt 0pt 0.25em 1em;
}

#cart-block-contents .product-description li {
  margin: 0pt;
  padding-top: 0pt;
  padding-bottom: 0pt;
  font-size: .8em;
}

.cart-block-items {
  border-bottom: 2px;
  padding: 2px;
}

.cart-block-items tbody {
  border-top: 0px;
}

.cart-block-items tr {
  vertical-align: top;
}

.cart-block-items tr.odd, .cart-block-items tr.even {
  background-color: inherit;
  border: none;
}

.cart-block-item-title {
  width: 100%;
}

.cart-block-item-price {
  text-align: right;
  white-space: nowrap;
}

.cart-block-summary {
  padding: 2px;
}

.cart-block-summary tbody {
  border-top: 0px;
}

.cart-block-summary tr {
  vertical-align: top;
}

.cart-block-summary-items {
  white-space: nowrap;
}

.cart-block-summary-total {
  width: auto;
  text-align: right;
}

.cart-block-summary-total label {
  font-weight: bold;
}

.cart-block-summary-total .uc-price {
  display: inline;
}

.cart-block-summary-links {
  text-align: right;
}

.cart-block-summary-links ul.links li {
  padding: 0em 1em 0em .75em;
  border-right: solid 1px;
}

.cart-block-summary-links ul.links li.last {
  padding-right: 0em;
  border-right: none;
}

Other Drupal examples (source code examples)

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