Your IP : 216.73.216.134


Current Path : /home/bijouxly/old/modules/mod_linelabox/
Upload File :
Current File : /home/bijouxly/old/modules/mod_linelabox/linelabcss.php

<?php
 /**
 * @module Linelabox
 * @copyright	Copyright (C) 2010 - 2012 Linelab.org. All rights reserved.
 * @license		Commercial Licence
 */
 
// Set flag that this is a parent file
define( '_JEXEC', 1 );

define('DS', DIRECTORY_SEPARATOR);
$dirs = explode(DS, dirname(__FILE__));
define('JPATH_BASE', realpath(dirname(__FILE__).DS.'..'.DS.'..') );

require_once ( JPATH_BASE .DS.'includes'.DS.'defines.php' );
require_once ( JPATH_BASE .DS.'includes'.DS.'framework.php' );

// Mark afterLoad in the profiler.
JDEBUG ? $_PROFILER->mark('afterLoad') : null;

// Instantiate the application.
$app = JFactory::getApplication('site');

// Initialise the application.
$app->initialise();

$db		= JFactory::getDBO(); 

$query = "SELECT params FROM #__modules WHERE module='mod_linelabox'";
if (!$db->setQuery($query)) {
	exit;
}
$css = json_decode($db->loadResult());
header('Content-type: text/css');

