Files
vscode-extension-samples/webview-view-sample/media/main.css
Matt Bierner bb4a0c3a5d Remove explicit background: transparent;
VS Code now defaults to using a transparent background for webviews
2020-08-31 16:25:37 -07:00

42 lines
684 B
CSS

.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;
color: var(--vscode-button-foreground);
background: var(--vscode-button-background);
border: none;
margin: 0 auto;
}
.add-color-button:hover {
background: var(--vscode-button-hoverBackground);
}