Changeset 15015
- Timestamp:
- 03/03/10 16:04:21 (2 years ago)
- Location:
- trunk
- Files:
-
- 3 added
- 6 edited
-
Xul_Core/content/scenariCore/widgets/matrix/matrix.xbl.css (modified) (5 diffs)
-
Xul_Core/content/scenariCore/widgets/matrix/matrix.xbl.xml (modified) (1 diff)
-
Xul_Core/content/scenariCore/widgets/matrix/slotContents.xbl.xml (modified) (1 diff)
-
Xul_Wsp/content/scenariWsp/views/contentView/contentView.xbl.xml (modified) (2 diffs)
-
Xul_Wsp/content/scenariWsp/views/treeItemnetView/img (added)
-
Xul_Wsp/content/scenariWsp/views/treeItemnetView/img/asc-button.png (added)
-
Xul_Wsp/content/scenariWsp/views/treeItemnetView/img/desc-button.png (added)
-
Xul_Wsp/content/scenariWsp/views/treeItemnetView/treeItemnetView.xbl.css (modified) (1 diff)
-
Xul_Wsp/content/scenariWsp/views/treeItemnetView/treeItemnetView.xbl.xml (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Xul_Core/content/scenariCore/widgets/matrix/matrix.xbl.css
r15007 r15015 120 120 } 121 121 122 /* ======================== slotTabs ======================== */ 122 123 slotTab{ 123 124 -moz-binding: url(chrome://scenariCore/content/widgets/matrix/matrix.xbl.xml#slotTab); … … 127 128 } 128 129 129 /* ======================== slotTabs ======================== */130 130 slotTab, 131 131 slotTabContent{ … … 208 208 } 209 209 slotTabContent *[anonid=tabToolBar]{ 210 padding: 1px 2px 1px 2px; 210 padding: 1px 2px 1px 2px; 211 margin: 0px 0px 0px 23px; 211 212 -moz-border-radius-bottomleft: 10px; 212 213 opacity:0.4; … … 243 244 } 244 245 245 246 247 246 /* ======================== closeBtn ======================== */ 248 247 toolbarbutton.closeBtn { … … 255 254 height: 16px; 256 255 } 257 slotTabContent.selectedTab toolbarbutton.closeBtn{ 256 slotTab.selectedTab toolbarbutton.closeBtn, 257 slotTabContent.selectedTab toolbarbutton.closeBtn { 258 258 -moz-image-region: rect(0px, 16px, 16px, 0px); 259 visibility:visible; 260 } 261 toolbarbutton.closeBtn:hover, 262 slotTabContent.selectedTab toolbarbutton.closeBtn:hover { 263 -moz-image-region: rect(0px, 32px, 16px, 16px); 264 visibility:visible; 265 } 266 toolbarbutton.closeBtn:active, 267 slotTabContent.selectedTab toolbarbutton.closeBtn:active { 268 -moz-image-region: rect(0px, 48px, 16px, 32px); 269 visibility:visible; 259 } 260 toolbarbutton.closeBtn:hover { 261 -moz-image-region: rect(0px, 32px, 16px, 16px) !important; 262 } 263 toolbarbutton.closeBtn:active { 264 -moz-image-region: rect(0px, 48px, 16px, 32px) !important; 270 265 } 271 266 -
trunk/Xul_Core/content/scenariCore/widgets/matrix/matrix.xbl.xml
r15007 r15015 639 639 <xul:label class="tabLabelTxt small-margin" xbl:inherits="value=label"/> 640 640 </xul:hbox> 641 <xul:toolbarbutton anonid="closeBtn" class="closeBtn" hidden="true" xbl:inherits="hidden=notClosable" oncommand="document.getBindingParent(this).closeTab();" />641 <xul:toolbarbutton anonid="closeBtn" class="closeBtn" hidden="true" xbl:inherits="hidden=notClosable" oncommand="document.getBindingParent(this).closeTab();" tooltiptext="Fermer cet onglet"/> 642 642 </children> 643 643 </content> -
trunk/Xul_Core/content/scenariCore/widgets/matrix/slotContents.xbl.xml
r15007 r15015 112 112 <xul:hbox class="tabTools" pack="end" align="top"> 113 113 <xul:hbox anonid="tabToolBar"> 114 <xul:toolbarbutton anonid="optionBtn" class="optionBtn" onmousedown="document.getBindingParent(this).showOptionMnu(this)" />115 <xul:toolbarbutton anonid="closeBtn" class="closeBtn" oncommand="document.getBindingParent(this).closeTab();" />114 <xul:toolbarbutton anonid="optionBtn" class="optionBtn" onmousedown="document.getBindingParent(this).showOptionMnu(this)" tooltiptext="Options..."/> 115 <xul:toolbarbutton anonid="closeBtn" class="closeBtn" oncommand="document.getBindingParent(this).closeTab();" tooltiptext="Fermer cet onglet"/> 116 116 </xul:hbox> 117 117 </xul:hbox> 118 118 <xul:popup anonid="optionMnu"> 119 <xul:menuitem disabled="true" anonid="ctxMenu.refresh" label="Actualiser" oncommand=""/> 120 <xul:menuitem disabled="true" label="Recharger cet onglet" oncommand=""/> 119 <xul:menuitem disabled="true" anonid="optionMnu.refresh" label="Recharger cet onglet" oncommand="" tooltiptext=""/> 121 120 <xul:menuseparator/> 122 <xul:menuitem disabled="true" anonid="mnuCloseTab" label="Fermer cet onglet" oncommand=""/>123 <xul:menuitem disabled="true" anonid=" mnuCloseOtherTabs" label="Fermer les autres onglets" oncommand=""/>124 <xul:menuitem disabled="true" anonid=" mnuCloseAllTab" label="Fermer tous les onglets" oncommand=""/>121 <xul:menuitem anonid="optionMnu.closeTab" label="Fermer cet onglet" oncommand="document.getBindingParent(this).closeTab();" tooltiptext=""/> 122 <xul:menuitem disabled="true" anonid="optionMnu.CloseOtherTabs" label="Fermer les autres onglets" oncommand="" tooltiptext=""/> 123 <xul:menuitem disabled="true" anonid="optionMnu.closeAllTab" label="Fermer tous les onglets" oncommand="" tooltiptext=""/> 125 124 </xul:popup> 126 125 </xul:stack> -
trunk/Xul_Wsp/content/scenariWsp/views/contentView/contentView.xbl.xml
r14893 r15015 282 282 if(vIsUriVisible) { 283 283 pView.setAttribute("label", src.getLeafFromUri(vShortDesc.srcUri)); 284 pView.setAttribute("longDesc", vShortDesc.itTi || "");284 pView.setAttribute("longDesc", (vShortDesc.itTi ? vShortDesc.itTi+" - " : "") + vShortDesc.srcUri); 285 285 } else { 286 286 var vPack = packMgr.getPack(vShortDesc.itPack); 287 287 if(vShortDesc.itTi) { 288 288 pView.setAttribute("label", vShortDesc.itTi); 289 pView.setAttribute("longDesc", vPack.getTitle(v Item.itModel));289 pView.setAttribute("longDesc", vPack.getTitle(vShortDesc.itModel)); 290 290 } else { 291 pView.setAttribute("label", vPack.getTitle(v Item.itModel));291 pView.setAttribute("label", vPack.getTitle(vShortDesc.itModel)); 292 292 pView.setAttribute("longDesc", ""); 293 293 } … … 298 298 pView.setAttribute("iconUrl", item.getUrlIcon(vIconUrl, vShortDesc.itSt)); 299 299 } else { 300 pView.setAttribute("iconUrl", ""); 300 var vWspTypeUi = pUriObject.getWsp().getWspTypeUi(); 301 var vIcon; 302 if(vWspTypeUi) vIcon = vWspTypeUi.getSpaceFolderIconUrl(); 303 if(!vIcon) vIcon = "chrome://scenariCms/content/icon/icspace"; 304 pView.setAttribute("iconUrl", item.getUrlIcon(vIcon, 1)); 301 305 } 302 306 }catch(e) { -
trunk/Xul_Wsp/content/scenariWsp/views/treeItemnetView/treeItemnetView.xbl.css
r14998 r15015 60 60 background-color: Highlight; 61 61 } 62 63 toolbarbutton.ascBtn{ 64 list-style-image: url("chrome://scenariWsp/content/views/treeItemnetView/img/asc-button.png"); 65 } 66 toolbarbutton.descBtn{ 67 list-style-image: url("chrome://scenariWsp/content/views/treeItemnetView/img/desc-button.png"); 68 } 69 70 71 toolbarbutton.ascBtn, 72 toolbarbutton.descBtn{ 73 -moz-appearance: none; 74 -moz-image-region: rect(0px, 16px, 16px, 0px); 75 padding: 0px 0px 0px 0px; 76 border: none !important; 77 border-right: 0px; 78 border-left: 0px; 79 width: 16px; 80 height: 16px; 81 } 82 toolbarbutton.ascBtn:hover, 83 toolbarbutton.descBtn:hover{ 84 -moz-image-region: rect(0px, 32px, 16px, 16px); 85 } 86 toolbarbutton.ascBtn:active, 87 toolbarbutton.descBtn:active{ 88 -moz-image-region: rect(0px, 48px, 16px, 32px); 89 } 90 toolbarbutton.ascBtn .toolbarbutton-text, 91 toolbarbutton.descBtn .toolbarbutton-text{ 92 display:none; 93 } 94 toolbarbutton.ascBtn[checked=true], 95 toolbarbutton.descBtn[checked=true]{ 96 -moz-image-region: rect(16px, 16px, 32px, 0px); 97 padding-top: 0px !important; 98 padding-bottom: 0px !important; 99 -moz-padding-start: 0px !important; 100 -moz-padding-end: 0px !important; 101 background-image:none; 102 } 103 toolbarbutton.ascBtn[checked=true]:hover, 104 toolbarbutton.descBtn[checked=true]:hover{ 105 -moz-image-region: rect(16px, 32px, 32px, 16px); 106 } 107 toolbarbutton.ascBtn[checked=true]:active, 108 toolbarbutton.descBtn[checked=true]:active{ 109 -moz-image-region: rect(16px, 48px, 32px, 32px); 110 } -
trunk/Xul_Wsp/content/scenariWsp/views/treeItemnetView/treeItemnetView.xbl.xml
r15014 r15015 904 904 </resources> 905 905 <content orient="horizontal"> 906 <xul:toolbarbutton anonid="ascBtn" label="Asc." tooltiptext="Arbre des items ascendants" oncommand="document.getBindingParent(this).setViewAsc(true);"/>907 <xul:toolbarbutton anonid="descBtn" label="Desc." tooltiptext="Arbre des items descendants" oncommand="document.getBindingParent(this).setViewAsc(false);"/>906 <xul:toolbarbutton anonid="ascBtn" class="ascBtn" label="Asc." tooltiptext="Arbre des items ascendants" oncommand="document.getBindingParent(this).setViewAsc(true);"/> 907 <xul:toolbarbutton anonid="descBtn" class="descBtn" label="Desc." tooltiptext="Arbre des items descendants" oncommand="document.getBindingParent(this).setViewAsc(false);"/> 908 908 </content> 909 909 <implementation>
Note: See TracChangeset
for help on using the changeset viewer.