style: convert px layout values to rem across all components (rule 18)
This commit is contained in:
parent
dba6a88a28
commit
9738776bae
9 changed files with 75 additions and 75 deletions
|
|
@ -40,9 +40,9 @@
|
|||
|
||||
<style>
|
||||
.agent-card {
|
||||
padding: 6px 8px;
|
||||
padding: 0.375rem 0.5rem;
|
||||
background: var(--ctp-surface0);
|
||||
border-radius: 4px;
|
||||
border-radius: 0.25rem;
|
||||
cursor: pointer;
|
||||
transition: background 0.1s;
|
||||
border-left: 2px solid transparent;
|
||||
|
|
@ -55,8 +55,8 @@
|
|||
.card-header {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 4px;
|
||||
margin-bottom: 3px;
|
||||
gap: 0.25rem;
|
||||
margin-bottom: 0.1875rem;
|
||||
}
|
||||
|
||||
.status-dot {
|
||||
|
|
@ -90,7 +90,7 @@
|
|||
}
|
||||
|
||||
.card-progress {
|
||||
margin-top: 3px;
|
||||
margin-top: 0.1875rem;
|
||||
}
|
||||
|
||||
.turns {
|
||||
|
|
|
|||
|
|
@ -84,11 +84,11 @@
|
|||
}
|
||||
|
||||
.palette {
|
||||
width: 460px;
|
||||
max-height: 360px;
|
||||
width: 28.75rem;
|
||||
max-height: 22.5rem;
|
||||
background: var(--ctp-mantle);
|
||||
border: 1px solid var(--ctp-surface1);
|
||||
border-radius: 8px;
|
||||
border-radius: 0.5rem;
|
||||
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
|
|
@ -97,7 +97,7 @@
|
|||
}
|
||||
|
||||
.palette-input {
|
||||
padding: 12px 16px;
|
||||
padding: 0.75rem 1rem;
|
||||
background: transparent;
|
||||
border: none;
|
||||
border-bottom: 1px solid var(--ctp-surface0);
|
||||
|
|
@ -113,7 +113,7 @@
|
|||
.palette-results {
|
||||
list-style: none;
|
||||
margin: 0;
|
||||
padding: 4px;
|
||||
padding: 0.25rem;
|
||||
overflow-y: auto;
|
||||
}
|
||||
|
||||
|
|
@ -122,13 +122,13 @@
|
|||
align-items: center;
|
||||
justify-content: space-between;
|
||||
width: 100%;
|
||||
padding: 8px 12px;
|
||||
padding: 0.5rem 0.75rem;
|
||||
background: transparent;
|
||||
border: none;
|
||||
color: var(--ctp-text);
|
||||
font-size: 0.85rem;
|
||||
cursor: pointer;
|
||||
border-radius: 4px;
|
||||
border-radius: 0.25rem;
|
||||
transition: background 0.1s;
|
||||
}
|
||||
|
||||
|
|
@ -151,7 +151,7 @@
|
|||
}
|
||||
|
||||
.no-results {
|
||||
padding: 12px;
|
||||
padding: 0.75rem;
|
||||
color: var(--ctp-overlay0);
|
||||
font-size: 0.85rem;
|
||||
text-align: center;
|
||||
|
|
|
|||
|
|
@ -40,15 +40,15 @@
|
|||
display: flex;
|
||||
flex-direction: column;
|
||||
overflow: hidden;
|
||||
width: 220px;
|
||||
width: 13.75rem;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.panel-header {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 4px;
|
||||
padding: 5px 8px;
|
||||
gap: 0.25rem;
|
||||
padding: 0.3125rem 0.5rem;
|
||||
background: transparent;
|
||||
border: none;
|
||||
color: var(--ctp-subtext0);
|
||||
|
|
@ -74,8 +74,8 @@
|
|||
.agent-count {
|
||||
margin-left: auto;
|
||||
background: var(--ctp-surface0);
|
||||
padding: 0 5px;
|
||||
border-radius: 8px;
|
||||
padding: 0 0.3125rem;
|
||||
border-radius: 0.5rem;
|
||||
font-size: 0.65rem;
|
||||
color: var(--ctp-overlay1);
|
||||
}
|
||||
|
|
@ -83,8 +83,8 @@
|
|||
.agent-list {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 3px;
|
||||
padding: 4px;
|
||||
gap: 0.1875rem;
|
||||
padding: 0.25rem;
|
||||
overflow-y: auto;
|
||||
flex: 1;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue