Skip to content

Commit

Permalink
New version 3.1.34. Read more https://github.com/xdan/jodit/releases/…
Browse files Browse the repository at this point in the history
  • Loading branch information
xdan committed Feb 8, 2018
1 parent 546552d commit 2a87304
Show file tree
Hide file tree
Showing 6 changed files with 96 additions and 92 deletions.
4 changes: 2 additions & 2 deletions build/jodit.min.css

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions build/jodit.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "jodit",
"version": "3.1.33",
"version": "3.1.34",
"description": "Jodit is awesome and usefully wysiwyg editor with filebrowser",
"main": "build/jodit.min.js",
"scripts": {
Expand Down
1 change: 1 addition & 0 deletions src/styles/plugins/size.less
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
.jodit_container {
min-height: 100px;
.jodit_workplace {
display: flex;
height: ~'calc(100% - 33px)';
min-height: 50px;
}
Expand Down
175 changes: 89 additions & 86 deletions src/styles/themes/dark.less
Original file line number Diff line number Diff line change
Expand Up @@ -5,103 +5,106 @@
*/

.jodit_dark_theme {
.jodit_workplace {
border-color: fade(@dark_background_color, 80%);
}
.jodit_toolbar_popup-inline,
.jodit_toolbar_popup {
&.jodit_container {
background-color: @dark_background_color;
}
.jodit_workplace {
border-color: fade(@dark_background_color, 80%);
}
.jodit_toolbar_popup-inline,
.jodit_toolbar_popup {
background: @dark_background_color;
&:before{
background: @dark_background_color;
&:before{
background: @dark_background_color;
}
}
.jodit_toolbar {
background: @dark_toolbar_color;
li.jodit_toolbar_btn {
> a {
color: @dark_text_color;
&:hover {
background-color: @dark_background_color;
}
}
&.jodit_toolbar_btn-break{
border-top-color: @dark_toolbar_seperator_color2;
}
&.jodit_toolbar_btn-separator{
border-right-color: @dark_toolbar_seperator_color2;
}
&.active, &:active, &:hover,&.jodit_active {
background-color: @dark_background_color
}
}
.jodit_toolbar {
background: @dark_toolbar_color;
li.jodit_toolbar_btn {
> a {
color: @dark_text_color;
&:hover {
background-color: @dark_background_color;
}
&.jodit_with_dropdownlist {
.jodit_with_dropdownlist-trigger {
border-top-color: @dark_icon_color;
}
}
&.jodit_toolbar_btn-break{
border-top-color: @dark_toolbar_seperator_color2;
}
&.jodit_toolbar_btn-separator{
border-right-color: @dark_toolbar_seperator_color2;
}
&.active, &:active, &:hover,&.jodit_active {
background-color: @dark_background_color
}
&.jodit_with_dropdownlist {
.jodit_with_dropdownlist-trigger {
border-top-color: @dark_icon_color;
}
}
}
.jodit_icon {
fill: @dark_icon_color;
}
.jodit_wysiwyg_iframe,
.jodit_wysiwyg{
background-color: @dark_background_color;
color: @dark_text_color;
[data-jodit-selected-cell] {
border-color: @dark_color-border-selected;
}
}
.jodit_dropdownlist {
background: @dark_toolbar_color;
}
.jodit_tabs .jodit_tabs_buttons > a {
background-color: @dark_toolbar_seperator_color2;
color: @dark_text_color;
&:hover {
background-color: fade(@dark_toolbar_seperator_color2, 80%);
color: @dark_text_color;
border-color: fade(@dark_toolbar_seperator_color2, 90%);
}
}
&.active {
background: @dark_toolbar_seperator_color1;
border-color: @dark_toolbar_seperator_color2;
}
svg {
fill: @dark_icon_color;
}
.jodit_icon {
fill: @dark_icon_color;
}
.jodit_wysiwyg_iframe,
.jodit_wysiwyg{
background-color: @dark_background_color;
color: @dark_text_color;
[data-jodit-selected-cell] {
border-color: @dark_color-border-selected;
}
}
.jodit_form textarea, .jodit_form input[type=url], .jodit_form input[type=text] {
background-color: @dark_toolbar_seperator_color1;
border-color: @dark_toolbar_seperator_color2;
}
.jodit_dropdownlist {
background: @dark_toolbar_color;
}
.jodit_tabs .jodit_tabs_buttons > a {
background-color: @dark_toolbar_seperator_color2;
color: @dark_text_color;
&:hover {
background-color: fade(@dark_toolbar_seperator_color2, 80%);
color: @dark_text_color;
border-color: fade(@dark_toolbar_seperator_color2, 90%);
}
.jodit_form button {
background-color: @dark_toolbar_seperator_color3;
color: @dark_text_color;
&.active {
background: @dark_toolbar_seperator_color1;
border-color: @dark_toolbar_seperator_color2;
}
.jodit_placeholder {
color: fade(@dark_text_color, 80%);
svg {
fill: @dark_icon_color;
}
.jodit_draganddrop_file_box, .jodit_uploadfile_button {
color: @dark_text_color;
&:hover {
background-color: @dark_toolbar_seperator_color3;
}
}
.jodit_form textarea, .jodit_form input[type=url], .jodit_form input[type=text] {
background-color: @dark_toolbar_seperator_color1;
border-color: @dark_toolbar_seperator_color2;
color: @dark_text_color;
}
.jodit_form button {
background-color: @dark_toolbar_seperator_color3;
color: @dark_text_color;
}
.jodit_placeholder {
color: fade(@dark_text_color, 80%);
}
.jodit_draganddrop_file_box, .jodit_uploadfile_button {
color: @dark_text_color;
&:hover {
background-color: @dark_toolbar_seperator_color3;
}
.jodit-add-new-line {
&:before{
border-top-color: @dark_toolbar_seperator_color2;
}
span {
background: @dark_toolbar_seperator_color3;
border-color: @dark_toolbar_seperator_color2;
svg {
fill: @dark_text_color;
}
}
}
.jodit-add-new-line {
&:before{
border-top-color: @dark_toolbar_seperator_color2;
}
.jodit_resizer > i {
span {
background: @dark_toolbar_seperator_color3;
border-color: @dark_icon_color;
border-color: @dark_toolbar_seperator_color2;
svg {
fill: @dark_text_color;
}
}
}
.jodit_resizer > i {
background: @dark_toolbar_seperator_color3;
border-color: @dark_icon_color;
}
}

0 comments on commit 2a87304

Please sign in to comment.