Skip to content

Commit 77ffe23

Browse files
tab ui tweaks
1 parent 4191a60 commit 77ffe23

File tree

2 files changed

+19
-8
lines changed

2 files changed

+19
-8
lines changed

src/components/design-library-list/editor.scss

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,11 @@
4242
border: 1px solid #0000001a;
4343
box-shadow: none;
4444
.ugb-button-component {
45-
transition: all 0.4s cubic-bezier(0.2, 0.6, 0.4, 1);
45+
transition: opacity 0.4s cubic-bezier(0.2, 0.6, 0.4, 1);
4646
opacity: 0;
47+
@media (hover: none) {
48+
opacity: 1;
49+
}
4750
}
4851
&:hover {
4952
// box-shadow: rgba(0, 0, 0, 0.25) 0px 25px 50px -12px;

src/components/modal-design-library/editor.scss

Lines changed: 15 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -295,16 +295,24 @@ div.ugb-modal-design-library__enable-background {
295295

296296
.components-button {
297297
height: 100%;
298-
border: 1px solid #e0e0e0;
299298
box-shadow: none !important;
300299
padding: 4px 24px;
301300
border-radius: 0 !important;
302-
&:hover,
303-
&.is-primary:hover,
304-
&.is-primary {
305-
color: #f00069 !important;
306-
background: #e543761a;
307-
border-color: #f00069;
301+
border: none;
302+
color: #777;
303+
&:focus-visible {
304+
outline: 1px solid #f00069;
305+
outline-offset: 2px;
306+
}
307+
&:hover {
308+
color: #111;
309+
}
310+
&.is-primary,
311+
&.is-primary:hover {
312+
color: #111;
313+
font-weight: bold;
314+
background: #e5437610;
315+
box-shadow: inset 0 -3px 0 #f00069 !important;
308316
}
309317
}
310318
}

0 commit comments

Comments
 (0)