mirror of
https://github.com/codex-team/editor.js
synced 2024-05-03 07:03:47 +02:00
b1b582b150
* 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
39 lines
615 B
CSS
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);
|
|
}
|
|
}
|
|
}
|