Skip to content

Commit

Permalink
feat(popover): add popover-border-radius theme var (#254)
Browse files Browse the repository at this point in the history
  • Loading branch information
tibing-old-email authored and nnixaa committed Feb 20, 2018
1 parent c826187 commit 362fa49
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
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);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@

position: absolute;
z-index: 10000;
border-radius: 5px;
top: 200px;

.primitive-popover {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ export type NbPopoverContent = string | TemplateRef<any> | Type<any>;
* popover-fg
* popover-bg
* popover-border
* popover-border-radius
* popover-shadow
* */
@Component({
Expand Down
1 change: 1 addition & 0 deletions src/framework/theme/styles/themes/_default.scss
Original file line number Diff line number Diff line change
Expand Up @@ -235,6 +235,7 @@ $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,
Expand Down

0 comments on commit 362fa49

Please sign in to comment.