File size: 4,308 Bytes
bae9410 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 |
.buttons-container {
display: flex;
flex-wrap: wrap;
align-items: center;
border-style: solid;
border-width: 1px;
border-color: var(--vscode-sideBarSectionHeader-border);
border-bottom-left-radius: 2px;
border-bottom-right-radius: 2px;
padding: 4px;
}
.buttons {
display: flex;
}
.button {
display: flex;
align-items: center;
padding: 3px;
height: 20px;
background-color: transparent;
cursor: pointer;
background: var(--button-icon-background);
border-radius: var(--button-icon-corner-radius);
color: var(--foreground);
}
.button:hover {
background: var(--button-icon-hover-background);
outline: 1px dotted var(--contrast-active-border);
outline-offset: -1px;
}
.button:not(:first-child) {
margin-left: 0.25rem;
}
.button .icon-container {
margin-right: 0.25rem
}
.copy-button,
.insert-button,
.attribution-icon,
.status {
all: unset;
padding: 3px;
min-width: 16px; /* Status element needs to be able to expand. */
height: 16px;
background-color: transparent;
}
.copy-button,
.insert-button {
cursor: pointer;
background: var(--button-icon-background);
border-radius: var(--button-icon-corner-radius);
color: var(--foreground);
}
.copy-button:hover,
.insert-button:hover {
background: var(--button-icon-hover-background);
outline: 1px dotted var(--contrast-active-border);
outline-offset: -1px;
}
.status {
font-size: 12px;
line-height: 1;
}
.metadata-container {
display: flex;
align-items: center;
margin-left: auto;
}
.metadata-container > :not(:last-child) {
margin-right: 0.25rem;
}
.attribution-container {
all: unset;
display: flex;
margin-left: auto;
}
.attribution-icon-unavailable {
color: var(--hl-orange);
}
.attribution-icon-found {
color: var(--hl-dark-red);
}
.status {
display: flex;
align-items: center;
}
.codicon-loading {
animation: spin 1s linear infinite;
}
@keyframes spin {
from { transform: rotate(0deg); }
to { transform: rotate(360deg); }
}
/*
* Content
*/
:root {
--spacing: 1rem;
}
.content {
word-break: break-word;
text-wrap: wrap;
}
/* Style @-file tokens to match TranscriptAction context files */
.content a[href^="vscode://file"] em,
.content a[href^="vscode-insiders://file"] em,
.content a[href^="vscodium://file"] em,
.content a[href^="cursor://file"] em
{
padding: 1px 2px;
box-sizing: border-box;
background-color: color-mix(in srgb, var(--vscode-textLink-foreground) 15%, transparent);
border-radius: 2px;
font-style: normal;
word-break: break-all;
}
.content p {
word-break: break-word;
margin-block: 1rem;
}
.content pre {
padding: calc(var(--spacing) * 0.5);
overflow-x: auto;
border-style: solid;
border-width: 1px;
border-color: var(--vscode-sideBarSectionHeader-border);
border-bottom: none;
margin: 1rem 0;
}
.content code,
.content pre {
font-family: var(--vscode-editor-font-family);
font-size: var(--vscode-editor-font-size);
overflow: auto;
}
.content pre,
.content pre > code {
/* Our syntax highlighter emits colors intended for dark backgrounds only. */
background-color: var(--code-background);
color: var(--code-foreground);
margin-bottom: 0;
}
body[data-vscode-theme-kind='vscode-light'] .content pre,
body[data-vscode-theme-kind='vscode-light'] .content pre > code {
/* Our syntax highlighter emits colors intended for dark backgrounds only. */
background-color: var(--code-background);
color: var(--code-foreground);
}
.content h1,
.content h2,
.content h3,
.content h4,
.content h5,
.content h6 {
margin: 1.2em 0;
}
.content h1 {
font-size: 1.15em;
font-weight: 700;
}
.content h2 {
font-size: 1.1em;
font-weight: 700;
}
.content h3 {
font-size: inherit;
font-weight: 700;
}
.content h4,
.content h5,
.content h6 {
font-size: inherit;
font-weight: 600;
}
.content > *:first-child {
margin-top: 0;
}
.content > *:last-child {
margin-bottom: 0;
}
.content ul, .content ol {
margin-block: 1rem;
padding-inline-start: 2rem;
list-style: revert;
}
.file-name-container {
color: var(--vscode-descriptionForeground);
margin-left: auto;
}
|