版主你好,我想修改4.9.4.2000版本的标签页和新建标签页的那个“+号”,请问这两个文件的名字和所在文件夹是什么感谢! |
在这里找: \0\svg_icons\tab_new.svg
|
Yoyoako 发表于 2017-6-8 08:16 万分感谢!果然是这个,另外想问一下,标签的图标是哪个呢? |
按自己要求添加图片到这个路径:UIMain\main\images\ tab.pngtab_new.png tab_active.png tab_new_hover.png 修改CSS: UIMain\main\tabbar\container.css .tabbar .new{ behavior: button; margin: 0 0 2 2; width: 34px; height: 100%%; foreground: url(../images/tab_new.png) no-repeat 50% 50%; } .tabbar .new:hover{ foreground: url(../images/tab_new_hover.png) no-repeat 50% 50%; } .tabbar .new:active{ foreground: url(../images/tab_new_active.png) no-repeat 50% 50%; } .tab-container .tab { context-menu: selector(menu#POPUP_TAB_CONTEXT_MENU); flow:horizontal; margin-right: -5px; padding: 5 8 4 8; min-width: 16px; max-width: @TAB_MAX_WIDTH; width: @TAB_MAX_WIDTH; height: 100%%; color: #000; background: url(../images/tab.png) expand; background-position: 6 6 4 6; background-repeat: stretch-left stretch-right stretch-middle; } .tab-container .tab:hover{ background: url(../images/tab_hover.png) expand; background-position: 6 6 4 6; background-repeat: stretch-left stretch-right stretch-middle; } .tab-container .active:hover{ padding: 4 8 5 8; color: #000; background: url(../images/tab_active.png) expand; background-position: 6 6 4 6; background-repeat: stretch-left stretch-right stretch-middle; } |