2017-03-01 22:23:03 +03:00
|
|
|
@import "koenig-toolbar.css";
|
|
|
|
@import "koenig-menu.css";
|
2017-03-02 13:16:30 +03:00
|
|
|
@import "../ghost-editor/cardmenu.css";
|
2017-02-27 07:44:15 +03:00
|
|
|
|
|
|
|
.editor-holder {
|
|
|
|
height: 100%;
|
|
|
|
}
|
2017-03-01 21:50:08 +03:00
|
|
|
.gh-koenig {
|
2017-02-27 07:44:15 +03:00
|
|
|
height: 100%;
|
|
|
|
-webkit-overflow-scrolling: touch;
|
|
|
|
}
|
|
|
|
|
|
|
|
.__mobiledoc-editor {
|
|
|
|
width: 100%;
|
|
|
|
min-height: 100%;
|
2017-02-27 13:02:10 +03:00
|
|
|
padding-bottom: 10vw;
|
2017-02-27 07:44:15 +03:00
|
|
|
outline: none;
|
|
|
|
font-family: var(--font-family);
|
|
|
|
font-size: 1.7rem;
|
|
|
|
resize: none;
|
2017-02-27 13:02:10 +03:00
|
|
|
font-weight: 200;
|
|
|
|
letter-spacing: 0.1px;
|
2017-02-27 07:44:15 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.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;
|
|
|
|
}
|
|
|
|
|
2017-03-14 14:59:34 +03:00
|
|
|
.__mobiledoc-editor div {
|
|
|
|
|
|
|
|
}
|
|
|
|
|
2017-02-27 07:44:15 +03:00
|
|
|
.__mobiledoc-card {
|
2017-03-16 17:39:57 +03:00
|
|
|
position: relative;
|
|
|
|
display: block; /* required for cursor movement around card */
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.__mobiledoc-card:hover {
|
|
|
|
box-shadow: var(--blue) 0 0 0 1px;
|
|
|
|
}
|
2017-02-27 07:44:15 +03:00
|
|
|
|
|
|
|
.__mobiledoc-card .card-handle {
|
|
|
|
position: absolute;
|
2017-03-02 11:49:10 +03:00
|
|
|
right: 0px;
|
|
|
|
top: 0px;
|
|
|
|
margin-top: -25px;
|
|
|
|
height: 20px;
|
|
|
|
display: none;
|
2017-02-27 07:44:15 +03:00
|
|
|
}
|
|
|
|
|
2017-03-02 14:52:33 +03:00
|
|
|
.__mobiledoc-card:hover .card-handle {
|
2017-03-02 11:49:10 +03:00
|
|
|
display: block;
|
2017-02-27 07:44:15 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.__mobiledoc-card .card-handle label {
|
2017-03-02 11:49:10 +03:00
|
|
|
font-size: 10px;
|
2017-02-27 07:44:15 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.__mobiledoc-card .card-handle button {
|
|
|
|
background-color: var(--lightgrey);
|
2017-03-02 11:49:10 +03:00
|
|
|
border: 1px solid var(--midgrey);
|
|
|
|
font-size: 10px;
|
2017-02-27 07:44:15 +03:00
|
|
|
min-width: 80px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.__mobiledoc-card textarea {
|
2017-03-02 11:49:10 +03:00
|
|
|
min-height: 333px;
|
|
|
|
max-width: 900px;
|
|
|
|
outline: none;
|
|
|
|
border: none;
|
2017-02-27 07:44:15 +03:00
|
|
|
resize: none;
|
|
|
|
}
|
|
|
|
|
2017-03-02 14:52:33 +03:00
|
|
|
.card-handle button:hover {
|
2017-02-27 07:44:15 +03:00
|
|
|
background-color: #718087;
|
|
|
|
color: #fff;
|
|
|
|
}
|
|
|
|
|
|
|
|
.card-handle button.confirm {
|
|
|
|
animation-duration: 1s;
|
|
|
|
animation-name: rotate;
|
|
|
|
background-color: red;
|
|
|
|
color: #e9e8dd;
|
|
|
|
}
|
|
|
|
|
|
|
|
.card-handle button.move {
|
2017-03-02 11:49:10 +03:00
|
|
|
background-image: url('http: //localhost: 4200/assets/move.png');
|
2017-02-27 07:44:15 +03:00
|
|
|
background-color: #9fbb58;
|
|
|
|
margin-left: -10px;
|
|
|
|
margin-right: 20px;
|
|
|
|
|
|
|
|
cursor: -webkit-grab;
|
|
|
|
cursor: -moz-grab;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
textarea.ed_code {
|
2017-03-02 11:49:10 +03:00
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
border: none;
|
2017-02-27 07:44:15 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Tooltip
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
|
|
@keyframes tooltip-fadein {
|
|
|
|
0% { opacity: 0; }
|
|
|
|
100% { opacity: 1; }
|
|
|
|
}
|
|
|
|
|
|
|
|
.__mobiledoc-tooltip {
|
|
|
|
white-space: nowrap;
|
|
|
|
position: absolute;
|
|
|
|
background-color: #5ba4e5;
|
|
|
|
border-radius: 3px;
|
2017-03-02 11:49:10 +03:00
|
|
|
padding: 5px 10px 5px 10px;
|
2017-02-27 07:44:15 +03:00
|
|
|
color: #FFF;
|
|
|
|
-webkit-animation: tooltip-fadein 0.333s;
|
|
|
|
animation: tooltip-fadein 0.333s;
|
|
|
|
}
|
|
|
|
.__mobiledoc-tooltip a {
|
|
|
|
color: #FFF;
|
|
|
|
}
|
2017-03-02 14:52:33 +03:00
|
|
|
.__mobiledoc-tooltip:before {
|
2017-02-27 07:44:15 +03:00
|
|
|
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;
|
|
|
|
}
|
2017-03-16 17:39:57 +03:00
|
|
|
|
|
|
|
|
|
|
|
.__mobiledoc-card .gh-image-uploader .upload-form {
|
|
|
|
width: 100%;
|
|
|
|
height: 350px;
|
|
|
|
background: color(var(--lightgrey) l(+4%));
|
|
|
|
box-shadow: var(--lightgrey) 0 0 0 1px inset, #fff 0 0 0 15px inset;
|
|
|
|
border-radius: 3px;
|
|
|
|
}
|