Skip to content

Commit 2939eb4

Browse files
authored
Bock Type Card: make actions stand clear from thumbnail/color (#20895)
clean up and make actions stand clear from custom background colors/images
1 parent 2f02bee commit 2939eb4

File tree

1 file changed

+5
-17
lines changed

1 file changed

+5
-17
lines changed

src/Umbraco.Web.UI.Client/src/packages/block/block-type/components/input-block-type/input-block-type.element.ts

Lines changed: 5 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -204,28 +204,16 @@ export class UmbInputBlockTypeElement<
204204
opacity: 0.5;
205205
}
206206
207+
uui-action-bar {
208+
--uui-button-background-color: var(--uui-color-surface);
209+
--uui-button-background-color-hover: var(--uui-color-surface);
210+
}
211+
207212
#add-button {
208213
text-align: center;
209214
min-height: 150px;
210215
height: 100%;
211216
}
212-
213-
uui-icon {
214-
display: block;
215-
margin: 0 auto;
216-
}
217-
218-
uui-input {
219-
border: none;
220-
margin: var(--uui-size-space-6) 0 var(--uui-size-space-4);
221-
}
222-
223-
uui-input:hover uui-button {
224-
opacity: 1;
225-
}
226-
uui-input uui-button {
227-
opacity: 0;
228-
}
229217
`,
230218
];
231219
}

0 commit comments

Comments
 (0)