2019-08-27 22:50:53 +00:00
|
|
|
.confirm-wrapper {
|
|
|
|
position: relative;
|
|
|
|
overflow: hidden;
|
|
|
|
border-radius: 2px;
|
|
|
|
box-shadow: $box-shadow, $box-shadow-middle;
|
|
|
|
}
|
|
|
|
|
|
|
|
.confirm {
|
|
|
|
transition: transform $speed;
|
|
|
|
padding-top: 2px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.show-confirm {
|
|
|
|
transform: translateX(-100%);
|
|
|
|
transition: transform $speed;
|
|
|
|
}
|
|
|
|
|
|
|
|
.confirm.show-confirm {
|
|
|
|
visibility: hidden;
|
|
|
|
}
|
|
|
|
|
|
|
|
.confirm-overlay {
|
|
|
|
position: absolute;
|
|
|
|
background-color: white;
|
|
|
|
top: 0;
|
|
|
|
left: 100%;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.confirm,
|
|
|
|
.confirm-overlay {
|
|
|
|
button.link,
|
|
|
|
a {
|
|
|
|
background-color: $white;
|
|
|
|
color: $menu-item-color;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background-color: $menu-item-hover-background-color;
|
|
|
|
color: $menu-item-hover-color;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.is-active {
|
|
|
|
background-color: $menu-item-active-background-color;
|
|
|
|
color: $menu-item-active-color;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.is-destroy {
|
|
|
|
color: $red;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background-color: $red;
|
|
|
|
color: $white;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.disabled {
|
|
|
|
opacity: 0.5;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background: transparent;
|
|
|
|
cursor: default;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.confirm-action span .button {
|
|
|
|
display: block;
|
|
|
|
margin: 0.25rem auto;
|
|
|
|
width: 95%;
|
|
|
|
}
|
|
|
|
|
2018-04-03 14:16:57 +00:00
|
|
|
.confirm-action > span {
|
|
|
|
@include from($tablet) {
|
|
|
|
align-items: center;
|
|
|
|
display: flex;
|
|
|
|
}
|
|
|
|
|
|
|
|
* {
|
|
|
|
margin-left: $size-8;
|
|
|
|
}
|
|
|
|
|
2018-05-02 14:09:41 +00:00
|
|
|
.confirm-action-text:not(.is-block) {
|
2018-04-03 14:16:57 +00:00
|
|
|
text-align: right;
|
|
|
|
|
|
|
|
@include until($tablet) {
|
|
|
|
display: block;
|
|
|
|
margin-bottom: $size-8;
|
|
|
|
text-align: left;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.confirm-action-text.is-block {
|
|
|
|
text-align: left;
|
|
|
|
}
|
|
|
|
}
|
2019-05-17 17:29:21 +00:00
|
|
|
|
2019-08-27 22:50:53 +00:00
|
|
|
.confirm-action-message {
|
2019-05-17 17:29:21 +00:00
|
|
|
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;
|
2019-08-27 22:50:53 +00:00
|
|
|
padding: $spacing-xs;
|
2019-05-17 17:29:21 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|