editor.js/src/styles/export.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

96 lines
1.5 KiB
CSS

/**
* Block Tool wrapper
*/
.cdx-block {
padding: 0.7em 0;
}
/**
* Input
*/
.cdx-input {
border: 1px solid var(--color-gray-border);
box-shadow: inset 0 1px 2px 0 rgba(35, 44, 72, 0.06);
border-radius: 3px;
padding: 10px 12px;
outline: none;
width: 100%;
box-sizing: border-box;
}
/**
* Settings
*/
.cdx-settings-button {
@apply --toolbar-button;
&:not(:nth-child(3n+3)) {
margin-right: 5px;
}
&:nth-child(n+4) {
margin-top: 5px;
}
&--active {
color: var(--color-active-icon);
}
}
/**
* Loader
*/
.cdx-loader {
position: relative;
border: 1px solid var(--color-gray-border);
&::before {
content: '';
position: absolute;
left: 50%;
top: 50%;
width: 18px;
height: 18px;
margin: -11px 0 0 -11px;
border: 2px solid var(--color-gray-border);
border-left-color: var(--color-active-icon);
border-radius: 50%;
animation: cdxRotation 1.2s infinite linear;
}
}
@keyframes cdxRotation {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(360deg);
}
}
/**
* Button
*/
.cdx-button {
padding: 13px;
border-radius: 3px;
border: 1px solid var(--color-gray-border);
font-size: 14.9px;
background: #fff;
box-shadow: 0 2px 2px 0 rgba(18,30,57,0.04);
color: var(--grayText);
text-align: center;
cursor: pointer;
&:hover {
background: #FBFCFE;
box-shadow: 0 1px 3px 0 rgba(18,30,57,0.08);
}
svg {
height: 20px;
margin-right: 0.2em;
margin-top: -2px;
}
}