proper targeting of css rules

This commit is contained in:
John McLear 2015-04-12 19:23:06 +01:00
parent 06aa9e4db6
commit 5f71c899ab
2 changed files with 14 additions and 10 deletions

View file

@ -1,8 +1,8 @@
/* These CSS rules are included in both the outer and inner ACE iframe. /* These CSS rules are included in both the outer and inner ACE iframe.
Also see inner.css, included only in the inner one. Also see inner.css, included only in the inner one.
*/ */
html { cursor: text; } /* in Safari, produces text cursor for whole doc (inc. below body) */ #innerdocbody html { cursor: text; } /* in Safari, produces text cursor for whole doc (inc. below body) */
span { cursor: auto; } #innerdocbody span { cursor: auto; }
::selection { ::selection {
background: #acf; background: #acf;
@ -11,7 +11,7 @@ span { cursor: auto; }
background: #acf; background: #acf;
} }
a { #innerdocbody a {
cursor: pointer !important; cursor: pointer !important;
white-space:pre-wrap; white-space:pre-wrap;
} }
@ -80,21 +80,19 @@ ul.list-indent6, ul.list-indent7, ul.list-indent8, ul.list-indent9, ul.list-inde
ul.list-indent11, ul.list-indent12, ul.list-indent13, ul.list-indent11, ul.list-indent12, ul.list-indent13,
ul.list-indent14, ul.list-indent15, ul.list-indent16 { list-style-type: none; } ul.list-indent14, ul.list-indent15, ul.list-indent16 { list-style-type: none; }
body {
margin: 0;
white-space: nowrap;
word-wrap: normal;
}
#outerdocbody { #outerdocbody {
background-color: #fff; background-color: #fff;
} }
body.grayedout { background-color: #eee !important }
#innerdocbody.grayedout { background-color: #eee !important }
#innerdocbody { #innerdocbody {
font-size: 12px; /* overridden by body.style */ font-size: 12px; /* overridden by body.style */
font-family:Arial, sans-serif; /* overridden by body.style */ font-family:Arial, sans-serif; /* overridden by body.style */
line-height: 16px; /* overridden by body.style */ line-height: 16px; /* overridden by body.style */
margin: 0;
white-space: nowrap;
word-wrap: normal;
} }
body.doesWrap { body.doesWrap {

View file

@ -547,6 +547,12 @@ table#otheruserstable {
border-top-left-radius: 5px; border-top-left-radius: 5px;
border-top-right-radius: 5px; border-top-right-radius: 5px;
display: none; display: none;
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
} }
#chattext { #chattext {
background-color: white; background-color: white;