editor.js/src/styles/settings.css
Peter Savchenko b1b582b150
feat(icons): codex icons package is used instead of svg sprite (#2173)
* chore(icons): migrating to the coded icon pack

* conversion toolbar

* inline toolbar, part 1

* inline-link tool has the new icons

* added a test for creating a link by Enter keydown in link input

* rm last icons, svg sprite, loaders

* rollback .ce-settings styles

* Update CHANGELOG.md

* Update settings.json
2022-11-25 22:26:23 +04:00

39 lines
615 B
CSS

.ce-settings {
position: absolute;
z-index: 2;
--gap: 8px;
@media (--not-mobile){
position: absolute;
top: calc(var(--toolbox-buttons-size) + var(--gap));
left: 0;
&--opened-top {
top: calc(-1 * (var(--gap) + var(--popover-height)));
}
}
&__button {
@apply --toolbar-button;
&:not(:nth-child(3n+3)) {
margin-right: 3px;
}
&:nth-child(n+4) {
margin-top: 3px;
}
line-height: 32px;
&--disabled {
cursor: not-allowed !important;
opacity: .3;
}
&--selected {
color: var(--color-active-icon);
}
}
}