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;
|
2019-05-10 16:52:14 +08:00
|
|
|
border-radius: 3px;
|
2019-06-19 15:55:49 +08:00
|
|
|
float: left;
|
|
|
|
margin-bottom: 10px;
|
2019-05-10 16:52:14 +08:00
|
|
|
min-height: 100px;
|
2019-03-20 06:32:24 +08:00
|
|
|
padding: 3px;
|
2019-06-19 15:55:49 +08:00
|
|
|
width: 100%;
|
2019-03-20 06:32:24 +08:00
|
|
|
|
|
|
|
&:hover {
|
2019-05-10 16:52:14 +08:00
|
|
|
border-color: $color-gainsboro;
|
2019-03-20 06:32:24 +08:00
|
|
|
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;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-05-21 21:53:47 +08:00
|
|
|
.mce-container-body {
|
|
|
|
position: relative !important;
|
|
|
|
}
|
|
|
|
|
2019-04-19 20:47:05 +08:00
|
|
|
.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;
|
|
|
|
}
|
2019-05-10 16:52:14 +08:00
|
|
|
// scss-lint:enable ImportantRule
|