-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Notes editor is not wysiwyg feat: Notes editor is not wysiwyg - EXO-65725 - Meeds-io/MIPs#71 (#721) Notes editor is not wysiwyg fix: Adjust blockquote wysiwyg styles - EXO-65725 - Meeds-io/MIPs#71 (#732) Adjust blockquote wysiwyg styles fix: Adjust blockquote of list of items styles - EXO-65725 - Meeds-io/MIPs#71 (#737) Adjust blockquote of list of items styles fix: blockquotes in notes view mode are not wysiwyg - EXO-65725 - Meeds-io/MIPs#71 (#744) Prior to this change, blockquotes in notes view mode are not wysiwyg in term of font style. The PR makes sure to have the same normal font style in both view and edit mode
- Loading branch information
Showing
6 changed files
with
398 additions
and
61 deletions.
There are no files selected for viewing
130 changes: 130 additions & 0 deletions
130
notes-webapp/src/main/webapp/skin/less/notes/editor.less
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,130 @@ | ||
#notesOverviewApplication { | ||
|
||
.notes-application-content { | ||
|
||
blockquote { | ||
font-weight: 400 !important; | ||
padding: 10px !important; | ||
border-left-color: @primaryColor !important; | ||
margin: 0 0 10px 0 !important; | ||
|
||
p { | ||
margin-bottom: 0 !important; | ||
line-height: 1.4 !important; | ||
font-size: 16px !important; | ||
font-style: normal !important; | ||
} | ||
|
||
strong { | ||
font-weight: bold; | ||
} | ||
} | ||
|
||
a { | ||
color: #0782C1; | ||
} | ||
|
||
ol, ul, dl { | ||
margin: 0 0 10px 0 !important; | ||
padding: 0 40px !important; | ||
} | ||
|
||
ol { | ||
list-style-type: decimal; | ||
|
||
& ol { | ||
list-style-type: lower-latin; | ||
|
||
& ol { | ||
list-style-type: lower-roman; | ||
|
||
& ol { | ||
list-style-type: upper-latin; | ||
|
||
& ol { | ||
list-style-type: upper-roman; | ||
} | ||
} | ||
} | ||
} | ||
} | ||
|
||
.video { | ||
position: relative; | ||
clear: both; | ||
width: 80%; | ||
height: 0; | ||
padding-bottom: 33.74%; | ||
margin: 15px auto; | ||
|
||
iframe { | ||
position: absolute; | ||
left: 0; | ||
width: 100%; | ||
height: 100%; | ||
} | ||
} | ||
|
||
ul li, ol li { | ||
list-style: revert; | ||
font-size: 16px; | ||
line-height: 1.4; | ||
} | ||
|
||
h1, h2, h3, h4, h5, h6 { | ||
font-weight: normal; | ||
line-height: 1.2; | ||
} | ||
|
||
h1, h2, h3 { | ||
font-weight: 500 !important; | ||
line-height: 1.2 !important; | ||
} | ||
|
||
h1 { | ||
font-size: 28px !important; | ||
margin-top: 45px !important; | ||
} | ||
|
||
h2 { | ||
font-size: 23px !important; | ||
margin-top: 35px !important; | ||
} | ||
|
||
h3 { | ||
font-size: 18px !important; | ||
margin-top: 25px !important; | ||
} | ||
|
||
p, li { | ||
line-height: 1.4 !important; | ||
} | ||
|
||
p, li, blockquote { | ||
font-size: 16px !important; | ||
} | ||
|
||
table { | ||
margin-top: 0 !important; | ||
margin-bottom: 10px !important; | ||
|
||
td { | ||
line-height: 1.4 !important; | ||
font-size: 16px !important; | ||
} | ||
|
||
td:not(:has(p)) { | ||
padding-bottom: 10px; | ||
} | ||
} | ||
|
||
.content-link { | ||
font-size: 16px !important; | ||
} | ||
|
||
img { | ||
margin: 10px !important; | ||
} | ||
|
||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.