nav-content materialize

0

Good morning I'm using Angular2 with materialize, and in my html I have a navbar class="nav-content" I have been able to modify the style, but I can not change the color of the indicator line of the active tab.

<nav class="yellow lighten-4">
  <div class="nav-content">
    <ul class="tabs tabs-transparent">
      <li class="tab"><a routerLink="/inicio" class="blue-text text-darken-2">Inicio</a></li>
      <li class="tab"><a routerLink="/temas" class="blue-text text-darken-4">Temas</a></li>
      <li class="tab"><a routerLink="/nuevo">Nuevo</a></li>
      <li class="tab disabled"><a href="#test3">Disabled Tab</a></li>
    </ul>
  </div>
</nav>

    
asked by Jonathan Kozur 11.06.2017 в 17:07
source

1 answer

0

I had the same problem, I modified the color of the line in materialize.min.css in the line 3902 , and you get this:

.tabs .indicator {
position:absolute;
bottom:0;
height:2px;
background-color:AQUI CAMBIAS EL COLOR;
will-change:left, right
}

With that you have the problem solved, greetings

    
answered by 16.06.2017 в 01:18