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
46 lines
955 B
CSS
46 lines
955 B
CSS
.cdx-search-field {
|
|
--icon-margin-right: 10px;
|
|
|
|
background: rgba(232,232,235,0.49);
|
|
border: 1px solid rgba(226,226,229,0.20);
|
|
border-radius: 6px;
|
|
padding: 2px;
|
|
display: grid;
|
|
grid-template-columns: auto auto 1fr;
|
|
grid-template-rows: auto;
|
|
|
|
&__icon {
|
|
width: var(--toolbox-buttons-size);
|
|
height: var(--toolbox-buttons-size);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
margin-right: var(--icon-margin-right);
|
|
|
|
svg {
|
|
width: var(--icon-size);
|
|
height: var(--icon-size);
|
|
color: var(--grayText);
|
|
}
|
|
}
|
|
|
|
|
|
&__input {
|
|
font-size: 14px;
|
|
outline: none;
|
|
font-weight: 500;
|
|
font-family: inherit;
|
|
border: 0;
|
|
background: transparent;
|
|
margin: 0;
|
|
padding: 0;
|
|
line-height: 22px;
|
|
min-width: calc(100% - var(--toolbox-buttons-size) - var(--icon-margin-right));
|
|
|
|
&::placeholder {
|
|
color: var(--grayText);
|
|
font-weight: 500;
|
|
}
|
|
}
|
|
}
|