2016-08-28 01:46:10 +00:00
|
|
|
|
2016-08-31 03:38:21 +00:00
|
|
|
.editor-toolbar {
|
|
|
|
z-index: 2;
|
2016-11-23 03:06:59 +00:00
|
|
|
background-color: rgba(0,0,0,0.75);
|
2016-08-31 03:38:21 +00:00
|
|
|
border: none;
|
|
|
|
border-top-left-radius: 0;
|
|
|
|
border-top-right-radius: 0;
|
2016-09-11 02:53:21 +00:00
|
|
|
opacity: 1;
|
|
|
|
position: fixed;
|
2016-11-23 03:06:59 +00:00
|
|
|
top: 51px;
|
2016-09-11 02:53:21 +00:00
|
|
|
left: 0;
|
|
|
|
width: 100%;
|
2016-08-31 03:38:21 +00:00
|
|
|
|
|
|
|
&:hover {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
|
2016-09-11 02:53:21 +00:00
|
|
|
a {
|
|
|
|
color: #FFF !important;
|
2016-10-03 04:12:29 +00:00
|
|
|
border: none;
|
|
|
|
transition: background-color 0.4s ease;
|
2016-09-11 02:53:21 +00:00
|
|
|
|
2016-10-03 04:12:29 +00:00
|
|
|
&.active, &:hover, &:focus {
|
2016-09-11 02:53:21 +00:00
|
|
|
background-color: rgba(0,0,0,0.5);
|
2016-10-03 04:12:29 +00:00
|
|
|
outline: none;
|
2016-09-11 02:53:21 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
i.separator {
|
|
|
|
margin-top: 5px;
|
|
|
|
border-left-color: #000;
|
|
|
|
border-right-color: #AAA;
|
|
|
|
}
|
|
|
|
|
2016-08-31 03:38:21 +00:00
|
|
|
}
|
|
|
|
|
2016-09-19 03:03:19 +00:00
|
|
|
.editor-modal-load {
|
|
|
|
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
opacity: 0;
|
|
|
|
transition: opacity .5s ease;
|
|
|
|
|
|
|
|
span {
|
|
|
|
font-size: 12px;
|
2016-11-23 03:06:59 +00:00
|
|
|
color: mc('blue', '500');
|
2016-09-19 03:03:19 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
i {
|
|
|
|
margin-left: 10px;
|
|
|
|
width: 32px;
|
|
|
|
height: 32px;
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
|
|
|
|
&::before {
|
|
|
|
content: " ";
|
2016-11-23 03:06:59 +00:00
|
|
|
@include spinner(mc('blue', '500'),0.5s,24px);
|
2016-09-19 03:03:19 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.is-active {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
|
2016-10-03 04:12:29 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
#btn-editor-uploadimage {
|
|
|
|
position: relative;
|
|
|
|
overflow: hidden;
|
|
|
|
|
|
|
|
> label {
|
|
|
|
display: block;
|
|
|
|
opacity: 0;
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
cursor: pointer;
|
|
|
|
|
|
|
|
input[type=file] {
|
|
|
|
opacity: 0;
|
|
|
|
position: absolute;
|
|
|
|
top: -9999px;
|
|
|
|
left: -9999px;
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
2016-09-19 03:03:19 +00:00
|
|
|
}
|
|
|
|
|
2016-09-25 21:32:39 +00:00
|
|
|
.editor-modal-imagechoices {
|
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
align-items: flex-start;
|
2016-11-30 03:23:44 +00:00
|
|
|
|
2016-09-25 21:32:39 +00:00
|
|
|
overflow: auto;
|
|
|
|
overflow-x: hidden;
|
|
|
|
|
2016-12-04 01:20:06 +00:00
|
|
|
> em {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
padding: 25px;
|
|
|
|
color: mc('grey', '500');
|
|
|
|
|
|
|
|
> i {
|
|
|
|
font-size: 32px;
|
|
|
|
margin-right: 10px;
|
|
|
|
color: mc('grey', '300');
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
2016-09-25 21:32:39 +00:00
|
|
|
> figure {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
background-color: #FAFAFA;
|
|
|
|
border-radius: 5px;
|
|
|
|
padding: 5px;
|
|
|
|
width: 160px;
|
|
|
|
min-height: 205px;
|
|
|
|
margin: 0 5px 10px 5px;
|
|
|
|
cursor: pointer;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
transition: background-color 0.4s ease;
|
|
|
|
|
|
|
|
> img {
|
|
|
|
border: 1px solid #DDD;
|
|
|
|
border-radius: 5px;
|
|
|
|
padding: 2px;
|
|
|
|
background-color: #FFF;
|
|
|
|
margin: 0 0 5px 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
> span {
|
|
|
|
font-size: 12px;
|
|
|
|
|
|
|
|
> strong {
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
white-space: nowrap;
|
|
|
|
overflow: hidden;
|
|
|
|
display: block;
|
|
|
|
width: 150px;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background-color: #DDD;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.is-active {
|
2016-11-30 03:23:44 +00:00
|
|
|
background-color: mc('green', '500');
|
2016-09-25 21:32:39 +00:00
|
|
|
color: #FFF;
|
|
|
|
|
|
|
|
> img {
|
2016-11-30 03:23:44 +00:00
|
|
|
border-color: darken(mc('green', '500'), 10%);
|
2016-09-25 21:32:39 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
> span > strong {
|
|
|
|
color: #FFF;
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
2016-10-03 04:12:29 +00:00
|
|
|
&.is-contextopen {
|
2016-11-30 03:23:44 +00:00
|
|
|
background-color: mc('blue', '500');
|
2016-10-03 04:12:29 +00:00
|
|
|
color: #FFF;
|
|
|
|
|
|
|
|
> img {
|
2016-11-30 03:23:44 +00:00
|
|
|
border-color: darken(mc('blue', '500'), 10%);
|
2016-10-03 04:12:29 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
> span > strong {
|
|
|
|
color: #FFF;
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
2016-09-25 21:32:39 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
.editor-modal-imagealign {
|
|
|
|
|
|
|
|
.control > span {
|
|
|
|
letter-spacing: 1px;
|
|
|
|
text-transform: uppercase;
|
|
|
|
color: #aeb1b5;
|
|
|
|
font-size: 11px;
|
|
|
|
}
|
|
|
|
|
|
|
|
> .is-grouped {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.button > .icon {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
.editor-modal-folderlist {
|
2016-11-29 03:03:18 +00:00
|
|
|
height: 100%;
|
2016-09-25 21:32:39 +00:00
|
|
|
overflow: auto;
|
|
|
|
overflow-x: hidden;
|
|
|
|
}
|
|
|
|
|
2016-08-31 03:38:21 +00:00
|
|
|
.CodeMirror {
|
|
|
|
border-left: none;
|
|
|
|
border-right: none;
|
2016-09-11 02:53:21 +00:00
|
|
|
padding-top: 52px;
|
2016-11-23 03:06:59 +00:00
|
|
|
font-family: $core-font-monospace;
|
2016-08-31 03:38:21 +00:00
|
|
|
}
|
|
|
|
|
2016-09-11 02:53:21 +00:00
|
|
|
.CodeMirror .CodeMirror-code .cm-url {
|
|
|
|
color: #00ACC1;
|
|
|
|
}
|
|
|
|
.CodeMirror .CodeMirror-code .cm-header-1 {
|
|
|
|
color: #635c8c;
|
|
|
|
font-size: 2em;
|
|
|
|
font-weight: 400;
|
|
|
|
}
|
|
|
|
.CodeMirror .CodeMirror-code .cm-header-2 {
|
|
|
|
color: #222324;
|
|
|
|
font-size: 1.75em;
|
|
|
|
font-weight: 300;
|
|
|
|
}
|
|
|
|
.CodeMirror .CodeMirror-code .cm-header-3 {
|
|
|
|
color: #222324;
|
|
|
|
font-size: 1.5em;
|
|
|
|
font-weight: 300;
|
2016-08-28 01:46:10 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.editor-toolbar .fa {
|
|
|
|
font-size: 14px;
|
2016-08-30 02:19:47 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.ace-container {
|
|
|
|
position: relative;
|
2016-09-11 02:53:21 +00:00
|
|
|
}
|
|
|
|
|
2016-12-04 01:20:06 +00:00
|
|
|
.ace_scroller {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
.ace_content {
|
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
|
2016-09-11 02:53:21 +00:00
|
|
|
#page-type-source .ace-container {
|
2016-08-30 02:19:47 +00:00
|
|
|
min-height: 95vh;
|
|
|
|
}
|
|
|
|
|
2016-09-11 02:53:21 +00:00
|
|
|
#modal-editor-codeblock .ace-container {
|
2016-12-04 01:20:06 +00:00
|
|
|
display: flex;
|
|
|
|
align-items: stretch;
|
|
|
|
padding: 0;
|
|
|
|
position: relative;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
|
|
|
|
#codeblock-editor {
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
min-height: 500px;
|
|
|
|
}
|
|
|
|
|
2016-09-11 02:53:21 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
#source-display, #codeblock-editor {
|
2016-08-30 02:19:47 +00:00
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
bottom: 0;
|
|
|
|
right: 0;
|
2016-09-11 02:53:21 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.modallayer {
|
|
|
|
position: fixed;
|
|
|
|
top: 100px;
|
|
|
|
width: 100%;
|
|
|
|
background-color: rgba(255,255,255,0.95);
|
2016-11-23 03:06:59 +00:00
|
|
|
border-bottom: 1px solid mc('grey', '500');
|
2016-09-11 02:53:21 +00:00
|
|
|
z-index: 6;
|
|
|
|
padding: 20px;
|
|
|
|
border-bottom: 1px solid #CCC;
|
|
|
|
box-shadow: 0 2px 3px rgba(17,17,17,.1);
|
|
|
|
display: none;
|
|
|
|
|
|
|
|
> h3, .column > h3 {
|
2016-11-23 03:06:59 +00:00
|
|
|
color: mc('grey', '700');
|
2016-09-11 02:53:21 +00:00
|
|
|
font-size: 24px;
|
|
|
|
font-weight: 300;
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
.modallayer-content {
|
2016-08-28 01:46:10 +00:00
|
|
|
}
|