Ghost/ghost/admin/app/styles/addons/ghost-editor/ghost-editor.css

148 lines
2.4 KiB
CSS
Raw Normal View History

@import "ghost-toolbar.css";
@import "slash-menu.css";
.editor-holder {
height: 100%;
}
.ghost-editor {
height: 100%;
-webkit-overflow-scrolling: touch;
}
.__mobiledoc-editor {
width: 100%;
min-height: 100%;
padding-bottom: 10vw;
outline: none;
font-family: var(--font-family);
font-size: 1.7rem;
resize: none;
font-weight: 200;
letter-spacing: 0.1px;
}
.dropper-bottom {
border-bottom: 66px solid #5ba4e5;
}
.dropper-top {
border-top: 66px solid #5ba4e5;
}
.dropper-left {
border-left: 66px solid #5ba4e5;
}
.dropper-right {
border-right: 66px solid #5ba4e5;
}
.__mobiledoc-card {
display: block;
}
.__mobiledoc-card .ghost-card {
position: relative;
}
.__mobiledoc-card .card-handle {
position: absolute;
right:0px;
top:0px;
margin-top:-25px;
height:20px;
display:none;
}
.__mobiledoc-card:hover .card-handle {
display:block;
}
.__mobiledoc-card .card-handle label {
font-size:10px;
}
.__mobiledoc-card .card-handle button {
background-color: var(--lightgrey);
border:1px solid var(--grey);
font-size:10px;
min-width: 80px;
}
.__mobiledoc-card textarea {
min-height:333px;
max-width:900px;
outline:none;
border:none;
resize: none;
}
.card-handle button:hover {
background-color: #718087;
color: #fff;
}
.card-handle button.confirm {
animation-duration: 1s;
animation-name: rotate;
background-color: red;
color: #e9e8dd;
}
.card-handle button.move {
background-image: url('http://localhost:4200/assets/move.png');
background-color: #9fbb58;
margin-left: -10px;
margin-right: 20px;
cursor: -webkit-grab;
cursor: -moz-grab;
}
textarea.ed_code {
width:100%;
height:100%;
border:none;
}
/**
* Tooltip
*/
@keyframes tooltip-fadein {
0% { opacity: 0; }
100% { opacity: 1; }
}
.__mobiledoc-tooltip {
white-space: nowrap;
position: absolute;
background-color: #5ba4e5;
border-radius: 3px;
padding:5px 10px 5px 10px;
color: #FFF;
-webkit-animation: tooltip-fadein 0.333s;
animation: tooltip-fadein 0.333s;
}
.__mobiledoc-tooltip a {
color: #FFF;
}
.__mobiledoc-tooltip:before {
content: '';
position: absolute;
left: 50%;
top: -9px;
margin-left: -10px;
border-bottom: 10px solid #5ba4e5;
border-left: 10px solid transparent;
border-right: 10px solid transparent;
}