Changeset 12655 for extensions


Ignore:
Timestamp:
Nov 22, 2011, 1:18:14 PM (12 years ago)
Author:
cljosse
Message:

[theme] set Gally-cuise to piwigo 2.3

Location:
extensions/gally/gally-cuise
Files:
25 added
5 edited

Legend:

Unmodified
Added
Removed
  • extensions/gally/gally-cuise/css/theme.css

    r10780 r12655  
    7777
    7878a.button, a.navButton {
    79   display:block;
    8079  display:inline-block;
    8180  /*display:table-cell;*/
     
    8483}
    8584
    86 /* index.tpl */
    87 #icon_menu {
    88   background:url(./../icon/menu-show.png);
    89 }
    90 #icon_menu:hover {
    91   background:url(./../icon/menu-show_h.png);
    92 }
    93 
    94 #icon_menu.button2 {
    95   display:block;
    96   display:inline-block;
    97   /*display:table-cell;*/
     85a.button, a.navButton, span.button, #icon_menu {
     86  background-image:url(./../icon/buttons.png);
     87  background-repeat:no-repeat;
     88}
     89
     90/* menu */
     91#icon_menu.button, #icon_menu.button2 {
    9892  width:28px;
    9993  height:28px;
    100   background:url(./../icon/menu-hide.png);
     94  display:inline-block;
     95}
     96#icon_menu.button {
     97  background-position:0px -84px;
     98}
     99#icon_menu.button:hover {
     100  background-position:0px -112px;
     101}
     102
     103#icon_menu.button2 {
     104  background-position:-28px -84px;
    101105}
    102106#icon_menu.button2:hover {
    103   display:block;
    104   display:inline-block;
    105   /*display:table-cell;*/
    106   width:28px;
    107   height:28px;
    108   background:url(./../icon/menu-hide_h.png);
    109 }
    110 
     107  background-position:-28px -112px;
     108}
     109
     110
     111#thePicturePage #icon_menu.button {
     112  width:22px;
     113  height:20px;
     114  background-position:-1400px 0px;
     115}
     116#thePicturePage #icon_menu.button:hover {
     117  background-position:-1400px -28px;
     118}
     119
     120#thePicturePage #icon_menu.button2 {
     121  width:22px;
     122  height:20px;
     123  background-position:-1372px 0px;
     124}
     125#thePicturePage #icon_menu.button2:hover {
     126  background-position:-1372px -28px;
     127}
     128
     129
     130
     131
     132/* index.tpl */
    111133
    112134#icon_caddie {
    113   background:url(./../icon/caddie_add.png);
     135  background-position:0px 0;
    114136}
    115137#icon_caddie:hover {
    116   background:url(./../icon/caddie_add_h.png);
     138  background-position:0px -28px;
    117139}
    118140
    119141#icon_category_edit {
    120   background:url(./../icon/category_edit.png);
     142  background-position:-84px 0;
    121143}
    122144#icon_category_edit:hover {
    123   background:url(./../icon/category_edit_h.png);
     145  background-position:-84px -28px;
    124146}
    125147
    126148#icon_search_rules {
    127   background:url(./../icon/search_rules.png);
     149  background-position:-504px 0;
    128150}
    129151#icon_search_rules:hover {
    130   background:url(./../icon/search_rules_h.png);
     152  background-position:-504px -28px;
    131153}
    132154
    133155#icon_start_slideshow {
    134   background:url(./../icon/start_slideshow.png);
     156  background-position:-560px 0;
    135157}
    136158#icon_start_slideshow:hover {
    137   background:url(./../icon/start_slideshow_h.png);
     159  background-position:-560px -28px;
    138160}
    139161
    140162#icon_flat {
    141   background:url(./../icon/flat.png);
     163  background-position:-252px 0;
    142164}
    143165#icon_flat:hover {
    144   background:url(./../icon/flat_h.png);
     166  background-position:-252px -28px;
    145167}
    146168
    147169#icon_normal_mode {
    148   background:url(./../icon/normal_mode.png);
     170  background-position:-392px 0;
    149171}
    150172#icon_normal_mode:hover {
    151   background:url(./../icon/normal_mode_h.png);
     173  background-position:-392px -28px;
    152174}
    153175
    154176#icon_calendar {
    155   background:url(./../icon/calendar.png);
     177  background-position:-28px 0;
    156178}
    157179#icon_calendar:hover {
    158   background:url(./../icon/calendar_h.png);
     180  background-position:-28px -28px;
    159181}
    160182
    161183#icon_calendar_created {
    162   background:url(./../icon/calendar_created.png);
     184  background-position:-56px 0;
    163185}
    164186#icon_calendar_created:hover {
    165   background:url(./../icon/calendar_created_h.png);
     187  background-position:-56px -28px;
    166188}
    167189
     
    177199/* upload.tpl */
    178200#icon_home {
    179   background:url(./../icon/home.png);
     201  background-position:-308px 0;
    180202}
    181203#icon_home:hover {
    182   background:url(./../icon/home_h.png);
     204  background-position:-308px -28px;
    183205}
    184206
     
    186208/* menubar_identification.tpl */
    187209#icon_lost_password {
    188   background:url(./../icon/lost_password.png);
     210  background-position:-336px 0;
    189211}
    190212#icon_lost_password:hover {
    191   background:url(./../icon/lost_password_h.png);
     213  background-position:-336px -28px;
    192214}
    193215
    194216#icon_register, #icon_register2, #icon_register3 {
    195   background:url(./../icon/register.png);
     217  background-position:-420px 0;
    196218}
    197219#icon_register:hover, #icon_register2:hover, #icon_register3:hover {
    198   background:url(./../icon/register_h.png);
     220  background-position:-420px -28px;
    199221}
    200222
    201223#icon_lost_password, #icon_lost_password2, #icon_lost_password3 {
    202   background:url(./../icon/lost_password.png);
     224  background-position:-336px 0;
    203225}
    204226#icon_lost_password:hover, #icon_lost_password2:hover, #icon_lost_password3:hover {
    205   background:url(./../icon/lost_password_h.png);
     227  background-position:-336px -28px;
    206228}
    207229
    208230/* menubar_categories.tpl */
    209231#icon_start_filter {
    210   background:url(./../icon/start_filter.png);
     232  background-position:-1288px 0px;
     233  height: 28px;
     234  margin-top: 2px;
     235  width: 28px;
    211236}
    212237#icon_start_filter:hover {
    213   background:url(./../icon/start_filter_h.png);
     238  background-position:-1288px -28px;
    214239}
    215240
    216241#icon_stop_filter {
    217   background:url(./../icon/stop_filter.png);
     242  background-position:-1316px 0px;
    218243}
    219244#icon_stop_filter:hover {
    220   background:url(./../icon/stop_filter_h.png);
     245  background-position:-1316px -28px;
    221246}
    222247
    223248/* picture.tpl */
    224249#icon_high_res {
    225   background:url(./../icon/display_high_res.png);
     250  background-position:-224px 0;
    226251}
    227252#icon_high_res:hover {
    228   background:url(./../icon/display_high_res_h.png);
    229 }
    230 
    231 #icon_start_slideshow {
    232   background:url(./../icon/start_slideshow.png);
    233 }
    234 #icon_start_slideshow:hover {
    235   background:url(./../icon/start_slideshow_h.png);
     253  background-position:-224px -28px;
    236254}
    237255
    238256#icon_stop_slideshow {
    239   background:url(./../icon/stop_slideshow.png);
     257  background-position:-532px 0;
    240258}
    241259#icon_stop_slideshow:hover {
    242   background:url(./../icon/stop_slideshow_h.png);
     260  background-position:-532px -28px;
    243261}
    244262
    245263#icon_metadata {
    246   background:url(./../icon/metadata.png);
     264  background-position:-364px 0;
    247265}
    248266#icon_metadata:hover {
    249   background:url(./../icon/metadata_h.png);
     267  background-position:-364px -28px;
    250268}
    251269
    252270#icon_save {
    253   background:url(./../icon/save.png);
     271  background-position:-476px 0;
    254272}
    255273#icon_save:hover {
    256   background:url(./../icon/save_h.png);
     274  background-position:-476px -28px;
    257275}
    258276
    259277#icon_favorite {
    260   background:url(./../icon/favorite.png);
     278  background-position:-168px 0;
    261279}
    262280#icon_favorite:hover {
    263   background:url(./../icon/favorite_h.png);
     281  background-position:-168px -28px;
    264282}
    265283
    266284#icon_del_favorite {
    267   background:url(./../icon/del_favorite.png);
     285  background-position:-196px 0;
    268286}
    269287#icon_del_favorite:hover {
    270   background:url(./../icon/del_favorite_h.png);
     288  background-position:-196px -28px;
    271289}
    272290
    273291#icon_delall_favorite {
    274   background:url(./../icon/del_favorite.png);
     292  background-position:-196px 0;
    275293}
    276294#icon_delall_favorite:hover {
    277   background:url(./../icon/del_favorite_h.png);
     295  background-position:-196px -28px;
    278296}
    279297
    280298#icon_representative {
    281   background:url(./../icon/representative.png);
     299  background-position:-448px 0;
    282300}
    283301#icon_representative:hover {
    284   background:url(./../icon/representative_h.png);
     302  background-position:-448px -28px;
    285303}
    286304
    287305#icon_preferences {
    288   background:url(./../icon/preferences.png);
     306  background-position:-1344px 0;
    289307}
    290308#icon_preferences:hover {
    291   background:url(./../icon/preferences_h.png);
     309  background-position:-1344px -28px;
    292310}
    293311
    294312/* tags.tpl */
    295313#icon_cloud {
    296   background:url(./../icon/tag_cloud.png);
     314  background-position:-588px 0;
    297315}
    298316#icon_cloud:hover {
    299   background:url(./../icon/tag_cloud_h.png);
     317  background-position:-588px -28px;
    300318}
    301319
    302320#icon_tag_letters {
    303   background:url(./../icon/tag_letters.png);
     321  background-position:-616px 0;
    304322}
    305323#icon_tag_letters:hover {
    306   background:url(./../icon/tag_letters_h.png);
     324  background-position:-616px -28px;
    307325}
    308326
    309327/* picture_nav_buttons.tpl */
    310328#icon_last {
    311   background:url(./../icon/last.png);
     329  background-position:-896px 0;
    312330}
    313331#icon_last:hover {
    314   background:url(./../icon/last_h.png);
    315 }
    316 
     332  background-position:-896px -28px;
     333}
     334#icon_last_unactive {
     335  background-position:-896px -56px;
     336  cursor:default;
     337}
    317338#icon_right {
    318   background:url(./../icon/right.png);
     339  background-position:-952px 0;
    319340}
    320341#icon_right:hover {
    321   background:url(./../icon/right_h.png);
    322 }
    323 
     342  background-position:-952px -28px;
     343}
     344#icon_right_unactive {
     345  background-position:-952px -56px;
     346  cursor:default;
     347}
    324348#icon_play {
    325   background:url(./../icon/play.png);
     349  background-position:-1008px 0;
    326350}
    327351#icon_play:hover {
    328   background:url(./../icon/play_h.png);
     352  background-position:-1008px -28px;
    329353}
    330354
    331355#icon_pause {
    332   background:url(./../icon/pause.png);
     356  background-position:-1036px 0;
    333357}
    334358#icon_pause:hover {
    335   background:url(./../icon/pause_h.png);
     359  background-position:-1036px -28px;
    336360}
    337361
    338362#icon_up {
    339   background:url(./../icon/up.png);
     363  background-position:-980px 0;
    340364}
    341365#icon_up:hover {
    342   background:url(./../icon/up_h.png);
     366  background-position:-980px -28px;
    343367}
    344368
    345369#icon_left {
    346   background:url(./../icon/left.png);
     370  background-position:-924px 0;
    347371}
    348372#icon_left:hover {
    349   background:url(./../icon/left_h.png);
    350 }
    351 
     373  background-position:-924px -28px;
     374}
     375#icon_left_unactive {
     376  background-position:-924px -56px;
     377  cursor:default;
     378}
    352379#icon_first {
    353   background:url(./../icon/first.png);
     380  background-position:-868px 0;
    354381}
    355382#icon_first:hover {
    356   background:url(./../icon/first_h.png);
     383  background-position:-868px -28px;
     384}
     385#icon_first_unactive {
     386  background-position:-868px -56px;
     387  cursor:default;
    357388}
    358389
    359390#icon_start_repeat {
    360   background:url(./../icon/start_repeat.png);
     391  background-position:-1092px 0;
    361392}
    362393#icon_start_repeat:hover {
    363   background:url(./../icon/start_repeat_h.png);
     394  background-position:-1092px -28px;
    364395}
    365396
    366397#icon_stop_repeat {
    367   background:url(./../icon/stop_repeat.png);
     398  background-position:-1064px 0;
    368399}
    369400#icon_stop_repeat:hover {
    370   background:url(./../icon/stop_repeat_h.png);
     401  background-position:-1064px -28px;
    371402}
    372403
    373404#icon_dec_period {
    374   background:url(./../icon/dec_period.png);
     405  background-position:-1120px 0;
    375406}
    376407#icon_dec_period:hover {
    377   background:url(./../icon/dec_period_h.png);
    378 }
    379 
     408  background-position:-1120px -28px;
     409}
     410#icon_dec_period_unactive {
     411  background-position:-1120px -56px;
     412  cursor:default;
     413}
    380414#icon_inc_period {
    381   background:url(./../icon/inc_period.png);
     415  background-position:-1148px 0;
    382416}
    383417#icon_inc_period:hover {
    384   background:url(./../icon/inc_period_h.png);
     418  background-position:-1148px -28px;
     419}
     420#icon_inc_period_unactive {
     421  background-position:-1148px -56px;
     422  cursor:default;
    385423}
    386424
     
    388426/* search_rules.tpl */
    389427#icon_exit {
    390   background:url(./../icon/exit.png);
     428  background-position:-840px 0;
    391429}
    392430#icon_exit:hover {
    393   background:url(./../icon/exit_h.png);
     431  background-position:-840px -28px;
    394432}
    395433
    396434/* search.tpl */
    397435#icon_help {
    398   background:url(./../icon/help.png);
     436  background-position:-280px 0;
    399437}
    400438#icon_help:hover {
    401   background:url(./../icon/help_h.png);
     439  background-position:-280px -28px;
     440}
     441
     442/* pseudo icons */
     443span.id_recent {
     444  background-position:-700px -28px;
     445  height: 16px;
     446  width: 16px;
     447  margin: -3px -3px 2px 2px;
     448}
     449span.id_recent_cat {
     450  background-position:-700px -28px;
     451  height: 16px;
     452  width: 16px;
     453  position: relative;
     454  top: -5px;
     455  left:-6px;
     456}
     457span.id_recent_cat_by_child {
     458  background-position:-728px -28px;
     459  height: 16px;
     460  width: 18px;
     461  position: relative;
     462  left:-6px;
     463}
     464span.id_delete {
     465  background-position:-756px 0;
     466  height: 16px;
     467  width: 16px;
     468}
     469span.id_delete:hover {
     470  background-position:-756px -28px;
     471}
     472span.id_edit {
     473  background-position:-784px 0;
     474  height: 16px;
     475  width: 16px;
     476}
     477span.id_edit:hover {
     478  background-position:-784px -28px;
     479}
     480span.id_validate {
     481  background-position:-812px 0;
     482  height: 16px;
     483  width: 16px;
     484}
     485span.id_validate:hover {
     486  background-position:-812px -28px;
     487}
     488
     489div.description span.id_recent_cat {
     490  top: 0px;
     491  left:-4px;
    402492}
    403493
     
    431521  -khtml-border-radius:8px;
    432522  border-radius:8px;
    433        
    434523}
    435524
     
    727816  picture page
    728817*/
     818#thePicturePage #titrePageID {
     819  float: left;
     820  height: 19px;
     821  padding:0 0 0 3px;
     822}
     823#thePicturePage #menuswitcher {
     824  left:0;
     825  top:0;
     826  height: 19px;
     827}
    729828
    730829#theImgHighBg {
     
    739838
    740839#theImgHighCloseButton {
    741   width:28px;
    742   height:28px;
    743   background:transparent url(./../icon/close_high.png) no-repeat scroll 0px 0px;
    744   top:15px;
    745   right:-15px;
     840  background-image:url(./../icon/buttons.png);
     841  background-repeat:no-repeat;
     842  background-position:-1204px 0px;
     843  width:15px;
     844  height:15px;
     845  top:-8px;
     846  right:8px;
    746847  cursor:pointer;
    747848}
     849#theImgHighCloseButton:hover {
     850  background-position:-1204px -28px;
     851}
    748852
    749853#theImgHighZoomButton {
    750   width:28px;
    751   height:28px;
    752   top:45px;
    753   right:-15px;
     854  background-image:url(./../icon/buttons.png);
     855  background-repeat:no-repeat;
     856  width:15px;
     857  height:15px;
     858  top:-8px;
     859  right:28px;
    754860  cursor:pointer;
    755861}
    756862
    757863#theImgHighZoomButton.fit {
    758   background:transparent url(./../icon/zoom_fit_high.png) no-repeat scroll 0px 0px;
     864  background-position:-1232px 0px;
     865}
     866#theImgHighZoomButton.fit:hover {
     867  background-position:-1232px -28px;
    759868}
    760869
    761870#theImgHighZoomButton.full {
    762   background:transparent url(./../icon/zoom_1-1_high.png) no-repeat scroll 0px 0px;
     871  background-position:-1260px 0px;
     872}
     873#theImgHighZoomButton.full:hover {
     874  background-position:-1260px -28px;
    763875}
    764876
     
    807919#navThumbNext, #navThumbPrev {
    808920  top:265px;
    809  
    810921}
    811922
     
    853964}
    854965
     966
    855967.infoTable .label {
    856968  font-weight:bold;
     
    10401152
    10411153/*
     1154 * notification
     1155 */
     1156span.rssFeed {
     1157  display:inline-block;
     1158  width:11px;
     1159  height:14px;
     1160  background-image:url(./../icon/buttons.png);
     1161  background-repeat:no-repeat;
     1162  background-position:-1176px 0;
     1163  margin-right: 4px;
     1164  position: relative;
     1165  top: 1px;
     1166}
     1167
     1168/*
    10421169 vd language switch plugin
    10431170*/
    1044 .menuf ul li a, .menuf ul li a:visited {
     1171div.content ul.categoryActions li.menuf ul li a,
     1172div.content ul.categoryActions li.menuf ul li a:visited {
    10451173  height:27px;
    10461174  line-height:27px;
    1047   margin-top:5px;
    1048 }
    1049 
    1050 .menuf ul.flag-pan .flags:hover, .menuf a img.flags {
     1175}
     1176
     1177div.content ul.categoryActions li.menuf ul.flag-pan .flags:hover, .menuf a img.flags {
    10511178  border:1px solid #303030;
    10521179}
    10531180
    1054 .menuf ul.flag-pan .flags {
     1181div.content ul.categoryActions li.menuf ul.flag-pan .flags {
    10551182  border:1px solid #000000;
    10561183}
    10571184
    1058 ul.flag-pan {
    1059   background:#000000 url(./../images/bp3.jpg) repeat scroll 0 0;
     1185ul.flag-pan {  background:#000000 url(./../images/bp3.jpg) repeat scroll 0 0;
    10601186  border:1px   ;
    1061      
    10621187  border-bottom-color:#666666;
    10631188  border-left-color:#FFFFFF;
    10641189  border-right-color:#666666;
    10651190   border-top-color:#FFFFFF;
    1066  
     1191}
     1192
     1193div.content ul.categoryActions li.menuf ul li a,
     1194div.content ul.categoryActions li.menuf ul li.languageSwitchBoxTitle {
     1195  color:#dedede;
     1196}
     1197div.content ul.categoryActions li.menuf ul li a:hover {
     1198  color:#ffff80;
    10671199}
    10681200
     
    10981230  padding-top:16px;
    10991231}
     1232
     1233
     1234
     1235
    11001236/*
    11011237 * GMaps compatibility
     
    12681404#copyright{   position:fixed;bottom: 0px;
    12691405 }
    1270  #content{ height:100%;
    1271  }
     1406
    12721407
    12731408#divMsg{
  • extensions/gally/gally-cuise/js/crossbrowser.js

    r8576 r12655  
    187187    if (s.bl) $e.css('-moz-border-radius-bottomleft', radius);
    188188    if (s.br) $e.css('-moz-border-radius-bottomright', radius); 
     189  }
     190  //================================================== 
     191  function roundOpera(e, s)
     192  { 
     193    var radius = '' + s.sizex + 'px';
     194    var $e = jQuery(e);
     195    if (s.tl) $e.css('-o-border-top-left-radius', radius);
     196    if (s.tr) $e.css('-o-border-top-right-radius', radius);
     197    if (s.bl) $e.css('-o-border-top-bottom-left-radius', radius);
     198    if (s.br) $e.css('-o-border-top-bottom-right-radius', radius);
    189199  }
    190200//=================================================================
     
    899909        Radius: function (a) {
    900910            if (!jQuery.browser.msie) return;
    901 
     911             
    902912    s= getStyles(a);
    903913           var moz = s['-moz-border-radius'] !== undefined   ;
     
    921931jQuery.fn.extend({
    922932   findPos : function() {
     933 if(jQuery(this).length==0)  return {x:0,y:0};
    923934       obj = jQuery(this).get(0);
    924935       var curleft = obj.offsetLeft || 0;
     
    952963function Get_Tableau(Val_src) {
    953964    Val_src = removeExtraSpace(Val_src)
    954 
    955965    var tableau = Val_src.split(" ");
    956966    tableau = Val_src + " " + Val_src + " " + tableau[0] + " " + tableau[0];
    957 
    958967    tableau = tableau.split(" ");
    959 
    960968    return { Top: tableau[0], Right: tableau[1], Bottom: tableau[2], Left: tableau[3] };
    961969}
     
    10371045*/
    10381046function Get_style(borderStyle_src) {
    1039 
     1047 strokeStyle=[];
    10401048    v1 = Get_Tableau(borderStyle_src);
    10411049
     
    10671075//=============================================================
    10681076function Get_Color(Color_src) {
    1069 
     1077strokeColor=[i1];
     1078if(typeof translateColor=="undefined") return strokeColor;
    10701079    v1 = Get_Tableau(Color_src);
    10711080    for (i1 in v1) {
     
    10791088//=============================================================
    10801089function Get_stokeWeight(Weight_src) {
    1081 
     1090strokeWeight=[];
    10821091    v1 = Get_Tableau(Weight_src);
    10831092    stroked = false;
     
    11091118            default:
    11101119
    1111                 strokeWeight[i1] = Weight;
     1120           if( Weight!="")    strokeWeight[i1] = Weight;
    11121121                break;
    11131122        }
     
    11541163    }
    11551164    return propriete;
    1156 }
     1165  }
     1166  function removeExtraSpace(str) {
     1167    str = str.replace(/[\s]{2,}/g, " "); // Enlève les espaces doubles, triples, etc.
     1168    str = str.replace(/^[\s]/, ""); // Enlève les espaces au début
     1169    str = str.replace(/[\s]$/, ""); // Enlève les espaces à la fin
     1170    return str;
     1171  }
  • extensions/gally/gally-cuise/mail-css.tpl

    r6471 r12655  
    11{literal}
    2 body { background-color:#000; color:#fff;}
     2body { background-color:#080808; color:#fff;}
    33#copyright { font-size:8px; }
    44h2 { background-color: #303030;}
Note: See TracChangeset for help on using the changeset viewer.