src/widgets/Tooltip.css
changeset 986 f9d51dd4a3fe
parent 922 096c06aea8b5
child 987 7b65bf78873a
equal deleted inserted replaced
985:9859c4bae904 986:f9d51dd4a3fe
     1 /* ToolTip Widget */
     1 .Ldt-Tooltip {
       
     2     position: absolute;
       
     3     height: 0; width: 0;
       
     4     z-index: 100000;
       
     5 }
     2 
     6 
     3 .Ldt-Tooltip {
     7 .Ldt-Tooltip-Main {
     4   position: absolute;
     8     position: absolute; bottom: 0; left: -96px;
     5   z-index: 10000000000;
     9 }
     6   background: transparent url("img/white_arrow_long.png");
    10 
     7   font-size: 12px;
    11 .Ldt-Tooltip-Corner-NW,
     8   padding: 15px 15px 20px;
    12 .Ldt-Tooltip-Corner-NE,
     9   color: black;
    13 .Ldt-Tooltip-Corner-SW,
    10   font-family: Arial, Helvetica, sans-serif;
    14 .Ldt-Tooltip-Corner-SE {
    11   overflow:hidden;
    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;
    12 }
    95 }
    13 
    96 
    14 .Ldt-Tooltip-Inner {
    97 .Ldt-Tooltip-Inner {
    15     height: 115px;
    98     min-height: 30px;
       
    99     max-height: 140px;
    16     width: 180px;
   100     width: 180px;
    17     overflow: hidden;
   101     overflow: hidden;
       
   102     margin: 6px 6px 16px;
       
   103     background: url(img/tooltip-gradient.png) bottom;
    18 }
   104 }
    19 
   105 
       
   106 
    20 .Ldt-Tooltip-Color {
   107 .Ldt-Tooltip-Color {
    21     float: left; margin: 2px 4px 2px 0; width: 10px; height: 10px;
   108     float: left; margin: 8px 2px 2px 8px; width: 10px; height: 10px;
    22 }
   109 }
    23 
   110 
    24 .Ldt-Tooltip img {
   111 .Ldt-Tooltip img {
    25     max-width: 140px; max-height: 70px; margin: 0 20px;
   112     max-width: 140px; max-height: 80px; margin: 2px 20px;
    26 }
   113 }
    27 
   114 
    28 .Ldt-Tooltip p {
   115 .Ldt-Tooltip p {
    29     margin: 2px 0;
   116     margin: 6px 8px;
    30   font-size: 12px;
   117     font-size: 12px;
       
   118     line-height: 14px;
    31 }
   119 }