style-vis.css 9.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538
  1. /* -*- Mode: CSS; tab-width: 2; indent-tabs-mode: nil; -*- */
  2. /* vim:set ft=css ts=2 sw=2 sts=2 autoindent: */
  3. /* Styling for annotations */
  4. /* alternative font test */
  5. /*
  6. text {
  7. font-size: 13px;
  8. font-family: helvetica,arial,freesans,clean,sans-serif;
  9. }
  10. */
  11. #svg {
  12. margin: 34px auto 100px;
  13. padding-top: 15px;
  14. }
  15. .center_wrapper {
  16. display: table;
  17. position: absolute;
  18. top: 0;
  19. left: 0;
  20. height: 100%;
  21. width: 100%;
  22. }
  23. .center_wrapper > div {
  24. display: table-cell;
  25. vertical-align: middle;
  26. }
  27. .center_wrapper > div > div {
  28. /* match jQuery UI .ui-widget-content color */
  29. color: #2e6e9e;
  30. margin-left: auto;
  31. margin-right: auto;
  32. width: 30em;
  33. font-size: 12px;
  34. font-family: 'Liberation Sans', Verdana, Arial, Helvetica, sans-serif;
  35. }
  36. .center_wrapper > div > div h1 {
  37. text-align: center;
  38. font-size: 14px;
  39. }
  40. #no_svg_wrapper {
  41. display: none;
  42. }
  43. svg {
  44. width: 100%;
  45. height: 1px;
  46. border: 1px solid #7fa2ff;
  47. font-size: 15px;
  48. /* font-size: 14px; */
  49. }
  50. svg.reselect {
  51. border: 1px solid #ff3333;
  52. }
  53. /* "basic" font */
  54. text {
  55. font-size: 13px;
  56. font-family: 'Liberation Sans', Verdana, Arial, Helvetica, sans-serif;
  57. }
  58. @-webkit-keyframes pulse {
  59. 0% { color: #9999ff; margin-top: 0; }
  60. 50% { color: #ffffff; margin-top: 7px; }
  61. 100% { color: #9999ff; margin-top: 0; }
  62. }
  63. path {
  64. pointer-events: none;
  65. }
  66. /* "basic" font */
  67. .span text {
  68. /* font-size: 10.5px; */
  69. font-size: 10px;
  70. text-anchor: middle;
  71. font-family: 'PT Sans Caption', sans-serif;
  72. pointer-events: none;
  73. }
  74. /* this should likely match span font */
  75. .span_type_label {
  76. font-size: 11px;
  77. font-family: 'PT Sans Caption', sans-serif;
  78. }
  79. /* this should likely match arc font */
  80. .arc_type_label {
  81. font-size: 11px;
  82. font-family: 'PT Sans Caption', sans-serif;
  83. }
  84. text[data-arc-role] {
  85. -webkit-touch-callout: none;
  86. -webkit-user-select: none;
  87. -khtml-user-select: none;
  88. -moz-user-select: none;
  89. -ms-user-select: none;
  90. user-select: none;
  91. }
  92. .attribute_type_label .ui-button-text {
  93. font-size: 11px;
  94. font-family: 'PT Sans Caption', sans-serif;
  95. }
  96. .span rect {
  97. stroke-width: 0.75;
  98. }
  99. .glyph {
  100. font-family: sans-serif;
  101. font-weight: bold;
  102. }
  103. .attribute_warning {
  104. stroke: red;
  105. }
  106. .span rect.False_positive {
  107. stroke: #ff4141;
  108. stroke-width: 2;
  109. }
  110. .shadow_True_positive {
  111. fill: #00ff00;
  112. }
  113. .shadow_False_positive {
  114. fill: #ff4141;
  115. }
  116. #commentpopup.comment_False_positive {
  117. background-color: #ff4141;
  118. }
  119. .span rect.False_negative {
  120. stroke: #c20000;
  121. fill: #ffffff;
  122. stroke-width: 2;
  123. }
  124. .shadow_False_negative {
  125. fill: #c20000;
  126. }
  127. #commentpopup.comment_False_negative {
  128. background-color: #c20000;
  129. }
  130. .span rect.AnnotationError {
  131. stroke-width: 1;
  132. }
  133. .shadow_AnnotationError {
  134. fill: #ff0000;
  135. }
  136. #commentpopup.comment_AnnotationError {
  137. background-color: #ff7777;
  138. }
  139. .span rect.AnnotationWarning {
  140. stroke-width: 1;
  141. }
  142. .shadow_AnnotationWarning {
  143. fill: #ff8800;
  144. }
  145. #commentpopup.comment_AnnotationWarning {
  146. background-color: #ff9900;
  147. }
  148. .shadow_AnnotatorNotes {
  149. /* fill: #00cc00; */
  150. fill: #3ab7ee;
  151. }
  152. #commentpopup.comment_AnnotatorNotes {
  153. /* background-color: #00cc00; */
  154. /* background-color: #DAF7DC; */
  155. background-color: #d7e7ee;
  156. }
  157. .shadow_Normalized {
  158. /* fill: #00cc00; */
  159. fill: #3aee37;
  160. }
  161. #commentpopup.comment_Normalized {
  162. /* background-color: #00cc00; */
  163. /* background-color: #DAF7DC; */
  164. background-color: #d7eee7;
  165. }
  166. rect.Normalized {
  167. stroke-width: 1.5;
  168. }
  169. .shadow_AnnotationIncomplete {
  170. fill: #aaaaaa;
  171. }
  172. .span rect.AnnotationIncomplete {
  173. stroke: #002200;
  174. stroke-width: 0.5;
  175. fill: #ffffff;
  176. }
  177. #commentpopup.comment_AnnotationIncomplete {
  178. background-color: #ffff77;
  179. }
  180. .shadow_AnnotationUnconfirmed {
  181. fill: #eeeeee;
  182. }
  183. .span rect.AnnotationUnconfirmed {
  184. stroke: #002200;
  185. stroke-width: 0.5;
  186. opacity : 0.5;
  187. }
  188. #commentpopup.comment_AnnotationUnconfirmed {
  189. background-color: #ddddff;
  190. }
  191. .span rect.True_positive {
  192. /* stroke: #007700; */
  193. }
  194. rect.shadow_EditHighlight {
  195. fill: #ffff99;
  196. }
  197. .shadow_EditHighlight_arc {
  198. stroke: #ffff99;
  199. }
  200. .span path {
  201. fill: none;
  202. }
  203. .span path.curly {
  204. /* 'stroke' def here blocks 'stroke' set in JS..? */
  205. /* stroke: grey; */
  206. stroke-width: 0.5;
  207. }
  208. .span path.boxcross {
  209. stroke: black;
  210. opacity: 0.5;
  211. }
  212. .arcs path {
  213. stroke: #989898;
  214. fill: none;
  215. stroke-width: 1;
  216. }
  217. .arcs .highlight path {
  218. stroke: #000000;
  219. stroke-width: 1.5;
  220. opacity: 1;
  221. }
  222. .arcs .highlight text {
  223. stroke: black;
  224. fill: black;
  225. stroke-width: 0.5;
  226. }
  227. .span.highlight rect {
  228. stroke-width: 2px;
  229. }
  230. .span rect.reselect {
  231. stroke-width: 2px;
  232. }
  233. .span rect.reselectTarget {
  234. stroke-width: 2px;
  235. }
  236. .arcs .reselect path {
  237. stroke-width: 2px;
  238. stroke: #ff0000 !important;
  239. }
  240. .arcs .reselect text {
  241. fill: #ff0000 !important;
  242. }
  243. .span rect.badTarget {
  244. stroke: #f00;
  245. }
  246. .arcs text {
  247. font-size: 9px;
  248. text-anchor: middle;
  249. font-family: 'PT Sans Caption', sans-serif;
  250. /* dominant-baseline: central; */
  251. cursor: default;
  252. }
  253. .background0 {
  254. stroke: none;
  255. fill: #ffffff;
  256. }
  257. .background1 {
  258. stroke: none;
  259. fill: #eeeeee;
  260. }
  261. .backgroundHighlight {
  262. stroke: none;
  263. fill: #ffff99;
  264. }
  265. .sentnum text {
  266. fill: #999999;
  267. text-anchor: end;
  268. }
  269. .sentnum path {
  270. stroke: #999999;
  271. stroke-width: 1px;
  272. }
  273. .span_cue {
  274. fill: #eeeeee !important;
  275. }
  276. .drag_stroke {
  277. stroke: black;
  278. }
  279. .drag_fill {
  280. fill: black;
  281. }
  282. .dialog {
  283. display: none;
  284. }
  285. #span_free_div, #arc_free_div {
  286. float: left;
  287. }
  288. fieldset {
  289. /* match relevant parts of jQuery UI .ui-widget-content */
  290. border: 1px solid #a6c9e2;
  291. /* round corners, same as jQuery UI .ui-corner-all */
  292. -moz-border-radius: 5px;
  293. -webkit-border-radius: 5px;
  294. border-radius: 5px;
  295. /* to prevent border from running into legend */
  296. margin-top: 5px;
  297. }
  298. fieldset legend {
  299. font-weight: bold;
  300. font-size: 90%;
  301. -moz-border-radius: 3px;
  302. -webkit-border-radius: 3px;
  303. border-radius: 3px;
  304. background-color: #70a8d2;
  305. color: white;
  306. padding-left: 0.5em;
  307. padding-right: 0.5em;
  308. }
  309. .label-like {
  310. /* for UI consistency, this should match the "fieldset legend" style;
  311. sorry about the duplication. */
  312. font-family: monospace;
  313. font-weight: bold;
  314. font-size: 90%;
  315. /* match jQuery UI .ui-widget-content color */
  316. color: #2e6e9e;
  317. }
  318. .accesskey {
  319. text-decoration: underline;
  320. }
  321. .shadow {
  322. -moz-box-shadow: 5px 5px 5px #444444;
  323. -webkit-box-shadow: 5px 5px 5px #444444;
  324. box-shadow: 5px 5px 5px #444444;
  325. }
  326. #span_selected, #arc_origin, #arc_target {
  327. font-weight: bold;
  328. }
  329. #commentpopup {
  330. font-family: 'Liberation Sans', Verdana, Arial, Helvetica, sans-serif;
  331. position: fixed;
  332. top: 0;
  333. left: 0;
  334. opacity: 0.95;
  335. padding: 10px;
  336. display: none;
  337. border: 1px outset #000000;
  338. background-color: #f5f5f9;
  339. /* background-color: #d7e7ee; */
  340. /* background-color: #eeeeee; */
  341. color: #000000;
  342. z-index: 20;
  343. -moz-box-shadow: 5px 5px 5px #aaaaaa;
  344. -webkit-box-shadow: 5px 5px 5px #aaaaaa;
  345. box-shadow: 5px 5px 5px #aaaaaa;
  346. -moz-border-radius: 3px;
  347. -webkit-border-radius: 3px;
  348. border-radius: 3px;
  349. max-width: 80%;
  350. }
  351. #more_info_readme {
  352. height: 350px;
  353. }
  354. #readme_container {
  355. position: relative;
  356. }
  357. #more_readme_button {
  358. padding: 2px 5px;
  359. position: absolute;
  360. top: -2px;
  361. right: -2px;
  362. }
  363. .comment_id {
  364. vertical-align: top;
  365. float:right;
  366. font-size: 75%;
  367. font-family: monospace;
  368. color: #333333;
  369. }
  370. .comment_type {
  371. /* font-weight: bold; */
  372. }
  373. .comment_text {
  374. font-weight: bold;
  375. }
  376. .comment_type_id_wrapper {
  377. /* padding for floating ID */
  378. padding-right: 2em;
  379. }
  380. .norm_info_label {
  381. font-weight: bold;
  382. font-size: 80%;
  383. }
  384. .norm_info_value {
  385. font-size: 80%;
  386. }
  387. .norm_info_img {
  388. float: right;
  389. margin-left: 1em;
  390. }
  391. #search_form select {
  392. width: 100%; /* deal with overflowing selectboxes */
  393. }
  394. .scroll_fset {
  395. height: 200px;
  396. }
  397. .scroll_fset fieldset {
  398. height: 100%;
  399. overflow-x: hidden;
  400. overflow-y: hidden;
  401. }
  402. /* HACK to display <legend> properly */
  403. .scroll_fset {
  404. margin-bottom: 2.5em;
  405. }
  406. .scroll_fset fieldset {
  407. padding-bottom: 2em;
  408. }
  409. /* end HACK */
  410. .scroll_fset div.scroller {
  411. overflow: auto;
  412. width: 100%;
  413. height: 100%;
  414. }
  415. #span_highlight_link, #arc_highlight_link, #viewspan_highlight_link {
  416. float: right;
  417. }
  418. .unselectable {
  419. -moz-user-select: -moz-none;
  420. -khtml-user-select: none;
  421. -webkit-user-select: none;
  422. -o-user-select: none;
  423. user-select: none;
  424. cursor: default;
  425. }
  426. @font-face {
  427. font-family: 'Liberation Sans';
  428. font-style: normal;
  429. font-weight: normal;
  430. src: local('Liberation Sans'), local('Liberation-Sans'), url('fonts/Liberation_Sans-Regular.ttf') format('truetype');
  431. }
  432. @font-face {
  433. font-family: 'PT Sans Caption';
  434. font-style: normal;
  435. font-weight: normal;
  436. src: local('PT Sans Caption'), local('PTSans-Caption'), url('fonts/PT_Sans-Caption-Web-Regular.ttf') format('truetype');
  437. }
  438. /* Apple iPad, iPhone, iPod */
  439. * {
  440. -webkit-tap-highlight-color: rgba(0,0,0,0);
  441. -webkit-text-size-adjust: none;
  442. select: none;
  443. }
  444. .span rect.AddedAnnotation {
  445. stroke: #ff4141;
  446. stroke-width: 2;
  447. }
  448. .shadow_AddedAnnotation {
  449. fill: #ff4141;
  450. }
  451. #commentpopup.comment_AddedAnnotation {
  452. background-color: #ffcccc;
  453. }
  454. .span rect.MissingAnnotation {
  455. stroke: #ffffff;
  456. stroke-width: 2;
  457. }
  458. .shadow_MissingAnnotation {
  459. fill: #ff4141;
  460. opacity: 0.3;
  461. }
  462. #commentpopup.comment_MissingAnnotation {
  463. background-color: #ffcccc;
  464. }
  465. .span rect.MissingAnnotation + text {
  466. opacity: 0.5;
  467. }
  468. .span rect.ChangedAnnotation {
  469. stroke: #ffff99;
  470. stroke-width: 2;
  471. }
  472. .shadow_ChangedAnnotation {
  473. fill: #ff4141;
  474. }
  475. #commentpopup.comment_ChangedAnnotation {
  476. background-color: #ffcccc;
  477. }