|
:root { |
|
--vscode-overlay-background: rgb(0 0 0 / 50%); |
|
--vscode-modal-background: var(--vscode-sideBar-background); |
|
} |
|
|
|
|
|
|
|
|
|
|
|
.tabs-root { |
|
container-type: inline-size; |
|
container-name: tabs-container; |
|
isolation: isolate; |
|
} |
|
|
|
.tabs-container { |
|
display: flex; |
|
width: 100%; |
|
padding: 0; |
|
flex-direction: column; |
|
justify-content: space-between; |
|
position: sticky; |
|
border-bottom: 1px solid var(--vscode-dropdown-border); |
|
background-color: var(--vscode-sideBar-background); |
|
} |
|
|
|
.tabs { |
|
display: flex; |
|
flex-shrink: 0; |
|
gap: 2px; |
|
width: 100%; |
|
padding: 0 8px; |
|
border-bottom: 1px solid var(--vscode-dropdown-border); |
|
|
|
& > * { |
|
flex-shrink: 0; |
|
} |
|
} |
|
|
|
.sub-tabs { |
|
display: flex; |
|
flex-shrink: 0; |
|
gap: 8px; |
|
padding: 0 8px; |
|
|
|
& > * { |
|
flex-shrink: 0; |
|
} |
|
} |
|
|
|
.tab-action-label { |
|
display: inline; |
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@container tabs-container (width < 575px) { |
|
.tabs-root:not(.tabs-root--cody-web) { |
|
.tab-action-label { |
|
display: none; |
|
} |
|
} |
|
} |
|
|
|
|
|
@container tabs-container (width < 375px) { |
|
.tabs-root--cody-web .tab-action-label { |
|
display: none; |
|
} |
|
} |
|
|
|
.dialog { |
|
&-overlay { |
|
inset: 0; |
|
position: fixed; |
|
background-color: var(--vscode-overlay-background); |
|
} |
|
|
|
&-content { |
|
width: 90vw; |
|
max-width: 450px; |
|
max-height: 85vh; |
|
position: fixed; |
|
top: 50%; |
|
left: 50%; |
|
transform: translate(-50%, -50%); |
|
padding: 25px; |
|
border-radius: 6px; |
|
background-color: var(--vscode-modal-background); |
|
box-shadow: hsl(206deg 22% 7% / 35%) 0 10px 38px -10px, hsl(206deg 22% 7% / 20%) 0 10px 20px -15px; |
|
|
|
&:focus { |
|
outline: none; |
|
} |
|
} |
|
|
|
&-title { |
|
margin: 0; |
|
font-weight: 500; |
|
font-size: 17px; |
|
} |
|
|
|
&-description { |
|
margin: 10px 0 20px; |
|
font-size: 15px; |
|
line-height: 1.5; |
|
} |
|
|
|
&-footer { |
|
margin-top: 1.5rem; |
|
width: 100%; |
|
display: flex; |
|
justify-content: flex-end; |
|
gap: 0.5rem; |
|
} |
|
} |
|
|