Skip to content

Commit deb5b2f

Browse files
committed
IONOS(theming): add special rule for dashboard buttons
to work again nextclouds !important rule without destroying other buttons Ref: cdb0f4f Signed-off-by: Kai Henseler <kai.henseler@strato.de>
1 parent 0af83dd commit deb5b2f

File tree

1 file changed

+15
-2
lines changed

1 file changed

+15
-2
lines changed

apps/theming/css/ionos/buttons.css

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,12 @@
3535
}
3636

3737
&:hover:not(:disabled):not(.button-vue--disabled) {
38-
background-color: var(--ion-button-secondary-background-hover)!important;
38+
background-color: var(--ion-button-secondary-background-hover);
39+
border-color: var(--ion-button-secondary-background-hover);
40+
}
41+
42+
#app-dashboard &:hover:not(:disabled):not(.button-vue--disabled) {
43+
background-color: var(--ion-button-secondary-background-hover) !important;
3944
border-color: var(--ion-button-secondary-background-hover);
4045
color: var(--ion-button-secondary-text-hover);
4146

@@ -67,7 +72,15 @@
6772
&.button-vue--vue-primary:not(.unified-search-modal__header *), &.button-vue--vue-error:not(.unified-search-modal__header *),
6873
/* ensure primary type styling of "new" button */
6974
&.action-item__menutoggle:not(.unified-search-modal__header *), &.files-list__header-upload-button--disabled {
70-
background-color: var(--ion-button-primary-background-default)!important;
75+
background-color: var(--ion-button-primary-background-default);
76+
}
77+
78+
#app-dashboard &.action-item__menutoggle:not(.unified-search-modal__header *), #app-dashboard &.files-list__header-upload-button--disabled {
79+
background-color: var(--ion-button-primary-background-default) !important;
80+
}
81+
82+
&.button-vue--vue-primary:not(.unified-search-modal__header *), &.button-vue--vue-error:not(.unified-search-modal__header *),
83+
&.action-item__menutoggle:not(.unified-search-modal__header *), &.files-list__header-upload-button--disabled {
7184
border: none;
7285

7386
.button-vue__text, .button-vue__icon svg {

0 commit comments

Comments
 (0)