mirror of
https://github.com/kenzok8/openwrt-packages
synced 2025-01-07 07:06:45 +08:00
update 2024-12-22 14:09:04
This commit is contained in:
parent
bfeedf496b
commit
f186ee7cf4
File diff suppressed because one or more lines are too long
@ -313,6 +313,7 @@ select,
|
||||
.cbi-dropdown {
|
||||
width: inherit;
|
||||
cursor: default;
|
||||
padding-right: 1rem;
|
||||
}
|
||||
|
||||
select:not([multiple="multiple"]):focus,
|
||||
@ -1655,8 +1656,6 @@ tr > th,
|
||||
gap: 0px;
|
||||
|
||||
input {
|
||||
border-bottom-right-radius: 0;
|
||||
border-top-right-radius: 0;
|
||||
border-right-width: 0;
|
||||
margin-right: 0;
|
||||
}
|
||||
@ -2448,6 +2447,10 @@ body:not(.Interfaces) .cbi-rowstyle-2:first-child {
|
||||
min-height: 2.1875rem;
|
||||
}
|
||||
|
||||
.cbi-dropdown.btn > ul:not(.dropdown), .cbi-dropdown.cbi-button > ul:not(.dropdown){
|
||||
margin: 0 0 0 0.75rem!important;
|
||||
}
|
||||
|
||||
.cbi-dropdown[placeholder*="select"] {
|
||||
max-width: 25rem;
|
||||
height: auto;
|
||||
@ -2471,6 +2474,11 @@ body:not(.Interfaces) .cbi-rowstyle-2:first-child {
|
||||
|
||||
}
|
||||
|
||||
.cbi-dropdown.cbi-button-apply,
|
||||
.cbi-dropdown.cbi-button-action{
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.cbi-button-apply > ul.preview {
|
||||
display: none;
|
||||
|
||||
@ -2501,10 +2509,12 @@ body:not(.Interfaces) .cbi-rowstyle-2:first-child {
|
||||
flex-grow: 0;
|
||||
flex-shrink: 0;
|
||||
justify-content: center;
|
||||
padding: 0 .25em;
|
||||
cursor: default;
|
||||
padding: 0 .375rem;
|
||||
cursor: pointer;
|
||||
text-align: center;
|
||||
outline: 0;
|
||||
border-left: thin solid #ccc;
|
||||
margin-left: 0.5rem;
|
||||
}
|
||||
|
||||
.cbi-dropdown > .more,
|
||||
@ -2835,8 +2845,7 @@ body.modal-overlay-active #modal_overlay {
|
||||
}
|
||||
|
||||
#view {
|
||||
border-radius: 0.25rem;
|
||||
overflow: hidden;
|
||||
border-radius: 0.25rem;
|
||||
|
||||
& > .spinning {
|
||||
position: fixed;
|
||||
|
@ -88,36 +88,24 @@
|
||||
<meta name="theme-color" content="<%=bar_color%>">
|
||||
<link rel="stylesheet" href="<%=media%>/css/cascade.css<%# ?v=PKG_VERSION %>">
|
||||
<style title="text/css">
|
||||
<% if mode ~= 'dark' then %>
|
||||
@media (prefers-color-scheme: dark) {
|
||||
<%=dark_css%>
|
||||
}
|
||||
<% if fs.access('/etc/config/argon') then %>
|
||||
:root {
|
||||
--primary: <%=primary%>;
|
||||
--dark-primary: <%=dark_primary%>;
|
||||
--bar-bg: <%=primary%>;
|
||||
--blur-radius:<%=blur_radius%>px;
|
||||
--blur-opacity:<%=blur_opacity%>;
|
||||
--blur-radius-dark:<%=blur_radius_dark%>px;
|
||||
--blur-opacity-dark:<%=blur_opacity_dark%>;
|
||||
}
|
||||
<% end -%>
|
||||
<% elseif mode == 'dark' then %>
|
||||
<%=dark_css%>
|
||||
<% if fs.access('/etc/config/argon') then %>
|
||||
:root {
|
||||
--primary: <%=primary%>;
|
||||
--dark-primary: <%=dark_primary%>;
|
||||
--bar-bg: <%=dark_primary%>;
|
||||
--blur-radius:<%=blur_radius%>px;
|
||||
--blur-opacity:<%=blur_opacity%>;
|
||||
--blur-radius-dark:<%=blur_radius_dark%>px;
|
||||
--blur-opacity-dark:<%=blur_opacity_dark%>;
|
||||
}
|
||||
<% end -%>
|
||||
<% end -%>
|
||||
</style>
|
||||
<% if mode == 'normal' then %>
|
||||
@media (prefers-color-scheme: dark) {
|
||||
<%=dark_css%>
|
||||
}
|
||||
<% elseif mode == 'dark' then %>
|
||||
<%=dark_css%>
|
||||
<% end -%>
|
||||
<% if fs.access('/etc/config/argon') then %>
|
||||
:root {
|
||||
--primary: <%=primary%>;
|
||||
--dark-primary: <%=dark_primary%>;
|
||||
--blur-radius:<%=blur_radius%>px;
|
||||
--blur-opacity:<%=blur_opacity%>;
|
||||
--blur-radius-dark:<%=blur_radius_dark%>px;
|
||||
--blur-opacity-dark:<%=blur_opacity_dark%>;
|
||||
}
|
||||
<% end -%>
|
||||
</style>
|
||||
<link rel="shortcut icon" href="<%=media%>/favicon.ico">
|
||||
<% if node and node.css then %>
|
||||
<link rel="stylesheet" href="<%=resource%>/<%=node.css%>">
|
||||
|
Loading…
Reference in New Issue
Block a user