src/widgets/Tooltip.css
branchnew-model
changeset 1020 198c2b79f5e1
parent 1019 3ab36f402b0c
equal deleted inserted replaced
1019:3ab36f402b0c 1020:198c2b79f5e1
       
     1 /* ToolTip Widget */
       
     2 
     1 .Ldt-Tooltip {
     3 .Ldt-Tooltip {
     2     position: absolute;
     4   position: absolute;
     3     height: 0; width: 0;
     5   z-index: 10000000000;
     4     z-index: 100000;
     6   background: transparent url("img/white_arrow_long.png");
     5 }
     7   font-size: 12px;
     6 
     8   padding: 15px 15px 20px;
     7 .Ldt-Tooltip-Main {
     9   color: black;
     8     position: absolute; bottom: 0; left: -96px;
    10   font-family: Arial, Helvetica, sans-serif;
     9 }
    11   overflow:hidden;
    10 
       
    11 .Ldt-Tooltip-Corner-NW,
       
    12 .Ldt-Tooltip-Corner-NE,
       
    13 .Ldt-Tooltip-Corner-SW,
       
    14 .Ldt-Tooltip-Corner-SE {
       
    15     position: absolute; width: 6px; height: 6px; background: url(img/tooltip-corners.png);
       
    16 }
       
    17 
       
    18 .Ldt-Tooltip-Corner-NW,
       
    19 .Ldt-Tooltip-Corner-SW {
       
    20     left: 0;
       
    21 }
       
    22 
       
    23 .Ldt-Tooltip-Corner-NE,
       
    24 .Ldt-Tooltip-Corner-SE {
       
    25     right: 0;
       
    26 }
       
    27 
       
    28 .Ldt-Tooltip-Corner-NW,
       
    29 .Ldt-Tooltip-Corner-NE {
       
    30     top: 0;
       
    31 }
       
    32 
       
    33 .Ldt-Tooltip-Corner-SW,
       
    34 .Ldt-Tooltip-Corner-SE {
       
    35     bottom: 10px;
       
    36 }
       
    37 
       
    38 .Ldt-Tooltip-Corner-NW {
       
    39     background-position: top left;
       
    40 }
       
    41 
       
    42 .Ldt-Tooltip-Corner-NE {
       
    43     background-position: top right;
       
    44 }
       
    45 
       
    46 .Ldt-Tooltip-Corner-SW {
       
    47     background-position: bottom left;
       
    48 }
       
    49 
       
    50 .Ldt-Tooltip-Corner-SE {
       
    51     background-position: bottom right;
       
    52 }
       
    53 
       
    54 .Ldt-Tooltip-Border-Top,
       
    55 .Ldt-Tooltip-Border-SW,
       
    56 .Ldt-Tooltip-Border-SE {
       
    57     position: absolute; height: 6px; background: url(img/tooltip-h-borders.png);
       
    58 }
       
    59 
       
    60 .Ldt-Tooltip-Border-Top {
       
    61     left: 6px; right: 6px;
       
    62 }
       
    63 
       
    64 .Ldt-Tooltip-Border-SW,
       
    65 .Ldt-Tooltip-Border-SE {
       
    66     bottom: 10px; background-position: bottom;
       
    67 }
       
    68 
       
    69 .Ldt-Tooltip-Border-SW {
       
    70     left: 6px;
       
    71 }
       
    72 
       
    73 .Ldt-Tooltip-Border-SE {
       
    74     right: 6px;
       
    75 }
       
    76 
       
    77 .Ldt-Tooltip-Tip {
       
    78     position: absolute; height: 16px; width: 22px;
       
    79     background: url(img/tooltip-tip.png);
       
    80     bottom: 0;
       
    81 }
       
    82 
       
    83 .Ldt-Tooltip-Border-Left,
       
    84 .Ldt-Tooltip-Border-Right {
       
    85     position: absolute; width: 6px; background: url(img/tooltip-v-borders.png);
       
    86     top: 6px; bottom: 16px;
       
    87 }
       
    88 
       
    89 .Ldt-Tooltip-Border-Left {
       
    90     left: 0; background-position: left;
       
    91 }
       
    92 
       
    93 .Ldt-Tooltip-Border-Right {
       
    94     right: 0; background-position: right;
       
    95 }
    12 }
    96 
    13 
    97 .Ldt-Tooltip-Inner {
    14 .Ldt-Tooltip-Inner {
    98     min-height: 30px;
    15     height: 115px;
    99     max-height: 140px;
       
   100     width: 180px;
    16     width: 180px;
   101     overflow: hidden;
    17     overflow: hidden;
   102     margin: 6px 6px 16px;
       
   103     background: url(img/tooltip-gradient.png) bottom;
       
   104 }
    18 }
   105 
    19 
   106 
       
   107 .Ldt-Tooltip-Color {
    20 .Ldt-Tooltip-Color {
   108     float: left; margin: 8px 2px 2px 8px; width: 10px; height: 10px;
    21     float: left; margin: 2px 4px 2px 0; width: 10px; height: 10px;
   109 }
       
   110 
       
   111 .Ldt-Tooltip-AltColor {
       
   112     float: left; margin: 2px 2px 2px 3px; width: 10px; height: 10px;
       
   113 }
    22 }
   114 
    23 
   115 .Ldt-Tooltip img {
    24 .Ldt-Tooltip img {
   116     max-width: 140px; max-height: 80px; margin: 2px 20px;
    25     max-width: 140px; max-height: 70px; margin: 0 20px;
   117 }
    26 }
   118 
    27 
   119 .Ldt-Tooltip p {
    28 .Ldt-Tooltip p {
   120     margin: 6px 8px;
    29     margin: 2px 0;
   121     font-size: 12px;
    30   font-size: 12px;
   122     line-height: 14px;
       
   123 }
    31 }