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%;
|
2017-03-20 15:33:06 +03:00
|
|
|
height: 100%;
|
|
|
|
min-height: 300px;
|
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
|
|
|
}
|
|
|
|
|
2017-03-20 15:08:54 +03:00
|
|
|
.kg-card {
|
2017-03-16 17:39:57 +03:00
|
|
|
position: relative;
|
2017-03-30 17:29:08 +03:00
|
|
|
display: block;
|
|
|
|
padding: 10px;
|
|
|
|
outline:none;
|
2017-03-16 17:39:57 +03:00
|
|
|
}
|
|
|
|
|
2017-03-30 17:29:08 +03:00
|
|
|
.kg-card:hover, .kg-card.selected {
|
2017-03-16 17:39:57 +03:00
|
|
|
box-shadow: var(--blue) 0 0 0 1px;
|
2017-03-30 17:29:08 +03:00
|
|
|
border-radius:10px;
|
2017-03-16 17:39:57 +03:00
|
|
|
}
|
2017-03-30 17:29:08 +03:00
|
|
|
.kg-card.selected-hard {
|
|
|
|
box-shadow: var(--blue) 0 0 0 3px;
|
|
|
|
}
|
|
|
|
.kg-card .kg-card-toolbar {
|
2017-02-27 07:44:15 +03:00
|
|
|
position: absolute;
|
2017-03-30 17:29:08 +03:00
|
|
|
left: 0px;
|
2017-03-02 11:49:10 +03:00
|
|
|
top: 0px;
|
2017-03-30 17:29:08 +03:00
|
|
|
margin-top: -56px;
|
|
|
|
height: 46px;
|
|
|
|
width:100%;
|
2017-03-02 11:49:10 +03:00
|
|
|
display: none;
|
2017-02-27 07:44:15 +03:00
|
|
|
}
|
2017-03-30 17:29:08 +03:00
|
|
|
.button-group {
|
|
|
|
color: color(var(--lightgrey) l(-10%));
|
|
|
|
background: linear-gradient(
|
|
|
|
color(var(--darkgrey) l(-3%)),
|
|
|
|
color(var(--darkgrey) l(-8%))
|
|
|
|
);
|
|
|
|
border-top-left-radius: 5px;
|
|
|
|
border-top-right-radius: 5px;
|
|
|
|
border-radius:5px;
|
|
|
|
|
|
|
|
height:46px;
|
|
|
|
display:flex;
|
|
|
|
box-shadow: 0 0 0 1px color(var(--darkgrey) l(-10%)), 0 8px 16px rgba(26,39,49,0.16), rgba(255,255,255,0.09) 0 1px 0 0 inset;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* keeps the hover when the cursor is moving from the card to the toolbar */
|
|
|
|
.button-group:before {
|
2017-03-02 11:49:10 +03:00
|
|
|
display: block;
|
2017-03-30 17:29:08 +03:00
|
|
|
content: "";
|
|
|
|
position: absolute;
|
|
|
|
bottom:-9px;
|
|
|
|
width: 100%;
|
|
|
|
height: 8px;
|
2017-04-06 07:40:44 +03:00
|
|
|
background-color:pink;
|
2017-02-27 07:44:15 +03:00
|
|
|
}
|
|
|
|
|
2017-03-30 17:29:08 +03:00
|
|
|
.button-group:after {
|
|
|
|
display: block;
|
|
|
|
content: "";
|
|
|
|
position: absolute;
|
|
|
|
bottom:-9px;
|
|
|
|
left: 50%;
|
|
|
|
margin-left: -10px;
|
|
|
|
|
|
|
|
width: 0;
|
|
|
|
height: 0;
|
|
|
|
border-left: transparent 10px solid;
|
|
|
|
border-right: transparent 10px solid;
|
|
|
|
border-top: color(var(--darkgrey) l(-10%)) 8px solid;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2017-04-06 07:41:11 +03:00
|
|
|
.kg-card.selected .kg-card-toolbar {
|
2017-03-30 17:29:08 +03:00
|
|
|
display: flex;
|
|
|
|
align-items: stretch;
|
|
|
|
justify-content: space-around;
|
|
|
|
flex-flow: row wrap;
|
|
|
|
}
|
|
|
|
|
|
|
|
.kg-card .kg-card-toolbar label {
|
|
|
|
flex-grow: 1;
|
|
|
|
font-size: 1.3rem;
|
|
|
|
line-height: 46px;
|
|
|
|
text-align:center;
|
|
|
|
vertical-align: middle;
|
|
|
|
font-weight: bold;
|
|
|
|
padding:0 18px;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.kg-card .kg-card-toolbar button {
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
height: 46px;
|
|
|
|
min-width: 32px;
|
|
|
|
font-size: 1.6rem;
|
|
|
|
line-height: 30px;
|
|
|
|
padding:0 5px 0 5px;
|
|
|
|
transition: text-shadow 0.3s ease;
|
|
|
|
}
|
|
|
|
.kg-card .kg-card-toolbar button.kg-card-button-text {
|
|
|
|
font-size: 1.3rem;
|
|
|
|
line-height: 46px;
|
|
|
|
width:70px;
|
|
|
|
text-align:center;
|
|
|
|
vertical-align: middle;
|
|
|
|
padding:0;
|
|
|
|
}
|
|
|
|
.kg-card .kg-card-toolbar button.kg-card-button-save {
|
|
|
|
font-size: 1.3rem;
|
|
|
|
line-height: 30px;
|
|
|
|
height:30px;
|
|
|
|
width:60px;
|
|
|
|
text-align:center;
|
|
|
|
vertical-align: middle;
|
|
|
|
margin:8px;
|
2017-02-27 07:44:15 +03:00
|
|
|
|
2017-03-30 17:29:08 +03:00
|
|
|
color: #fff;
|
|
|
|
text-shadow: 0 -1px 0 rgba(0,0,0,0.1);
|
|
|
|
fill: #fff;
|
|
|
|
background: linear-gradient( rgb(61, 161, 214), rgb(34, 136, 191) );
|
|
|
|
box-shadow: 0 1px 0 rgba(0,0,0,0.12);
|
|
|
|
border-radius:5px;
|
|
|
|
}
|
|
|
|
.kg-card .kg-card-toolbar button.kg-card-delete {
|
|
|
|
text-transform: none !important;
|
|
|
|
font-family: "ghosticons" !important;
|
|
|
|
font-size: 1rem;
|
|
|
|
line-height: 1;
|
|
|
|
font-weight: normal !important;
|
|
|
|
font-style: normal !important;
|
|
|
|
font-variant: normal !important;
|
2017-02-27 07:44:15 +03:00
|
|
|
}
|
|
|
|
|
2017-03-20 15:08:54 +03:00
|
|
|
.kg-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-30 17:29:08 +03:00
|
|
|
.kg-card-toolbar button:hover {
|
2017-02-27 07:44:15 +03:00
|
|
|
background-color: #718087;
|
|
|
|
color: #fff;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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
|
|
|
}
|
|
|
|
|
2017-04-05 14:12:55 +03:00
|
|
|
.dragOver {
|
|
|
|
background-color: pink;
|
|
|
|
border:100px solid red;
|
|
|
|
}
|
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
|
|
|
|
|
|
|
|
2017-03-20 15:08:54 +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
|
|
|
|
*/
|
|
|
|
|
2017-03-24 13:03:52 +03:00
|
|
|
.kg-card-html {
|
2017-03-22 19:03:31 +03:00
|
|
|
border: #ddd 1px solid;
|
|
|
|
}
|