Changeset 12655
- Timestamp:
- Nov 22, 2011, 1:18:14 PM (13 years ago)
- Location:
- extensions/gally/gally-cuise
- Files:
-
- 25 added
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/gally/gally-cuise/css/theme.css
r10780 r12655 77 77 78 78 a.button, a.navButton { 79 display:block;80 79 display:inline-block; 81 80 /*display:table-cell;*/ … … 84 83 } 85 84 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;*/ 85 a.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 { 98 92 width:28px; 99 93 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; 101 105 } 102 106 #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 */ 111 133 112 134 #icon_caddie { 113 background :url(./../icon/caddie_add.png);135 background-position:0px 0; 114 136 } 115 137 #icon_caddie:hover { 116 background :url(./../icon/caddie_add_h.png);138 background-position:0px -28px; 117 139 } 118 140 119 141 #icon_category_edit { 120 background :url(./../icon/category_edit.png);142 background-position:-84px 0; 121 143 } 122 144 #icon_category_edit:hover { 123 background :url(./../icon/category_edit_h.png);145 background-position:-84px -28px; 124 146 } 125 147 126 148 #icon_search_rules { 127 background :url(./../icon/search_rules.png);149 background-position:-504px 0; 128 150 } 129 151 #icon_search_rules:hover { 130 background :url(./../icon/search_rules_h.png);152 background-position:-504px -28px; 131 153 } 132 154 133 155 #icon_start_slideshow { 134 background :url(./../icon/start_slideshow.png);156 background-position:-560px 0; 135 157 } 136 158 #icon_start_slideshow:hover { 137 background :url(./../icon/start_slideshow_h.png);159 background-position:-560px -28px; 138 160 } 139 161 140 162 #icon_flat { 141 background :url(./../icon/flat.png);163 background-position:-252px 0; 142 164 } 143 165 #icon_flat:hover { 144 background :url(./../icon/flat_h.png);166 background-position:-252px -28px; 145 167 } 146 168 147 169 #icon_normal_mode { 148 background :url(./../icon/normal_mode.png);170 background-position:-392px 0; 149 171 } 150 172 #icon_normal_mode:hover { 151 background :url(./../icon/normal_mode_h.png);173 background-position:-392px -28px; 152 174 } 153 175 154 176 #icon_calendar { 155 background :url(./../icon/calendar.png);177 background-position:-28px 0; 156 178 } 157 179 #icon_calendar:hover { 158 background :url(./../icon/calendar_h.png);180 background-position:-28px -28px; 159 181 } 160 182 161 183 #icon_calendar_created { 162 background :url(./../icon/calendar_created.png);184 background-position:-56px 0; 163 185 } 164 186 #icon_calendar_created:hover { 165 background :url(./../icon/calendar_created_h.png);187 background-position:-56px -28px; 166 188 } 167 189 … … 177 199 /* upload.tpl */ 178 200 #icon_home { 179 background :url(./../icon/home.png);201 background-position:-308px 0; 180 202 } 181 203 #icon_home:hover { 182 background :url(./../icon/home_h.png);204 background-position:-308px -28px; 183 205 } 184 206 … … 186 208 /* menubar_identification.tpl */ 187 209 #icon_lost_password { 188 background :url(./../icon/lost_password.png);210 background-position:-336px 0; 189 211 } 190 212 #icon_lost_password:hover { 191 background :url(./../icon/lost_password_h.png);213 background-position:-336px -28px; 192 214 } 193 215 194 216 #icon_register, #icon_register2, #icon_register3 { 195 background :url(./../icon/register.png);217 background-position:-420px 0; 196 218 } 197 219 #icon_register:hover, #icon_register2:hover, #icon_register3:hover { 198 background :url(./../icon/register_h.png);220 background-position:-420px -28px; 199 221 } 200 222 201 223 #icon_lost_password, #icon_lost_password2, #icon_lost_password3 { 202 background :url(./../icon/lost_password.png);224 background-position:-336px 0; 203 225 } 204 226 #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; 206 228 } 207 229 208 230 /* menubar_categories.tpl */ 209 231 #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; 211 236 } 212 237 #icon_start_filter:hover { 213 background :url(./../icon/start_filter_h.png);238 background-position:-1288px -28px; 214 239 } 215 240 216 241 #icon_stop_filter { 217 background :url(./../icon/stop_filter.png);242 background-position:-1316px 0px; 218 243 } 219 244 #icon_stop_filter:hover { 220 background :url(./../icon/stop_filter_h.png);245 background-position:-1316px -28px; 221 246 } 222 247 223 248 /* picture.tpl */ 224 249 #icon_high_res { 225 background :url(./../icon/display_high_res.png);250 background-position:-224px 0; 226 251 } 227 252 #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; 236 254 } 237 255 238 256 #icon_stop_slideshow { 239 background :url(./../icon/stop_slideshow.png);257 background-position:-532px 0; 240 258 } 241 259 #icon_stop_slideshow:hover { 242 background :url(./../icon/stop_slideshow_h.png);260 background-position:-532px -28px; 243 261 } 244 262 245 263 #icon_metadata { 246 background :url(./../icon/metadata.png);264 background-position:-364px 0; 247 265 } 248 266 #icon_metadata:hover { 249 background :url(./../icon/metadata_h.png);267 background-position:-364px -28px; 250 268 } 251 269 252 270 #icon_save { 253 background :url(./../icon/save.png);271 background-position:-476px 0; 254 272 } 255 273 #icon_save:hover { 256 background :url(./../icon/save_h.png);274 background-position:-476px -28px; 257 275 } 258 276 259 277 #icon_favorite { 260 background :url(./../icon/favorite.png);278 background-position:-168px 0; 261 279 } 262 280 #icon_favorite:hover { 263 background :url(./../icon/favorite_h.png);281 background-position:-168px -28px; 264 282 } 265 283 266 284 #icon_del_favorite { 267 background :url(./../icon/del_favorite.png);285 background-position:-196px 0; 268 286 } 269 287 #icon_del_favorite:hover { 270 background :url(./../icon/del_favorite_h.png);288 background-position:-196px -28px; 271 289 } 272 290 273 291 #icon_delall_favorite { 274 background :url(./../icon/del_favorite.png);292 background-position:-196px 0; 275 293 } 276 294 #icon_delall_favorite:hover { 277 background :url(./../icon/del_favorite_h.png);295 background-position:-196px -28px; 278 296 } 279 297 280 298 #icon_representative { 281 background :url(./../icon/representative.png);299 background-position:-448px 0; 282 300 } 283 301 #icon_representative:hover { 284 background :url(./../icon/representative_h.png);302 background-position:-448px -28px; 285 303 } 286 304 287 305 #icon_preferences { 288 background :url(./../icon/preferences.png);306 background-position:-1344px 0; 289 307 } 290 308 #icon_preferences:hover { 291 background :url(./../icon/preferences_h.png);309 background-position:-1344px -28px; 292 310 } 293 311 294 312 /* tags.tpl */ 295 313 #icon_cloud { 296 background :url(./../icon/tag_cloud.png);314 background-position:-588px 0; 297 315 } 298 316 #icon_cloud:hover { 299 background :url(./../icon/tag_cloud_h.png);317 background-position:-588px -28px; 300 318 } 301 319 302 320 #icon_tag_letters { 303 background :url(./../icon/tag_letters.png);321 background-position:-616px 0; 304 322 } 305 323 #icon_tag_letters:hover { 306 background :url(./../icon/tag_letters_h.png);324 background-position:-616px -28px; 307 325 } 308 326 309 327 /* picture_nav_buttons.tpl */ 310 328 #icon_last { 311 background :url(./../icon/last.png);329 background-position:-896px 0; 312 330 } 313 331 #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 } 317 338 #icon_right { 318 background :url(./../icon/right.png);339 background-position:-952px 0; 319 340 } 320 341 #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 } 324 348 #icon_play { 325 background :url(./../icon/play.png);349 background-position:-1008px 0; 326 350 } 327 351 #icon_play:hover { 328 background :url(./../icon/play_h.png);352 background-position:-1008px -28px; 329 353 } 330 354 331 355 #icon_pause { 332 background :url(./../icon/pause.png);356 background-position:-1036px 0; 333 357 } 334 358 #icon_pause:hover { 335 background :url(./../icon/pause_h.png);359 background-position:-1036px -28px; 336 360 } 337 361 338 362 #icon_up { 339 background :url(./../icon/up.png);363 background-position:-980px 0; 340 364 } 341 365 #icon_up:hover { 342 background :url(./../icon/up_h.png);366 background-position:-980px -28px; 343 367 } 344 368 345 369 #icon_left { 346 background :url(./../icon/left.png);370 background-position:-924px 0; 347 371 } 348 372 #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 } 352 379 #icon_first { 353 background :url(./../icon/first.png);380 background-position:-868px 0; 354 381 } 355 382 #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; 357 388 } 358 389 359 390 #icon_start_repeat { 360 background :url(./../icon/start_repeat.png);391 background-position:-1092px 0; 361 392 } 362 393 #icon_start_repeat:hover { 363 background :url(./../icon/start_repeat_h.png);394 background-position:-1092px -28px; 364 395 } 365 396 366 397 #icon_stop_repeat { 367 background :url(./../icon/stop_repeat.png);398 background-position:-1064px 0; 368 399 } 369 400 #icon_stop_repeat:hover { 370 background :url(./../icon/stop_repeat_h.png);401 background-position:-1064px -28px; 371 402 } 372 403 373 404 #icon_dec_period { 374 background :url(./../icon/dec_period.png);405 background-position:-1120px 0; 375 406 } 376 407 #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 } 380 414 #icon_inc_period { 381 background :url(./../icon/inc_period.png);415 background-position:-1148px 0; 382 416 } 383 417 #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; 385 423 } 386 424 … … 388 426 /* search_rules.tpl */ 389 427 #icon_exit { 390 background :url(./../icon/exit.png);428 background-position:-840px 0; 391 429 } 392 430 #icon_exit:hover { 393 background :url(./../icon/exit_h.png);431 background-position:-840px -28px; 394 432 } 395 433 396 434 /* search.tpl */ 397 435 #icon_help { 398 background :url(./../icon/help.png);436 background-position:-280px 0; 399 437 } 400 438 #icon_help:hover { 401 background:url(./../icon/help_h.png); 439 background-position:-280px -28px; 440 } 441 442 /* pseudo icons */ 443 span.id_recent { 444 background-position:-700px -28px; 445 height: 16px; 446 width: 16px; 447 margin: -3px -3px 2px 2px; 448 } 449 span.id_recent_cat { 450 background-position:-700px -28px; 451 height: 16px; 452 width: 16px; 453 position: relative; 454 top: -5px; 455 left:-6px; 456 } 457 span.id_recent_cat_by_child { 458 background-position:-728px -28px; 459 height: 16px; 460 width: 18px; 461 position: relative; 462 left:-6px; 463 } 464 span.id_delete { 465 background-position:-756px 0; 466 height: 16px; 467 width: 16px; 468 } 469 span.id_delete:hover { 470 background-position:-756px -28px; 471 } 472 span.id_edit { 473 background-position:-784px 0; 474 height: 16px; 475 width: 16px; 476 } 477 span.id_edit:hover { 478 background-position:-784px -28px; 479 } 480 span.id_validate { 481 background-position:-812px 0; 482 height: 16px; 483 width: 16px; 484 } 485 span.id_validate:hover { 486 background-position:-812px -28px; 487 } 488 489 div.description span.id_recent_cat { 490 top: 0px; 491 left:-4px; 402 492 } 403 493 … … 431 521 -khtml-border-radius:8px; 432 522 border-radius:8px; 433 434 523 } 435 524 … … 727 816 picture page 728 817 */ 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 } 729 828 730 829 #theImgHighBg { … … 739 838 740 839 #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; 746 847 cursor:pointer; 747 848 } 849 #theImgHighCloseButton:hover { 850 background-position:-1204px -28px; 851 } 748 852 749 853 #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; 754 860 cursor:pointer; 755 861 } 756 862 757 863 #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; 759 868 } 760 869 761 870 #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; 763 875 } 764 876 … … 807 919 #navThumbNext, #navThumbPrev { 808 920 top:265px; 809 810 921 } 811 922 … … 853 964 } 854 965 966 855 967 .infoTable .label { 856 968 font-weight:bold; … … 1040 1152 1041 1153 /* 1154 * notification 1155 */ 1156 span.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 /* 1042 1169 vd language switch plugin 1043 1170 */ 1044 .menuf ul li a, .menuf ul li a:visited { 1171 div.content ul.categoryActions li.menuf ul li a, 1172 div.content ul.categoryActions li.menuf ul li a:visited { 1045 1173 height:27px; 1046 1174 line-height:27px; 1047 margin-top:5px; 1048 } 1049 1050 .menuf ul.flag-pan .flags:hover, .menuf a img.flags { 1175 } 1176 1177 div.content ul.categoryActions li.menuf ul.flag-pan .flags:hover, .menuf a img.flags { 1051 1178 border:1px solid #303030; 1052 1179 } 1053 1180 1054 .menuf ul.flag-pan .flags {1181 div.content ul.categoryActions li.menuf ul.flag-pan .flags { 1055 1182 border:1px solid #000000; 1056 1183 } 1057 1184 1058 ul.flag-pan { 1059 background:#000000 url(./../images/bp3.jpg) repeat scroll 0 0; 1185 ul.flag-pan { background:#000000 url(./../images/bp3.jpg) repeat scroll 0 0; 1060 1186 border:1px ; 1061 1062 1187 border-bottom-color:#666666; 1063 1188 border-left-color:#FFFFFF; 1064 1189 border-right-color:#666666; 1065 1190 border-top-color:#FFFFFF; 1066 1191 } 1192 1193 div.content ul.categoryActions li.menuf ul li a, 1194 div.content ul.categoryActions li.menuf ul li.languageSwitchBoxTitle { 1195 color:#dedede; 1196 } 1197 div.content ul.categoryActions li.menuf ul li a:hover { 1198 color:#ffff80; 1067 1199 } 1068 1200 … … 1098 1230 padding-top:16px; 1099 1231 } 1232 1233 1234 1235 1100 1236 /* 1101 1237 * GMaps compatibility … … 1268 1404 #copyright{ position:fixed;bottom: 0px; 1269 1405 } 1270 #content{ height:100%; 1271 } 1406 1272 1407 1273 1408 #divMsg{ -
extensions/gally/gally-cuise/js/crossbrowser.js
r8576 r12655 187 187 if (s.bl) $e.css('-moz-border-radius-bottomleft', radius); 188 188 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); 189 199 } 190 200 //================================================================= … … 899 909 Radius: function (a) { 900 910 if (!jQuery.browser.msie) return; 901 911 902 912 s= getStyles(a); 903 913 var moz = s['-moz-border-radius'] !== undefined ; … … 921 931 jQuery.fn.extend({ 922 932 findPos : function() { 933 if(jQuery(this).length==0) return {x:0,y:0}; 923 934 obj = jQuery(this).get(0); 924 935 var curleft = obj.offsetLeft || 0; … … 952 963 function Get_Tableau(Val_src) { 953 964 Val_src = removeExtraSpace(Val_src) 954 955 965 var tableau = Val_src.split(" "); 956 966 tableau = Val_src + " " + Val_src + " " + tableau[0] + " " + tableau[0]; 957 958 967 tableau = tableau.split(" "); 959 960 968 return { Top: tableau[0], Right: tableau[1], Bottom: tableau[2], Left: tableau[3] }; 961 969 } … … 1037 1045 */ 1038 1046 function Get_style(borderStyle_src) { 1039 1047 strokeStyle=[]; 1040 1048 v1 = Get_Tableau(borderStyle_src); 1041 1049 … … 1067 1075 //============================================================= 1068 1076 function Get_Color(Color_src) { 1069 1077 strokeColor=[i1]; 1078 if(typeof translateColor=="undefined") return strokeColor; 1070 1079 v1 = Get_Tableau(Color_src); 1071 1080 for (i1 in v1) { … … 1079 1088 //============================================================= 1080 1089 function Get_stokeWeight(Weight_src) { 1081 1090 strokeWeight=[]; 1082 1091 v1 = Get_Tableau(Weight_src); 1083 1092 stroked = false; … … 1109 1118 default: 1110 1119 1111 1120 if( Weight!="") strokeWeight[i1] = Weight; 1112 1121 break; 1113 1122 } … … 1154 1163 } 1155 1164 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 1 1 {literal} 2 body { background-color:#0 00; color:#fff;}2 body { background-color:#080808; color:#fff;} 3 3 #copyright { font-size:8px; } 4 4 h2 { background-color: #303030;}
Note: See TracChangeset
for help on using the changeset viewer.