feat: copy/paste unit from within a unit in Studio - feature flagged (#33724)

(requires the contentstore.enable_copy_paste_units waffle flag)
This commit is contained in:
Pooja Kulkarni
2023-12-01 14:33:34 -05:00
committed by GitHub
parent 94441861e0
commit f5b246d0e9
13 changed files with 258 additions and 62 deletions

View File

@@ -288,6 +288,11 @@ $seq-nav-height: 40px;
ol {
display: flex;
.custom-dropdown {
position: relative;
display: inline-flex;
}
li {
box-sizing: border-box;
min-width: 40px;
@@ -300,6 +305,47 @@ $seq-nav-height: 40px;
@include border-right-style(solid);
}
.dropdown-main-button {
border-right: 1px solid #e7e7e7 !important;
}
.dropdown-toggle-button {
width: 15% !important;
&:hover {
border-bottom: 1px solid #e7e7e7 !important;
}
}
.dropdown-options {
position: absolute;
top: 100%;
z-index: 1000;
background-color: #ffffff;
min-width: 265px;
right: 0;
li {
padding: 0.5em 1em;
cursor: pointer;
a {
display: block;
width: 100%;
color: black;
}
.checkmark {
float: right;
margin-left: 10px;
}
}
}
.dropdown-options li:hover {
background-color: #f1f1f1;
}
button {
@extend %ui-fake-link;
@extend %ui-clear-button;