Dialogs
I've chosen, probably to the outrage of many, to use the nav element to represent simple
dialogs. Dialogs are intended to be hovering windows with control-buttons.
Attempting to get as close as possible to the concepts as details on Google's Material Design specifications on dialogs.
nav {
@extend %m__dialog;
@extend %a__primary-color000;
@extend %m__dialog--hidden;
&.show {
@extend %m__dialog--visible;
}
> h1 {
@extend %m__dialog__title;
}
> menu {
@extend %m__dialog__menu;
> li {
@extend %m__dialog__menu-item;
> a {
@extend %m__actions__cta--flat-P500;
}
}
}
}