-
Notifications
You must be signed in to change notification settings - Fork 57
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
EZP-28463: Updated design for Modal Send to trash #224
EZP-28463: Updated design for Modal Send to trash #224
Conversation
Updated based on review. |
border-color: $ez-color-base-medium; | ||
|
||
&:hover { | ||
background-color: darken($ez-color-base-medium, 15%); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't we use colors defined in _custom.scss
? Maybe we should new ones there?
.ez-content-view, | ||
.ez-trash-list-view { | ||
.ez-modal { | ||
&--send-to-trash { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think one level of nesting might be omitted by setting .ez-modal--send-to-trash
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It can be improved here and there.
@@ -1,25 +1,26 @@ | |||
<div class="modal fade" id="delete-section-modal" tabindex="-1" role="dialog"> | |||
<div class="modal fade ez-modal--send-to-trash" id="delete-section-modal" tabindex="-1" role="dialog"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe ez-modal ez-modal--send-to-trash
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Modal in context of the language detail view (Admin / Languages / language_name) has an reversed button order - Delete on the left, and Cancel on the right.
ping @sunpietro @m-tyrala |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
QA tests ok.
Most important aspect:
Checklist:
$ composer fix-cs
)