mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-07-13 03:27:39 +03:00
Html editor font-size fix
This commit is contained in:
parent
838d231752
commit
97987a1bac
4 changed files with 182 additions and 176 deletions
|
|
@ -1,173 +1,175 @@
|
||||||
.editorToolbar {
|
.editorToolbar {
|
||||||
|
|
||||||
position: relative;
|
position: relative;
|
||||||
height: 20px;
|
height: 20px;
|
||||||
margin-top: 10px;
|
margin-top: 10px;
|
||||||
line-height: 19px;
|
line-height: 19px;
|
||||||
|
|
||||||
&.editorHideToolbar .editorToolbarButtom {
|
&.editorHideToolbar .editorToolbarButtom {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.editorSwitcher {
|
.editorSwitcher {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
}
|
}
|
||||||
|
|
||||||
.editorToolbarButtom {
|
.editorToolbarButtom {
|
||||||
|
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
width: 16px;
|
width: 16px;
|
||||||
height: 16px;
|
height: 16px;
|
||||||
padding: 3px;
|
padding: 3px;
|
||||||
|
|
||||||
a {
|
a {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
border: 0px;
|
border: 0px;
|
||||||
margin: 0px;
|
margin: 0px;
|
||||||
padding: 0px;
|
padding: 0px;
|
||||||
width: 16px;
|
width: 16px;
|
||||||
height: 16px;
|
height: 16px;
|
||||||
|
|
||||||
cursor: default;
|
cursor: default;
|
||||||
background: url('@{editor-sprite}');
|
background: url('@{editor-sprite}');
|
||||||
|
|
||||||
&.bold { background-position: 0 0; }
|
&.bold { background-position: 0 0; }
|
||||||
&.italic { background-position: -16px 0; }
|
&.italic { background-position: -16px 0; }
|
||||||
&.underline { background-position: -32px 0; }
|
&.underline { background-position: -32px 0; }
|
||||||
&.strikethrough { background-position: -48px 0; }
|
&.strikethrough { background-position: -48px 0; }
|
||||||
&.link { background-position: -64px 0; }
|
&.link { background-position: -64px 0; }
|
||||||
&.unlink { background-position: -80px 0; }
|
&.unlink { background-position: -80px 0; }
|
||||||
&.orderedlist { background-position: -96px 0; }
|
&.orderedlist { background-position: -96px 0; }
|
||||||
&.unorderedlist { background-position: -112px 0; }
|
&.unorderedlist { background-position: -112px 0; }
|
||||||
&.image { background-position: -128px 0; }
|
&.image { background-position: -128px 0; }
|
||||||
|
|
||||||
&.h1 { background-position: 0 -16px;}
|
&.h1 { background-position: 0 -16px;}
|
||||||
&.h2 { background-position: -16px -16px;}
|
&.h2 { background-position: -16px -16px;}
|
||||||
&.h3 { background-position: -32px -16px;}
|
&.h3 { background-position: -32px -16px;}
|
||||||
&.h4 { background-position: -48px -16px;}
|
&.h4 { background-position: -48px -16px;}
|
||||||
&.h5 { background-position: -64px -16px;}
|
&.h5 { background-position: -64px -16px;}
|
||||||
&.h6 { background-position: -80px -16px;}
|
&.h6 { background-position: -80px -16px;}
|
||||||
|
|
||||||
&.subscript { background-position: -96px -16px;}
|
&.subscript { background-position: -96px -16px;}
|
||||||
&.superscript { background-position: -112px -16px;}
|
&.superscript { background-position: -112px -16px;}
|
||||||
&.indent { background-position: -128px -16px;}
|
&.indent { background-position: -128px -16px;}
|
||||||
&.outdent { background-position: -144px -16px;}
|
&.outdent { background-position: -144px -16px;}
|
||||||
&.horizontalrule { background-position: -160px -16px;}
|
&.horizontalrule { background-position: -160px -16px;}
|
||||||
&.p { background-position: -176px -16px;}
|
&.p { background-position: -176px -16px;}
|
||||||
|
|
||||||
&.justifyleft { background-position: 0 -32px;}
|
&.justifyleft { background-position: 0 -32px;}
|
||||||
&.justifycenter { background-position: -16px -32px;}
|
&.justifycenter { background-position: -16px -32px;}
|
||||||
&.justifyright { background-position: -32px -32px;}
|
&.justifyright { background-position: -32px -32px;}
|
||||||
&.increasefontsize { background-position: -48px -32px;}
|
&.increasefontsize { background-position: -48px -32px;}
|
||||||
&.decreasefontsize { background-position: -64px -32px;}
|
&.decreasefontsize { background-position: -64px -32px;}
|
||||||
&.forecolor { background-position: -80px -32px;}
|
&.forecolor { background-position: -80px -32px;}
|
||||||
&.backcolor { background-position: -80px -32px;}
|
&.backcolor { background-position: -80px -32px;}
|
||||||
&.removeformat { background-position: -144px 0;}
|
&.removeformat { background-position: -144px 0;}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.textAreaParent {
|
.textAreaParent {
|
||||||
|
|
||||||
padding: 0px;
|
padding: 0px;
|
||||||
|
|
||||||
.editorHtmlArea {
|
.editorHtmlArea {
|
||||||
|
|
||||||
.box-sizing(border-box);
|
.box-sizing(border-box);
|
||||||
|
|
||||||
border: 0px !important;
|
border: 0px !important;
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
overflow-y: scroll;
|
overflow-y: scroll;
|
||||||
font-family: arial, sans-serif;
|
font-family: arial, sans-serif;
|
||||||
font-size: 13px;
|
font-size: 14px;
|
||||||
line-height: 16px;
|
line-height: 16px;
|
||||||
margin: 0px;
|
margin: 0px;
|
||||||
padding: 8px;
|
padding: 8px;
|
||||||
|
|
||||||
ul {
|
ul {
|
||||||
|
|
||||||
padding-left: 40px;
|
padding-left: 40px;
|
||||||
|
|
||||||
li {
|
li {
|
||||||
list-style-type: disc !important;
|
list-style-type: disc !important;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
ol {
|
ol {
|
||||||
padding-left: 40px;
|
padding-left: 40px;
|
||||||
li {
|
li {
|
||||||
list-style-type: decimal !important;
|
list-style-type: decimal !important;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
blockquote {
|
blockquote {
|
||||||
border-left: solid 2px #444;
|
border-left: solid 2px #444;
|
||||||
margin-left: 5px;
|
margin-left: 5px;
|
||||||
padding-left: 5px
|
padding-left: 5px
|
||||||
}
|
}
|
||||||
|
|
||||||
img {
|
img {
|
||||||
vertical-align: bottom;
|
vertical-align: bottom;
|
||||||
}
|
}
|
||||||
|
|
||||||
&.editorDragOver {
|
&.editorDragOver {
|
||||||
background: #ffffef;
|
background: #ffffef;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.editorTextArea {
|
.editorTextArea {
|
||||||
.box-sizing(border-box);
|
.box-sizing(border-box);
|
||||||
|
|
||||||
display: block;
|
display: block;
|
||||||
border: 0px !important;
|
border: 0px !important;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
line-height: 16px;
|
line-height: 16px;
|
||||||
margin: 0px;
|
margin: 0px;
|
||||||
padding: 8px;
|
padding: 8px;
|
||||||
|
font-family: arial, sans-serif;
|
||||||
overflow: auto;
|
font-size: 14px;
|
||||||
overflow-y: scroll;
|
|
||||||
}
|
overflow: auto;
|
||||||
}
|
overflow-y: scroll;
|
||||||
|
}
|
||||||
.editorColorPicker {
|
}
|
||||||
|
|
||||||
.editorCpColors {
|
.editorColorPicker {
|
||||||
|
|
||||||
float: left;
|
.editorCpColors {
|
||||||
margin: 0;
|
|
||||||
clear: both;
|
float: left;
|
||||||
width: 128px;
|
margin: 0;
|
||||||
border: 1px solid #000;
|
clear: both;
|
||||||
backgroud: #000;
|
width: 128px;
|
||||||
|
border: 1px solid #000;
|
||||||
.editorCpColor {
|
backgroud: #000;
|
||||||
border: 1px solid #fff;
|
|
||||||
float: left;
|
.editorCpColor {
|
||||||
width: 14px;
|
border: 1px solid #fff;
|
||||||
height: 14px;
|
float: left;
|
||||||
}
|
width: 14px;
|
||||||
}
|
height: 14px;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
.editorSwitcher {
|
}
|
||||||
.g-ui-link;
|
|
||||||
.pull-right;
|
.editorSwitcher {
|
||||||
|
.g-ui-link;
|
||||||
padding-bottom: 6px;
|
.pull-right;
|
||||||
}
|
|
||||||
|
padding-bottom: 6px;
|
||||||
.editorFontStylePicker {
|
}
|
||||||
|
|
||||||
.editorFpFonts {
|
.editorFontStylePicker {
|
||||||
|
|
||||||
padding: 5px;
|
.editorFpFonts {
|
||||||
border: 1px solid #000;
|
|
||||||
background-color: #fff;
|
padding: 5px;
|
||||||
|
border: 1px solid #000;
|
||||||
.editorFpFont {
|
background-color: #fff;
|
||||||
padding: 5px;
|
|
||||||
}
|
.editorFpFont {
|
||||||
}
|
padding: 5px;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
|
||||||
|
|
@ -8326,7 +8326,7 @@ html.rl-message-fullscreen .messageView .b-content .buttonFull {
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
overflow-y: scroll;
|
overflow-y: scroll;
|
||||||
font-family: arial, sans-serif;
|
font-family: arial, sans-serif;
|
||||||
font-size: 13px;
|
font-size: 14px;
|
||||||
line-height: 16px;
|
line-height: 16px;
|
||||||
margin: 0px;
|
margin: 0px;
|
||||||
padding: 8px;
|
padding: 8px;
|
||||||
|
|
@ -8364,6 +8364,8 @@ html.rl-message-fullscreen .messageView .b-content .buttonFull {
|
||||||
line-height: 16px;
|
line-height: 16px;
|
||||||
margin: 0px;
|
margin: 0px;
|
||||||
padding: 8px;
|
padding: 8px;
|
||||||
|
font-family: arial, sans-serif;
|
||||||
|
font-size: 14px;
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
overflow-y: scroll;
|
overflow-y: scroll;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
2
rainloop/v/0.0.0/static/css/app.min.css
vendored
2
rainloop/v/0.0.0/static/css/app.min.css
vendored
File diff suppressed because one or more lines are too long
|
|
@ -6173,7 +6173,7 @@ html.rl-message-fullscreen .messageView .b-content .buttonFull {
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
overflow-y: scroll;
|
overflow-y: scroll;
|
||||||
font-family: arial, sans-serif;
|
font-family: arial, sans-serif;
|
||||||
font-size: 13px;
|
font-size: 14px;
|
||||||
line-height: 16px;
|
line-height: 16px;
|
||||||
margin: 0px;
|
margin: 0px;
|
||||||
padding: 8px;
|
padding: 8px;
|
||||||
|
|
@ -6211,6 +6211,8 @@ html.rl-message-fullscreen .messageView .b-content .buttonFull {
|
||||||
line-height: 16px;
|
line-height: 16px;
|
||||||
margin: 0px;
|
margin: 0px;
|
||||||
padding: 8px;
|
padding: 8px;
|
||||||
|
font-family: arial, sans-serif;
|
||||||
|
font-size: 14px;
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
overflow-y: scroll;
|
overflow-y: scroll;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue