65 lines
1.1 KiB
CSS
65 lines
1.1 KiB
CSS
.root {
|
|
margin: 4px 0;
|
|
}
|
|
|
|
.toggle {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
min-height: 24px;
|
|
font-size: 14px;
|
|
line-height: 24px;
|
|
color: var(--dsw-alias-label-secondary);
|
|
padding: 0;
|
|
border: none;
|
|
background: transparent;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.leading {
|
|
position: relative;
|
|
flex: none;
|
|
width: 16px;
|
|
height: 16px;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
margin-right: 6px;
|
|
color: var(--dsw-alias-label-tertiary);
|
|
}
|
|
|
|
.iconIdle {
|
|
display: inline-flex;
|
|
opacity: 1;
|
|
transition: opacity 100ms ease;
|
|
}
|
|
|
|
.chevronHover {
|
|
position: absolute;
|
|
inset: 0;
|
|
margin: auto;
|
|
opacity: 0;
|
|
transition: opacity 100ms ease;
|
|
}
|
|
|
|
.toggle:hover .iconIdle {
|
|
opacity: 0;
|
|
}
|
|
|
|
.toggle:hover .chevronHover {
|
|
opacity: 1;
|
|
}
|
|
|
|
.body {
|
|
margin: 4px 0 0 22px;
|
|
padding: 8px;
|
|
max-height: 200px;
|
|
overflow: auto;
|
|
background: var(--dsw-alias-markdown-code-block);
|
|
border: 1px solid var(--dsw-alias-border-l1);
|
|
border-radius: 6px;
|
|
font-family: var(--ds-font-family-code);
|
|
font-size: 11px;
|
|
line-height: 16px;
|
|
color: var(--dsw-alias-label-primary);
|
|
}
|