Skip to content

Commit

Permalink
Fix WidgetsListPart UI (#14461)
Browse files Browse the repository at this point in the history
  • Loading branch information
yaricrolletservico authored and MikeAlhayek committed Oct 10, 2023
1 parent 849a34c commit b65f70a
Show file tree
Hide file tree
Showing 3 changed files with 109 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -61,3 +61,64 @@
}
}
}

.btn-widget-metadata {
margin: 0 auto;
left: 0;
top: -6px;
position: absolute;
visibility: collapse;
height: 1px;
white-space: nowrap;
text-align: center;
transition: 0.3s visibility;

> .btn-group {
top: -20px;
}
}

.widget-editor-header {
&.card-header {
&:hover {
> .btn-widget-metadata {
visibility: visible;
}
}
}
}

.btn-widget-add-below-wrapper{
min-height: 5px;

&:hover{
> .btn-widget-add-below{
border-width: 5px;
opacity: 1;
}
}
}

.btn-widget-add-below {
height: 1px;
position: relative;
opacity: 0.5;
transition: 0.3s opacity;

> .btn-group {
margin: 0 auto;
bottom: 17px;
}
}

[dir="ltr"] .btn-widget-add-below {
> .btn-group {
left: calc(-14px + 50%);
}
}

[dir="rtl"] .btn-widget-add-below {
> .btn-group {
right: calc(-14px + 50%);
}
}

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit b65f70a

Please sign in to comment.