Advertisement
pdinklag

JavaFX WebView border problem showcase (CSS)

Apr 1st, 2015
117
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 2.76 KB | None | 0 0
  1. /*
  2.     General
  3. */
  4. body {
  5.     color: #000000;
  6.     background-color: #FFFFFF;
  7.     font-family: "Verdana", "Arial", "Helvetica", sans-serif;
  8.     font-size: 12pt;
  9.    
  10.     padding: 0;
  11.     padding-bottom: 2ex;
  12.     margin: 0;
  13.     width: 100%;
  14. }
  15.  
  16. tt {
  17.     font-family: courier;
  18. }
  19.  
  20. hr {
  21.     border: 0;
  22.     border-top: 1px solid #ABB8C2;
  23. }
  24.  
  25. a {
  26.     color: #0000C0;
  27.     text-decoration: none;
  28. }
  29.  
  30. a.param {
  31.     padding-left: 14px;
  32.     background-repeat: no-repeat;
  33.     background-position: left center;
  34. }
  35.  
  36. td.icon16 {
  37.     width: 16px;
  38.     height: 16px;
  39.     background-repeat: no-repeat;
  40.     background-position: center center;
  41. }
  42.  
  43. /*
  44.     Heading
  45. */
  46. #heading {
  47. }
  48.  
  49. #heading #host {
  50.     background-color: #ABB8C2;
  51.     color: #000000;
  52.     font-size: 2em;
  53.     font-weight: bold;
  54.  
  55.     margin: 0;
  56.     padding: 3px;
  57. }
  58.  
  59. #heading #param {
  60.     background-color: #CBD1D9;
  61.    
  62.     margin: 0;
  63.     padding: 3px;
  64. }
  65.  
  66. /*
  67.     Content
  68. */
  69.  
  70. #content {
  71.     margin-left: 1em;
  72.     margin-right: 1em;
  73. }
  74.  
  75. /*
  76.     Views
  77. */
  78. div.view {
  79.     padding: 3px;
  80.     background-color: #E9F1FF;
  81.     border: 1px solid #000000;
  82.  
  83.     width: 100%;
  84.     margin-top: 1ex;
  85. }
  86.  
  87. div.view .button {
  88.     text-align: center;
  89.     float: left;
  90.     margin-right: 0.25em;
  91. }
  92.  
  93. div.view .button button {
  94.     width: 24px;
  95.     height: 24px;
  96.    
  97.     font-size: 75%;
  98.     vertical-align: top;
  99. }
  100.  
  101. div.view .title {
  102.     font-weight: bold;
  103.     text-decoration: underline;
  104.    
  105.     height: 24px;
  106. }
  107.  
  108. div.view .content {
  109.     margin-top: 0.5ex;
  110.     clear: both;
  111.     overflow: auto;
  112. }
  113.  
  114. /*
  115.     Listings
  116. */
  117. table.listing {
  118.     width: 100%;
  119.     border: 1px solid #000000;
  120.     border-collapse: collapse;
  121.     border-spacing: 0 0;
  122.     padding: 0;
  123. }
  124.  
  125. table.listing th {
  126.     background-repeat: no-repeat;
  127.     background-position: 0.25em center;
  128.  
  129.     color: #FFFFFF;
  130.     background-color: #333333;
  131.     padding: 0px;
  132.     text-align: left;
  133.    
  134.     font-size: 120%;
  135.    
  136.     padding: 5px;
  137.     padding-left: 40px;
  138.     height: 40px;
  139. }
  140.  
  141. table.listing td {
  142.     margin: 0;
  143.     border: 1px dotted #2D3033;
  144.     padding: 3px;
  145.    
  146.     height: 24px;
  147.    
  148.     vertical-align: middle;
  149. }
  150.  
  151. table.listing tr.head td {
  152.     border-top: 0;
  153.     background-color: #ABB8C2;
  154.     font-weight: bold;
  155. }
  156.  
  157. table.listing tr.a td {
  158.     background-color: #CBD1D9;
  159. }
  160.  
  161. table.listing tr.b td {
  162.     background-color: #BEC5CE;
  163. }
  164.  
  165. .note {
  166.     font-style: italic;
  167.     font-size: 12pt;
  168. }
  169.  
  170. /*
  171.     Status colors
  172. */
  173.  
  174. .Critical {
  175.     background-color: #FF0000;
  176. }
  177.  
  178. .Major {
  179.     background-color: #E0C000;
  180. }
  181.  
  182. .Minor {
  183.     background-color: #E0E000;
  184. }
  185.  
  186. .Warning {
  187.     background-color: #40E0E0;
  188. }
  189.  
  190. .Normal {
  191.     background-color: #00E000;
  192. }
  193.  
  194. .Unknown {
  195.     background-color: #0000E0;
  196.     color: #FFFFFF;
  197. }
  198.  
  199. .Unset {
  200.     background-color: #E0E0E0;
  201. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement