Skip to content

Commit

Permalink
修复新版Edge浏览器下,最后一个子菜单[cbi-tab]显示异常
Browse files Browse the repository at this point in the history
  • Loading branch information
SpeedPartner committed Dec 21, 2024
1 parent 0fbfeec commit f59cd1f
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 23 deletions.
18 changes: 7 additions & 11 deletions htdocs/luci-static/argon/css/cascade.css
Original file line number Diff line number Diff line change
Expand Up @@ -2203,8 +2203,8 @@ div::-webkit-scrollbar {
.tabs li[class~="active"],
.tabs li:hover {
cursor: pointer;
border-bottom: 0.18751rem solid #5e72e4;
border-bottom: 0.18751rem solid var(--primary);
border-bottom: 0.18751rem solid #5e72e4 !important;
border-bottom: 0.18751rem solid var(--primary) !important;
color: #5e72e4;
color: var(--primary);
background-color: var(--light-subtabs-background);
Expand All @@ -2227,10 +2227,6 @@ div::-webkit-scrollbar {
color: #404040;
padding: 0.5rem 0.8rem;
}
.tabs li:hover {
border-bottom: 0.18751rem solid #5e72e4;
border-bottom: 0.18751rem solid var(--primary);
}
.cbi-tabmenu {
color: white;
padding: 0.5rem 0.5rem 0 0.5rem;
Expand Down Expand Up @@ -2261,7 +2257,7 @@ div::-webkit-scrollbar {
border-top-left-radius: 0.25rem;
border-top-right-radius: 0.25rem;
padding: 0.5rem 0rem;
border-bottom: 0.18751rem solid rgba(0, 0, 0, 0);
border-bottom: 0.18751rem solid rgba(0, 0, 0, 0) !important;
}
.cbi-tabmenu li a {
text-decoration: none;
Expand All @@ -2270,8 +2266,8 @@ div::-webkit-scrollbar {
}
.cbi-tabmenu li:hover {
cursor: pointer;
border-bottom: 0.18751rem solid #5e72e4;
border-bottom: 0.18751rem solid var(--primary);
border-bottom: 0.18751rem solid #5e72e4 !important;
border-bottom: 0.18751rem solid var(--primary) !important;
color: #5e72e4;
color: var(--primary);
background-color: var(--light-subtabs-background);
Expand All @@ -2281,8 +2277,8 @@ div::-webkit-scrollbar {
color: #525f7f;
}
.cbi-tabmenu li[class~="cbi-tab"] {
border-bottom: 0.18751rem solid #5e72e4;
border-bottom: 0.18751rem solid var(--primary);
border-bottom: 0.18751rem solid #5e72e4 !important;
border-bottom: 0.18751rem solid var(--primary) !important;
color: var(--primary);
background-color: var(--light-subtabs-background);
margin-bottom: 0;
Expand Down
19 changes: 7 additions & 12 deletions htdocs/luci-static/argon/less/cascade.less
Original file line number Diff line number Diff line change
Expand Up @@ -2663,8 +2663,8 @@ td>table>tbody>tr>td {
li[class~="active"],
li:hover {
cursor: pointer;
border-bottom: 0.18751rem solid #5e72e4;
border-bottom: 0.18751rem solid var(--primary);
border-bottom: 0.18751rem solid #5e72e4 !important;
border-bottom: 0.18751rem solid var(--primary) !important;
color: #5e72e4;
color: var(--primary);
background-color: var(--light-subtabs-background);
Expand All @@ -2688,11 +2688,6 @@ td>table>tbody>tr>td {
color: #404040;
padding: 0.5rem 0.8rem;
}

&:hover {
border-bottom: 0.18751rem solid #5e72e4;
border-bottom: 0.18751rem solid var(--primary);
}
}
}

Expand Down Expand Up @@ -2739,7 +2734,7 @@ div::-webkit-scrollbar {
border-top-left-radius: 0.25rem;
border-top-right-radius: 0.25rem;
padding: 0.5rem 0rem;
border-bottom: 0.18751rem solid rgba(0, 0, 0, 0);
border-bottom: 0.18751rem solid rgba(0, 0, 0, 0) !important;

a {
text-decoration: none;
Expand All @@ -2749,8 +2744,8 @@ div::-webkit-scrollbar {

&:hover {
cursor: pointer;
border-bottom: 0.18751rem solid #5e72e4;
border-bottom: 0.18751rem solid var(--primary);
border-bottom: 0.18751rem solid #5e72e4 !important;
border-bottom: 0.18751rem solid var(--primary) !important;
color: #5e72e4;
color: var(--primary);
background-color: var(--light-subtabs-background);
Expand All @@ -2763,8 +2758,8 @@ div::-webkit-scrollbar {
}

li[class~="cbi-tab"] {
border-bottom: 0.18751rem solid #5e72e4;
border-bottom: 0.18751rem solid var(--primary);
border-bottom: 0.18751rem solid #5e72e4 !important;
border-bottom: 0.18751rem solid var(--primary) !important;
color: var(--primary);
background-color: var(--light-subtabs-background);
margin-bottom: 0;
Expand Down

0 comments on commit f59cd1f

Please sign in to comment.