X-Git-Url: https://svn.cri.ensmp.fr/git/Portfolio.git/blobdiff_plain/8a59623d303386b587ea30f8170cd0c66ec5d196..56cf98937c95ed6aee58b464aa389ee3a90c9413:/skins/portfolio_style.css.dtml diff --git a/skins/portfolio_style.css.dtml b/skins/portfolio_style.css.dtml index 63c996d..c7bae6c 100755 --- a/skins/portfolio_style.css.dtml +++ b/skins/portfolio_style.css.dtml @@ -129,8 +129,8 @@ table.metadata_category select:focus { background: &dtml-portfolio_slide_background;; color: &dtml-fontColor;; display:block; - width: px;/*&dtml-slide_size;px;*/ - height: 256px; + width: px; + height: px; display:block; text-align:center; float:left; @@ -160,12 +160,29 @@ table.metadata_category select:focus { font-size: &dtml-fontSmallSize;; } +#lightbox_toolbar { + text-align: right; +} + +div.lightbox { + /* The lightbox itself. + Force this div to fit grid + effective height. + */ + overflow:hidden; +} + +.photo-drop-target { + background: url('&dtml-portal_url;/image-upload-dd-target.png') no-repeat center center; + min-height:300px; +} .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 { @@ -250,7 +267,7 @@ table.metadata_category select:focus { /* slide del */ .lightbox .slide-del { - margin-left:200px; + margin-left:px; margin-top:5px; width:18px; height:19px; @@ -264,6 +281,25 @@ table.metadata_category select:focus { background: url(&dtml-portal_url;/slide-del-btn.png); } +/* slide checkbox */ +.lightbox .cb { + margin-left: 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 { @@ -287,14 +323,36 @@ table.metadata_category select:focus { background: url(&dtml-portal_url;/slide-eye-closed.png); } +.lightbox span.upload-progress { + display: block; + position:relative; + background:#ef8e32; + height:5px; + border-radius:3px; + width:0; + margin-left:11px; + top:px; +} + +.lightbox span.label { + position: relative; + padding-left:0.5em; + top: -4px; +/* border: 1px solid red;*/ +} + .image_toolbar { 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; @@ -306,7 +364,7 @@ table.metadata_category select:focus { overflow:hidden; position:relative; width:100%; - height: px;; + height: px; } #film_bar table { @@ -320,8 +378,8 @@ table.metadata_category select:focus { } #film_bar a { - width: px;; - height: px;; + width: px; + height: px; display:block; text-align:center; vertical-align:middle; @@ -370,7 +428,7 @@ table.metadata_category select:focus { } #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 { @@ -426,7 +484,7 @@ input.add-to-cart-btn { border:none; filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true, sizingMethod=scale src='&dtml-portal_url;/add_to_cart.png'); left:px; - top:2.5em;; + top:2.5em; } input.add-to-cart-btn[class] { @@ -462,6 +520,26 @@ th.num { 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; +} + +.lightbox span.dragover { +/* width: px;*/ + border-right: 10px solid &dtml-outlineColor;; +} /*