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
nnixaa authored Feb 20, 2018
1 parent 362fa49 commit baf1a61
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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);

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

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

0 comments on commit baf1a61

Please sign in to comment.