mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-11 18:21:04 +08:00
62 lines
No EOL
1,000 B
SCSS
62 lines
No EOL
1,000 B
SCSS
// scss-lint:disable ImportantRule
|
|
@import "constants";
|
|
|
|
.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);
|
|
}
|
|
}
|
|
|
|
.mce-tinymce {
|
|
opacity: 0;
|
|
position: absolute !important;
|
|
|
|
&.show {
|
|
opacity: 1;
|
|
position: static !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;
|
|
}
|
|
// scss-lint:enable ImportantRule |