Skip to content

Commit

Permalink
修复在缩小浏览器窗口时,主题滚动条样式可能丢失的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
SpeedPartner committed May 23, 2023
1 parent e1066bd commit e093e7b
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 43 deletions.
36 changes: 17 additions & 19 deletions htdocs/luci-static/argon/css/cascade.css
Expand Up @@ -2528,6 +2528,23 @@ form > .cbi-map > .cbi-section > .cbi-section-node > .cbi-value > .cbi-value-fie
.cbi-section-table .cbi-section-table-titles .cbi-section-table-cell {
width: auto !important;
}
::-webkit-scrollbar {
width: 10px;
height: 10px;
}
::-webkit-scrollbar,
::-webkit-scrollbar-corner {
background: transparent;
}
::-webkit-scrollbar-thumb {
background: #9e9e9e;
}
::-webkit-scrollbar-thumb:hover {
background: #757575;
}
::-webkit-scrollbar-thumb:active {
background: #424242;
}
/* desc */
.cbi-section-descr {
padding: 1rem 1.5rem;
Expand Down Expand Up @@ -2985,25 +3002,6 @@ input[name="nslookup"] {
font-size: 0.7rem;
}
}
@media screen and (min-width: 600px) {
::-webkit-scrollbar {
width: 10px;
height: 10px;
}
::-webkit-scrollbar,
::-webkit-scrollbar-corner {
background: transparent;
}
::-webkit-scrollbar-thumb {
background: #9e9e9e;
}
::-webkit-scrollbar-thumb:hover {
background: #757575;
}
::-webkit-scrollbar-thumb:active {
background: #424242;
}
}
@media screen and (max-width: 992px) {
.main .main-left {
width: 0;
Expand Down
46 changes: 22 additions & 24 deletions htdocs/luci-static/argon/less/cascade.less
Expand Up @@ -1827,6 +1827,28 @@ td>table>tbody>tr>td,
margin: 0;
}

::-webkit-scrollbar {
width: 10px;
height: 10px;
}

::-webkit-scrollbar,
::-webkit-scrollbar-corner {
background: transparent;
}

::-webkit-scrollbar-thumb {
background: #9e9e9e;
}

::-webkit-scrollbar-thumb:hover {
background: #757575;
}

::-webkit-scrollbar-thumb:active {
background: #424242;
}

/* desc */


Expand Down Expand Up @@ -3676,30 +3698,6 @@ input[name="nslookup"] {
}
}

@media screen and (min-width: 600px) {
::-webkit-scrollbar {
width: 10px;
height: 10px;
}

::-webkit-scrollbar,
::-webkit-scrollbar-corner {
background: transparent;
}

::-webkit-scrollbar-thumb {
background: #9e9e9e;
}

::-webkit-scrollbar-thumb:hover {
background: #757575;
}

::-webkit-scrollbar-thumb:active {
background: #424242;
}
}

@media screen and (max-width: 992px) {
.main {
.main-left {
Expand Down

0 comments on commit e093e7b

Please sign in to comment.