Ghost/ghost/admin/app/styles/addons/gh-koenig/gh-koenig.css

175 lines
2.8 KiB
CSS
Raw Normal View History

@import "koenig-toolbar.css";
@import "koenig-menu.css";
2017-03-02 13:16:30 +03:00
@import "../ghost-editor/cardmenu.css";
.editor-holder {
height: 100%;
}
2017-03-01 21:50:08 +03:00
.gh-koenig {
height: 100%;
-webkit-overflow-scrolling: touch;
}
.__mobiledoc-editor {
width: 100%;
height: 100%;
min-height: 300px;
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-editor div {
}
.kg-card {
2017-03-16 17:39:57 +03:00
position: relative;
display: block; /* required for cursor movement around card */
width: 100%;
}
.kg-card:hover {
2017-03-16 17:39:57 +03:00
box-shadow: var(--blue) 0 0 0 1px;
}
.kg-card .card-handle {
position: absolute;
2017-03-02 11:49:10 +03:00
right: 0px;
top: 0px;
margin-top: -25px;
height: 20px;
display: none;
}
.kg-card:hover .card-handle {
2017-03-02 11:49:10 +03:00
display: block;
}
.kg-card .card-handle label {
2017-03-02 11:49:10 +03:00
font-size: 10px;
}
.kg-card .card-handle button {
background-color: var(--lightgrey);
2017-03-02 11:49:10 +03:00
border: 1px solid var(--midgrey);
font-size: 10px;
min-width: 80px;
}
.kg-card textarea {
2017-03-02 11:49:10 +03:00
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 {
2017-03-02 11:49:10 +03:00
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 {
2017-03-02 11:49:10 +03:00
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;
2017-03-02 11:49:10 +03:00
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;
}
2017-03-16 17:39:57 +03:00
.kg-card .gh-image-uploader .upload-form {
2017-03-16 17:39:57 +03:00
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;
}
2017-03-22 19:03:31 +03:00
/**
* HTML Card
*/
.kg-html-card {
border: #ddd 1px solid;
}