Ajout cases à cocher pour réaliser une sélection sur les photos. Implémentation du...
[Portfolio.git] / skins / portfolio_style.css.dtml
index e4be18a..997b17b 100755 (executable)
@@ -129,8 +129,8 @@ table.metadata_category select:focus {
   background: &dtml-portfolio_slide_background;;
   color: &dtml-fontColor;;
   display:block;
-  width: <dtml-var expr="thumb_width + 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;
@@ -160,12 +160,17 @@ 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 {
@@ -257,7 +262,7 @@ div.lightbox { /*the lightbox itself*/
 
 /* slide del */
 .lightbox .slide-del {
-  margin-left:200px;
+  margin-left:<dtml-var expr="slide_size - 22">px;
   margin-top:5px;
   width:18px;
   height:19px;
@@ -271,6 +276,16 @@ div.lightbox { /*the lightbox itself*/
   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;
+}
+
+.lightbox .cb input[checked] {
+       visibility: visible;
+}
+
 
 .lightbox .slide-hide,
 .lightbox .slide-show {
@@ -294,6 +309,24 @@ div.lightbox { /*the lightbox itself*/
   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:<dtml-var expr="slide_size - 8">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;
@@ -313,7 +346,7 @@ div.lightbox { /*the lightbox itself*/
   overflow:hidden;
   position:relative;
   width:100%;
-  height: <dtml-var expr="thumb_height/2 + 12">px;;
+  height: <dtml-var expr="thumb_size/2 + 12">px;;
 }
 
 #film_bar table {
@@ -327,8 +360,8 @@ div.lightbox { /*the lightbox itself*/
 }
 
 #film_bar a {
-  width: <dtml-var expr="thumb_width/2 + 10">px;;
-  height: <dtml-var expr="thumb_height/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;