# specifická nastavení:
if ($css->labsortbybackground) {
	$css->labsortbybackground = 'url('.$css->labsortbybackground.')';
} else {
	$css->labsortbybackground = $css->box1bg;
}
if ($css->boximg) {
	$css->boximg = 'url('.$css->boximg.')';
} else {
	$css->boximg = $css->box2bg;
}
if ($css->detailbackground) {
	$css->detailbackground = 'url('.$css->detailbackground.')';
} else {
	$css->detailbackground = $css->box6bg;
}
if ($css->dboximg) {
	$css->dboximg = 'url('.$css->dboximg.')';
} else {
	$css->dboximg = $css->box5bg;
}
if ($css->boxnone) {
	$css->boxnone='inline-block';
} else {
	$css->boxnone='none';
}
if ($css->dboxnone) {
	$css->dboxnone='inline-block';
} else {
	$css->dboxnone='none';
}
if ($css->boxrate) {
	$css->boxrate='block';
} else {
	$css->boxrate='none';
}
if ($css->boxslida) {
	$css->boxslida='block';
} else {
	$css->boxslida='none';
}
?>
.labcolors ul li {background: none !important;}
.linelab-area h4 {overflow: visible !important;}
img.ordering, .icons img, .linelabpicker img {margin:0 !important; padding:0 !important;}
.productdetails-view, .browse-view, .linelabpicker {font-weight:normal;}
.box1bg { background: <?php echo $css->box1bg;?>; }
.box1br { border: 1px solid <?php echo $css->box1br;?>; }    
.box2bg { background: <?php echo $css->box2bg;?>;  }
.box2br { border: 1px solid <?php echo $css->box2br;?>; }
.box3bg { background: <?php echo $css->box3bg;?>; }
.box3br { border: 1px solid <?php echo $css->box3br;?>; }
.box5bg { background: <?php echo $css->box5bg;?>; }
.box5br { border: 1px solid <?php echo $css->box5br;?>; }
.box6bg { background: <?php echo $css->box6bg;?>;  }
.box6br { border: 1px solid <?php echo $css->box6br;?>; }
.box7bg { background: <?php echo $css->box7bg;?>; }
.box7br { border: 1px solid <?php echo $css->box7br;?>; }
.oboxbr { border: 1px solid <?php echo $css->oboxbr;?>; }
.box1br_radius {border-radius: <?php echo $css->box1br_radius;?>;}
.box1bg_shadow {box-shadow: 0 <?php echo $css->box1bg_shadow;?> rgba(0, 0, 0, 0.2);}
.box2br_radius {border-radius: <?php echo $css->box2br_radius;?>;}
.box2bg_shadow {box-shadow: 0 <?php echo $css->box2bg_shadow?> rgba(0, 0, 0, 0.2);}
.box3br_radius {border-radius: <?php echo $css->box3br_radius;?>;}
.box3bg_shadow {box-shadow: 0 <?php echo $css->box3bg_shadow;?> rgba(0, 0, 0, 0.2);}
.box4br_radius {border-radius: <?php echo $css->box4br_radius;?>;}
.box5br_radius {border-radius: <?php echo $css->box5br_radius;?>;}
.box5bg_shadow {box-shadow: 0 <?php echo $css->box5bg_shadow;?> rgba(0, 0, 0, 0.2);}
.box6br_radius {border-radius: <?php echo $css->box6br_radius;?>;}
.box6bg_shadow {box-shadow: 0 <?php echo $css->box6bg_shadow;?> rgba(0, 0, 0, 0.2);}
.box7br_radius {border-radius: <?php echo $css->box7br_radius;?>;}
.box7bg_shadow {box-shadow: 0 <?php echo $css->box7bg_shadow;?> rgba(0, 0, 0, 0.2);}
.box10br_radius {border-radius: <?php echo $css->box10br_radius;?>;}
.labsortbybackground { background: <?php echo $css->labsortbybackground;?>;}
.boximg { background: <?php echo $css->boximg;?>;}
.detailbackground { background: <?php echo $css->detailbackground;?> repeat scroll 0 0 <?php echo $css->box6bg;?>;}
.dboximg { background: <?php echo $css->dboximg;?>;}
.orderlistcontainer div.orderlist { border: 1px solid <?php echo $css->oboxbr;?>; }
div.product-price.boxname { color: <?php echo $css->boxname;?>; }
.browse-view h1.boxname  { color: <?php echo $css->boxname;?>; }
.productdetails-view h1.dboxname  { color: <?php echo $css->dboxname;?>; }
.productdetails-view h1.dboxname {border-bottom: 1px solid <?php echo $css->oboxbr;?>;}
.productdetails-view h1 {padding: 10px 0 !important;}
.productdetails-view h1, .produkt .spacer h2 a{margin:0 !important;  font-size: 15px !important; line-height:normal !important;}
.pika-stage {border: 1px solid <?php echo $css->box6br;?>; background: #fff;}
.pika-stage img {max-width: 100%;}
.labpagination {color: <?php echo $css->boxprice;?>;}
.productdetails-view .addtocart-bar {margin: 0; padding: 0; height:50px;}
.boxnone {display: <?php echo $css->boxnone;?>; }
.dboxnone {display: <?php echo $css->dboxnone;?>; }
.boxrate {display: <?php echo $css->boxrate;?>; }
.boxslida {display: <?php echo $css->boxslida;?>; }
.box7 span.title, .box7 h4 {color: <?php echo $css->dboxname;?>; }
.linelabpicker {text-align: left;}
.rating {text-align:center; cursor: pointer; padding-top: 10px;}
.stars-orange{cursor: pointer;}
.labpagination {
border: 1px solid <?php echo $css->oboxbr;?>;
    clear: both;
        height: 30px;
}
.moor-box input {display:inline;}
input.linelablack  {
    display: inline !important;
}
ul.pagenav, div.labpagination {
    text-align: center; 
      box-shadow: 0 0 5px rgba(0, 0, 0, 0.1) inset;
}
.labpagination ul {
    display: inline-block; margin:0 !important; padding:0 !important;  height: 30px;
}
ul.pagenav li, div.labpagination ul li {
    text-align: center;
    background: none !important;
}
.labpagination li {
    display: inline;
}
.labpagination-start span, .labpagination-start a{
    border: 0 !important;
}
.labpagination a, .labpagination span {
     background: none !important;
    border-color: <?php echo $css->oboxbr;?>;
    border-image: none;
    border-style: solid;
    border-width: 0 0 0 1px;
    float: left;
    line-height: 30px;
    padding: 0 14px;
    text-decoration: none;
    background-image:none !important;
    text-indent: 0px !important;
} 
.labpagination span{
    color: <?php echo $css->boxprice;?>;
    border-bottom:0 none !important;
    border-right:0 none !important;
    border-top:0 none !important;
}
.labpagination a:hover {
    border-color: <?php echo $css->oboxbr;?>;
    border-image: none;
    border-style: solid;
    border-width: 0 0 0 1px;
    background: <?php echo $css->oboxbr;?> !important;
} 
.cbox .product-fields {
    display: none;
}
.pagination-start a, .pagination-start span {
    border-width: 0 0 0 0 !important;
}
.pagenav {
    list-style: none outside none;
    margin:0;
    margin-left: 0;
    text-align: center;
    clear: none;
}
.spacer-buy-area .icons {
    margin: 35px 0 0; padding-right: 15px;
}
.produkt .spacer h2 {
    font-size: 14px !important;
    margin: 0 0 6px !important;
    padding: 0;
    text-align: center;
    min-height: 48px;
    border:0 none;
}
.widthlab {
width:49% !important;
}
.produkt .spacer h2 a{
text-decoration:none; font-family: Arial !important;
}
.produkt .spacer h2 a:hover{
text-decoration:none;  background:none !important;
}
.category_description {
padding:10px;
}
.product_s_desc {
min-height:60px; margin:6px; padding:6px;
}
.browse-view h1 {text-align: center; border:0 none !important; margin: 0!important; padding: 5px !important; font-family: Arial !important; background:none !important;}
div.obrazek {min-height: 140px; text-align:center;}
div.nadpis {padding:10px; margin: 0;min-height: 120px;}
.paddingtop8 {padding-top:10px;}
.box7bg h4 {border-right: 0 none !important; border-left: 0 none !important;}
span.title {border-right: 0 none !important; border-left: 0 none !important;  border-top: 0 none !important; }
.labsortbybackground .orderlistcontainer {margin: 0; padding-top: 7px !important;}
div.PricesalesPrice {
    background: none;
    font-size: 12px;
    margin: 0;
    padding: 0;
}
.product-price  {
    background: none; padding:0;
}
button.line-button {
   line-height:normal;
}
.product-field-display select {
    display: block !important;
    float: left;
}
.ratingbox {
    height: 24px !important;
    width: 120px !important;
}
.labsortbybackground .orderlistcontainer .title  {padding:5px; float:none; line-height:normal;}
.orderby-displaynumber.labsortbybackground {padding: 0 !important; margin: 0 !important; border: 1px solid <?php echo $css->oboxbr;?>; border-top: 0 none !important; margin:0; font-size: 12px; border-radius: 0px 0px 0px 0px; box-shadow: 0 0 0 0;}
.orderlistcontainer div.activeOrder {background: #fff !important;border: 1px solid <?php echo $css->oboxbr;?> !important; border-left:0 none !important; border-bottom:0 none !important; border-radius: 0 0 0 0 !important; -webkit-border-radius: 0 0 0 0 !important; cursor: pointer; font-size: 12px; height: 14px; padding: 2px 5px 3px 12px; line-height: normal !important;}
div.category, table.category {border: 1px solid <?php echo $css->oboxbr;?>; box-shadow: 0 0 10px rgba(0, 0, 0, 0.1) inset;margin-right:10px;min-height: 160px;}
div.browse-view .product-price {padding: 5px 5px 10px; margin: 0; text-align:left; font-size:12px;}
div.browse-view .product-price div {background:none; margin: 0; padding:0; font-size:12px;}
.abox {text-align: center; width: 100%; margin: 0; padding: 0;}
span.cbox {text-align:center; display: inline;}
.limitlab {min-height: 18px; background: #fff; border: 1px solid <?php echo $css->oboxbr;?>; border-right:0 none !important; border-bottom:0 none !important; margin-top:5px; text-align:right !important;}
.product-short-description {color:#999;font-size: 12px;}
.orderlistcontainer a {color:<?php echo $css->boxprice;?>;}
.orderlistcontainer a:hover {background: none !important; color:#000 !important;}
.orderlistcontainer {display: block;float: left;font-size: 12px; margin:0;}
.orderlistcontainer .Order {color:<?php echo $css->boxprice;?>; background: #fff; border: 1px solid <?php echo $css->oboxbr;?>; border-left:0 none; border-bottom: 0 none; border-radius: 0px; -webkit-border-radius: 0px; cursor: pointer; height: 16px !important; padding: 2px 2px 1px 5px !important; line-height: normal !important;}
div.display-number {float:right !important;}
.product-neighbours {border-top:0 !important;}
.display-number {text-align: left; padding-bottom: 0; padding-top: 13px;}
.display-number select {vertical-align:top; border-radius: 0px 0px 0px 0px; background: #fff !important; color:<?php echo $css->boxprice;?> !important; border:0 none !important; height:18px !important; width: auto; padding:0 !important; margin:0 !important; display:inline !important;}
.product-price span {float:right; color: #FF6600; font-size:14px; text-align:right;}
.product-price {line-height: 17px;}
a:hover  {
    border: 0 none;  background:none !important;
}
.abox span.addtocart-button, .abox .addtocart-bar {
    float: none;
    margin: 0;
    width: auto;  
    padding-bottom: 10px;
} 
.abox input.addtocart-button, .cbox input.addtocart-button{
    float: none;
} 
.orderlistcontainer img.ordering {
    display:inline !important;
    background:none !important;
    padding-left: 5px !important;
}
input.addtocart-button-disabled {
    height: 26px !important;
    width: 100% !important;
}
input.addtocart-button-disabled:hover {
    height: 26px !important;
    width: 100% !important;
}  
div.product-price.boxname {line-height: 15px; background:none;}
.write-reviews input.highlight-button, .back-to-category a.product-details, a.ask-a-question, .cbox a.product-details,.cbox a.details,.cbox div.details {background: <?php echo $css->boxcart;?>; box-shadow: 0 3px 5px rgba(0, 0, 0, 0.2); line-height: 16px; color:#fff !important; min-height:16px; margin:0; height:auto; letter-spacing: 0px; width:auto; border: 0 none !important; font-size: 80%; padding: 7px; text-decoration: none; text-shadow: none; text-transform: uppercase; white-space: nowrap; border-radius: <?php echo $css->box4br_radius;?>;}
.write-reviews input.highlight-button:hover, .back-to-category a.product-details:hover, a.ask-a-question:hover, .cbox a.product-details:hover,.cbox a.details:hover,.cbox div.details:hover {background: <?php echo $css->boxcarthover;?> !important; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2); color:#f1f1f1 !important; line-height: 16px; min-height:16px; margin:0; height:auto; letter-spacing: 0px; width:auto;  border: 0 none; font-size: 80%; padding: 7px ; text-decoration: none; text-shadow: none; text-transform: uppercase; white-space: nowrap;}
.cbox span.addtocart-button input.addtocart-button,.cbox span.addtocart-button input.notify-button, span.addtocart-button input.addtocart-button-disabled {background: <?php echo $css->dboxcart;?>; box-shadow: 0 3px 5px rgba(0, 0, 0, 0.2); line-height: 16px; color:#fff !important; min-height:16px; margin:0; height:auto; letter-spacing: 0px; width:auto; border: 0 none !important; font-size: 80%; padding: 7px; text-decoration: none; text-shadow: none; text-transform: uppercase; white-space: nowrap; border-radius: <?php echo $css->box4br_radius;?>;}
.cbox span.addtocart-button input.addtocart-button:hover,.cbox span.addtocart-button input.notify-button:hover, span.addtocart-button input.addtocart-button-disabled:hover  {background: <?php echo $css->dboxcarthover;?> !important; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2); color:#f1f1f1 !important; line-height: 16px; min-height:16px; margin:0; height:auto; letter-spacing: 0px; width:auto;  border: 0 none; font-size: 80%; padding: 7px ; text-decoration: none; text-shadow: none; text-transform: uppercase; white-space: nowrap;}
.cbox span.addtocart-button input.addtocart-button.boxcart::-moz-focus-inner { padding: 0;}
.cbox span.addtocart-button input.addtocart-button.boxcarthover:hover::-moz-focus-inner { padding: 0;} 
.butt input,.butt a {padding: 8px !important; font-size: 100% !important;}
.boxnone {height:20px; width:100%;} 
.pika-thumbs li {margin: 0 5px 5px 0 !important; padding: 3px !important;}
.pika-imgnav a.previous:hover {background: url("prev.png") no-repeat scroll left 45% transparent !important;}
.pika-imgnav a.next:hover {background: url("next.png") no-repeat scroll right 45% transparent !important;}
.box5bg, .product-neighbours {overflow: hidden;padding: 20px; position: relative;}
.product-neighbours {padding: 15px !important; margin:0 !important;}
.box6bg {margin-top: 10px; padding: 15px;}
.product-price {margin: 10px 0 15px;}
.list-reviews {padding: 10px;}
.product-neighbours.box7bg {padding: 10px;}
.box7bg {margin: 28px 0 0;padding: 0;}
.box7bg span.title, .box7bg h4 {padding: 15px !important;}
.box7bg .productdetails-view .product-description, .box7bg .product-fields {padding-bottom: 10px;}
.customer-reviews, .ask-a-question-view .form-field {padding-bottom: 10px;}
.box6bg input.quantity-input {
    border: 1px solid #E5E5E5;
    border-radius: 0 0 0 0 !important;
    height: 38px;
    padding: 0 3px;
    width: 32px;
}
.box6bg span.quantity-controls input.quantity-plus {
    background: url("../../../modules/mod_linelabox/quantity-controls.png") no-repeat scroll left top transparent;
    margin-left: 2px;
}
.box6bg span.quantity-controls input.quantity-minus {
    background: url("../../../modules/mod_linelabox/quantity-controls.png") no-repeat scroll right top transparent;
    margin-left: 2px;
}
.productdetails-view .product-description, .product-fields {
    margin: 0;
}
.box6bg span.quantity-controls input.quantity-controls {border: 0 none; cursor: pointer; float: left; height: 19px; width: 19px; padding:0;}
.box6bg span.quantity-controls {padding-top: 5px; width: 21px;}
.box6bg span.quantity-box {min-width: 32px; width:auto; margin:0;}
.box6bg span.addtocart-button {margin: 5px 0 0 10px;}
.box6bg span.addtocart-button input.addtocart-button, .box6bg span.addtocart-button input.notify-button,.box6bg span.addtocart-button input.addtocart-button-disabled {border:0 none !important; background: <?php echo $css->dboxcart;?>; height: 40px;  color:#fff !important; border-radius: <?php echo $css->box10br_radius;?>}
.box6bg span.addtocart-button input.addtocart-button:hover, .box6bg span.addtocart-button input.notify-button:hover,.box6bg span.addtocart-button input.addtocart-button-disabled:hover {background: <?php echo $css->dboxcarthover;?>; color:#fff !important;}
.addtocart-area {
    border: 0 none;
} 
.product-fields .product-field, .product-related-categories .product-field {
    float: none;
    padding-left: 10px;
} 
.addtocart-area .product-fields .product-field{
    padding-left: 0 !important;
} 
div.spacer-buy-area .product-price {
    padding-left: 0 !important;
}
.availability {
    margin: 5px 0 0;
}
span.quantity-controls {
    margin: 0 0 0 5px;
} 
.category-view .width33 {margin-bottom: 10px; width: 31.6%;} 
.varianta2 {background: none; height: 0px; margin:0px 0;} 
<?php if ($css->grid): ?>
.browse-view .varianta2 {background: <?php echo $css->oboxbr;?>; height: 0px; margin:0px 0;}
.varianta1 {border: 1px solid <?php echo $css->oboxbr;?>; border-bottom:0 none;}
.vertical-separator {border-right: 1px solid <?php echo $css->oboxbr;?>;}
.produkt .spacer {padding: 6px; margin-left: 0px;}
.nogrid {height:0px; width:100%;}  
<?php else: ?> 
.browse-view .varianta2 {background: <?php echo $css->oboxbr;?>; height: 1px; margin:10px 0;}  
.varianta1 {border: 0px solid #ddd; border-bottom:0 none;}
.vertical-separator {border-right: 0px solid <?php echo $css->oboxbr;?>;}  
.produkt .spacer {padding: 6px; margin-left: 10px;}  
.nogrid {height:10px; width:100%;}
<?php endif; ?>