Changeset 2409 for trunk/template/yoga
- Timestamp:
- Jul 1, 2008, 4:09:21 AM (16 years ago)
- Location:
- trunk/template/yoga
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/template/yoga/menubar.css
r2356 r2409 1 1 #menubar { 2 float: left; 3 margin: 0 0 10px 1em; 4 padding: 0; 5 /* Fix against the "double margin of a floated item" IE bug */ 6 /* Damned: that screws up top_navbar in opera 7.54/Linux! */ 7 display: inline; 8 text-align: left; /* follow-up of the "be nice to IE5" rule */ 2 float: left; 3 margin: 0 0 10px 1em; 4 padding: 0; 5 display: inline; 6 text-align: left; /* follow-up of the "be nice to IE5" rule */ 9 7 } 10 8 11 9 #menubar DL, #menubar DT, #menubar DD { 12 10 margin: 0; padding: 0; display: block; 13 11 } 14 12 15 13 #menubar .button { 16 17 18 19 20 21 22 14 margin: 0 2px; 15 width: auto; 16 padding: 0; 17 text-indent: 0; 18 list-style: none; 19 text-align: center; 20 float: right; 23 21 } 24 22 25 23 /* H2 properties copied here */ 26 24 #menubar DT { 27 font-weight: bold; /* default for h2 */ 28 29 30 31 25 font-weight: bold; 26 margin: 0; 27 padding: 5px 5px 5px 5px; 28 font-size: 120%; 29 text-align: center; 32 30 } 33 31 … … 37 35 #menubar P, /* ooh, careful... */ 38 36 #menubar .totalImages { 39 40 37 font-size: 92%; 38 margin: 10px 0 10px 10px; 41 39 } 42 40 #menubar UL { 43 44 45 41 list-style-type: square; 42 list-style-position: inside; 43 padding: 0 0 0 2px; 46 44 } 47 45 #menubar UL UL { 48 49 50 46 font-size: 100%; 47 margin-top: 0; 48 margin-bottom: 0; 51 49 } 52 50 53 51 #menubar LI.selected A { 54 52 font-weight: bold; 55 53 } 56 54 57 55 #menubar LI.selected LI A { 58 56 font-weight: normal; 59 57 } 60 58 … … 65 63 66 64 #menubar HR { 67 68 69 65 display: block; 66 margin: 10px auto; 67 width: 90%; 70 68 } 71 69 #menubar INPUT { 72 70 text-indent: 2px; 73 71 } 74 72 75 73 /* quickconnect form */ 76 74 FORM#quickconnect { 77 78 75 margin: 0; 76 padding: 5px; 79 77 } 80 78 81 79 FORM#quickconnect FIELDSET { 82 83 80 margin: 0; 81 padding: 0 0 0.5em 0; 84 82 } 85 83 86 84 FORM#quickconnect P { 87 88 89 90 85 margin-left: 0; 86 font-size: 100%; 87 float: left; 88 clear: left; 91 89 } 92 90 93 91 FORM#quickconnect P INPUT { 94 92 margin: 0; 95 93 } 96 94 97 95 FORM#quickconnect UL.actions { 98 99 100 101 96 display: inline; 97 float: right; 98 padding: 0; 99 text-align: right; /* Opera 7.5 */ 102 100 } 103 101 FORM#quickconnect FIELDSET>UL.actions { 104 102 width: 40%; /* Opera 7.5 cannot find why width:auto fails :-( */ 105 103 } 106 104 … … 108 106 FORM#quickconnect P, 109 107 FORM#quickconnect LABEL { 110 108 padding: 0 0.5em 0 0.5em; 111 109 } 112 110 113 111 FORM#quickconnect LABEL { 114 115 116 112 margin:0; 113 width: 100%; 114 box-sizing: border-box; /* CSS3 */ 117 115 } 118 116 119 117 FORM#quickconnect INPUT[type=text], 120 118 FORM#quickconnect INPUT[type=password] { 121 119 width: 100%; /* mozilla can handle 100% */ 122 120 } 123 /* same as above for IE with inputfix.htc */124 /* unfortunately IE doesn't handle that correctly */ 125 /*so you should set a width in em in local_layout.css */121 /* same as above for IE with inputfix.htc 122 unfortunately IE doesn't handle that correctly 123 so you should set a width in em in local_layout.css */ 126 124 /*FORM#quickconnect INPUT.text, 127 125 FORM#quickconnect INPUT.password { … … 130 128 131 129 FORM#quicksearch { 132 133 130 margin-top: 4px; 131 margin-bottom: 1px; 134 132 } 135 input#qsearchInput { 136 133 INPUT#qsearchInput { 134 width: 90%; 137 135 } 138 136 #menubar #mbMenu p { margin: 0px; padding: 0px; } 139 137 140 138 #menubar #menuTagCloud { 141 142 139 text-align: center; 140 margin: 5px 0; 143 141 } 144 142 145 143 #menubar #menuTagCloud LI 146 144 { 147 148 145 display: inline; 146 white-space: nowrap; /* No line break in the LI but Opera set nowrap to */ 149 147 } -
trunk/template/yoga/menubar.tpl
r2325 r2409 22 22 23 23 {if isset($U_START_FILTER)} 24 <a href="{$U_START_FILTER}" title="{'start_filter_hint'|@translate}" rel="nofollow"><img src="{$ROOT_URL}{$themeconf.icon_dir}/start_filter.png" class="button" alt=" {'start_filter_hint'|@translate}"></a>24 <a href="{$U_START_FILTER}" title="{'start_filter_hint'|@translate}" rel="nofollow"><img src="{$ROOT_URL}{$themeconf.icon_dir}/start_filter.png" class="button" alt="start filter"></a> 25 25 {/if} 26 26 {if isset($U_STOP_FILTER)} 27 <a href="{$U_STOP_FILTER}" title="{'stop_filter_hint'|@translate}"><img src="{$ROOT_URL}{$themeconf.icon_dir}/stop_filter.png" class="button" alt=" {'stop_filter_hint'|@translate}"></a>27 <a href="{$U_STOP_FILTER}" title="{'stop_filter_hint'|@translate}"><img src="{$ROOT_URL}{$themeconf.icon_dir}/stop_filter.png" class="button" alt="stop filter"></a> 28 28 {/if} 29 29 … … 49 49 {foreach from=$related_tags item=tag} 50 50 <li> 51 {if !empty($tag. add) }52 <a href="{$tag. add.URL}"53 title="{$pwg->l10n_dec('%d element are also linked to current tags', '%d elements are also linked to current tags', $tag. add.COUNTER)}"51 {if !empty($tag.U_ADD) } 52 <a href="{$tag.U_ADD}" 53 title="{$pwg->l10n_dec('%d element are also linked to current tags', '%d elements are also linked to current tags', $tag.counter)}" 54 54 rel="nofollow"> 55 55 <img src="{$ROOT_URL}{$themeconf.icon_dir}/add_tag.png" alt="+" /> 56 56 </a> 57 57 {/if} 58 <a href="{$tag.U _TAG}" class="{$tag.CLASS}" title="{'See elements linked to this tag only'|@translate}">{$tag.NAME}</a>58 <a href="{$tag.URL}" class="tagLevel{$tag.level}" title="{'See elements linked to this tag only'|@translate}">{$tag.name}</a> 59 59 </li> 60 60 {/foreach} -
trunk/template/yoga/tags.tpl
r2396 r2409 21 21 <ul id="fullTagCloud"> 22 22 {foreach from=$tags item=tag} 23 <li><a href="{$tag.URL}" class=" {$tag.CLASS}" title="{$tag.TITLE}">{$tag.NAME}</a></li>23 <li><a href="{$tag.URL}" class="tagLevel{$tag.level}" title="{$tag.counter}">{$tag.name}</a></li> 24 24 {/foreach} 25 25 </ul> … … 36 36 {foreach from=$letter.tags item=tag} 37 37 <tr class="tagLine"> 38 <td><a href="{$tag.URL}">{$tag. NAME}</a></td>39 <td class="nbEntries">{$pwg->l10n_dec('%d element', '%d elements', $tag. COUNTER)}</td>38 <td><a href="{$tag.URL}">{$tag.name}</a></td> 39 <td class="nbEntries">{$pwg->l10n_dec('%d element', '%d elements', $tag.counter)}</td> 40 40 </tr> 41 41 {/foreach}
Note: See TracChangeset
for help on using the changeset viewer.