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