Changeset 16021


Ignore:
Timestamp:
Jun 24, 2012, 9:32:16 PM (12 years ago)
Author:
grum
Message:

feature:2664- compatibility with Piwigo 2.4

Location:
extensions/gally/gally-lapis-lazuli
Files:
5 added
6 edited

Legend:

Unmodified
Added
Removed
  • extensions/gally/gally-lapis-lazuli/conf/default.conf

    r8531 r16021  
    44# ------------------------------------------------------------------------------
    55# file: gally-lapis-lazuli/conf/default.conf
    6 # file release: 1.3.0
     6# file release: 1.5.0
    77# ------------------------------------------------------------------------------
    88# author: grum at piwigo.org
     
    3535#     works well with FF2, FF3, Opera, Safari
    3636imageAutoScroll = "yes"
     37
    3738
    3839# -- 1.3.1 --
     
    7172imageCenterTopBorder="imageHeaderBar"
    7273
     74# -- 1.5.0 --
     75# The 'imageScrollMinDeadArea' option allows to define the minimum width for
     76# dead area in scroll mode
     77imageScrollMinDeadArea=0
    7378
    7479# The 'imageInterface' option can take theses values :
     
    141146tabsVisible=250
    142147
    143 # -- 1.2.0 --
     148# -- 1.5.0 --
    144149# The 'tabsPosition' option can take theses values :
    145 #   "top"     => display the tabs area at the bottom of the image toobar area
    146 #                (top of the page)
    147 #   "bottom"  => display the tabs area at the top of the copyright area
    148 #                (bottom of the page)
     150#   "top"           => display the tabs area at the bottom of the image toobar area
     151#                      (top of the page)
     152#   "bottom"        => display the tabs area at the top of the copyright area
     153#                      (bottom of the page)
     154#   "pictureTop"    => display the tabs area at the top of the image area
     155#   "pictureBottom" => display the tabs area at the bottom of the image area
    149156tabsPosition="top"
    150157
     
    183190
    184191# -- 1.3.0 --
    185 # the 'displayHighResIcon' option can take theses values :
    186 #   "yes" => display an icon 'view full res' in the toolbar
    187 #   "no"  => don't display an icon 'view full res' in the toolbar
    188 displayHighResIcon="yes"
    189 
    190 # -- 1.3.0 --
    191192# the 'highResClickMode' option can take theses values :
    192193#   "close" => click on the high res picture close the high res picture
     
    194195highResClickMode="zoom"
    195196
     197# -- 1.5.0 --
     198# the 'manageTips' option can take theses values :
     199#   "yes" => the interface uses the simpleTip.js script to display hints
     200#   "no"  => the interface uses the default browser method to display hints
     201manageTips="yes"
     202
     203# -- 1.5.0 --
     204# the 'manageTipsPos' define the default position for tips ; the option can take
     205# theses values :
     206#   "tipOnTop"    => tip is displayed above the object
     207#   "tipOnBottom" => tip is displayed under the object
     208#   "tipOnLeft"   => tip is displayed on the left side of the object
     209#   "tipOnRight"  => tip is displayed on the right side of the object
     210manageTipsPos="tipOnBottom"
     211
     212# -- 1.5.0 --
     213# the 'tipsSize' option can take any positive integer values.
     214# This option define the size (Width&Height) of an arrow
     215tipsSize=17
    196216
    197217# ------- Menu parameters ------------------------------------------------------
  • extensions/gally/gally-lapis-lazuli/css/ASEgally-lapis-lazuli.css

    r7377 r16021  
    2828.ui-datepicker td:hover { background-color:#606060; color:#f0f0f0; }
    2929.ui-datepicker td.ui-datepicker-current-day { background-color:#303030; color:#f0f0f0; }
    30 .ui-category-selector-arrow { color:#0088EE; }
     30.ui-category-selector-arrow {
     31  background-image: url("./../icon/buttons_gpc.png");
     32  background-position: -30px -30px;
     33  background-repeat: no-repeat;
     34  border: 0 none;
     35  border-radius: 2px 2px 2px 2px;
     36}
     37.ui-category-selector-arrow:hover {
     38  background-position: -30px -15px;
     39}
    3140.ui-category-selector, .ui-category-selector-list { font-family:monospace; }
    3241li.ui-category-selector-item:hover, li.ui-tag-selector-list-item:hover { background-color:#606060; color:#f0f0f0; }
    3342.ui-category-selector-selected-item { background-color:#303030; color:#f0f0f0; }
     43li.ui-category-selector-item div { margin:0;}
     44li.ui-category-selector-item div.ui-category-selector-name { top:-1px; position:relative;}
     45li.ui-category-selector-item div.ui-category-selector-status { margin:1px; }
     46#iASECategoryCategory div.ui-category-selector-check {
     47  position:relative;
     48}
    3449
    3550.ui-category-selector-expandable-item { background-image:url(./../icon/asearchengine/expand_b.png); }
     
    7792}
    7893
    79 .iconEdit { background:url(./../icon/edit.png) no-repeat 0 0 transparent; }
    80 .iconDelete { background:url(./../icon/delete.png) no-repeat 0 0 transparent; }
    81 .iconMove { background:url(./../icon/asearchengine/move.png) no-repeat 0 0 transparent; }
    82 .iconMove:hover { background:url(./../icon/asearchengine/move_h.png) no-repeat 0 0 transparent; }
    83 .iconSwitchCondition  { background:url(./../icon/asearchengine/switch.png) no-repeat 0 0 transparent; }
    84 .iconSwitchCondition:hover { background:url(./../icon/asearchengine/switch_h.png) no-repeat 0 0 transparent; }
     94.iconSwitchCondition,
     95.iconMove,
     96.iconEdit,
     97.iconDelete {
     98  background:url(./../icon/buttons_gpc.png) no-repeat 0 0 transparent;
     99}
     100
     101.iconEdit {
     102  background-position:-240px -30px;
     103}
     104.iconDelete {
     105  background-position:-255px -30px;
     106}
     107.iconMove {
     108  background-position:-285px -30px;
     109}
     110.iconSwitchCondition {
     111  background-position:-300px -30px;
     112}
     113.iconEdit:hover {
     114  background-position:-240px -15px;
     115}
     116.iconDelete:hover {
     117  background-position:-255px -15px;
     118}
     119.iconMove:hover {
     120  background-position:-285px -15px;
     121}
     122.iconSwitchCondition:hover {
     123  background-position:-300px -15px;
     124}
     125
     126
    85127.cbItemMultiple { border:1px solid #606060; }
    86128.cbItemOverGroup { border:1px dotted #606060; }
     
    131173
    132174div#iMenuCaddieBar div#iMenuCaddieItems { z-index:1000; }
    133 div#iMenuCriterions div#iMenuCItems { margin-left:-1px; }
     175div#iMenuCriterions div#iMenuCItems { margin-left:-1px; margin-top: -1px; }
     176
     177#iBDTagTags .ui-tag-selector-selected-tag-list {
     178  padding-bottom:1px;
     179}
     180
     181.ui-datepicker-next,
     182.ui-datepicker-prev {
     183  cursor:pointer;
     184}
     185#ui-datepicker-div div.ui-datepicker-header a.ui-datepicker-next span {
     186  left:auto;
     187  right:0;
     188}
     189
     190.ui-category-selector-name li.ui-category-selector-selected-cat {
     191  background: none repeat scroll 0 0 #0088EE;
     192  -moz-border-radius:8px;
     193  -webkit-border-radius:8px;
     194  -khtml-border-radius:8px;
     195  border-radius: 8px;
     196  color: #F0F0F0;
     197  margin-bottom: 0;
     198  margin-top: 0;
     199  padding-bottom: 1px;
     200  padding-top: 1px;
     201}
     202
     203div.ui-dialog-buttonset {
     204  padding-left:2px;
     205}
    134206
    135207/* AMD specific CSS */
  • extensions/gally/gally-lapis-lazuli/css/theme.css

    r12605 r16021  
    11/* -----------------------------------------------------------------------------
    22  LAPIS-LAZULI
    3   Theme for Piwigo
     3  A Gally's theme for Piwigo
    44  ------------------------------------------------------------------------------
    55  file: gally/lapis-lazuli/theme.css
    6   file version: 1.2.1
     6  file version: 1.5.0
    77  ------------------------------------------------------------------------------
    8   author: grum at grum.dnsalias.com
     8  author: grum at grum.fr
    99  << May the Little SpaceFrog be with you >>
    1010  ------------------------------------------------------------------------------
     
    2222  font-weight:bold;
    2323}
     24div.errors button {
     25  color:#ffffff;
     26  background:#802020;
     27  outline:none;
     28}
     29div.errors button:hover {
     30  color:#FFB0B0;
     31}
     32div.errors button:active {
     33  color:#802020;
     34  background:#ffffff;
     35}
     36
    2437
    2538div.infos {
     
    3245  color:#008000;
    3346  font-weight:bold;
     47}
     48div.infos button {
     49  color:#ffffff;
     50  background:#208020;
     51}
     52div.infos button:hover {
     53  color:#B0FFB0;
     54}
     55div.infos button:active {
     56  color:#208020;
     57  background:#ffffff;
    3458}
    3559
     
    7195  width:1012px;
    7296  background:transparent;
     97  position:relative;
    7398}
    7499
     
    192217#icon_calendar_created:hover {
    193218  background-position:-56px -28px;
     219}
     220
     221#icon_sort {
     222  background-position:-1457px 0;
     223}
     224#icon_sort:hover {
     225  background-position:-1457px -28px;
    194226}
    195227
     
    316348}
    317349
     350#icon_derivatives {
     351  background-position:-1428px 0;
     352}
     353#icon_derivatives:hover {
     354  background-position:-1428px -28px;
     355}
     356
    318357/* tags.tpl */
    319358#icon_cloud {
     
    512551  padding:15px;
    513552}
    514 
    515553
    516554/*
     
    614652
    615653.thumbnailCategory {
     654  -moz-border-radius:12px;
     655  -webkit-border-radius:12px;
     656  -khtml-border-radius:12px;
     657  border-radius:12px;
    616658  background-color: #101010;
    617659  border:2px solid #000000;
     
    619661  margin:8px;
    620662  padding:8px 8px 0 4px;
    621   -moz-border-radius:12px;
    622   -webkit-border-radius:12px;
    623   -khtml-border-radius:12px;
    624   border-radius:12px;
    625663}
    626664
     
    639677  margin:auto;
    640678  width:96%;
     679}
     680
     681.fixHeight {
     682    clear:both;
    641683}
    642684
     
    684726  display:table-cell;
    685727  margin:0;
     728  padding:0;
    686729  vertical-align:middle;
    687   height:140px;
    688   width:140px;
     730  border:none;
     731}
     732
     733.content ul.thumbnails table.wrap1 tr.imgRow td {
     734  vertical-align:middle;
    689735  -moz-border-radius: 8px;  /* round corners with Geko */
    690736  -webkit-border-radius: 8px;  /* round corners with webkit */
     
    695741}
    696742
    697 #content UL.thumbnails SPAN.wrap2:hover {
    698   background-color: #FFFFFF;
     743.content ul.thumbnails table.wrap1 tr.imgRow td:hover {
     744  background-color:#ffffff;
     745}
     746
     747.content ul.thumbnails table.wrap1 tr.nfoRow {
     748  visibility:hidden;
     749}
     750
     751.content ul.thumbnails table.wrap1:hover tr.nfoRow {
     752  visibility:visible;
    699753}
    700754
    701755table.wrap1 {
    702   padding:25px 50px;
    703 }
     756  padding:20px 11px;
     757}
     758
     759div ul.thumbnails li {
     760  width: auto;
     761  height: auto;
     762}
     763
    704764
    705765/*
     
    9871047  border-top:1px #ffffff solid;
    9881048  border-left:1px #ffffff solid;
     1049  margin-top:1px;
     1050  cursor: pointer;
    9891051}
    9901052
     
    10131075  picture page
    10141076*/
     1077.switchBox {
     1078  -moz-border-radius:4px;
     1079  -webkit-border-radius:4px;
     1080  -khtml-border-radius:4px;
     1081  border-radius:4px;
     1082  background-color: #000000;
     1083  border: 1px solid #ffffff;
     1084  margin-left:4px;
     1085  z-index:15000;
     1086  margin-top:12px;
     1087}
     1088
     1089.switchBoxTitle {
     1090  font-size: 12px;
     1091  font-weight: bold;
     1092}
     1093
     1094.switchBoxCat {
     1095  margin-top:25px;
     1096}
     1097
    10151098#thePicturePage #titrePageID {
    10161099  background: none repeat scroll 0 0 transparent;
     
    10351118#theImage {
    10361119  position:static;
    1037   padding-bottom:0px;
     1120  padding-bottom:1px;
    10381121}
    10391122
     
    10451128  border:8px #ffffff solid;
    10461129  margin-top:30px;
     1130}
     1131
     1132#theImageHigh {
     1133  position: fixed;
    10471134}
    10481135
     
    10621149
    10631150#theImgHighCloseButton {
    1064   width:28px;
    1065   height:28px;
    1066   background:transparent url(./../icon/close_high.png) no-repeat scroll 0px 0px;
    1067   top:15px;
    1068   right:-15px;
     1151  width:15px;
     1152  height:15px;
     1153  background:transparent url(./../icon/buttons.png) no-repeat scroll -1204px 0px;
     1154  top:-8px;
     1155  right:15px;
    10691156  cursor:pointer;
    10701157}
     1158#theImgHighCloseButton:hover {
     1159  background-position:-1204px -28px;
     1160}
    10711161
    10721162#theImgHighZoomButton {
    1073   width:28px;
    1074   height:28px;
    1075   top:45px;
    1076   right:-15px;
     1163  width:15px;
     1164  height:15px;
     1165  top:-8px;
     1166  right:35px;
    10771167  cursor:pointer;
     1168  background:transparent url(./../icon/buttons.png);
    10781169}
    10791170
    10801171#theImgHighZoomButton.fit {
    1081   background:transparent url(./../icon/zoom_fit_high.png) no-repeat scroll 0px 0px;
     1172  background-position:-1260px 0px;
     1173}
     1174#theImgHighZoomButton.fit:hover {
     1175  background-position:-1260px -28px;
    10821176}
    10831177
    10841178#theImgHighZoomButton.full {
    1085   background:transparent url(./../icon/zoom_1-1_high.png) no-repeat scroll 0px 0px;
     1179  background-position:-1232px 0px;
     1180}
     1181#theImgHighZoomButton.full:hover {
     1182  background-position:-1232px -28px;
    10861183}
    10871184
     
    10971194  margin-left:9px;
    10981195  width:992px;
     1196  z-index:1000;
    10991197}
    11001198
     
    11211219
    11221220#navThumbNext, #navThumbPrev {
    1123   top:310px;
     1221 /*  top:310px; */
    11241222  max-height:200px;
    11251223  height:200px;
     1224  top:-1px; /* will be calculated automatically */
    11261225}
    11271226
     
    11641263}
    11651264
     1265table.infoTable td.cTitle {
     1266  width:10%;
     1267}
     1268
     1269table.infoTable td.cNfo {
     1270  width:16%;
     1271}
     1272
    11661273.infoTable {
    11671274  margin:auto;
    11681275  font-size:90%;
    1169   max-width:94%;
     1276  max-width:98%;
    11701277  color:#f0f0f0;
    11711278  z-index:200;
    11721279  border-collapse:collapse;
    11731280  position:relative;
    1174   left:25px;
    11751281}
    11761282
     
    11821288
    11831289.infoTable td.value, .infoTable td.label {
    1184   padding-right:50px;
     1290  padding-right:15px;
    11851291}
    11861292
     
    12151321#rateForm input[type="button"].rateButtonStarFull:focus,
    12161322#rateForm input[type="submit"].rateButtonStarFull  {
    1217   background: url('./../icon/rating-stars.png') no-repeat scroll; background-position:-16px center; width:16px;
     1323  background: url('./../icon/buttons.png') no-repeat scroll;
     1324  background-position:-141px 1px;
     1325  width:16px;
     1326  height:16px;
     1327  outline:none;
    12181328}
    12191329
     
    12211331#rateForm input[type="button"].rateButtonStarEmpty:focus,
    12221332#rateForm input[type="submit"].rateButtonStarEmpty {
    1223   background: url('./../icon/rating-stars.png') no-repeat scroll; background-position:0 center; width:16px;
     1333  background: url('./../icon/buttons.png') no-repeat scroll;
     1334  background-position:-112px 1px;
     1335  width:16px;
     1336  height:16px;
     1337  outline:none;
    12241338}
    12251339
     
    12331347}
    12341348
     1349#privacyLevelBox {
     1350  font-weight:normal;
     1351}
     1352
     1353#privacyLevelBox a {
     1354  cursor:pointer;
     1355}
     1356
     1357#iPrivacyLevelLink {
     1358  cursor:pointer;
     1359  font-style:italic;
     1360}
     1361
    12351362.commentList {
    12361363  margin-left:8px;
     
    12471374.commentDetail {
    12481375  border-bottom:1px dotted #606060;
     1376  clear:both;
    12491377}
    12501378
     
    12531381  padding:4px;
    12541382}
    1255 
    1256 .commentDetail ul li {
     1383#theCommentsPage ul.commentList li .commentDetail ul li {
    12571384  display:inline;
    12581385}
     
    13611488  tags
    13621489*/
    1363 
    13641490#fullTagCloud SPAN a:hover {
    13651491  background:#303030 url(./../icon/backgd.png) repeat scroll 0 0;
     
    13701496}
    13711497
     1498#menuTagCloud {
     1499  padding:6px;
     1500}
     1501
    13721502#menuTagCloud SPAN {
    13731503  margin:0px;
     
    13941524
    13951525.tagaddbutton {
    1396   left:-4px;
    13971526  position:relative;
    1398   top:-3px;
    1399 }
    1400 
     1527  top:-5px;
     1528}
     1529span.add_tag {
     1530  background:transparent url('./../icon/buttons.png') no-repeat scroll;
     1531  background-position:-672px 0px;
     1532  width:9px;
     1533  height:9px;
     1534  display:inline-block;
     1535}
     1536span.add_tag:hover {
     1537  background-position:-672px -28px;
     1538}
    14011539
    14021540.mandatorystar {
     
    14821620
    14831621/*
     1622 * notification
     1623 */
     1624span.rssFeed {
     1625  display:inline-block;
     1626  width:11px;
     1627  height:14px;
     1628  background-image:url(./../icon/buttons.png);
     1629  background-repeat:no-repeat;
     1630  background-position:-1176px 0;
     1631  margin-right: 4px;
     1632  position: relative;
     1633  top: 2px;
     1634}
     1635
     1636
     1637
     1638
     1639/*
     1640 * tips
     1641 */
     1642
     1643#iSimpleTipContent {
     1644  background: #ffffff;
     1645  border: none;
     1646  color: #303030;
     1647  font-family: sans-serif;
     1648  font-size: 11px;
     1649  max-width: 250px;
     1650  padding: 4px;
     1651  min-height: 15px;
     1652}
     1653#iSimpleTipShadow, #iSimpleTipContent {
     1654  -moz-border-radius:4px;
     1655  -webkit-border-radius:4px;
     1656  -khtml-border-radius:4px;
     1657  border-radius:4px;
     1658}
     1659
     1660#iSimpleTipContent span.title {
     1661  font-weight:bold;
     1662}
     1663#iSimpleTipContent ul, #iSimpleTipContent ol {
     1664  margin:4px;
     1665  padding-left:15px;
     1666}
     1667
     1668#iSimpleTipContent img {
     1669  margin:8px;
     1670}
     1671
     1672#iSimpleTipContent span.navDesc {
     1673  text-align:center;
     1674  display:block;
     1675}
     1676
     1677#iSimpleTipContent span.navAction {
     1678  font-weight:bold;
     1679}
     1680#iSimpleTipContent span.navTitle {
     1681  font-style:italic;
     1682}
     1683
     1684.cSimpleTipArrow {
     1685    background-image: url("./../icon/sTipArrows.png");
     1686}
     1687
     1688.cSimpleTipArrow {
     1689    background-repeat: no-repeat;
     1690    height: 12px;
     1691    position: absolute;
     1692    width: 12px;
     1693}
     1694
     1695
     1696/*
    14841697 vd language switch plugin
    14851698*/
     
    16151828  background:url(./../icon/gmaps/i28x28_h.png);
    16161829}
     1830
     1831/*
     1832 * lmt compatibility
     1833 */
     1834#copyright img.logo80x15 {
     1835  position: relative;
     1836  top: 4px;
     1837}
  • extensions/gally/gally-lapis-lazuli/themeconf.inc.php

    r12632 r16021  
    22/*
    33Theme Name: Gally/Lapis-lazuli
    4 Version: 1.4.5
     4Version: 1.5.0
    55Description: Blue theme
    66Theme URI: http://piwigo.org/ext/extension_view.php?eid=380
Note: See TracChangeset for help on using the changeset viewer.