0

我知道这可能是一个愚蠢的问题。我一直在尝试消除单击ThemeRoller中的任何按钮一段时间后出现的阴影。数据主题滚轮中没有提供更改颜色或删除颜色的选项。

任何人都可以帮助我。

谢谢

编辑 1 好的,在进入 css 之后,这对我有用

/* Focus buttons and text inputs with div wrap */
.ui-page-theme-c .ui-focus,
html .ui-bar-c .ui-focus,
html .ui-body-c .ui-focus,
html body .ui-group-theme-c .ui-focus,
html head + body .ui-btn-c.ui-focus,
html head + body .ui-body-c.ui-focus {
    -webkit-box-shadow: 0 0 0px #3388cc /*{c-active-background-color}*/;
    -moz-box-shadow: 0 0 0px #3388cc /*{c-active-background-color}*/;
    box-shadow: 0 0 0px #3388cc /*{c-active-background-color}*/;
} 

将阴影设置为 0px 而不是默认的 12px。

注意:您必须在相应的主题中进行操作,例如我的 data-theme-c

感谢分享答案的人

4

2 回答 2

1

好吧,您可以尝试以下样式:

button:active{
box-shadow: none !important;
}

如果问题与 box-shadow 无关,请尝试使用轮廓。

于 2014-04-30T08:44:51.117 回答
1

好吧,在进入 CSS 之后,这对我有用

/* Focus buttons and text inputs with div wrap */
.ui-page-theme-c .ui-focus,
html .ui-bar-c .ui-focus,
html .ui-body-c .ui-focus,
html body .ui-group-theme-c .ui-focus,
html head + body .ui-btn-c.ui-focus,
html head + body .ui-body-c.ui-focus {
    -webkit-box-shadow: 0 0 0px #3388cc /*{c-active-background-color}*/;
    -moz-box-shadow: 0 0 0px #3388cc /*{c-active-background-color}*/;
    box-shadow: 0 0 0px #3388cc /*{c-active-background-color}*/;
} 

将阴影设置为 0px 而不是默认的 12px。

注意:您必须在相应的主题中进行操作,例如我的 data-theme-c

感谢分享答案的人

于 2014-06-12T05:37:06.340 回答