| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112 |
- /*
- This file is part of the DITA Open Toolkit project hosted on
- Sourceforge.net. See the accompanying license.txt file for
- applicable licenses.
-
-
- Copyright (c) 2006, Yahoo! Inc. All rights reserved.
- Code licensed under the BSD License:
- http://developer.yahoo.net/yui/license.txt
- version: 0.10.0
- */
- /* Main style for the table */
- .dp-highlighter {
- width: 95%;
- overflow: auto;
- line-height: 100% !important;
- margin: 0px 0px 10px 0px;
- }
- .dp-highlighter table {
- width: 100%;
- margin: 0px 0px 2px 0px;
- border-collapse: collapse;
- border-bottom: 2px solid #eee;
- background-color:#fff;
- }
- .dp-highlighter tbody.hide { display: none; }
- .dp-highlighter tbody.show { display: table-row-group; _display: block; }
- .dp-highlighter td
- {
- font-family: Arial;
- font-size: 12px;
- }
- /* Styles for the tools */
- .dp-highlighter .tools-corner {
- background-color: #eee;
- font-size: 9px;
- }
- .dp-highlighter .tools {
- background-color: #eee;
- padding: 3px 8px 3px 10px;
- border-bottom: 1px solid gray;
- font: 11px Verdana, Geneva, Arial, Helvetica, sans-serif;
- color: silver;
- }
- .dp-highlighter .tools-corner {
- background-color: #eee;
- }
- .dp-highlighter .tools a {
- font-size: 9px;
- color: #aaaaaa;
- text-decoration: none;
- }
- .dp-highlighter .tools a:hover {
- color: red;
- text-decoration: underline;
- }
- /* Gutter with line number */
- .dp-highlighter .gutter {
- padding-right: 5px;
- padding-left: 10px;
- width: 5px;
- background-color: #eee;
- border-right: 1px solid #cccccc;
- color: gray;
- text-align: right;
- vertical-align: top;
- }
- /* Single line style */
- .dp-highlighter .line1, .line2 {
- padding-left: 10px;
- /*
- border-bottom: 1px solid #F7F7F7;
- */
- white-space:nowrap;
- }
- .dp-highlighter .line2 {
- /*
- background-color: #F7F7F7;
- */
- }
- .dp-xml {}
- .dp-xml .cdata { color: #ff1493; }
- .dp-xml .comments { color: green; }
- .dp-xml .tag { color: blue; }
- .dp-xml .tag-name { color: black; font-weight: bold; }
- .dp-xml .attribute { color: red; }
- .dp-xml .attribute-value { color: blue; }
- .dp-c {}
- .dp-c .comment { color: green; }
- .dp-c .string { color: blue; }
- .dp-c .preprocessor { color: gray; }
- .dp-c .keyword { color: blue; }
- .dp-c .vars { color: #d00; }
|