update 2024-05-19 20:01:02

This commit is contained in:
actions-user 2024-05-19 20:01:02 +08:00
parent 8d2216af88
commit 6307ece56e
4 changed files with 20 additions and 16 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -3858,11 +3858,17 @@ div[style*="display:grid;grid-template-columns:repeat"] {
}
/* custom commands */
.commands {
display: grid !important;
grid-template-columns: repeat(auto-fit,minmax(300px,1fr));
gap: 10px;
}
.commandbox {
width: 24% !important;
margin: 10px 0 0 10px !important;
padding: .5rem 1rem;
gap: 0.5rem;
border-bottom: thin solid #ccc;
border-radius: .25rem;
background: #eee;
box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 1px 2px rgba(0, 0, 0, .05);
}
@ -3880,10 +3886,8 @@ div[style*="display:grid;grid-template-columns:repeat"] {
}
.commandbox code {
position: absolute;
overflow: hidden;
max-width: 60%;
margin-left: 4px;
max-width: fit-content;
padding: 2px 3px;
white-space: nowrap;
text-overflow: ellipsis;
@ -4196,10 +4200,6 @@ pre.command-output {
overflow-y: visible;
}
.commandbox {
width: 32% !important;
}
.btn:not(button),
.cbi-button {
font-size: 0.875rem;
@ -4403,11 +4403,6 @@ pre.command-output {
text-align: left !important;
}
.commandbox {
width: 100% !important;
margin-left: 0 !important;
}
.btn:not(button),
.cbi-button {
font-size: 0.875rem;

View File

@ -1148,6 +1148,15 @@ input,
}
}
[data-page="admin-system-commands"],
[data-page="admin-system-commands-dashboard"] {
.commandbox {
border-bottom: thin solid #333;
background: #252526;
box-shadow: inset 0 1px 0 rgba(0,0,0,0.2),0 1px 2px rgba(255,255,255,0.05);
}
}
.btn {
background-color: rgb(112, 112, 112);
color: #fff;