-2
Friends, I have these tabs, I’ve tried some css codes to leave a background color in tabs, but when I use the codes it changes the entire background, I want to change only the color of the tab that this selected.
<html lang="en">
<title>Indicadores</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" type="image/png" href="/img/bighemocinho.png" />
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<!-- Custom Fonts -->
<link href="/vendor/font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css">
<!-- Index-tooltipe-->
<link href="/styles/index-tooltip.css" rel="stylesheet" type="text/css">
<!-- search engine -->
<link rel="canonical" href="https://themes.getbootstrap.com/">
<!-- DataTables CSS -->
<link href="/vendor/datatables-plugins/dataTables.bootstrap.css" rel="stylesheet">
<!-- DataTables Responsive CSS -->
<link href="/vendor/datatables-responsive/dataTables.responsive.css" rel="stylesheet">
<!-- Index-menu-hemorrede -->
<link href="/styles/menu-fortaleza.css" rel="stylesheet" type="text/css">
<body class="hold-transition skin-blue sidebar-mini">
<nav class="navbar navbar-inverse" style="background-color: #037c1d;">
<div class="container-fluid">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#myNavbar">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="/hemoce-indicadores">Indicadores</a>
</div>
<div class="collapse navbar-collapse" id="myNavbar">
<ul class="nav navbar-nav">
<li class="">
<a class="navbar-links" href="/hemoce-indicadores">Página Inicial</a>
</li>
</ul>
<ul class="nav navbar-nav navbar-right">
<li>
<a href="#">
<span class="glyphicon glyphicon-log-in"></span> Login</a>
</li>
</ul>
</div>
</div>
</nav>
<div class="content-wrapper">
<!-- Main content -->
<section class="content">
<div class="row">
<div class="col-lg-12">
<div class="panel panel-default">
<!-- /.panel-heading -->
<div class="panel-body">
<div class="row">
<div class="col-lg-12">
<div class="panel panel-default">
<div class="panel-heading">
<h3>SELECIONE UM INDICADOR</h3>
</div>
<!-- /.panel-heading -->
<div class="panel-body">
<!-- Nav tabs -->
<ul class="nav nav-tabs">
<li >
<a href="#nao-possui-indicador-no-momento" data-toggle="tab">NÃO POSSUI INDICADOR NO MOMENTO</a>
</li>
<li>
<a href="#nao-possui-indicador-no-momento" data-toggle="tab">NÃO POSSUI INDICADOR NO MOMENTO</a>
</li>
</ul>
</div>
<!-- /.panel-body -->
</div>
<!-- /.panel -->
</div>
</div>
<!-- /.row (nested) -->
</div>
<!-- /.panel-body -->
</div>
<!-- /.panel -->
</div>
<!-- /.col-lg-12 -->
</div>
<!-- /.row -->
</section>
<!-- /.content -->
</div>
<!-- /.content-wrapper -->
<script src="/js/edit-modal.js"></script>
<script src="/js/delete-modal.js"></script>
<script src="/js/add-modal.js"></script>
<script src="/js/edit-modal-meta-1.js"></script>
<script src="/js/edit-modal-meta-2.js"></script>
</body>
</html>
guy edits and puts the full code. This code you put in the question does not help you answer. Put the real HTML and CSS if you’re using JS or jQuery speak...
– hugocsl