- Timestamp:
- Jan 26, 2014, 12:12:34 AM (10 years ago)
- Location:
- trunk/themes/elegant
- Files:
-
- 2 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/themes/elegant/local_head.tpl
r23251 r26971 1 {html_style} 2 .browsePath ul li span a:before, .browsePath ul li.last:before 3 {ldelim} 4 content: "{$LEVEL_SEPARATOR}"; 5 } 6 {/html_style} 1 7 {footer_script} 2 8 var p_main_menu = "{$elegant.p_main_menu}", p_pict_descr = "{$elegant.p_pict_descr}", p_pict_comment = "{$elegant.p_pict_comment}"; 9 jQuery(document).ready(function() 10 { 11 jQuery(".browsePath").jBreadCrumb(); 12 }) 3 13 {/footer_script} 4 14 {if $BODY_ID=='thePicturePage'} … … 7 17 {combine_script id='elegant.scripts' load='footer' require='jquery' path='themes/elegant/scripts.js'} 8 18 {/if} 9 <!--[if lt IE 8]> 19 {combine_script id='jquery.jBreadCrumb' load='footer' require='jquery' path='themes/elegant/js/jquery.jBreadCrumb.js'} 20 21 22 <!--[if lt IE 8]> 10 23 <link rel="stylesheet" type="text/css" href="{$ROOT_URL}themes/elegant/fix-ie7.css"> 11 24 <![endif]--> -
trunk/themes/elegant/theme.css
r26086 r26971 274 274 #the_page .content .stuffs { margin: 0!important} 275 275 .categoryActions .theme_menuf { display: none;} 276 277 /* BreadCrumb */ 278 .browsePath 279 { 280 margin: 0; 281 padding: 0; 282 float: left; 283 display: block; 284 height: 26px; 285 overflow: hidden; 286 width: 990px; 287 padding:5px; 288 } 289 .browsePath ul 290 { 291 margin: 0; 292 padding: 0; 293 height: 26px; 294 display: block; 295 } 296 .browsePath ul li 297 { 298 display: block; 299 float: left; 300 position: relative; 301 height: 26px; 302 overflow: hidden; 303 line-height: 26px; 304 margin: 0px; 305 font-size: .9167em; 306 } 307 .browsePath ul li a:before, .browsePath ul li.last:before 308 { 309 content: "/"; 310 display: inline-block; 311 margin-left: 0.2em; 312 margin-right: 0.2em; 313 text-align: center; 314 text-decoration: inherit; 315 text-transform: none; 316 width: 1em; 317 } 318 .browsePath ul li div.chevronOverlay 319 { 320 position: absolute; 321 right: 0; 322 top: 0; 323 z-index: 2; 324 } 325 .browsePath ul li span 326 { 327 display: block; 328 overflow: hidden; 329 } 330 .browsePath ul li a 331 { 332 display: block; 333 position: relative; 334 height: 26px; 335 line-height: 26px; 336 overflow: hidden; 337 float: left; 338 } 339 .browsePath ul li.first a 340 { 341 height: 26px !important; 342 text-indent:-1000em; 343 width:26px; 344 padding: 0; 345 margin: 0; 346 overflow: hidden; 347 background:url(icon/icons_sprite.png) no-repeat -26px 0; 348 } 349 .browsePath ul li.first a:hover 350 { 351 background-image:url(icon/icons_sprite-hover.png); 352 } 353 .browsePath ul li.last 354 { 355 background: none; 356 margin-right: 0; 357 padding-right: 0; 358 } -
trunk/themes/elegant/themeconf.inc.php
r26638 r26971 16 16 global $conf; 17 17 include(PHPWG_THEMES_PATH.'elegant/admin/upgrade.inc.php'); 18 18 add_event_handler('loc_begin_picture', 'level_separator_elegant'); 19 function level_separator_elegant() 20 { 21 global $template; 22 $template->assign( 'LEVEL_SEPARATOR', '#&$' ); 23 } 19 24 add_event_handler('init', 'set_config_values_elegant'); 20 25 function set_config_values_elegant()
Note: See TracChangeset
for help on using the changeset viewer.