mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-27 22:49:56 -05:00
Added rotation to the details toggle arrow
refs https://github.com/TryGhost/Team/issues/1904
This commit is contained in:
parent
bdc43d8f66
commit
bb0b9c4261
2 changed files with 6 additions and 1 deletions
|
@ -184,7 +184,7 @@
|
|||
<span class="gh-cp-membertier-renewal">Renews {{sub.validUntil}}</span>
|
||||
{{/if}}
|
||||
</div>
|
||||
<button type="button" class="flex pointer flex-row items-center gh-cp-membertier-details" {{on "click" (fn this.toggleSubscriptionExpanded sub.id)}} role="button" aria-label="Show details">
|
||||
<button type="button" class="flex pointer flex-row items-center gh-cp-membertier-details {{if sub.showDetails "rotate"}}" {{on "click" (fn this.toggleSubscriptionExpanded sub.id)}} role="button" aria-label="Show details">
|
||||
Details {{svg-jar "arrow-right-stroke"}}
|
||||
</button>
|
||||
<div class="gh-membertier-advanced {{unless sub.showDetails "hide"}}" data-test-subscription={{index}}>
|
||||
|
|
|
@ -2374,6 +2374,7 @@ p.gh-members-import-errordetail:first-of-type {
|
|||
.gh-cp-membertier-details svg {
|
||||
width: 10px;
|
||||
margin-left: 4px;
|
||||
transition: transform 0.2s ease-in-out;
|
||||
}
|
||||
|
||||
.gh-cp-membertier-details svg path {
|
||||
|
@ -2381,6 +2382,10 @@ p.gh-members-import-errordetail:first-of-type {
|
|||
stroke: var(--middarkgrey);
|
||||
}
|
||||
|
||||
.gh-cp-membertier-details.rotate svg {
|
||||
transform: rotate(90deg);
|
||||
}
|
||||
|
||||
.gh-membertier-subscription .action-menu .gh-btn-subscription-action:not(:hover) {
|
||||
border: 1px solid var(--whitegrey);
|
||||
background: var(--main-bg-color) !important;
|
||||
|
|
Loading…
Add table
Reference in a new issue