open-vault/ui/app/styles/components/confirm.scss
Joshua Ogle 7eff7b51aa
UI: Confirm Action as a popover
* Refactors ConfirmAction implementation as a popover
* Improves copy surrounding consequences of destructive actions
* Moves 'Delete' buttons to Toolbar
2019-05-17 11:29:21 -06:00

62 lines
941 B
SCSS

.confirm-action > span {
@include from($tablet) {
align-items: center;
display: flex;
}
* {
margin-left: $size-8;
}
.confirm-action-text:not(.is-block) {
text-align: right;
@include until($tablet) {
display: block;
margin-bottom: $size-8;
text-align: left;
}
}
.confirm-action-text.is-block {
text-align: left;
}
}
.popup-menu-content .confirm-action-message {
margin: 0;
.message {
border: 0;
font-size: $size-8;
line-height: 1.33;
margin: 0;
}
.message-title {
font-size: 1rem;
}
.hs-icon {
color: $yellow;
}
p {
font-weight: $font-weight-semibold;
margin-left: $spacing-l;
padding-left: $spacing-xxs;
padding-top: 0;
}
.confirm-action-options {
border-top: $light-border;
display: flex;
padding: $spacing-xxs;
.link {
flex: 1;
text-align: center;
width: auto;
}
}
}