2019-04-19 20:47:05 +08:00
|
|
|
// scss-lint:disable ImportantRule
|
2019-03-14 23:08:52 +08:00
|
|
|
@import "constants";
|
|
|
|
|
2022-02-01 21:37:59 +08:00
|
|
|
@font-face {
|
|
|
|
font-family: "tinymce";
|
|
|
|
src: asset-url("tinymce/skins/lightgray/fonts/tinymce.woff");
|
|
|
|
}
|
|
|
|
|
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;
|
|
|
|
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-09-24 04:56:13 +08:00
|
|
|
|
2019-09-24 15:24:16 +08:00
|
|
|
|
|
|
|
|
2019-09-24 04:56:13 +08:00
|
|
|
.restore-draft-notification {
|
2019-11-22 17:46:44 +08:00
|
|
|
align-items: center;
|
2019-09-24 04:56:13 +08:00
|
|
|
background: $state-info-bg !important;
|
2019-11-22 17:46:44 +08:00
|
|
|
display: flex;
|
|
|
|
height: 30px !important;
|
|
|
|
padding: 0 10px !important;
|
|
|
|
|
|
|
|
.notification-text {
|
|
|
|
flex-grow: 1;
|
2022-02-01 21:38:09 +08:00
|
|
|
max-width: 75%;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
2019-11-22 17:46:44 +08:00
|
|
|
}
|
2019-09-24 15:24:16 +08:00
|
|
|
|
|
|
|
.restore-draft-btn {
|
|
|
|
border: 1px solid $color-silver-chalice;
|
2019-11-22 17:46:44 +08:00
|
|
|
cursor: pointer;
|
2019-09-24 15:24:16 +08:00
|
|
|
font-size: 12px;
|
2022-02-16 17:32:01 +08:00
|
|
|
margin-left: auto;
|
2019-09-24 15:24:16 +08:00
|
|
|
padding: 3px 10px 3px 10px;
|
|
|
|
}
|
2019-11-22 17:46:44 +08:00
|
|
|
|
|
|
|
.fas {
|
|
|
|
color: $color-silver-chalice;
|
|
|
|
cursor: pointer;
|
|
|
|
font-family: 'Font Awesome 5 Free';
|
|
|
|
font-weight: 501;
|
|
|
|
margin-left: 10px;
|
|
|
|
}
|
2019-09-24 04:56:13 +08:00
|
|
|
}
|
|
|
|
|
2019-04-28 22:16:31 +08:00
|
|
|
.mce-stack-layout {
|
|
|
|
.tinymce-active-object-handler {
|
|
|
|
border-top: 1px solid rgb(226, 228, 231);
|
|
|
|
height: 33px;
|
|
|
|
width: 100%;
|
|
|
|
|
|
|
|
.tool-button {
|
|
|
|
border: 1px solid transparent;
|
|
|
|
cursor: pointer;
|
|
|
|
display: inline-block;
|
|
|
|
line-height: 27px;
|
2019-04-29 01:11:41 +08:00
|
|
|
margin: 2px;
|
2019-04-28 22:16:31 +08:00
|
|
|
text-align: center;
|
|
|
|
width: 30px;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
border: 1px solid rgb(226, 228, 231);
|
|
|
|
}
|
|
|
|
}
|
2019-08-07 16:28:42 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.mce-i-download::before {
|
|
|
|
content: "\F019";
|
|
|
|
font-family: "Font Awesome 5 Free";
|
|
|
|
font-weight: 900;
|
|
|
|
line-height: 16px;
|
|
|
|
position: absolute;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mce-i-pencil::before {
|
|
|
|
content: "\F303";
|
|
|
|
font-family: "Font Awesome 5 Free";
|
|
|
|
font-weight: 900;
|
|
|
|
line-height: 16px;
|
|
|
|
position: absolute;
|
|
|
|
}
|
2019-04-28 22:16:31 +08:00
|
|
|
|
2019-08-07 16:28:42 +08:00
|
|
|
.mce-floatpanel[aria-label="Inline toolbar"] {
|
|
|
|
border: 0;
|
|
|
|
box-shadow: 0;
|
|
|
|
height: 0 !important;
|
|
|
|
opacity: 1;
|
|
|
|
z-index: 10 !important;
|
|
|
|
|
|
|
|
|
|
|
|
&::before,
|
|
|
|
&::after {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mce-container-body.mce-abs-layout {
|
|
|
|
background: $brand-primary;
|
|
|
|
position: relative;
|
2020-06-24 21:51:59 +08:00
|
|
|
top: -10px;
|
2019-08-07 16:28:42 +08:00
|
|
|
|
|
|
|
.mce-container,
|
|
|
|
.mce-widget {
|
|
|
|
background: transparent !important;
|
2019-04-28 22:16:31 +08:00
|
|
|
}
|
|
|
|
|
2019-08-07 16:28:42 +08:00
|
|
|
.mce-btn:hover {
|
|
|
|
border-color: transparent;
|
2019-04-28 22:16:31 +08:00
|
|
|
}
|
2019-05-01 00:32:59 +08:00
|
|
|
|
2019-08-07 16:28:42 +08:00
|
|
|
.mce-ico {
|
|
|
|
color: $color-white;
|
2019-05-01 00:32:59 +08:00
|
|
|
}
|
2019-04-28 22:16:31 +08:00
|
|
|
}
|
|
|
|
}
|
2019-08-07 16:28:42 +08:00
|
|
|
|
2020-03-03 22:55:17 +08:00
|
|
|
.mce-window {
|
|
|
|
|
|
|
|
.mce-abs-layout {
|
|
|
|
overflow: visible !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mce-error {
|
|
|
|
padding-top: 15px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mce-primary[disabled=disabled] {
|
|
|
|
pointer-events: none;
|
|
|
|
|
|
|
|
button {
|
|
|
|
background: $color-alto;
|
|
|
|
color: $color-volcano;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-05-10 16:52:14 +08:00
|
|
|
// scss-lint:enable ImportantRule
|