我有一个带有两个按钮的工具栏来导航轮播。我有 back 和 forward 作为按钮 ui 值。在默认的煎茶主题中,按钮看起来与后退和前进 L&F 正确。但是当我将主题更改为 cupertino 时。前进按钮没有获得按钮 ui。附上下面的截图
1 回答
0
ios 没有前进按钮类型。所以我不得不修改css来提供那个前进按钮类型。
.x-button.x-button-forward {
border : 0px;
&:after {
content: '!';
font-family: 'iOS7';
color: $ios7-blue;
font-size: 1.3em;
text-align: center;
background-color: transparent;
line-height: 1.3em;
padding-left: 0px;
}
.x-button-label {
font-size: 1.1em;
line-height: 1.3em;
font-weight: 300;
padding-left: 2px;
}
}
于 2014-04-04T17:57:14.830 回答