From baf1a619e36de310b1114b2d499be4fdc14fff9d Mon Sep 17 00:00:00 2001 From: Dmitry Nehaychik <4dmitr@gmail.com> Date: Tue, 20 Feb 2018 14:39:38 +0300 Subject: [PATCH] feat(popover): add popover-border-radius theme var (#254) --- .../theme/components/popover/_popover.component.theme.scss | 1 - src/framework/theme/components/popover/popover.component.scss | 1 + src/framework/theme/components/popover/popover.component.ts | 1 - src/framework/theme/styles/themes/_default.scss | 1 - 4 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/framework/theme/components/popover/_popover.component.theme.scss b/src/framework/theme/components/popover/_popover.component.theme.scss index 28463c6b5c..1476d42186 100644 --- a/src/framework/theme/components/popover/_popover.component.theme.scss +++ b/src/framework/theme/components/popover/_popover.component.theme.scss @@ -8,7 +8,6 @@ nb-popover { $arrow-size: 11px; border: 2px solid nb-theme(popover-border); - border-radius: nb-theme(popover-border-radius); background: nb-theme(popover-bg); box-shadow: nb-theme(popover-shadow); diff --git a/src/framework/theme/components/popover/popover.component.scss b/src/framework/theme/components/popover/popover.component.scss index 38a9211741..38ba6e51d9 100644 --- a/src/framework/theme/components/popover/popover.component.scss +++ b/src/framework/theme/components/popover/popover.component.scss @@ -10,6 +10,7 @@ position: absolute; z-index: 10000; + border-radius: 5px; top: 200px; .primitive-popover { diff --git a/src/framework/theme/components/popover/popover.component.ts b/src/framework/theme/components/popover/popover.component.ts index 90d10974d3..a79e4128c4 100644 --- a/src/framework/theme/components/popover/popover.component.ts +++ b/src/framework/theme/components/popover/popover.component.ts @@ -23,7 +23,6 @@ export type NbPopoverContent = string | TemplateRef | Type; * popover-fg * popover-bg * popover-border - * popover-border-radius * popover-shadow * */ @Component({ diff --git a/src/framework/theme/styles/themes/_default.scss b/src/framework/theme/styles/themes/_default.scss index acac346e07..02b4cadb3a 100644 --- a/src/framework/theme/styles/themes/_default.scss +++ b/src/framework/theme/styles/themes/_default.scss @@ -235,7 +235,6 @@ $theme: ( popover-fg: color-fg-heading, popover-bg: color-bg, popover-border: color-success, - popover-border-radius: radius, popover-shadow: none, actions-font-size: font-size,