【问题标题】:Change button color of wordpress plugin更改 wordpress 插件的按钮颜色
【发布时间】:2014-01-12 16:34:27
【问题描述】:

你能帮我找到“提交监听”按钮的css吗? 我想改变原色。

http://demo.sabaiapps.com/sabaidirectory/businesses/add

【问题讨论】:

    标签: css wordpress plugins


    【解决方案1】:
    .sabai-btn {
    display: inline-block !important;
    padding: 4px 12px;
    margin-bottom: 0;
    font-size: 14px;
    line-height: 20px;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    color: #333333;
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75);
    background-color: #f5f5f5;
    background-image: -moz-linear-gradient(top, #ffffff, #e6e6e6);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#e6e6e6));
    background-image: -webkit-linear-gradient(top, #ffffff, #e6e6e6);
    background-image: -o-linear-gradient(top, #ffffff, #e6e6e6);
    background-image: linear-gradient(to bottom, #ffffff, #e6e6e6);
    background-repeat: repeat-x;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffe6e6e6', GradientType=0);
    border-color: #e6e6e6 #e6e6e6 #bfbfbf;
    border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
    filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
    border: 1px solid #bbbbbb;
    border-bottom-color: #a2a2a2;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05);
    -moz-box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05);
    }
    

    【讨论】:

    • 谢谢你!!背景图像:线性渐变(到底部,#c8d6ff,#c8d6ff);
    • 欢迎您的朋友!
    【解决方案2】:
    .menu-toggle, input[type="submit"], input[type="button"], input[type="reset"], article.post-password-required input[type=submit], li.bypostauthor cite span
    

    style.css - 第 238 行

    按钮使用 CSS 渐变作为背景颜色。

    http://css-tricks.com/css3-gradients/

    【讨论】:

      【解决方案3】:
      input[type="submit"].sabai-btn { background-image: linear-gradient(to bottom,#c8d6ff,#c8d6ff); } 
      

      此代码仅更改提交按钮。但是悬停效果会发生变化。它只悬停在半个按钮上。

      【讨论】:

        猜你喜欢
        • 1970-01-01
        • 2021-08-27
        • 2020-08-03
        • 2014-07-11
        • 1970-01-01
        相关资源
        最近更新 更多