2011-07-19 17:53:54 +02:00
|
|
|
/* These CSS rules are included in both the outer and inner ACE iframe.
|
|
|
|
Also see inner.css, included only in the inner one.
|
|
|
|
*/
|
|
|
|
html { cursor: text; } /* in Safari, produces text cursor for whole doc (inc. below body) */
|
|
|
|
span { cursor: auto; }
|
|
|
|
|
2012-05-20 15:37:03 +02:00
|
|
|
::selection {
|
|
|
|
background: #acf;
|
|
|
|
}
|
|
|
|
::-moz-selection {
|
|
|
|
background: #acf;
|
|
|
|
}
|
|
|
|
|
2015-03-04 18:46:49 +01:00
|
|
|
a {
|
|
|
|
cursor: pointer !important;
|
|
|
|
white-space:pre-wrap;
|
|
|
|
}
|
2011-07-19 17:53:54 +02:00
|
|
|
|
|
|
|
ul, ol, li {
|
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
|
|
|
}
|
2013-04-05 03:21:56 +02:00
|
|
|
|
2011-07-19 17:53:54 +02:00
|
|
|
ul { margin-left: 1.5em; }
|
|
|
|
ul ul { margin-left: 0 !important; }
|
|
|
|
ul.list-bullet1 { margin-left: 1.5em; }
|
|
|
|
ul.list-bullet2 { margin-left: 3em; }
|
|
|
|
ul.list-bullet3 { margin-left: 4.5em; }
|
|
|
|
ul.list-bullet4 { margin-left: 6em; }
|
|
|
|
ul.list-bullet5 { margin-left: 7.5em; }
|
|
|
|
ul.list-bullet6 { margin-left: 9em; }
|
|
|
|
ul.list-bullet7 { margin-left: 10.5em; }
|
|
|
|
ul.list-bullet8 { margin-left: 12em; }
|
2014-12-27 13:18:58 +01:00
|
|
|
ul.list-bullet9 { margin-left: 13.5em; }
|
|
|
|
ul.list-bullet10 { margin-left: 15em; }
|
|
|
|
ul.list-bullet11 { margin-left: 16.5em; }
|
|
|
|
ul.list-bullet12 { margin-left: 18em; }
|
|
|
|
ul.list-bullet13 { margin-left: 19.5em; }
|
|
|
|
ul.list-bullet14 { margin-left: 21em; }
|
|
|
|
ul.list-bullet15 { margin-left: 22.5em; }
|
|
|
|
ul.list-bullet16 { margin-left: 24em; }
|
2011-07-19 17:53:54 +02:00
|
|
|
|
|
|
|
ul { list-style-type: disc; }
|
|
|
|
ul.list-bullet1 { list-style-type: disc; }
|
|
|
|
ul.list-bullet2 { list-style-type: circle; }
|
|
|
|
ul.list-bullet3 { list-style-type: square; }
|
|
|
|
ul.list-bullet4 { list-style-type: disc; }
|
|
|
|
ul.list-bullet5 { list-style-type: circle; }
|
|
|
|
ul.list-bullet6 { list-style-type: square; }
|
|
|
|
ul.list-bullet7 { list-style-type: disc; }
|
|
|
|
ul.list-bullet8 { list-style-type: circle; }
|
2014-12-27 13:18:58 +01:00
|
|
|
ul.list-bullet9 { list-style-type: disc; }
|
|
|
|
ul.list-bullet10 { list-style-type: circle; }
|
|
|
|
ul.list-bullet11 { list-style-type: square; }
|
|
|
|
ul.list-bullet12 { list-style-type: disc; }
|
|
|
|
ul.list-bullet13 { list-style-type: circle; }
|
|
|
|
ul.list-bullet14 { list-style-type: square; }
|
|
|
|
ul.list-bullet15 { list-style-type: disc; }
|
|
|
|
ul.list-bullet16 { list-style-type: circle; }
|
2011-07-19 17:53:54 +02:00
|
|
|
|
2011-11-25 10:29:31 +01:00
|
|
|
ul.list-indent1 { margin-left: 1.5em; }
|
|
|
|
ul.list-indent2 { margin-left: 3em; }
|
|
|
|
ul.list-indent3 { margin-left: 4.5em; }
|
|
|
|
ul.list-indent4 { margin-left: 6em; }
|
|
|
|
ul.list-indent5 { margin-left: 7.5em; }
|
|
|
|
ul.list-indent6 { margin-left: 9em; }
|
|
|
|
ul.list-indent7 { margin-left: 10.5em; }
|
|
|
|
ul.list-indent8 { margin-left: 12em; }
|
2014-12-27 13:18:58 +01:00
|
|
|
ul.list-indent9 { margin-left: 13.5em; }
|
|
|
|
ul.list-indent10 { margin-left: 15em; }
|
|
|
|
ul.list-indent11 { margin-left: 16.5em; }
|
|
|
|
ul.list-indent12 { margin-left: 18em; }
|
|
|
|
ul.list-indent13 { margin-left: 19.5em; }
|
|
|
|
ul.list-indent14 { margin-left: 21em; }
|
|
|
|
ul.list-indent15 { margin-left: 22.5em; }
|
|
|
|
ul.list-indent16 { margin-left: 24em; }
|
|
|
|
|
|
|
|
ul.list-indent1, ul.list-indent2, ul.list-indent3, ul.list-indent4, ul.list-indent5,
|
|
|
|
ul.list-indent6, ul.list-indent7, ul.list-indent8, ul.list-indent9, ul.list-indent10,
|
|
|
|
ul.list-indent11, ul.list-indent12, ul.list-indent13,
|
|
|
|
ul.list-indent14, ul.list-indent15, ul.list-indent16 { list-style-type: none; }
|
2011-07-19 17:53:54 +02:00
|
|
|
|
|
|
|
body {
|
|
|
|
margin: 0;
|
|
|
|
white-space: nowrap;
|
2013-03-20 23:39:10 +01:00
|
|
|
word-wrap: normal;
|
2013-12-05 08:41:29 +01:00
|
|
|
}
|
2011-07-19 17:53:54 +02:00
|
|
|
|
|
|
|
#outerdocbody {
|
|
|
|
background-color: #fff;
|
|
|
|
}
|
|
|
|
body.grayedout { background-color: #eee !important }
|
|
|
|
|
|
|
|
#innerdocbody {
|
|
|
|
font-size: 12px; /* overridden by body.style */
|
2014-06-28 16:19:28 +02:00
|
|
|
font-family:Arial, sans-serif; /* overridden by body.style */
|
2011-07-19 17:53:54 +02:00
|
|
|
line-height: 16px; /* overridden by body.style */
|
|
|
|
}
|
|
|
|
|
|
|
|
body.doesWrap {
|
2015-04-02 14:16:49 +02:00
|
|
|
/* white-space: pre-wrap; */
|
|
|
|
|
|
|
|
/*
|
|
|
|
Must be pre-wrap to keep trailing spaces. Otherwise you get a zombie caret,
|
|
|
|
walking around your screen (see #1766).
|
|
|
|
WARNING: Enabling this causes Paste as plain text in Chrome to remove line breaks
|
|
|
|
this is probably undesirable
|
|
|
|
WARNING: This causes copy & paste events to lose bold etc. attributes
|
|
|
|
NOTE: The walking-zombie caret issue seems to have been fixed in FF upstream
|
|
|
|
so let's try diabling pre-wrap and see how we get on now.
|
|
|
|
For more details see: https://github.com/ether/etherpad-lite/issues/2574
|
|
|
|
*/
|
2014-06-24 19:46:41 +02:00
|
|
|
word-wrap: break-word; /* fix for issue #1648 - firefox not wrapping long lines (without spaces) correctly */
|
2011-07-19 17:53:54 +02:00
|
|
|
}
|
|
|
|
|
2015-04-08 10:24:19 +02:00
|
|
|
body.doesWrap > div{
|
|
|
|
/* Related to #1766 */
|
|
|
|
white-space: pre-wrap;
|
|
|
|
}
|
|
|
|
|
2011-07-19 17:53:54 +02:00
|
|
|
#innerdocbody {
|
|
|
|
padding-top: 1px; /* important for some reason? */
|
|
|
|
padding-right: 10px;
|
|
|
|
padding-bottom: 8px;
|
2012-01-15 18:59:19 +01:00
|
|
|
padding-left: 1px /* prevents characters from looking chopped off in FF3 -- Removed because it added too much whitespace */;
|
2011-07-19 17:53:54 +02:00
|
|
|
overflow: hidden;
|
|
|
|
/* blank 1x1 gif, so that IE8 doesn't consider the body transparent */
|
|
|
|
background-image: url(data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==);
|
|
|
|
}
|
|
|
|
|
|
|
|
#sidediv {
|
|
|
|
font-size: 11px;
|
|
|
|
font-family: monospace;
|
|
|
|
line-height: 16px; /* overridden by sideDiv.style */
|
|
|
|
padding-top: 8px; /* EDIT_BODY_PADDING_TOP */
|
|
|
|
padding-right: 3px; /* LINE_NUMBER_PADDING_RIGHT - 1 */
|
|
|
|
position: absolute;
|
|
|
|
width: 20px; /* MIN_LINEDIV_WIDTH */
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
cursor: default;
|
|
|
|
color: white;
|
|
|
|
}
|
|
|
|
|
|
|
|
#sidedivinner {
|
|
|
|
text-align: right;
|
|
|
|
}
|
|
|
|
|
|
|
|
.sidedivdelayed { /* class set after sizes are set */
|
|
|
|
background-color: #eee;
|
|
|
|
color: #888 !important;
|
2012-11-13 12:42:52 +01:00
|
|
|
border-right: 1px solid #ccc;
|
2011-07-19 17:53:54 +02:00
|
|
|
}
|
|
|
|
.sidedivhidden {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
#outerdocbody iframe {
|
|
|
|
display: block; /* codemirror says it suppresses bugs */
|
|
|
|
position: relative;
|
|
|
|
left: 32px; /* MIN_LINEDIV_WIDTH + LINE_NUMBER_PADDING_RIGHT + EDIT_BODY_PADDING_LEFT */
|
|
|
|
top: 7px; /* EDIT_BODY_PADDING_TOP - 1*/
|
|
|
|
border: 0;
|
|
|
|
width: 1px; /* changed programmatically */
|
|
|
|
height: 1px; /* changed programmatically */
|
|
|
|
}
|
|
|
|
|
|
|
|
#outerdocbody .hotrect {
|
|
|
|
border: 1px solid #999;
|
|
|
|
position: absolute;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* cause "body" area (e.g. where clicks are heard) to grow horizontally with text */
|
|
|
|
body.mozilla, body.safari {
|
|
|
|
display: table-cell;
|
|
|
|
}
|
|
|
|
|
|
|
|
body.doesWrap {
|
|
|
|
display: block !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.safari div {
|
|
|
|
/* prevents the caret from disappearing on the longest line of the doc */
|
|
|
|
padding-right: 1px;
|
|
|
|
}
|
|
|
|
|
|
|
|
p {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
#linemetricsdiv {
|
|
|
|
position: absolute;
|
|
|
|
left: -1000px;
|
|
|
|
top: -1000px;
|
|
|
|
color: white;
|
|
|
|
z-index: -1;
|
|
|
|
font-size: 12px; /* overridden by lineMetricsDiv.style */
|
|
|
|
font-family: monospace; /* overridden by lineMetricsDiv.style */
|
|
|
|
}
|
|
|
|
|
2013-02-17 18:13:02 +01:00
|
|
|
/* Stops super long lines without being spaces such as aaaaaaaaaaaaaa*100 breaking the editor
|
|
|
|
Commented out because it stops IE from being able to render the document, crazy IE bug is crazy. */
|
|
|
|
/*
|
2013-02-12 01:08:44 +01:00
|
|
|
.ace-line{
|
2013-02-17 18:13:02 +01:00
|
|
|
overflow:hidden;
|
2013-02-12 01:08:44 +01:00
|
|
|
}
|
2013-02-17 18:13:02 +01:00
|
|
|
*/
|
2013-04-05 03:21:56 +02:00
|
|
|
|
|
|
|
ol {
|
2013-04-09 15:29:55 +02:00
|
|
|
list-style-type: decimal;
|
2013-04-05 03:21:56 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
ol > li {
|
|
|
|
display:inline;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Set the indentation */
|
2013-04-09 15:29:55 +02:00
|
|
|
ol.list-number1{ text-indent: 0px; }
|
|
|
|
ol.list-number2{ text-indent: 10px; }
|
|
|
|
ol.list-number3{ text-indent: 20px; }
|
|
|
|
ol.list-number4{ text-indent: 30px; }
|
|
|
|
ol.list-number5{ text-indent: 40px; }
|
|
|
|
ol.list-number6{ text-indent: 50px; }
|
|
|
|
ol.list-number7{ text-indent: 60px; }
|
|
|
|
ol.list-number8{ text-indent: 70px; }
|
2014-12-27 13:18:58 +01:00
|
|
|
ol.list-number9{ text-indent: 80px; }
|
|
|
|
ol.list-number10{ text-indent: 90px; }
|
|
|
|
ol.list-number11{ text-indent: 100px; }
|
|
|
|
ol.list-number12{ text-indent: 110px; }
|
|
|
|
ol.list-number13{ text-indent: 120px; }
|
|
|
|
ol.list-number14{ text-indent: 130px; }
|
|
|
|
ol.list-number15{ text-indent: 140px; }
|
|
|
|
ol.list-number16{ text-indent: 150px; }
|
2013-04-05 03:21:56 +02:00
|
|
|
|
|
|
|
/* Add styling to the first item in a list */
|
2013-04-11 17:33:03 +02:00
|
|
|
|
|
|
|
.list-start-number1 { counter-reset: first second; }
|
|
|
|
.list-start-number2 { counter-reset: second; }
|
2013-04-11 17:38:41 +02:00
|
|
|
.list-start-number3 { counter-reset: third; }
|
|
|
|
.list-start-number4 { counter-reset: fourth; }
|
|
|
|
.list-start-number5 { counter-reset: fifth; }
|
|
|
|
.list-start-number6 { counter-reset: sixth; }
|
|
|
|
.list-start-number7 { counter-reset: seventh; }
|
|
|
|
.list-start-number8 { counter-reset: eighth; }
|
2014-12-27 13:18:58 +01:00
|
|
|
.list-start-number9 { counter-reset: ninth; }
|
|
|
|
.list-start-number10 { counter-reset: tenth; }
|
|
|
|
.list-start-number11 { counter-reset: eleventh; }
|
|
|
|
.list-start-number12 { counter-reset: twelth; }
|
|
|
|
.list-start-number13 { counter-reset: thirteenth; }
|
|
|
|
.list-start-number14 { counter-reset: fourteenth; }
|
|
|
|
.list-start-number15 { counter-reset: fifteenth; }
|
|
|
|
.list-start-number16 { counter-reset: sixteenth; }
|
2013-04-05 03:21:56 +02:00
|
|
|
|
|
|
|
/* The behavior for incrementing and the prefix */
|
2013-04-11 17:33:03 +02:00
|
|
|
.list-number1 li:before {
|
2013-04-05 03:21:56 +02:00
|
|
|
content: counter(first) ". " ;
|
2013-04-11 17:33:03 +02:00
|
|
|
counter-increment: first;
|
2013-04-05 03:21:56 +02:00
|
|
|
}
|
|
|
|
|
2013-04-11 17:33:03 +02:00
|
|
|
.list-number2 li:before {
|
2013-04-11 17:38:41 +02:00
|
|
|
content: counter(first) "." counter(second) ". ";
|
2013-04-11 17:33:03 +02:00
|
|
|
counter-increment: second;
|
2013-04-05 03:21:56 +02:00
|
|
|
}
|
|
|
|
|
2013-04-11 17:33:03 +02:00
|
|
|
.list-number3 li:before {
|
2013-04-11 17:38:41 +02:00
|
|
|
content: counter(first) "." counter(second) "." counter(third) ". ";
|
2013-04-09 01:46:13 +02:00
|
|
|
counter-increment: third 1;
|
2013-04-09 00:03:19 +02:00
|
|
|
}
|
|
|
|
|
2013-04-11 17:33:03 +02:00
|
|
|
.list-number4 li:before {
|
2013-04-11 17:38:41 +02:00
|
|
|
content: counter(first) "." counter(second) "." counter(third) "." counter(fourth) ". ";
|
2013-04-09 01:46:13 +02:00
|
|
|
counter-increment: fourth 1;
|
2013-04-09 00:03:19 +02:00
|
|
|
}
|
|
|
|
|
2013-04-11 17:33:03 +02:00
|
|
|
.list-number5 li:before {
|
2013-04-11 17:38:41 +02:00
|
|
|
content: counter(first) "." counter(second) "." counter(third) "." counter(fourth) "." counter(fifth) ". ";
|
2013-04-09 01:46:13 +02:00
|
|
|
counter-increment: fifth 1;
|
2013-04-09 00:03:19 +02:00
|
|
|
}
|
|
|
|
|
2013-04-11 17:33:03 +02:00
|
|
|
.list-number6 li:before {
|
2013-04-11 17:38:41 +02:00
|
|
|
content: counter(first) "." counter(second) "." counter(third) "." counter(fourth) "." counter(fifth) "." counter(sixth) ". ";
|
2013-04-09 01:46:13 +02:00
|
|
|
counter-increment: sixth 1;
|
2013-04-09 00:03:19 +02:00
|
|
|
}
|
|
|
|
|
2013-04-11 17:33:03 +02:00
|
|
|
.list-number7 li:before {
|
2013-04-11 17:38:41 +02:00
|
|
|
content: counter(first) "." counter(second) "." counter(third) "." counter(fourth) "." counter(fifth) "." counter(sixth) "." counter(seventh) ". ";
|
2013-04-09 01:46:13 +02:00
|
|
|
counter-increment: seventh 1;
|
2013-04-09 00:32:04 +02:00
|
|
|
}
|
|
|
|
|
2013-04-11 17:33:03 +02:00
|
|
|
.list-number8 li:before {
|
2014-12-31 02:46:53 +01:00
|
|
|
content: counter(first) "." counter(second) "." counter(third) "." counter(fourth) "." counter(fifth) "." counter(sixth) "." counter(seventh) "." counter(eighth) ". " ;
|
2013-04-09 01:46:13 +02:00
|
|
|
counter-increment: eighth 1;
|
2013-04-09 00:32:04 +02:00
|
|
|
}
|
2014-12-27 13:18:58 +01:00
|
|
|
|
|
|
|
.list-number9 li:before {
|
2014-12-31 02:46:53 +01:00
|
|
|
content: counter(first) "." counter(second) "." counter(third) "." counter(fourth) "." counter(fifth) "." counter(sixth) "." counter(seventh) "." counter(eighth) "." counter(ninth) ". ";
|
2014-12-27 13:18:58 +01:00
|
|
|
counter-increment: ninth 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
.list-number10 li:before {
|
2014-12-31 02:46:53 +01:00
|
|
|
content: counter(first) "." counter(second) "." counter(third) "." counter(fourth) "." counter(fifth) "." counter(sixth) "." counter(seventh) "." counter(eighth) "." counter(ninth) "." counter(tenth) ". ";
|
2014-12-27 13:18:58 +01:00
|
|
|
counter-increment: tenth 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
.list-number11 li:before {
|
2014-12-31 02:46:53 +01:00
|
|
|
content: counter(first) "." counter(second) "." counter(third) "." counter(fourth) "." counter(fifth) "." counter(sixth) "." counter(seventh) "." counter(eighth) "." counter(ninth) "." counter(tenth) "." counter(eleventh) ". ";
|
2014-12-27 13:18:58 +01:00
|
|
|
counter-increment: eleventh 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
.list-number12 li:before {
|
2014-12-31 02:46:53 +01:00
|
|
|
content: counter(first) "." counter(second) "." counter(third) "." counter(fourth) "." counter(fifth) "." counter(sixth) "." counter(seventh) "." counter(eighth) "." counter(ninth) "." counter(tenth) "." counter(eleventh) "." counter(twelth) ". ";
|
2014-12-27 13:18:58 +01:00
|
|
|
counter-increment: twelth 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
.list-number13 li:before {
|
2014-12-31 02:46:53 +01:00
|
|
|
content: counter(first) "." counter(second) "." counter(third) "." counter(fourth) "." counter(fifth) "." counter(sixth) "." counter(seventh) "." counter(eighth) "." counter(ninth) "." counter(tenth) "." counter(eleventh) "." counter(twelth) "." counter(thirteenth) ". ";
|
2014-12-27 13:18:58 +01:00
|
|
|
counter-increment: thirteenth 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
.list-number14 li:before {
|
|
|
|
content: counter(first) "." counter(second) "." counter(third) "." counter(fourth) "." counter(fifth) "." counter(sixth) "." counter(eighth) "." counter(ninth) "." counter(tenth) "." counter(eleventh) "." counter(twelth) "." counter(thirteenth) "." counter(fourteenth) ". ";
|
|
|
|
counter-increment: fourteenth 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
.list-number15 li:before {
|
|
|
|
content: counter(first) "." counter(second) "." counter(third) "." counter(fourth) "." counter(fifth) "." counter(sixth) "." counter(eighth) "." counter(ninth) "." counter(tenth) "." counter(eleventh) "." counter(twelth) "." counter(thirteenth) "." counter(fourteenth) "." counter(fifteenth) ". ";
|
|
|
|
counter-increment: fifteenth 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
.list-number16 li:before {
|
|
|
|
content: counter(first) "." counter(second) "." counter(third) "." counter(fourth) "." counter(fifth) "." counter(sixth) "." counter(eighth) "." counter(ninth) "." counter(tenth) "." counter(eleventh) "." counter(twelth) "." counter(thirteenth) "." counter(fourteenth) "." counter(fifteenth) "." counter(sixteenth) ". ";
|
|
|
|
counter-increment: fixteenth 1;
|
|
|
|
}
|
|
|
|
|