webapp/src/components/Editor/TextBubbleMenu/TextBubbleMenu.module.scss

86 lines
1.5 KiB
SCSS
Raw Normal View History

2023-03-08 17:44:09 +00:00
.bubbleMenu {
background: #fff;
2023-03-25 04:42:45 +00:00
box-shadow: 0 4px 10px rgba(#000, 0.25);
2023-03-08 17:44:09 +00:00
2023-03-20 09:19:14 +00:00
.bubbleMenuButton {
2023-03-22 07:47:51 +00:00
display: inline-flex;
align-items: center;
justify-content: center;
flex-wrap: nowrap;
2023-03-20 09:19:14 +00:00
opacity: 0.5;
padding: 1rem;
2023-03-22 12:07:28 +00:00
.triangle {
margin-left: 4px;
}
2023-03-23 17:24:28 +00:00
.colorWheel {
display: inline-block;
width: 20px;
height: 20px;
border-radius: 50%;
background: #f6e3a1;
}
2023-03-20 09:19:14 +00:00
}
2023-03-08 17:44:09 +00:00
2023-03-20 09:19:14 +00:00
.bubbleMenuButtonActive {
opacity: 1;
}
.delimiter {
background: #999;
display: inline-block;
height: 1.4em;
margin: 0 0.2em;
vertical-align: text-bottom;
width: 1px;
}
2023-03-22 07:47:51 +00:00
.dropDownHolder {
position: relative;
cursor: pointer;
display: inline-flex;
2023-05-01 18:32:32 +00:00
flex-flow: row nowrap;
2023-03-22 07:47:51 +00:00
align-items: center;
.dropDown {
position: absolute;
padding: 6px;
top: calc(100% + 8px);
left: 50%;
transform: translateX(-50%);
2023-05-01 18:32:32 +00:00
box-shadow: 0 4px 10px rgb(0 0 0 / 25%);
2023-03-22 07:47:51 +00:00
background: #fff;
color: #898c94;
& > header {
font-size: 10px;
border-bottom: 1px solid #898c94;
}
.actions {
display: flex;
align-items: center;
2023-03-22 12:07:28 +00:00
justify-content: flex-start;
2023-03-22 07:47:51 +00:00
gap: 12px;
flex-wrap: nowrap;
2023-03-22 12:07:28 +00:00
margin-bottom: 8px;
&:last-child {
margin-bottom: 0;
}
2023-03-22 07:47:51 +00:00
.bubbleMenuButton {
min-width: 40px;
}
}
}
}
.dropDownEnter,
.dropDownExit {
height: 0;
color: transparent;
}
2023-03-08 17:44:09 +00:00
}