editor.js/src/styles/inline-toolbar.css
Taly f841c96aeb
Update inline-toolbar and settings buttons margins (#645)
* Update inline-toolbar and settings buttons margins

* Bump version

* pull master to submodules

* Add Raw Tool

* Really add Raw tool

* Remove submodule

* Add RAW tool

* Update CHANGELOG.md
2019-03-14 16:15:15 +03:00

75 lines
1.1 KiB
CSS

.ce-inline-toolbar {
@apply --overlay-pane;
padding: 6px;
transform: translateX(-50%);
display: none;
box-shadow: 0 6px 12px -6px rgba(131, 147, 173, 0.46),
5px -12px 34px -13px rgba(97, 105, 134, 0.6),
0 26px 52px 3px rgba(147, 165, 186, 0.24);
&--showed {
display: block;
}
[hidden] {
display: none !important;
}
&__buttons {
display: flex;
}
}
.ce-inline-tool {
@apply --toolbar-button;
line-height: normal;
&:not(:last-of-type) {
margin-right: 5px;
}
&--last {
margin-right: 0 !important;
}
&--link {
.icon {
margin-top: -2px;
}
.icon--unlink {
display: none;
}
}
&--unlink {
.icon--link {
display: none;
}
.icon--unlink {
display: inline-block;
}
}
&-input {
background-color: var(--bg-light);
outline: none;
border: 0;
border-radius: 3px;
margin: 6px 0 0;
font-size: 13px;
padding: 8px;
width: 100%;
box-sizing: border-box;
display: none;
&::placeholder {
color: var(--grayText);
}
&--showed {
display: block;
}
}
}