From d9b7711a2c4c34dad7c4393fc9dc7dfd6f9412f5 Mon Sep 17 00:00:00 2001 From: Kim Santiago <31145923+kisantia@users.noreply.github.com> Date: Mon, 13 Apr 2020 15:02:45 -0700 Subject: [PATCH] fix opacity for light theme (#9944) --- .../properties/propertiesWidget.component.ts | 1 + .../browser/widgets/properties/propertiesWidget.css | 13 +++++++++++++ 2 files changed, 14 insertions(+) create mode 100644 src/sql/workbench/contrib/dashboard/browser/widgets/properties/propertiesWidget.css diff --git a/src/sql/workbench/contrib/dashboard/browser/widgets/properties/propertiesWidget.component.ts b/src/sql/workbench/contrib/dashboard/browser/widgets/properties/propertiesWidget.component.ts index fa755de25d..a176b694ed 100644 --- a/src/sql/workbench/contrib/dashboard/browser/widgets/properties/propertiesWidget.component.ts +++ b/src/sql/workbench/contrib/dashboard/browser/widgets/properties/propertiesWidget.component.ts @@ -2,6 +2,7 @@ * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the Source EULA. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ +import 'vs/css!./propertiesWidget'; import { Component, Inject, forwardRef, ChangeDetectorRef, OnInit, ElementRef, ViewChild } from '@angular/core'; diff --git a/src/sql/workbench/contrib/dashboard/browser/widgets/properties/propertiesWidget.css b/src/sql/workbench/contrib/dashboard/browser/widgets/properties/propertiesWidget.css new file mode 100644 index 0000000000..9fa11c0a40 --- /dev/null +++ b/src/sql/workbench/contrib/dashboard/browser/widgets/properties/propertiesWidget.css @@ -0,0 +1,13 @@ +/*--------------------------------------------------------------------------------------------- + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the Source EULA. See License.txt in the project root for license information. + *--------------------------------------------------------------------------------------------*/ + +.propertiesName { + opacity: 0.6; +} + +.vs-dark .propertiesName, +.hc-black .propertiesName { + opacity: 1; +}