-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
BREAKING CHANGE: NbActionsComponent 'inverseValue' field and 'inverse' setter removed. NbActionsComponent 'fullWidthValue' field replaced with 'fullWidth'. NbActionsComponent size class named renamed to 'size-[size-name]'. NbActionsComponent static fields SIZE_SMALL, SIZE_MEDIUM, SIZE_LARGE removed. NbActionComponent 'disabledValue' field replaced with 'disabled'. Following theme variables name were renamed: actions-font-size -> actions-[size]-text-font-size actions-font-family -> actions-text-font-family actions-line-height -> actions-text-line-height actions-fg -> actions-text-color actions-bg -> actions-background-color actions-separator -> actions-divider-color actions-padding -> actions-[size]-padding actions-size-small -> actions-small-height actions-size-medium -> actions-medium-height actions-size-large -> actions-large-height
- Loading branch information
Showing
10 changed files
with
458 additions
and
176 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
36 changes: 36 additions & 0 deletions
36
src/framework/theme/components/actions/action.component.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
/** | ||
* @license | ||
* Copyright Akveo. All Rights Reserved. | ||
* Licensed under the MIT License. See License.txt in the project root for license information. | ||
*/ | ||
|
||
:host { | ||
background: transparent; | ||
display: flex; | ||
flex-wrap: wrap; | ||
align-items: center; | ||
position: relative; | ||
} | ||
|
||
:host(.disabled) { | ||
cursor: not-allowed; | ||
|
||
a, nb-icon { | ||
cursor: not-allowed; | ||
} | ||
} | ||
|
||
:host-context(nb-actions.full-width) { | ||
justify-content: center; | ||
width: 100%; | ||
} | ||
|
||
a.icon-container { | ||
&:hover, &:focus { | ||
text-decoration: none; | ||
} | ||
} | ||
|
||
nb-icon:hover { | ||
cursor: pointer; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.