Jump to content
xt:Commerce Community Forum

Abstand zwischen Überschriftbox und Inhaltsbox


rswtal

Recommended Posts

stylesheet.css

<?

/* -----------------------------------------------------------------------------------------

2005 written by: Capuno Software and schnadt:media

http://www.modell-gameworld.com - http://www.modell.gameworld.com

Released under the GNU General Public License

---------------------------------------------------------------------------------------*/

include( 'includes/application_top.php');

header('Content-Type: text/css');

?>

/* -----------------------------------------------------------------------------------------

$Id: stylesheet.css,v 1.4 2004/06/06 17:13:29 novalis Exp $

XT-Commerce - community made shopping

http://www.xt-commerce.com

Copyright © 2004 XT-Commerce

-----------------------------------------------------------------------------------------

based on:

© 2000-2001 The Exchange Project (earlier name of osCommerce)

© 2002-2003 osCommerce(stylesheet.css,v 1.54 2003/05/27); www.oscommerce.com

© 2003 nextcommerce (stylesheet.css,v 1.7 2003/08/13); www.nextcommerce.org

Released under the GNU General Public License

---------------------------------------------------------------------------------------*/

.box_head {

background-color: <? echo NC_BOXHEAD_BGCOLOR ?>;

font-family: <? echo NC_BOXHEAD_FACE ?>;

font-size: <? echo NC_BOXHEAD_SIZE ?>px;

color: <? echo NC_BOXHEAD_COLOR ?>;

<? if(NC_BOXHEAD_DECO_B=='true') echo 'font-weight:bold;'?>

<? if(NC_BOXHEAD_DECO_I=='true') echo 'font-style:italic;'?>

<? if(NC_BOXHEAD_DECO_U=='true') echo 'text-decoration:underline;'?>

}

.boxText {

background-color: <? echo NC_BOXBODY_BGCOLOR ?>;

font-family: <? echo NC_BOXBODY_FACE ?>;

font-size: <? echo NC_BOXBODY_SIZE ?>px;

color: <? echo NC_BOXBODY_COLOR ?>;

<? if(NC_BOXBODY_DECO_B=='true') echo 'font-weight:bold;'?>

<? if(NC_BOXBODY_DECO_I=='true') echo 'font-style:italic;'?>

<? if(NC_BOXBODY_DECO_U=='true') echo 'text-decoration:underline;'?>

}

.boxText_cate {

font-family: <? echo NC_BOXBODY_FACE ?>;

font-size: <? echo NC_BOXBODY_SIZE ?>px;

color: <? echo NC_BOXBODY_COLOR ?>;

<? if(NC_BOXBODY_DECO_B=='true') echo 'font-weight:bold;'?>

<? if(NC_BOXBODY_DECO_I=='true') echo 'font-style:italic;'?>

<? if(NC_BOXBODY_DECO_U=='true') echo 'text-decoration:underline;'?>

}

.boxText_cate:hover{

color: <? echo NC_HOVER_CATEGORIES_TEXT ?>;

<? if(NC_HOVER_CATEGORIES_UNDERLINED=='false') echo 'text-decoration:none;'; ?>

}

.topmenu_left {

background-color: <? echo NC_TOPMENU_BGCOLOR ?>;

font-family: <? echo NC_TOPMENU_TEXT_LEFT_FACE ?>;

font-size: <? echo NC_TOPMENU_TEXT_LEFT_SIZE ?>px;

color: <? echo NC_TOPMENU_TEXT_LEFT_COLOR ?>;

<? if(NC_TOPMENU_TEXT_LEFT_DECO_B=='true') echo 'font-weight:bold;'?>

<? if(NC_TOPMENU_TEXT_LEFT_DECO_I=='true') echo 'font-style:italic;'?>

<? if(NC_TOPMENU_TEXT_LEFT_DECO_U=='true') echo 'text-decoration:underline;'?>

}

.topmenu_right {

background-color: <? echo NC_TOPMENU_BGCOLOR ?>;

font-family: <? echo NC_TOPMENU_TEXT_RIGHT_FACE ?>;

font-size: <? echo NC_TOPMENU_TEXT_RIGHT_SIZE ?>px;

color: <? echo NC_TOPMENU_TEXT_RIGHT_COLOR ?>;

<? if(NC_TOPMENU_TEXT_RIGHT_DECO_B=='true') echo 'font-weight:bold;'?>

<? if(NC_TOPMENU_TEXT_RIGHT_DECO_I=='true') echo 'font-style:italic;'?>

<? if(NC_TOPMENU_TEXT_RIGHT_DECO_U=='true') echo 'text-decoration:underline;'?>

}

