找回密码
 加入傲游社区
跳转到指定楼层

[修改皮肤] 求助Yoyoako版主

[复制链接]
wofaint [初入江湖] 发表于 2017-6-3 15:53:27 | 显示全部楼层 |阅读模式  2540 3
版主你好,我想修改4.9.4.2000版本的标签页和新建标签页的那个“+号”,请问这两个文件的名字和所在文件夹是什么感谢!
2.jpg
评论
精彩评论 ( 3条 ) 跳转到指定楼层
本帖由 Yoyoako [社区版主] 发表于 2017-6-8 08:16:39 | 显示全部楼层
在这里找:

\0\svg_icons\tab_new.svg
  1. <div>.tabbar .new{</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>behavior: button;</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>context-menu: selector(menu#POPUP_TAB_BAR_CONTEXT_MENU);</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>hit-margin: 2dip 0 0 0;</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>margin: 2dip 4dip 3dip 4dip;</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>width: 34dip;</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>height: 100%%;</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>foreground: url(../../svg_icons/<b><font color="#ff0000">tab_new.svg</font></b>) no-repeat 50% 50%;</div><div>    foreground-size: 24dip;</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>border: 1px solid transparent;</div><div>}</div>
复制代码




wofaint [初入江湖] 发表于 2017-6-8 11:42:29 | 显示全部楼层
Yoyoako 发表于 2017-6-8 08:16
在这里找:

\0\svg_icons\tab_new.svg

万分感谢!果然是这个,另外想问一下,标签的图标是哪个呢?
本帖由 Yoyoako [社区版主] 发表于 2017-6-9 07:44:48 | 显示全部楼层
按自己要求添加图片到这个路径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;
}





您需要登录后才可以回帖 登录 | 加入傲游社区
快速回复 返回顶部 返回列表