修改样式:增加dropdown-item奇偶行背景色,以及dropdown-footer背景色

This commit is contained in:
Argo-MacBookPro 2018-08-14 18:12:50 +08:00
parent 98db492086
commit a5c5f73078
1 changed files with 12 additions and 2 deletions

View File

@ -113,6 +113,9 @@ a, a:hover, a:focus {
.nav .dropdown-footer { .nav .dropdown-footer {
padding: 6px 0; padding: 6px 0;
background-color: #f1f2f7;
border-bottom-left-radius: 4px;
border-bottom-right-radius: 4px;
} }
.nav .dropdown-item { .nav .dropdown-item {
@ -122,6 +125,10 @@ a, a:hover, a:focus {
font-size: 0.75rem; font-size: 0.75rem;
} }
.nav .dropdown-item:nth-of-type(odd) {
background-color: #F7F8F9;
}
.nav .dropdown-item:hover { .nav .dropdown-item:hover {
background-color: #93c9e8; background-color: #93c9e8;
} }
@ -280,11 +287,14 @@ label.dropdown-item:first-child {
.cache-item { .cache-item {
display: flex; display: flex;
align-items: center; align-items: center;
padding: 6px 4px 10px 4px; padding: 10px 4px;
margin-bottom: 4px;
border-bottom: 1px solid #EBEBEB; border-bottom: 1px solid #EBEBEB;
} }
.cache-item:nth-of-type(odd) {
background-color: #F7F8F9;
}
.cache-item:last-child { .cache-item:last-child {
border-bottom: none; border-bottom: none;
} }