.path_row {

background-color: <? echo NC_PATHBAR_BGCOLOR ?>;

font-family: <? echo NC_PATHBAR_FACE ?>;

font-size: <? echo NC_PATHBAR_SIZE ?>px;

color: <? echo NC_PATHBAR_COLOR ?>;

<? if(NC_PATHBAR_DECO_B=='true') echo 'font-weight:bold;'?>

<? if(NC_PATHBAR_DECO_I=='true') echo 'font-style:italic;'?>

<? if(NC_PATHBAR_DECO_U=='true') echo 'text-decoration:underline;'?>

}

.shop_box {

background-color: <? echo NC_SHOP_BOX_BGCOLOR ?>;

font-family: <? echo NC_SHOP_BOX_FACE ?>;

font-size: <? echo NC_SHOP_BOX_SIZE ?>px;

color: <? echo NC_SHOP_BOX_COLOR ?>;

<? if(NC_SHOP_BOX_DECO_B=='true') echo 'font-weight:bold;'?>

<? if(NC_SHOP_BOX_DECO_I=='true') echo 'font-style:italic;'?>

<? if(NC_SHOP_BOX_DECO_U=='true') echo 'text-decoration:underline;'?>

}

.shop_title {

font-family: <? echo NC_SHOP_TITLE_FACE ?>;

font-size: <? echo NC_SHOP_TITLE_SIZE ?>px;

color: <? echo NC_SHOP_TITLE_COLOR ?>;

<? if(NC_SHOP_TITLE_DECO_B=='true') echo 'font-weight:bold;'?>

<? if(NC_SHOP_TITLE_DECO_I=='true') echo 'font-style:italic;'?>

<? if(NC_SHOP_TITLE_DECO_U=='true') echo 'text-decoration:underline;'?>

}

.checkoutBarFrom, .checkoutBarTo {

font-family: <? echo NC_SHOP_FACE ?>;

font-size: 10px;

color: <? echo NC_SHOP_COLOR ?>;

<? if(NC_SHOP_DECO_I=='true') echo 'font-style:italic;'?>

<? if(NC_SHOP_DECO_U=='true') echo 'text-decoration:underline;'?>

}

.checkoutBarCurrent {

font-family: <? echo NC_SHOP_FACE ?>;

font-size: 12px;

font-weight: bold;

color: <? echo NC_SHOP_COLOR ?>;

<? if(NC_SHOP_DECO_I=='true') echo 'font-style:italic;'?>

<? if(NC_SHOP_DECO_U=='true') echo 'text-decoration:underline;'?>

}

.onepxwidth {

width: 1px;

}

.orderEdit {

font-family: <? echo NC_SHOP_FACE ?>;

font-size: 10px;

color: #70d250;

text-decoration: underline;

}

.gvBox {

font-family : <? echo NC_SHOP_FACE ?>;

font-size : 14px;

font-weight: bold;

border-color: #FFFFFF;

border: 1px solid;

background-color: #ffb3b5;

}

.infoBox {

}

.infoBoxContents {

font-family: <? echo NC_BOXBODY_FACE ?>;

font-size: <? echo NC_BOXBODY_SIZE ?>px;

color: <? echo NC_BOXBODY_COLOR ?>;

<? if(NC_BOXBODY_DECO_B=='true') echo 'font-weight:bold;'?>

<? if(NC_BOXBODY_DECO_I=='true') echo 'font-style:italic;'?>

<? if(NC_BOXBODY_DECO_U=='true') echo 'text-decoration:underline;'?>

}

.infoBoxNotice {

background: #FF8E90;

}

.infoBoxNoticeContents {

background: #FFE6E6;

font-family: <? echo NC_BOXBODY_FACE ?>;

font-size: <? echo NC_BOXBODY_SIZE ?>px;

color: <? echo NC_BOXBODY_COLOR ?>;

<? if(NC_BOXBODY_DECO_B=='true') echo 'font-weight:bold;'?>

<? if(NC_BOXBODY_DECO_I=='true') echo 'font-style:italic;'?>

<? if(NC_BOXBODY_DECO_U=='true') echo 'text-decoration:underline;'?>

}

/* ############################## */

/* BOF NC_MOD_ID 00000008 */

.moduleRow {

font-family: <? echo NC_BOXBODY_FACE ?>;

font-size: 11px;

line-height: 1.5;

background-color: <? echo NC_BOXBODY_BGCOLOR ?>;

border: 0px solid;

border-color: #F2F2F2;

color: <? echo NC_BOXBODY_COLOR ?>;

}

/* EOF NC_MOD_ID 00000008 */

.moduleRowOver {

font-family: <? echo NC_BOXBODY_FACE ?>;

font-size: 11px;

line-height: 1.5;

background-color: <? echo NC_BOXBODY_BGCOLOR ?>;

border: 0px solid;

border-color: #F2F2F2;

}

.moduleRowSelected {

background-color: #E9F4FC;

font-size: 11px;

color: black;

}

.moduleRowTable {

margin-bottom: 3px;

}

.moduleHeading {

font-family: <? echo NC_SHOP_FACE ?>;

font-size: small;

font-weight: bold;

padding-bottom: 10px;

}

.smallHeading {

font-family: <? echo NC_SHOP_FACE ?>;

font-size: x-small;

font-weight: bold;

#color: Black;

}

/* ############################## */

TABLE.formArea {

border-style: solid;

border-width: 1px;

background-color: <? echo NC_SHOP_BOX_BGCOLOR ?>;

font-family: <? echo NC_SHOP_BOX_FACE ?>;

font-size: <? echo NC_SHOP_BOX_SIZE ?>px;

color: <? echo NC_SHOP_BOX_COLOR ?>;

}

BODY {

margin: 10 10 0 10;

background: <? echo NC_SHOP_BGCOLOR ?>;

font-family: <? echo NC_SHOP_FACE ?>;

font-size: <? echo NC_SHOP_SIZE ?>px;

color: <? echo NC_SHOP_COLOR ?>;

<? if(NC_SHOP_DECO_B=='true') echo 'font-weight:bold;'?>

<? if(NC_SHOP_DECO_I=='true') echo 'font-style:italic;'?>

<? if(NC_SHOP_DECO_U=='true') echo 'text-decoration:underline;'?>

<?

if(($url = nc_get_url_shop_bg() )) {

echo 'background-image:url('.$url.');';

if(nc_get_conf('shopbg_repeat') != 'checked') {

echo 'background-repeat: no-repeat;';

}

}

?>

}

A {

color: <? echo NC_SHOP_COLOR ?>;

text-decoration: none;

}

A:hover {

/*color: <? echo NC_SHOP_COLOR ?>;*/

text-decoration: underline;

}

A.white {

color: #ffffff;

text-decoration: none;

}

TABLE.solid {

border: 1px solid Black;

}

TD {

font-family: <? echo NC_SHOP_FACE ?>;

font-size: <? echo NC_SHOP_SIZE ?>px;

color: <? echo NC_SHOP_COLOR ?>;

<? if(NC_SHOP_DECO_B=='true') echo 'font-weight:bold;'?>

<? if(NC_SHOP_DECO_I=='true') echo 'font-style:italic;'?>

<? if(NC_SHOP_DECO_U=='true') echo 'text-decoration:underline;'?>

}

TD.main, P.main, DIV.main, TD.fieldKey {

font-family: <? echo NC_SHOP_FACE ?>;

font-size: <? echo NC_SHOP_SIZE ?>px;

color: <? echo NC_SHOP_COLOR ?>;

line-height: 1.5;

<? if(NC_SHOP_DECO_B=='true') echo 'font-weight:bold;'?>

<? if(NC_SHOP_DECO_I=='true') echo 'font-style:italic;'?>

<? if(NC_SHOP_DECO_U=='true') echo 'text-decoration:underline;'?>

}

TD.main_column {

font-family: <? echo NC_SHOP_FACE ?>;

font-size: <? echo NC_SHOP_SIZE ?>px;

color: <? echo NC_SHOP_COLOR ?>;

line-height: 1.5;

<? if(NC_SHOP_DECO_B=='true') echo 'font-weight:bold;'?>

<? if(NC_SHOP_DECO_I=='true') echo 'font-style:italic;'?>

<? if(NC_SHOP_DECO_U=='true') echo 'text-decoration:underline;'?>

padding-left: 10px;

padding-right: 10px;

}

TD.infoBoxHeading {

<?

if(!($url = nc_get_url_infobox_bg() )) {

echo 'background: '.NC_BOXHEAD_BGCOLOR.';';

}

?>

padding: 2px;

height: 16;

font-family: <? echo NC_BOXHEAD_FACE ?>;

font-size: <? echo NC_BOXHEAD_SIZE ?>px;

color: <? echo NC_BOXHEAD_COLOR ?>;

<? if(NC_BOXHEAD_DECO_B=='true') echo 'font-weight:bold;'?>

<? if(NC_BOXHEAD_DECO_I=='true') echo 'font-style:italic;'?>

<? if(NC_BOXHEAD_DECO_U=='true') echo 'text-decoration:underline;'?>

}

TD.infoBoxHeading_text {

padding: 2px;

height: 16;

font-family: <? echo NC_BOXHEAD_FACE ?>;

font-size: <? echo NC_BOXHEAD_SIZE ?>px;

color: <? echo NC_BOXHEAD_COLOR ?>;

<? if(NC_BOXHEAD_DECO_B=='true') echo 'font-weight:bold;'?>

<? if(NC_BOXHEAD_DECO_I=='true') echo 'font-style:italic;'?>

<? if(NC_BOXHEAD_DECO_U=='true') echo 'text-decoration:underline;'?>

}

