Files
vscode-extension-samples/webview-view-sample/media/main.css
Matt Bierner 37ac6e5e25 Default webview view to use a transparent background
This makes them inherit the background of their view container
2020-11-30 16:38:15 -08:00

41 lines
560 B
CSS

body {
background-color: transparent;
}
.color-list {
list-style: none;
padding: 0;
}
.color-entry {
width: 100%;
display: flex;
margin-bottom: 0.4em;
border: 1px solid var(--vscode-input-border);
}
.color-preview {
width: 2em;
height: 2em;
}
.color-preview:hover {
outline: inset white;
}
.color-input {
display: block;
flex: 1;
width: 100%;
color: var(--vscode-input-foreground);
background-color: var(--vscode-input-background);
border: none;
padding: 0 0.6em;
}
.add-color-button {
display: block;
border: none;
margin: 0 auto;
}