diff --git a/changelog.d/customizable-actions.add b/changelog.d/customizable-actions.add new file mode 100644 index 000000000..5ce6a5180 --- /dev/null +++ b/changelog.d/customizable-actions.add @@ -0,0 +1 @@ +Post actions can be customized diff --git a/src/App.scss b/src/App.scss index 1b781304e..c0f2e3fec 100644 --- a/src/App.scss +++ b/src/App.scss @@ -408,32 +408,11 @@ nav { } } -.menu-item, .list-item { - display: block; - box-sizing: border-box; - border: none; - outline: none; - text-align: initial; - color: inherit; - clear: both; - position: relative; - white-space: nowrap; border-color: var(--border); border-style: solid; border-width: 0; border-top-width: 1px; - width: 100%; - padding: var(--__vertical-gap) var(--__horizontal-gap); - background: transparent; - - --__line-height: 1.5em; - --__horizontal-gap: 0.75em; - --__vertical-gap: 0.5em; - - &.-non-interactive { - cursor: auto; - } &.-active, &:hover { @@ -455,18 +434,6 @@ nav { border-bottom-width: 1px; } - a, - button:not(.button-default) { - text-align: initial; - padding: 0; - background: none; - border: none; - outline: none; - display: inline; - font-family: inherit; - line-height: unset; - } - &:first-child { border-top-right-radius: var(--roundness); border-top-left-radius: var(--roundness); @@ -480,6 +447,42 @@ nav { } } +.menu-item, +.list-item { + display: block; + box-sizing: border-box; + border: none; + outline: none; + text-align: initial; + color: inherit; + clear: both; + position: relative; + white-space: nowrap; + width: 100%; + padding: var(--__vertical-gap) var(--__horizontal-gap); + background: transparent; + + --__line-height: 1.5em; + --__horizontal-gap: 0.75em; + --__vertical-gap: 0.5em; + + &.-non-interactive { + cursor: auto; + } + + a, + button:not(.button-default) { + text-align: initial; + padding: 0; + background: none; + border: none; + outline: none; + display: inline; + font-family: inherit; + line-height: unset; + } +} + .button-unstyled { border: none; outline: none; diff --git a/src/components/account_actions/account_actions.vue b/src/components/account_actions/account_actions.vue index 62862a8fc..fd4837ee4 100644 --- a/src/components/account_actions/account_actions.vue +++ b/src/components/account_actions/account_actions.vue @@ -9,60 +9,80 @@