Add zebra striping of tabs
This commit is contained in:
parent
16e4d413ee
commit
4580d8c2fa
|
@ -1,8 +1,10 @@
|
|||
$tab-color-1: #ced9e2;
|
||||
$tab-color-2: #b7c3ce;
|
||||
|
||||
#tab-list {
|
||||
padding-left: 0;
|
||||
margin: 0;
|
||||
list-style: none;
|
||||
padding: 0 8px;
|
||||
//Prevent margin breakout of lis
|
||||
overflow: auto;
|
||||
}
|
||||
|
@ -11,5 +13,10 @@
|
|||
text-overflow: ellipsis;
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
margin: 10px 0;
|
||||
padding: 5px 4px;
|
||||
background-color: $tab-color-1;
|
||||
}
|
||||
|
||||
.tab:nth-child(2n) {
|
||||
background-color: $tab-color-2;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue