【问题标题】:Change the color of the menu toggle button in sass更改 sass 中菜单切换按钮的颜色
【发布时间】:2015-08-12 04:33:27
【问题描述】:

我正在使用默认的起始侧菜单和 sass。

如何更改菜单切换按钮的颜色?

这是我要设置样式的按钮的 html:

<ion-nav-buttons side="left">
    <button class="button button-icon button-clear ion-navicon" menu-toggle="left">
    </button>
</ion-nav-buttons>

我是 Ionic 和 sass 的新手。

【问题讨论】:

标签: ionic-framework ionic


【解决方案1】:

在你的 style.css 中改变这个:

.bar-stable .button{
   color: #red !important;
}

【讨论】:

    【解决方案2】:

    更改 ionic.app.scss 中的 bar-stable-text 变量是执行此操作的标准方法:

    $bar-stable-text: #fff;
    

    【讨论】:

      猜你喜欢
      • 2017-02-07
      • 1970-01-01
      • 2023-03-13
      • 1970-01-01
      • 2011-03-05
      • 2021-04-27
      • 2017-08-19
      • 2012-09-05
      相关资源
      最近更新 更多