forked from liferay/clay
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Breaking: (Fixes liferay#600) Removed colors from Dropdown Action and…
… Quick Action Item, they now require modifier classes to style them (e.g., `.component-action`) Update: (liferay#600) `.btn-outline-primary`, `.btn-outline-secondary`, `.component-action` and `.link-outline-secondary` to closest match of Lexicon 2 Sites buttons Update: Atlas `$btn-padding-x-sm` value to 0.5rem (8px) Update: (liferay#600) `.btn-outline-borderless` shouldn't show borders when used with `.dropdown-toggle` and update `.link-outline-primary` colors to best match Lexicon 2 Colors Update: (liferay#600) Management Bar, Pagination, Tables links shouldn't rely on `$dropdown-action-*` colors Breaking: (liferay#600) Dropdown Action should be able to recieve colors, removed options to configure colors `$dropdown-action-toggle-bg`, `$dropdown-action-toggle-color`, `$dropdown-action-toggle-hover-bg`, `$dropdown-action-toggle-hover-color`, `$dropdown-action-toggle-disabled-bg`, `$dropdown-action-toggle-disabled-color`, `$dropdown-action-toggle-active-bg`, `$dropdown-action-toggle-active-color` Breaking: (liferay#600) Quick Action should be able to recieve colors, removed options to configure colors `$quick-action-item-bg`, `$quick-action-item-color`, `$quick-action-item-hover-bg`, `$quick-action-item-hover-color`, `$quick-action-item-disabled-bg`, `$quick-action-item-disabled-color`, `$quick-action-item-active-bg`, `$quick-action-item-active-color` Update: (liferay#600) `.link-outline-primary` remove focus colors Update: (liferay#600) Mixin `clay-link` added options to configure `btn-focus-box-shadow`, `btn-focus-outline` for focus styles only for `button` if you like Update: (liferay#600) `button.link-outline-primary` and `button.link-outline-secondary` focus states and `.link-outline-primary`, `.link-outline-secondary` disabled states Update: (liferay#600) `button.link-outline` should use `$btn-cursor` Update: (liferay#600) Mixin `clay-link` added option to configure `transition` and `.component-action` to use new properties added to `clay-link` Breaking: (liferay#600) Quick Action Item removed padding, it now requires `.component-action`
- Loading branch information
Showing
16 changed files
with
120 additions
and
116 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
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
12 changes: 6 additions & 6 deletions
12
packages/clay/src/scss/atlas/variables/_management-bar.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 |
---|---|---|
@@ -1,14 +1,14 @@ | ||
$management-bar-light: ( | ||
bg: #FFF, | ||
link-border-radius: $border-radius, | ||
link-hover-color: $dropdown-action-toggle-hover-color, | ||
link-hover-bg: $dropdown-action-toggle-hover-bg, | ||
link-active-bg: $dropdown-action-toggle-active-bg | ||
link-hover-color: $body-color, | ||
link-hover-bg: rgba(0, 0, 0, 0.02), | ||
link-active-bg: rgba(0, 0, 0, 0.04) | ||
) !default; | ||
|
||
$management-bar-primary: ( | ||
link-border-radius: $border-radius, | ||
link-hover-color: $dropdown-action-toggle-hover-color, | ||
link-hover-bg: $dropdown-action-toggle-hover-bg, | ||
link-active-bg: $dropdown-action-toggle-active-bg | ||
link-hover-color: $body-color, | ||
link-hover-bg: rgba(0, 0, 0, 0.02), | ||
link-active-bg: rgba(0, 0, 0, 0.04) | ||
) !default; |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,3 @@ | ||
$quick-action-font-size: 1rem !default; // 16px | ||
|
||
$quick-action-item-hover-bg: $dropdown-action-toggle-hover-bg !default; | ||
$quick-action-item-hover-color: $dropdown-action-toggle-hover-color !default; | ||
|
||
$quick-action-item-disabled-color: $quick-action-item-hover-color !default; | ||
$quick-action-item-disabled-opacity: $btn-disabled-opacity !default; | ||
|
||
$quick-action-item-active-bg: $dropdown-action-toggle-active-bg !default; | ||
$quick-action-item-active-color: $quick-action-item-hover-color !default; | ||
$quick-action-item-disabled-opacity: $btn-disabled-opacity !default; |
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
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
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
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.