mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-14 18:46:34 -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:
@@ -12,7 +12,7 @@ import { SchemaCompareOptionsDialog } from './dialogs/schemaCompareOptionsDialog
|
||||
import { Telemetry } from './telemetry';
|
||||
import { getTelemetryErrorType } from './utils';
|
||||
const localize = nls.loadMessageBundle();
|
||||
const diffEditorTitle = localize('schemaCompare.ObjectDefinitionsTitle', 'Object Definitions');
|
||||
const diffEditorTitle = localize('schemaCompare.CompareDetailsTitle', 'Compare Details');
|
||||
const applyConfirmation = localize('schemaCompare.ApplyConfirmation', 'Are you sure you want to update the target?');
|
||||
const reCompareToRefeshMessage = localize('schemaCompare.RecompareToRefresh', 'Press Compare to refresh the comparison.');
|
||||
const generateScriptEnabledMessage = localize('schemaCompare.generateScriptEnabledButton', 'Generate script to deploy changes to target');
|
||||
|
||||
@@ -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