File size: 1,629 Bytes
1e92f2d |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 |
@import "@automattic/color-studio/dist/color-variables";
.subscriptions-ellipsis-menu__popover {
outline: none;
min-width: 305px;
&.popover {
.popover__inner {
border: none;
box-shadow: 0 3px 8px rgba($studio-black, 0.12), 0 3px 1px rgba($studio-black, 0.04);
padding: 21px;
text-align: left;
}
}
.delivery-frequency-input__control,
.subscriptions-ellipsis-menu__item-button {
&.is-loading {
cursor: default;
opacity: 0.5;
pointer-events: none;
}
}
.subscriptions-ellipsis-menu__item-button {
font-size: $font-body-small;
line-height: $font-title-small;
display: flex;
align-items: center;
gap: 16px;
width: 100%;
cursor: pointer;
&:hover,
&:focus {
color: $studio-blue-50;
.subscriptions-ellipsis-menu__item-icon {
fill: $studio-blue-50;
}
}
}
.subscriptions-ellipsis-menu__item-icon {
fill: $studio-gray-50;
}
.settings-popover__item-label {
margin-bottom: 8px;
text-align: left;
}
.segmented-control__link {
padding-top: 10px;
padding-bottom: 10px;
line-height: $font-body;
}
.setting-item__hint {
width: 212px;
}
}
$rotateOnOpenDeg: 90deg;
.subscriptions-ellipsis-menu {
&__toggle {
cursor: pointer;
.gridicons-ellipsis {
transition: transform 0.15s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
&.has-vertical-toggle:not(.is-popover-visible) .gridicons-ellipsis {
transform: rotate(90deg);
}
&.has-vertical-toggle.is-popover-visible .gridicons-ellipsis {
transform: rotate(180deg);
}
&:not(.has-vertical-toggle).is-popover-visible .gridicons-ellipsis {
transform: rotate(90deg);
}
}
}
|