mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-24 09:35:37 -05:00
Formatting diff editor title (#6013)
* add background color and more formatting to diff editor title * also handle hc-black
This commit is contained in:
@@ -30,7 +30,7 @@ import { ITextModel } from 'vs/editor/common/model';
|
||||
@Component({
|
||||
template: `
|
||||
<div *ngIf="_title">
|
||||
<div class="modelview-diff-editor-title" style="width: 100%; height:100%; padding-left:3px !important; border: 1px solid #BFBDBD;">
|
||||
<div class="modelview-diff-editor-title modelview-diff-editor-title-background">
|
||||
{{_title}}
|
||||
</div>
|
||||
</div>`,
|
||||
|
||||
@@ -15,10 +15,23 @@ modelview-diff-editor-component {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.vs-dark modelview-diff-editor-title {
|
||||
background: #444444;
|
||||
.modelview-diff-editor-title {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
font-weight: 700;
|
||||
padding: 3px 3px 3px 16px;
|
||||
text-transform: uppercase;
|
||||
font-size: 11px
|
||||
}
|
||||
|
||||
modelview-diff-editor-title {
|
||||
background: #f4f4f4;
|
||||
.vs-dark .modelview-diff-editor-title-background {
|
||||
background-color: #434343;
|
||||
}
|
||||
|
||||
.hc-black .modelview-diff-editor-title-background {
|
||||
background-color: #000000;
|
||||
}
|
||||
|
||||
.modelview-diff-editor-title-background {
|
||||
background-color: #d5d5d5;
|
||||
}
|
||||
Reference in New Issue
Block a user