2019-04-19 20:47:05 +08:00
|
|
|
// scss-lint:disable ImportantRule
|
2019-03-14 23:08:52 +08:00
|
|
|
@import "constants";
|
|
|
|
|
2019-03-20 06:32:24 +08:00
|
|
|
.tinymce-view {
|
|
|
|
border: solid 1px;
|
|
|
|
border-color: $color-white;
|
|
|
|
box-shadow: 1px 0 2px $color-alto;
|
|
|
|
min-height: 200px;
|
|
|
|
padding: 3px;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
border-color: $color-alto;
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:empty::before {
|
|
|
|
color: $color-silver-chalice;
|
|
|
|
content: attr(data-placeholder);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-04-19 20:47:05 +08:00
|
|
|
.mce-tinymce {
|
|
|
|
opacity: 0;
|
|
|
|
position: absolute !important;
|
|
|
|
|
|
|
|
&.show {
|
|
|
|
opacity: 1;
|
|
|
|
position: static !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.tinymce-placeholder {
|
|
|
|
background: $color-concrete;
|
|
|
|
opacity: .7;
|
|
|
|
transition: .2s;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
2019-03-14 23:08:52 +08:00
|
|
|
.tinymce-save-button,
|
|
|
|
.tinymce-cancel-button {
|
|
|
|
cursor: pointer;
|
|
|
|
|
|
|
|
.fas {
|
|
|
|
font-family: "Font Awesome 5 Free";
|
|
|
|
font-weight: 900;
|
|
|
|
margin-top: 3px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.tinymce-status-badge {
|
|
|
|
color: $color-silver-chalice;
|
|
|
|
margin-top: -20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tinymce-placeholder-text {
|
|
|
|
color: $color-silver-chalice;
|
|
|
|
}
|
2019-04-19 21:12:06 +08:00
|
|
|
|
|
|
|
.mce-toolbar {
|
|
|
|
background: $color-white !important;
|
|
|
|
}
|
|
|
|
// scss-lint:enable ImportantRule
|