ソースを参照

Updates theme references in commit details

main
Keith Daulton 2年前
コミット
24c333c2f0
6個のファイルの変更30行の追加18行の削除
  1. +1
    -1
      src/webviews/apps/commitDetails/commitDetails.scss
  2. +1
    -1
      src/webviews/apps/shared/components/commit/commit-identity.ts
  3. +5
    -0
      src/webviews/apps/shared/components/commit/commit-stats.ts
  4. +14
    -7
      src/webviews/apps/shared/components/commit/file-change-item.ts
  5. +4
    -4
      src/webviews/apps/shared/components/rich/issue-pull-request.ts
  6. +5
    -5
      src/webviews/apps/shared/components/webview-pane.ts

+ 1
- 1
src/webviews/apps/commitDetails/commitDetails.scss ファイルの表示

@ -82,7 +82,7 @@ ul {
margin: 1rem auto 0;
text-align: left;
max-width: 30rem;
transition: max-width .2s ease-out;
transition: max-width 0.2s ease-out;
}
.button-group {

+ 1
- 1
src/webviews/apps/shared/components/commit/commit-identity.ts ファイルの表示

@ -32,7 +32,7 @@ export class CommitIdentity extends LitElement {
.date {
grid-column: 2;
grid-row: 2;
font-size: 1.2rem;
font-size: 1.3rem;
}
`;

+ 5
- 0
src/webviews/apps/shared/components/commit/commit-stats.ts ファイルの表示

@ -17,6 +17,11 @@ export class CommitStats extends LitElement {
display: inline-flex;
flex-direction: row;
align-items: center;
min-width: 3.4em;
}
.stat code-icon {
margin-right: 0.25rem;
}
.added {

+ 14
- 7
src/webviews/apps/shared/components/commit/file-change-item.ts ファイルの表示

@ -61,13 +61,12 @@ export class FileChangeItem extends LitElement {
line-height: 2rem;
color: var(--vscode-foreground);
}
:host(:hover),
:host(:focus-within) {
:host(:hover) {
background-color: var(--vscode-list-hoverBackground);
}
:host(:focus-within) {
outline: 1px solid var(--vscode-focusBorder);
outline: 1px solid var(--vscode-list-focusOutline);
outline-offset: -1px;
}
@ -86,7 +85,7 @@ export class FileChangeItem extends LitElement {
}
.change-list__status {
margin-right: 0.33em;
margin-right: 0.6rem;
}
.change-list__status-icon {
@ -96,7 +95,8 @@ export class FileChangeItem extends LitElement {
}
.change-list__path {
color: var(--vscode-descriptionForeground);
opacity: 0.7;
margin-left: 0.3rem;
}
.change-list__actions {
@ -117,13 +117,20 @@ export class FileChangeItem extends LitElement {
width: 2rem;
height: 2rem;
border-radius: 0.25em;
color: inherit;
color: var(--vscode-icon-foreground);
padding: 2px;
vertical-align: text-bottom;
text-decoration: none;
}
.change-list__action:focus {
outline: 1px solid var(--vscode-focusBorder);
outline-offset: -1px;
}
.change-list__action:hover {
background-color: var(--color-background--lighten-15);
background-color: var(--vscode-toolbar-hoverBackground);
}
.change-list__action:active {
background-color: var(--vscode-toolbar-activeBackground);
}
`;

+ 4
- 4
src/webviews/apps/shared/components/rich/issue-pull-request.ts ファイルの表示

@ -8,7 +8,7 @@ export class IssuePullRequest extends LitElement {
static override styles = css`
:host {
display: grid;
gap: 0.25rem 0.5rem;
gap: 0.25rem 0.6rem;
justify-content: start;
}
@ -21,22 +21,22 @@ export class IssuePullRequest extends LitElement {
grid-column: 1;
grid-row: 1 / 3;
color: var(--vscode-gitlens-mergedPullRequestIconColor);
width: 32px;
text-align: center;
padding-top: 0.1rem;
}
.title {
grid-column: 2;
grid-row: 1;
margin: 0;
font-size: 1.5rem;
font-size: 1.4rem;
}
.date {
grid-column: 2;
grid-row: 2;
margin: 0;
font-size: 1.2rem;
font-size: 1.3rem;
}
`;

+ 5
- 5
src/webviews/apps/shared/components/webview-pane.ts ファイルの表示

@ -8,7 +8,7 @@ export class WebviewPane extends LitElement {
:host {
display: flex;
flex-direction: column;
background-color: var(--color-view-background);
background-color: var(--vscode-sideBar-background);
}
* {
@ -18,9 +18,9 @@ export class WebviewPane extends LitElement {
.header {
flex: none;
display: flex;
background-color: var(--color-view-background);
background-color: var(--vscode-sideBarSectionHeader-background);
color: var(--vscode-foreground);
border-top: 1px solid var(--vscode-panel-border);
border-top: 1px solid var(--vscode-sideBarSectionHeader-border);
}
.header:focus-within {
@ -54,8 +54,8 @@ export class WebviewPane extends LitElement {
}
.subtitle {
margin-left: 0.5rem;
color: var(--vscode-descriptionForeground);
margin-left: 1rem;
opacity: 0.6;
}
.icon {

||||||
x
 
000:0
読み込み中…
キャンセル
保存