- Reduced TinyMCE to two rows
- Removed font-family, font-size, full justify - Restored outdent and indent - Some style improvements, including quotation marks around blockquotes
This commit is contained in:
parent
c293ed5990
commit
723e7b5ec5
|
@ -79,7 +79,7 @@
|
||||||
|
|
||||||
var ios = Components.classes["@mozilla.org/network/io-service;1"].
|
var ios = Components.classes["@mozilla.org/network/io-service;1"].
|
||||||
getService(Components.interfaces.nsIIOService);
|
getService(Components.interfaces.nsIIOService);
|
||||||
var uri = ios.newURI("chrome://zotero/content/tiny_mce/" + this.mode + ".html", null, null);
|
var uri = ios.newURI("chrome://zotero/content/tinymce/" + this.mode + ".html", null, null);
|
||||||
var chromeReg = Components.classes["@mozilla.org/chrome/chrome-registry;1"].
|
var chromeReg = Components.classes["@mozilla.org/chrome/chrome-registry;1"].
|
||||||
getService(Components.interfaces.nsIChromeRegistry);
|
getService(Components.interfaces.nsIChromeRegistry);
|
||||||
var fileURI = chromeReg.convertChromeURL(uri);
|
var fileURI = chromeReg.convertChromeURL(uri);
|
||||||
|
|
|
@ -19,7 +19,7 @@ html, body {
|
||||||
table.mceLayout > tbody > tr.mceLast {
|
table.mceLayout > tbody > tr.mceLast {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
display: block;
|
display: block;
|
||||||
top: 82px;
|
top: 54px;
|
||||||
bottom: 2px;
|
bottom: 2px;
|
||||||
left: 1px;
|
left: 1px;
|
||||||
right: 1px;
|
right: 1px;
|
||||||
|
@ -65,9 +65,10 @@ td.mceIframeContainer {
|
||||||
/*plugins : "xhtmlxtras",*/
|
/*plugins : "xhtmlxtras",*/
|
||||||
|
|
||||||
// Theme options
|
// Theme options
|
||||||
theme_advanced_buttons1 : "bold,italic,underline,strikethrough,|,sub,sup,|,forecolor,backcolor,|,removeformat,code",
|
theme_advanced_layout_manager : "SimpleLayout",
|
||||||
theme_advanced_buttons2 : "justifyleft,justifycenter,justifyright,justifyfull,|,bullist,numlist,|,blockquote,|,link,unlink",
|
theme_advanced_buttons1 : "bold,italic,underline,strikethrough,|,sub,sup,|,forecolor,backcolor,|,blockquote,|,link,unlink",
|
||||||
theme_advanced_buttons3 : "formatselect,fontselect,fontsizeselect",
|
theme_advanced_buttons2 : "formatselect,|,justifyleft,justifycenter,justifyright,|,bullist,numlist,outdent,indent,|,removeformat,code",
|
||||||
|
theme_advanced_buttons3 : "",
|
||||||
theme_advanced_toolbar_location : "top",
|
theme_advanced_toolbar_location : "top",
|
||||||
theme_advanced_toolbar_align : "left",
|
theme_advanced_toolbar_align : "left",
|
||||||
theme_advanced_resizing : true
|
theme_advanced_resizing : true
|
||||||
|
|
|
@ -49,8 +49,10 @@
|
||||||
/* ListBox */
|
/* ListBox */
|
||||||
.defaultSkin .mceListBox {direction:ltr}
|
.defaultSkin .mceListBox {direction:ltr}
|
||||||
.defaultSkin .mceListBox, .defaultSkin .mceListBox a {display:block}
|
.defaultSkin .mceListBox, .defaultSkin .mceListBox a {display:block}
|
||||||
.defaultSkin .mceListBox .mceText {padding-left:4px; width:70px; text-align:left; border:1px solid #CCC; border-right:0; background:#FFF; font-family:Tahoma,Verdana,Arial,Helvetica; font-size:11px; height:20px; line-height:20px; overflow:hidden}
|
/* width changed to 65px by Dan S./Zotero */
|
||||||
.defaultSkin .mceListBox .mceOpen {width:9px; height:20px; background:url(../../img/icons.gif) -741px 0; margin-right:2px; border:1px solid #CCC;}
|
.defaultSkin .mceListBox .mceText {padding-left:4px; width:65px; text-align:left; border:1px solid #CCC; border-right:0; background:#FFF; font-family:Tahoma,Verdana,Arial,Helvetica; font-size:11px; height:20px; line-height:20px; overflow:hidden}
|
||||||
|
/* margin-right changed to 1px by Dan S./Zotero */
|
||||||
|
.defaultSkin .mceListBox .mceOpen {width:9px; height:20px; background:url(../../img/icons.gif) -741px 0; margin-right:1px; border:1px solid #CCC;}
|
||||||
.defaultSkin table.mceListBoxEnabled:hover .mceText, .defaultSkin .mceListBoxHover .mceText, .defaultSkin .mceListBoxSelected .mceText {border:1px solid #A2ABC0; border-right:0; background:#FFF}
|
.defaultSkin table.mceListBoxEnabled:hover .mceText, .defaultSkin .mceListBoxHover .mceText, .defaultSkin .mceListBoxSelected .mceText {border:1px solid #A2ABC0; border-right:0; background:#FFF}
|
||||||
.defaultSkin table.mceListBoxEnabled:hover .mceOpen, .defaultSkin .mceListBoxHover .mceOpen, .defaultSkin .mceListBoxSelected .mceOpen {background-color:#FFF; border:1px solid #A2ABC0}
|
.defaultSkin table.mceListBoxEnabled:hover .mceOpen, .defaultSkin .mceListBoxHover .mceOpen, .defaultSkin .mceListBoxSelected .mceOpen {background-color:#FFF; border:1px solid #A2ABC0}
|
||||||
.defaultSkin .mceListBoxDisabled a.mceText {color:gray; background-color:transparent;}
|
.defaultSkin .mceListBoxDisabled a.mceText {color:gray; background-color:transparent;}
|
||||||
|
|
|
@ -82,8 +82,8 @@
|
||||||
|
|
||||||
#zotero-item-pane
|
#zotero-item-pane
|
||||||
{
|
{
|
||||||
width: 330px;
|
width: 335px;
|
||||||
min-width: 330px;
|
min-width: 335px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#zotero-pane toolbar
|
#zotero-pane toolbar
|
||||||
|
|
|
@ -56,7 +56,7 @@ td {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
ul {
|
ul.report, ul.notes, ul.tags {
|
||||||
list-style: none;
|
list-style: none;
|
||||||
margin-left: 0;
|
margin-left: 0;
|
||||||
padding-left: 0;
|
padding-left: 0;
|
||||||
|
@ -111,8 +111,18 @@ ul.notes > li p:last-child {
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Add quotation marks around blockquote */
|
||||||
|
ul.notes > li blockquote p:not(:empty):before,
|
||||||
|
li.note blockquote p:not(:empty):before {
|
||||||
|
content: '“';
|
||||||
|
}
|
||||||
|
|
||||||
/* Preserve whitespace on notes */
|
ul.notes > li blockquote p:not(:empty):last-child:after,
|
||||||
|
li.note blockquote p:not(:empty):last-child:after {
|
||||||
|
content: '”';
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Preserve whitespace on plaintext notes */
|
||||||
ul.notes li p.plaintext, li.note p.plaintext {
|
ul.notes li p.plaintext, li.note p.plaintext {
|
||||||
white-space: pre-wrap;
|
white-space: pre-wrap;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,14 +1,21 @@
|
||||||
body {
|
body, td, pre {
|
||||||
font-size: 11px;
|
font-size: 11px;
|
||||||
font-family: Lucida Grande, Tahoma, Verdana, Helvetica, sans-serif;
|
font-family: Lucida Grande, Tahoma, Verdana, Helvetica, sans-serif;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
pre {
|
||||||
blockquote p:not(:empty):before {
|
font-family: -moz-fixed;
|
||||||
content: '“'
|
|
||||||
}
|
}
|
||||||
|
|
||||||
blockquote p:not(:empty):after {
|
blockquote {
|
||||||
content: '”'
|
margin-left: 2em;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Add quotation marks around blockquote */
|
||||||
|
blockquote p:not(:empty):before {
|
||||||
|
content: '“';
|
||||||
|
}
|
||||||
|
|
||||||
|
blockquote p:not(:empty):last-child:after {
|
||||||
|
content: '”';
|
||||||
}
|
}
|
||||||
*/
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user