Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/text.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorVinicius Reis <vinicius.reis@nextcloud.com>2022-05-24 22:15:03 +0300
committerVinicius Reis <vinicius.reis@nextcloud.com>2022-05-24 22:15:03 +0300
commitfcbb841584908698239fb1bbf2b6c4175f9961cc (patch)
tree8db62338a2b4dc110cc54ca5f2796d2c932f6bf7 /src
parenta5842474885db23df7cc32c8602575a488f7e81f (diff)
🚨 (#2345): fix stylelint
Signed-off-by: Vinicius Reis <vinicius.reis@nextcloud.com>
Diffstat (limited to 'src')
-rw-r--r--src/components/Menu/ActionEntry.scss108
1 files changed, 54 insertions, 54 deletions
diff --git a/src/components/Menu/ActionEntry.scss b/src/components/Menu/ActionEntry.scss
index 77de40478..1f49654af 100644
--- a/src/components/Menu/ActionEntry.scss
+++ b/src/components/Menu/ActionEntry.scss
@@ -1,67 +1,67 @@
-.text__is-active-item-btn {
- opacity: 1;
+%text__is-active-item-btn {
+ opacity: 1;
- &::before {
- transform: translateX(-50%);
- border-radius: 100%;
- position: absolute;
- background: var(--color-primary-element);
- bottom: 3px;
- height: 6px;
- width: 6px;
- content: "";
- left: 50%;
- }
+ &::before {
+ transform: translateX(-50%);
+ border-radius: 100%;
+ position: absolute;
+ background: var(--color-primary-element);
+ bottom: 3px;
+ height: 6px;
+ width: 6px;
+ content: '';
+ left: 50%;
+ }
}
.text-menubar, .popover {
- button.entry-action__button {
- height: 44px;
- margin: 0;
- border: 0;
- opacity: 0.5;
- position: relative;
- color: var(--color-main-text);
- background-color: transparent;
- vertical-align: top;
- padding: 0;
-
- p {
+ button.entry-action__button {
+ height: 44px;
+ margin: 0;
+ border: 0;
+ opacity: 0.5;
+ position: relative;
+ color: var(--color-main-text);
+ background-color: transparent;
+ vertical-align: top;
padding: 0;
- }
- &:is(li.entry-action-item button) {
- padding: 0 0.5em 0 0;
- }
+ p {
+ padding: 0;
+ }
- &:not(li.entry-action-item button) {
- width: 44px;
- }
+ &:is(li.entry-action-item button) {
+ padding: 0 0.5em 0 0;
+ }
- &:hover,
- &:focus,
- &:active {
- background-color: var(--color-background-dark);
- }
+ &:not(li.entry-action-item button) {
+ width: 44px;
+ }
- &:hover,
- &:focus {
- opacity: 1;
- }
+ &:hover,
+ &:focus,
+ &:active {
+ background-color: var(--color-background-dark);
+ }
- &.is-active {
- @extend .text__is-active-item-btn;
- }
- }
+ &:hover,
+ &:focus {
+ opacity: 1;
+ }
- .entry-action.is-active:not(.entry-action-item) {
- @extend .text__is-active-item-btn;
- }
+ &.is-active {
+ @extend %text__is-active-item-btn;
+ }
+ }
+
+ .entry-action.is-active:not(.entry-action-item) {
+ @extend %text__is-active-item-btn;
+ }
- .entry-action.entry-action-item {
- &.is-active {
- background-color: var(--color-primary-light);
- box-shadow: inset 2px 0 var(--color-primary);
- }
- }
+ .entry-action.entry-action-item {
+ &.is-active {
+ background-color: var(--color-primary-light);
+ box-shadow: inset 2px 0 var(--color-primary);
+ }
+ }
}