Changed tiny-MCE to not load CSS files dynamically. Added CSS files for tiny-MCE in env files. Moved TinyMCE files to directory structure required by Jake command. Changed clients of "tinymce.min.js" to use "tinymce.full.min.js" instead. Updated CHANGELOG to indicate tinymce version 4.0.20. Renamed tinymce.css. Directions for creating tinymce.full.min.js and commenting of edX changes. Updated comments related to disabling dynamic JS and CSS file loading in tinymce. Allow TinyMCE to handle CSS within the iframe.
153 lines
2.4 KiB
CSS
153 lines
2.4 KiB
CSS
@import url(//fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,700italic,400,300,600,700);
|
|
|
|
.mce-content-body {
|
|
padding: 10px;
|
|
background-color: #fff;
|
|
font-family: 'Open Sans', Verdana, Arial, Helvetica, sans-serif;
|
|
font-size: 16px;
|
|
line-height: 1.6;
|
|
color: #3c3c3c;
|
|
scrollbar-3dlight-color: #F0F0EE;
|
|
scrollbar-arrow-color: #676662;
|
|
scrollbar-base-color: #F0F0EE;
|
|
scrollbar-darkshadow-color: #DDDDDD;
|
|
scrollbar-face-color: #E0E0DD;
|
|
scrollbar-highlight-color: #F0F0EE;
|
|
scrollbar-shadow-color: #F0F0EE;
|
|
scrollbar-track-color: #F5F5F5;
|
|
}
|
|
|
|
h1 {
|
|
color: #3c3c3c;
|
|
font-weight: normal;
|
|
font-size: 2em;
|
|
line-height: 1.4em;
|
|
letter-spacing: 1px;
|
|
margin: 0 0 1.416em 0;
|
|
}
|
|
|
|
h2 {
|
|
color: #646464;
|
|
font-weight: normal;
|
|
font-size: 1.2em;
|
|
line-height: 1.2em;
|
|
letter-spacing: 1px;
|
|
margin-bottom: 15px;
|
|
text-transform: uppercase;
|
|
-webkit-font-smoothing: antialiased;
|
|
}
|
|
|
|
h3, h4, h5, h6 {
|
|
margin: 0 0 10px 0;
|
|
font-weight: 600;
|
|
}
|
|
|
|
h3 {
|
|
font-size: 1.2em;
|
|
}
|
|
|
|
h4 {
|
|
font-size: 1em;
|
|
}
|
|
|
|
h5 {
|
|
font-size: .83em;
|
|
}
|
|
|
|
h6 {
|
|
font-size: 0.75em;
|
|
}
|
|
|
|
p {
|
|
margin-bottom: 1.416em;
|
|
font-size: 1em;
|
|
line-height: 1.6em !important;
|
|
color: #3c3c3c;
|
|
}
|
|
|
|
em, i {
|
|
font-style: italic;
|
|
}
|
|
|
|
strong, b {
|
|
font-style: bold;
|
|
}
|
|
|
|
p + p, ul + p, ol + p {
|
|
margin-top: 20px;
|
|
}
|
|
|
|
ol, ul {
|
|
margin: 1em 0;
|
|
padding: 0 0 0 1em;
|
|
color: #3c3c3c;
|
|
|
|
}
|
|
|
|
ol li, ul li {
|
|
margin-bottom: 0.708em;
|
|
}
|
|
|
|
ol {
|
|
list-style: decimal outside none;
|
|
}
|
|
|
|
ul {
|
|
list-style: disc outside none;
|
|
}
|
|
|
|
a, a:link, a:visited, a:hover, a:active {
|
|
color: #1d9dd9;
|
|
}
|
|
|
|
img {
|
|
max-width: 100%;
|
|
}
|
|
|
|
pre {
|
|
margin: 1em 0;
|
|
color: #3c3c3c;
|
|
font-family: monospace, serif;
|
|
font-size: 1em;
|
|
white-space: pre-wrap;
|
|
word-wrap: break-word;
|
|
}
|
|
|
|
code {
|
|
font-family: monospace, serif;
|
|
background: none;
|
|
color: #3c3c3c;
|
|
padding: 0;
|
|
}
|
|
|
|
table {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
font-size: 16px;
|
|
}
|
|
|
|
th {
|
|
background: #eee;
|
|
font-weight: bold;
|
|
}
|
|
|
|
table td, th {
|
|
margin: 20px 0;
|
|
padding: 10px;
|
|
border: 1px solid #ccc !important;
|
|
text-align: left;
|
|
font-size: 14px;
|
|
}
|
|
|
|
table td.cont-justified-left, table th.cont-justified-left {
|
|
text-align: left;
|
|
}
|
|
|
|
table td.cont-justified-right, table th.cont-justified-right {
|
|
text-align: right;
|
|
}
|
|
|
|
table td.cont-justified-center, table th.cont-justified-center {
|
|
text-align: center;
|
|
}
|