Diff for /scripts/pgallery/src/libpgallery.sh between versions 1.1 and 1.2

version 1.1, 2012/08/31 12:33:07 version 1.2, 2012/08/31 14:26:58
Line 5 Line 5
 # can do whatever you want with this stuff. If we meet some day, and you think  # can do whatever you want with this stuff. If we meet some day, and you think
 # this stuff is worth it, you can buy me a beer in return Aron Schlesinger  # this stuff is worth it, you can buy me a beer in return Aron Schlesinger
 #  #
# $Paefchen: scripts/pgallery/src/pgallery.sh,v 1.17 2012/08/29 14:44:04 as Exp $# $Paefchen: scripts/pgallery/src/libpgallery.sh,v 1.1 2012/08/31 12:33:07 as Exp $
 #  #
   
 BIN_CONVERT="/usr/local/bin/convert"  BIN_CONVERT="/usr/local/bin/convert"
Line 112  div.tn { Line 112  div.tn {
         margin: 4px;          margin: 4px;
 }  }
 div.t {  div.t {
         height: 20px;  
         line-height: 18px;  
         text-overflow: ellipsis;          text-overflow: ellipsis;
         overflow: hidden;          overflow: hidden;
         white-space: nowrap;          white-space: nowrap;
         width: $(($ARG_TNSIZE - 8))px;  
         padding: 0 4px;  
         margin-bottom: 1px;          margin-bottom: 1px;
         background: rgb(38,38,38); /* Old browsers */          background: rgb(38,38,38); /* Old browsers */
         background: -moz-linear-gradient(top, rgba(38,38,38,1) 0%, rgba(53,53,53,1) 50%, rgba(48,48,48,1) 51%, rgba(73,73,73,1) 100%); /* FF3.6+ */          background: -moz-linear-gradient(top, rgba(38,38,38,1) 0%, rgba(53,53,53,1) 50%, rgba(48,48,48,1) 51%, rgba(73,73,73,1) 100%); /* FF3.6+ */
Line 129  div.t { Line 125  div.t {
         background: linear-gradient(to bottom, rgba(38,38,38,1) 0%,rgba(53,53,53,1) 50%,rgba(48,48,48,1) 51%,rgba(73,73,73,1) 100%); /* W3C */          background: linear-gradient(to bottom, rgba(38,38,38,1) 0%,rgba(53,53,53,1) 50%,rgba(48,48,48,1) 51%,rgba(73,73,73,1) 100%); /* W3C */
         filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#262626', endColorstr='#494949',GradientType=0 ); /* IE6-9 */          filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#262626', endColorstr='#494949',GradientType=0 ); /* IE6-9 */
 }  }
   div.tn div.t {
           width: $(($ARG_TNSIZE - 8))px;
           height: 20px;
           padding: 0 4px;
           line-height: 18px;
   }
   body > div.t {
           font-size: 120%;
           font-weight: bold;
           position: relative;
           bottom: 10px;
           padding: 6px;
           border-width: 0 0 1px 0;
           border-color: gray;
           border-style: solid;
   }
 div.tn a {  div.tn a {
         position: relative;          position: relative;
         display: inline-block;          display: inline-block;
Line 354  html_img() Line 366  html_img()
                 $olinkb                  $olinkb
                 $olinkn                  $olinkn
         </div>          </div>
   </div>
   HTML
   }
   
   #
   # html_title()
   #
   html_title()
   {
           left="$1"
           right="$2"
           cat <<HTML
   <div class="t">
           <div class="left">$left</div>
           <div class="right">$right</div>
           <div class="clear"></div>
 </div>  </div>
 HTML  HTML
 }  }

Removed from v.1.1  
changed lines
  Added in v.1.2