editor.js/src/styles/settings.css
Taly 3d03461dc0
Header plugin (#281)
* header initial

* fix styles

* eslint fix

* add appendCallback

* add comments

* update styles

* add svgs

* highlight settings buttons

* do not show text plugin in the toolbar

* remove svg

* Fixing caret behaviour. (#282)

Plugins can change their state so that affect on Block's pluginsContent property which is in memory.

* remove useless code

* fix merge
2018-07-16 18:51:41 +03:00

71 lines
1 KiB
CSS

.ce-settings {
@apply --overlay-pane;
right: 5px;
top: 35px;
min-width: 124px;
&::before{
left: auto;
right: 12px;
}
display: none;
&--opened {
display: block;
}
&__plugin-zone {
&:not(:empty){
padding: 6px;
}
}
&__default-zone {
&:not(:empty){
padding: 6px;
}
}
&__button {
@apply --toolbar-button;
&--selected {
color: var(--color-active-icon);
}
&--delete {
transition: background-color 300ms ease;
will-change: background-color;
.icon {
transition: transform 200ms ease-out;
will-change: transform;
}
}
&--confirm {
background-color: var(--color-confirm);
color: #fff;
&:hover {
background-color: color-mod(var(--color-confirm) blackness(+5%)) !important;
}
.icon {
transform: rotate(90deg);
}
}
}
}
.ce-settings-move-up {
&:hover {
cursor: pointer;
}
&--disabled {
cursor: not-allowed !important;
opacity: .3;
}
}