mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-11 18:21:04 +08:00
115 lines
2 KiB
SCSS
115 lines
2 KiB
SCSS
// scss-lint:disable ImportantRule
|
|
@import "constants";
|
|
|
|
.tinymce-view {
|
|
border: solid 1px;
|
|
border-color: $color-white;
|
|
border-radius: 3px;
|
|
float: left;
|
|
margin-bottom: 10px;
|
|
min-height: 100px;
|
|
padding: 3px;
|
|
width: 100%;
|
|
|
|
&:hover {
|
|
border-color: $color-gainsboro;
|
|
cursor: pointer;
|
|
}
|
|
|
|
&:empty::before {
|
|
color: $color-silver-chalice;
|
|
content: attr(data-placeholder);
|
|
}
|
|
}
|
|
|
|
.mce-tinymce {
|
|
opacity: 0;
|
|
position: absolute !important;
|
|
|
|
&.show {
|
|
opacity: 1;
|
|
position: static !important;
|
|
}
|
|
}
|
|
|
|
.mce-container-body {
|
|
position: relative !important;
|
|
}
|
|
|
|
.tinymce-placeholder {
|
|
background: $color-concrete;
|
|
opacity: .7;
|
|
transition: .2s;
|
|
width: 100%;
|
|
}
|
|
|
|
.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;
|
|
}
|
|
|
|
.mce-toolbar {
|
|
background: $color-white !important;
|
|
}
|
|
|
|
.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;
|
|
margin: 2px;
|
|
text-align: center;
|
|
width: 30px;
|
|
|
|
&:hover {
|
|
border: 1px solid rgb(226, 228, 231);
|
|
}
|
|
}
|
|
|
|
.mce-i-donwload::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;
|
|
}
|
|
|
|
.mce-i-image::before {
|
|
content: "\F03E";
|
|
font-family: "Font Awesome 5 Free";
|
|
font-weight: 900;
|
|
line-height: 16px;
|
|
position: absolute;
|
|
}
|
|
}
|
|
}
|
|
// scss-lint:enable ImportantRule
|