discourse/spec/system/page_objects/modals
chapoi f72899401d
UX: refactor .d-modal to use BEM and improve styling (#23967)
This PR refactors the following:
* leaving all the CSS applied to the old `modal-body` classes in their respective files
* made  new clean styling for `.d-modal` and refactored the template to use the new BEM classes
  * `inner-`, `middle-`, `outer-` container classes are gone and replaced with simplified `wrapper` and `container` classes  
  * use standardised max-sizes with modifiers `-large` and `-max`
  * lighter backdrop,
  * min-width to prevent puny modals
  * other styling changes regarding padding, close button,…
* pulled out all modal overrides into a general `modal-overrides` file + cleanup of outdated CSS
* pulled out login and create account modal styling into their own file, cause it's such a big override 
* removed old general login.scss file for mobile & desktop
* only kept some remainders I don't want to touch in `app/assets/stylesheets/common/base/login.scss`
2023-11-15 10:14:47 +00:00
..
avatar_selector.rb DEV: upgrade avatar-selector modal to glimmer component (#24192) 2023-11-07 21:02:19 +08:00
badge.rb UX: refactor .d-modal to use BEM and improve styling (#23967) 2023-11-15 10:14:47 +00:00
base.rb UX: refactor .d-modal to use BEM and improve styling (#23967) 2023-11-15 10:14:47 +00:00
bookmark.rb DEV: Move Bookmark modal/component to use d-modal (#22532) 2023-07-17 10:14:17 +10:00
change_owner.rb UX: refactor .d-modal to use BEM and improve styling (#23967) 2023-11-15 10:14:47 +00:00
delete_themes_confirm.rb UX: refactor .d-modal to use BEM and improve styling (#23967) 2023-11-15 10:14:47 +00:00
dismiss_new.rb FIX: Can't dismiss new topics for experimental new new view (#22484) 2023-07-07 08:28:27 +08:00
flag.rb UX: refactor .d-modal to use BEM and improve styling (#23967) 2023-11-15 10:14:47 +00:00
login.rb DEV: Added page object for the login modal (#23017) 2023-08-08 18:44:52 -03:00
reject_reason_reviewable.rb UX: refactor .d-modal to use BEM and improve styling (#23967) 2023-11-15 10:14:47 +00:00
sidebar_edit_categories.rb DEV: Switch edit nav menu tags/categories modal to component (#22401) 2023-07-04 09:45:21 +08:00
sidebar_edit_navigation_modal.rb UX: refactor .d-modal to use BEM and improve styling (#23967) 2023-11-15 10:14:47 +00:00
sidebar_edit_tags.rb FIX: Loading more tags in edit nav menu tags modal not working (#22770) 2023-07-25 13:44:25 +08:00
sidebar_section_form.rb UX: Remove section heading for community section (#22405) 2023-07-11 09:40:37 +08:00