Browse Source

Updates styling

main
Eric Amodio 2 years ago
parent
commit
ef3c594845
3 changed files with 8 additions and 3 deletions
  1. +6
    -1
      src/webviews/apps/commitDetails/commitDetails.scss
  2. +1
    -1
      src/webviews/apps/shared/components/commit/file-change-item.ts
  3. +1
    -1
      src/webviews/apps/shared/components/webview-pane.ts

+ 6
- 1
src/webviews/apps/commitDetails/commitDetails.scss View File

@ -119,6 +119,7 @@ ul {
&__filename { &__filename {
} }
&__path { &__path {
font-size: 0.9em;
} }
&__actions { &__actions {
flex: none; flex: none;
@ -198,9 +199,11 @@ ul {
&__message { &__message {
font-size: 1.3rem; font-size: 1.3rem;
border: 1px solid var(--color-background--lighten-15);
border: 1px solid var(--vscode-input-border);
background: var(--vscode-input-background);
padding: 0.5rem; padding: 0.5rem;
} }
&__message-text { &__message-text {
flex: 1; flex: 1;
margin: 0; margin: 0;
@ -300,6 +303,8 @@ ul {
max-height: 100vh; max-height: 100vh;
overflow: auto; overflow: auto;
scrollbar-gutter: stable; scrollbar-gutter: stable;
color: var(--vscode-sideBar-foreground);
background-color: var(--vscode-sideBar-background);
[aria-hidden='true'] { [aria-hidden='true'] {
display: none; display: none;

+ 1
- 1
src/webviews/apps/shared/components/commit/file-change-item.ts View File

@ -59,7 +59,7 @@ export class FileChangeItem extends LitElement {
justify-content: space-between; justify-content: space-between;
font-size: var(--vscode-font-size); font-size: var(--vscode-font-size);
line-height: 2rem; line-height: 2rem;
color: var(--vscode-foreground);
color: var(--vscode-sideBar-foreground);
} }
:host(:hover) { :host(:hover) {
background-color: var(--vscode-list-hoverBackground); background-color: var(--vscode-list-hoverBackground);

+ 1
- 1
src/webviews/apps/shared/components/webview-pane.ts View File

@ -19,7 +19,7 @@ export class WebviewPane extends LitElement {
flex: none; flex: none;
display: flex; display: flex;
background-color: var(--vscode-sideBarSectionHeader-background); background-color: var(--vscode-sideBarSectionHeader-background);
color: var(--vscode-foreground);
color: var(--vscode-sideBarSectionHeader-foreground);
border-top: 1px solid var(--vscode-sideBarSectionHeader-border); border-top: 1px solid var(--vscode-sideBarSectionHeader-border);
} }

Loading…
Cancel
Save