X-Git-Url: https://svn.cri.ensmp.fr/git/Portfolio.git/blobdiff_plain/4dee479f3957299afc14e57962d4f4d9aa0633aa..e3221dd5738f0c8410573ae0980e7c8c2065b32c:/skins/portfolio_style.css.dtml?ds=sidebyside diff --git a/skins/portfolio_style.css.dtml b/skins/portfolio_style.css.dtml index 2325550..23a3674 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,19 +160,25 @@ table.metadata_category select:focus { font-size: &dtml-fontSmallSize;; } -div.lightbox { /*the lightbox itself*/ - min-height:300px; +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 { @@ -257,7 +263,7 @@ div.lightbox { /*the lightbox itself*/ /* slide del */ .lightbox .slide-del { - margin-left:200px; + margin-left:px; margin-top:5px; width:18px; height:19px; @@ -271,6 +277,25 @@ div.lightbox { /*the lightbox itself*/ 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 { @@ -302,7 +327,14 @@ div.lightbox { /*the lightbox itself*/ border-radius:3px; width:0; margin-left:11px; - top:208px; + top:px; +} + +.lightbox span.label { + position: relative; + padding-left:0.5em; + top: -4px; +/* border: 1px solid red;*/ } .image_toolbar { @@ -324,7 +356,7 @@ div.lightbox { /*the lightbox itself*/ overflow:hidden; position:relative; width:100%; - height: px;; + height: px;; } #film_bar table { @@ -338,8 +370,8 @@ div.lightbox { /*the lightbox itself*/ } #film_bar a { - width: px;; - height: px;; + width: px;; + height: px;; display:block; text-align:center; vertical-align:middle;