/************************************************** **************** ESTILOS DE TABS ***************** **************************************************/ table.tab-bar { width: 100%; } .tabs { list-style: none; margin: 0; padding: 0; line-height: 24px; position: relative; width: 100%; overflow: hidden; white-space: normal; } .tabs:before { z-index: 1; position: absolute; content: " "; width: 100%; bottom: 0; left: 0; border-bottom: 1px solid #AAA; } .tabs:after { position: absolute; content: ""; width: 100%; bottom: 0; left: 0; border-bottom: 1px solid #AAA; z-index: 1; } .tabs li { border: 1px solid #AAA; background: #ECECEC; display: inline-block; position: relative; z-index: 0; border-top-left-radius: 6px; border-top-right-radius: 6px; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4), inset 0 1px 0 #FFF; text-shadow: 0 1px #FFF; margin: 1px 1px; padding: 0 20px; background: -o-linear-gradient(top, #ECECEC 50%, #D1D1D1 100%); background: -ms-linear-gradient(top, #ECECEC 50%, #D1D1D1 100%); background: -moz-linear-gradient(top, #ECECEC 50%, #D1D1D1 100%); background: -webkit-linear-gradient(top, #ECECEC 50%, #D1D1D1 100%); background: linear-gradient(top, #ECECEC 50%, #D1D1D1 100%); } .tabs li:before, .tabs li:after { position: absolute; bottom: -2px; width: 5px; height: 5px; content: " "; border: 1px solid #AAA; } .tabs li:before { left: -6px; border-bottom-right-radius: 6px; border-width: 0 1px 1px 0; box-shadow: 2px 2px 0 #ECECEC; } .tabs li:after { right: -6px; /*bottom: -3px;*/ border-bottom-left-radius: 6px; border-width: 0 0 1px 1px; box-shadow: -2px 2px 0 #ECECEC; } .tabs a { text-decoration: none; font-weight: bold; color: #567; cursor: pointer; } .tabs a:hover { color: #333; } .tabs li.disabled { opacity: 0.9; cursor: default; } .tabs li.disabled a { color: #AAA; cursor: default; } .tabs .activo { background: #FFF; color: #000; z-index: 2; border-bottom-color: #FFF; cursor: default; box-shadow: 0 2px 1px white; } .tabs .activo:before { box-shadow: 2px 2px 0 #FFF; } .tabs .activo:after { box-shadow: -2px 2px 0 #FFF; } .tabs .activo a { color: #333; padding-bottom: 5px; cursor: default; } /************************************************** * ESTILOS DE SIDEBAR **************************************************/ div.sidebar { box-sizing: border-box; position: absolute; top: 0; left: 0; bottom: 0; margin: 84px 0 60px 0; background: #ccc; padding: 0; border: 0; z-index: 0; box-shadow: 0 0 5px #999; } div.sidebar.right { left: auto; right: 0; } div.sidebar .tabs, div.sidebar .tabs:before, div.sidebar .tabs:after, div.sidebar .tabs *, div.sidebar .tabs *:before, div.sidebar .tabs *:after { border: 0; margin: 0; padding: 0; left: 0; box-shadow: none; color: #566; text-shadow: none; } table.sidebar { width: 100%; } table.sidebar td { padding: 0; } div.sidebar .tabs li { display: block; border-radius: 0; } div.sidebar .tabs a { display: block; cursor: pointer; padding: 5px 15px; } div.sidebar .tabs a:hover { display: block; color: black; background: #aaa; } div.sidebar .tabs .activo a { background: #333; color: white; }