TD.infoBoxHeading_right {

<?

if(!($url = nc_get_url_infobox_bg() )) {

echo 'background: '.NC_BOXHEAD_BGCOLOR.';';

}

?>

padding: 2px;

height: 17;

font-family: <? echo NC_BOXHEAD_FACE ?>;

font-size: <? echo NC_BOXHEAD_SIZE ?>px;

color: <? echo NC_BOXHEAD_COLOR ?>;

<? if(NC_BOXHEAD_DECO_B=='true') echo 'font-weight:bold;'?>

<? if(NC_BOXHEAD_DECO_I=='true') echo 'font-style:italic;'?>

<? if(NC_BOXHEAD_DECO_U=='true') echo 'text-decoration:underline;'?>

}

TD.infoBox_right, SPAN.infoBox_right {

background-color: <? echo NC_BOXBODY_BGCOLOR ?>;

font-family: <? echo NC_BOXBODY_FACE ?>;

font-size: <? echo NC_BOXBODY_SIZE ?>px;

color: <? echo NC_BOXBODY_COLOR ?>;

<? if(NC_BOXBODY_DECO_B=='true') echo 'font-weight:bold;'?>

<? if(NC_BOXBODY_DECO_I=='true') echo 'font-style:italic;'?>

<? if(NC_BOXBODY_DECO_U=='true') echo 'text-decoration:underline;'?>

}

TD.pageHeading, P.pageHeading, DIV.pageHeading {

font-family: <? echo NC_SHOP_FACE ?>;

font-size: 16px;

font-weight: bold;

color: <? echo NC_SHOP_COLOR ?>;

}

TD.smallText, SPAN.smallText, P.smallText {

font-family: <? echo NC_SHOP_FACE ?>;

font-size: 10px;

}

TD.copyright {

font-size: 11px;

font-family: <? echo NC_SHOP_FACE ?>;

color: <? echo NC_SHOP_COLOR ?>;

line-height: 1.5;

text-align: center;

}

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.productOldPrice {

font-family: Verdana, Arial, sans-serif;

font-size:10px;

color: #ff0000;

text-decoration: line-through;

}

SPAN.errorText {

font-family: Verdana, Arial, sans-serif;

color: #ff0000;

}

SPAN.productDiscountPrice {

font-family: Verdana, Arial, sans-serif;

color: #ff0000;

font-weight: bold;

}

/* ############################## */

input.flat_text {

height: 17;

border: 1px solid;

vertical-align: middle;

font-size: 9px;

}

input.flat_button {

height: 17;

border: 1px solid;

vertical-align: middle;

font-size: 9px;

}

.ebcCpr, .ebcPic, .ebcTtl, .ebcBid, .ebcPr, .ebcShpNew, .ebcPpl, .ebcTim, .ebMsg {

font-family: <? echo NC_SHOP_FACE ?>;

font-size: <? echo NC_SHOP_SIZE ?>px;

color: <? echo NC_SHOP_COLOR ?>;

line-height: 1.5;

<? if(NC_SHOP_DECO_B=='true') echo 'font-weight:bold;'?>

<? if(NC_SHOP_DECO_I=='true') echo 'font-style:italic;'?>

<? if(NC_SHOP_DECO_U=='true') echo 'text-decoration:underline;'?>

}

Link to comment
Share on other sites

ohne den code jetzt vor mir liegen zu haben, aber entweder

a) über die stylesheet.css in

td.infoBoxHeading (line 202)

{

font-family: Verdana,Arial,sans-serif;

font-size: 10px;

font-weight: bold;

background-color: #666666;

background-image: none;

background-repeat: repeat;

background-attachment: scroll;

background-x-position: 0%;

background-y-position: 0%;

height: 17px;

color: #ffffff;

}

ein padding-bottom (wenn du einen Abstand nach unten setzen willst) , ansonsten in den templates/boxen/ dateien jeweils unterhalb der ÜBerschriftsbox einen Abstand einfügen....

Gaaaaanz allgemein mal das Web Developer Tool für Firefox installieren dann kannst du z.B. über STRG + Hochschalt + Y sehen, welche Stylesheet Klasse eingesetzt wurde...

Link to comment
Share on other sites

vielen dank.

templates/boxen/ hat mir weitergeholfen.

Noch eine Frage.

In der Mitte habe ich ja zwei breite "Boxen", Angebote und Neue Artikel.

Diese sind aber nicht in templates/boxen/ drin.

Wo finde ich diese zugehören Dateien ???

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
  • Create New...