Jump to content


Corporate Sponsors


Latest News: (loading..)

- - - - -

Colour for infoboxes


5 replies to this topic

#1 andybh

  • Community Member
  • 40 posts
  • Real Name:andy

Posted 21 July 2003, 07:09

Hi Help again!

I have been playing around with colours in stylesheet.css . My desired colour here is dark green. I have sucessfully completed most editing except one niggling task, the very corner of infoboxes. You really need to see it here www.rightclicksolutions.biz/shop to know what I mean. Someone would have came across this before.
I have looked through the "Style Sheet Catalouge" but no sucess!

Here is the code I ended with

Thanks
Andy
:cry:

/*
$Id: stylesheet.css,v 1.52 2003/02/13 13:54:41 project3000 Exp $

osCommerce, Open Source E-Commerce Solutions
http://www.oscommerce.com

Copyright © 2003 osCommerce

Released under the GNU General Public License
*/

.boxText { font-family: Verdana, Arial, sans-serif; font-size: 10px; }
.errorBox { font-family : Verdana, Arial, sans-serif; font-size : 10px; background: #ffb3b5; font-weight: bold; }
.stockWarning { font-family : Verdana, Arial, sans-serif; font-size : 10px; color: #cc0033; }
.productsNotifications { background: #f2fff7; }
.orderEdit { font-family : Verdana, Arial, sans-serif; font-size : 10px; color: #70d250; text-decoration: underline; }

BODY {
background: #ffffff;
color: #000000;
margin: 0px;
}

A {
color: #000000;
text-decoration: none;
}

A:hover {
color: #AABBDD;
text-decoration: underline;
}

FORM {
display: inline;
}

TR.header {
background: #ffffff;
}

TR.headerNavigation {
background: #bbc3d3;
}

TD.headerNavigation {
font-family: Verdana, Arial, sans-serif;
font-size: 10px;
background: #006600;
color: #ffffff;
font-weight : bold;
}

A.headerNavigation {
color: #FFFFFF;
}

A.headerNavigation:hover {
color: #ffffff;
}

TR.headerError {
background: #ff0000;
}

TD.headerError {
font-family: Tahoma, Verdana, Arial, sans-serif;
font-size: 12px;
background: #ff0000;
color: #ffffff;
font-weight : bold;
text-align : center;
}

TR.headerInfo {
background: #00ff00;
}

TD.headerInfo {
font-family: Tahoma, Verdana, Arial, sans-serif;
font-size: 12px;
background: #00ff00;
color: #ffffff;
font-weight: bold;
text-align: center;
}

TR.footer {
background: #F3F5F8;
}

TD.footer {
font-family: Verdana, Arial, sans-serif;
font-size: 10px;
background: #006600;
color: #FFFFFF;
font-weight: bold;
}

.infoBox {
background: #006600;
}

.infoBoxContents {
background: #f8f8f9;
font-family: Verdana, Arial, sans-serif;
font-size: 10px;
}

.infoBoxNotice {
background: #ff8e90;
}

.infoBoxNoticeContents {
background: #FFE6E6;
font-family: Verdana, Arial, sans-serif;
font-size: 10px;
}

TD.infoBoxHeading {
font-family: Verdana, Arial, sans-serif;
font-size: 10px;
font-weight: bold;
background: #006600;
color: #ffffff;
}

TD.infoBox, SPAN.infoBox {
font-family: Verdana, Arial, sans-serif;
font-size: 10px;
}

TR.accountHistory-odd, TR.addressBook-odd, TR.alsoPurchased-odd, TR.payment-odd, TR.productListing-odd, TR.productReviews-odd, TR.upcomingProducts-odd, TR.shippingOptions-odd {
background: #f4f7fd;
}

TR.accountHistory-even, TR.addressBook-even, TR.alsoPurchased-even, TR.payment-even, TR.productListing-even, TR.productReviews-even, TR.upcomingProducts-even, TR.shippingOptions-even {
background: #ffffff;
}

TR.productListing-heading {
background: #d2e9fb;
}

TD.productListing-heading {
font-family: Verdana, Arial, sans-serif;
font-size: 10px;
background: #006600;
color: #000000;
font-weight: bold;
font-variant: small-caps;
}

TD.productListing-data {
font-family: Verdana, Arial, sans-serif;
font-size: 10px;
}

A.pageResults {
color: #0000FF;
}

A.pageResults:hover {
color: #0000FF;
background: #FFFF33;
}

TD.pageHeading, DIV.pageHeading {
font-family: Verdana, Arial, sans-serif;
font-size: 20px;
font-weight: bold;
color: #9a9a9a;
}

TR.subBar {
background: #F3F5F8;
}

TD.subBar {
font-family: Verdana, Arial, sans-serif;
font-size: 10px;
color: #000000;
}

TD.main, P.main {
font-family: Verdana, Arial, sans-serif;
font-size: 11px;
line-height: 1.5;
}

TD.smallText, SPAN.smallText, P.smallText {
font-family: Verdana, Arial, sans-serif;
font-size: 10px;
}

TD.accountCategory {
font-family: Verdana, Arial, sans-serif;
font-size: 13px;
color: #aabbdd;
}

TD.fieldKey {
font-family: Verdana, Arial, sans-serif;
font-size: 12px;
font-weight: bold;
}

TD.fieldValue {
font-family: Verdana, Arial, sans-serif;
font-size: 12px;
}

TD.tableHeading {
font-family: Verdana, Arial, sans-serif;
font-size: 12px;
font-weight: bold;
}

SPAN.newItemInCart {
font-family: Verdana, Arial, sans-serif;
font-size: 10px;
color: #ff0000;
}

CHECKBOX, INPUT, RADIO, SELECT {
font-family: Verdana, Arial, sans-serif;
font-size: 11px;
}

TEXTAREA {
width: 100%;
font-family: Verdana, Arial, sans-serif;
font-size: 11px;
}

SPAN.greetUser {
font-family: Verdana, Arial, sans-serif;
font-size: 12px;
color: #f0a480;
font-weight: bold;
}

TABLE.formArea {
background: #f1f9fe;
border-color: #006600;
border-style: solid;
border-width: 1px;
}

TD.formAreaTitle {
font-family: Tahoma, Verdana, Arial, sans-serif;
font-size: 12px;
font-weight: bold;
}

SPAN.markProductOutOfStock {
font-family: Tahoma, Verdana, Arial, sans-serif;
font-size: 12px;
color: #c76170;
font-weight: bold;
}

SPAN.productSpecialPrice {
font-family: Verdana, Arial, sans-serif;
color: #ff0000;
}

SPAN.errorText {
font-family: Verdana, Arial, sans-serif;
color: #006600;
}

.moduleRow { }
.moduleRowOver { background-color: #D7E9F7; cursor: hand; }
.moduleRowSelected { background-color: #E9F4FC; }

.checkoutBarFrom, .checkoutBarTo { font-family: Verdana, Arial, sans-serif; font-size: 10px; color: #8c8c8c; }
.checkoutBarCurrent { font-family: Verdana, Arial, sans-serif; font-size: 10px; color: #000000; }

#2 iiinetworks

  • Community Member
  • 3,734 posts
  • Real Name:Matt

Posted 21 July 2003, 07:14

There are three GIFs in the images/infobox directory: corner_left.gif, corner_right.gif, and corner_right_left.gif. You need to replace these with new images of the appropriate color.

Good luck,
Matt

#3 andybh

  • Community Member
  • 40 posts
  • Real Name:andy

Posted 21 July 2003, 07:16

Cheers Matt!

:wink:

#4 andybh

  • Community Member
  • 40 posts
  • Real Name:andy

Posted 21 July 2003, 07:34

you may think i am completley stupid but I am using photo impact 8 trying to "colour" the three files you sugessted to #006600. I am some difucitlies using eye dropper on #006600 then fill using paint can.

Is there an easier way to do this?


Andy
:?

#5 andybh

  • Community Member
  • 40 posts
  • Real Name:andy

Posted 21 July 2003, 07:35

you may think i am completley stupid but I am using photo impact 8 trying to "colour" the three files you sugessted to #006600. I am some difucitlies using eye dropper on #006600 then fill using paint can.

Is there an easier way to do this?


Andy
:?

#6 andybh

  • Community Member
  • 40 posts
  • Real Name:andy

Posted 21 July 2003, 09:00

fixed and all is well :lol:

thanks all the same matt

andy