background: &dtml-portfolio_slide_background;;
color: &dtml-fontColor;;
display:block;
- width: <dtml-var expr="thumb_size + 16">px;/*&dtml-slide_size;px;*/
- height: 256px;
+ width: <dtml-var expr="thumb_size + 16">px;
+ height: <dtml-var expr="thumb_size + 102">px;
display:block;
text-align:center;
float:left;
font-size: &dtml-fontSmallSize;;
}
+#lightbox_toolbar {
+ text-align: right;
+}
+
div.lightbox {
/* The lightbox itself.
Force this div to fit grid
}
.lightbox span {
- width: &dtml-slide_size;px;
- height: &dtml-slide_size;px;
- display:block;
- float:left;
+ width: &dtml-slide_size;px;
+ height: &dtml-slide_size;px;
+ display:block;
+ float:left;
+ transition: width 1s, opacity 0.5s;
}
.lightbox a.slide {
/* slide del */
.lightbox .slide-del {
- margin-left:200px;
+ margin-left:<dtml-var expr="slide_size - 22">px;
margin-top:5px;
width:18px;
height:19px;
background: url(&dtml-portal_url;/slide-del-btn.png);
}
+/* slide checkbox */
+.lightbox .cb {
+ margin-left: <dtml-var expr="slide_size - 22">px;
+ margin-top: 5px;
+ width:auto;
+ height:auto;
+}
+
+.lightbox .cb input[checked] {
+ visibility: visible;
+}
+
+.lightbox .zero_opacity {
+ opacity:0;
+}
+
+.lightbox .zero_width {
+ width:0;
+}
.lightbox .slide-hide,
.lightbox .slide-show {
background: url(&dtml-portal_url;/image_toolbar_bg.gif) repeat-x;
position:relative;
z-index:3;
- font-size:27px;
+ font-size:12px;
white-space:nowrap;
}
+.image_toolbar span {
+ vertical-align:9px;
+}
+
/*
.image_toolbar img {
margin-left: 4px;
overflow:hidden;
position:relative;
width:100%;
- height: <dtml-var expr="thumb_size/2 + 12">px;;
+ height: <dtml-var expr="thumb_size/2 + 12">px;
}
#film_bar table {
}
#film_bar a {
- width: <dtml-var expr="thumb_size/2 + 10">px;;
- height: <dtml-var expr="thumb_size/2 + 10">px;;
+ width: <dtml-var expr="thumb_size/2 + 10">px;
+ height: <dtml-var expr="thumb_size/2 + 10">px;
display:block;
text-align:center;
vertical-align:middle;
}
#cart_slide[id] {
- background:no-repeat url(&dtml-portal_url;/cart-slide-background.png);;
+ background:no-repeat url(&dtml-portal_url;/cart-slide-background.png);
}
.wdgt-buyable-items {
border:none;
filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true, sizingMethod=scale src='&dtml-portal_url;/add_to_cart.png');
left:<dtml-var expr="slide_size - 47">px;
- top:2.5em;;
+ top:2.5em;
}
input.add-to-cart-btn[class] {
color: &dtml-messageFontColor;;
}
+/* drag and drop */
+#lightbox img,
+#lightbox a {
+ user-drag: none;
+ -moz-user-select: none;
+ -webkit-user-drag: none;
+}
+
+*[draggable=true] {
+ -moz-user-select:none;
+ -khtml-user-drag: element;
+ -webkit-user-drag: element;
+ -khtml-user-select: none;
+ -webkit-user-select: none;
+}
+
/*
</dtml-with>
</dtml-with>