Rev 8278 | Rev 8287 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 8278 | Rev 8280 | ||
---|---|---|---|
Line 7... | Line 7... | ||
7 | !exit |
7 | !exit |
8 | 8 | ||
9 | :proc |
9 | :proc |
10 | slib_out= |
10 | slib_out= |
11 | 11 | ||
12 | !reset |
12 | !reset slib_text,slib_color,slib_width,slib_height,slib_option,bubbleOpts,slib_stylesheet,slib_tripos,slib_hw |
13 | !distribute items $wims_read_parm into slib_text,slib_color,slib_width,slib_height,slib_option |
13 | !distribute items $wims_read_parm into slib_text,slib_color,slib_width,slib_height,slib_option |
14 | 14 | ||
15 | slib_width=$[$slib_width] |
15 | slib_width=$[$slib_width] |
16 | slib_height=$[$slib_height] |
16 | slib_height=$[$slib_height] |
17 | !if $slib_width>0 |
17 | !if $slib_width>0 |
Line 21... | Line 21... | ||
21 | !endif |
21 | !endif |
22 | !if $slib_height>0 |
22 | !if $slib_height>0 |
23 | slib_height=height:$(slib_height)px; |
23 | slib_height=height:$(slib_height)px; |
24 | !else |
24 | !else |
25 | !reset slib_height |
25 | !reset slib_height |
- | 26 | !endif |
|
- | 27 | !if $slib_width$slib_height!=$empty |
|
- | 28 | slib_hw=style="$slib_width$slib_height" |
|
26 | !endif |
29 | !endif |
27 | 30 | ||
28 | !default slib_color=antiquewhite |
31 | !default slib_color=antiquewhite |
29 | slib_tripos=!getopt triangle in $slib_option |
32 | slib_tripos=!getopt triangle in $slib_option |
30 | !default slib_tripos=btm-left |
33 | !default slib_tripos=btm-left |
Line 55... | Line 58... | ||
55 | #bubble_$slib_num.triangle.btm-left-in:after{ border-left-color: $slib_color;}\ |
58 | #bubble_$slib_num.triangle.btm-left-in:after{ border-left-color: $slib_color;}\ |
56 | #bubble_$slib_num.triangle.btm-right-in:after{ border-right-color: $slib_color;}\ |
59 | #bubble_$slib_num.triangle.btm-right-in:after{ border-right-color: $slib_color;}\ |
57 | #bubble_$slib_num.triangle.btm-right:after{ border-right-color: $slib_color;}\ |
60 | #bubble_$slib_num.triangle.btm-right:after{ border-right-color: $slib_color;}\ |
58 | #bubble_$slib_num.triangle.right-in:after{ border-left-color: $slib_color;}\ |
61 | #bubble_$slib_num.triangle.right-in:after{ border-left-color: $slib_color;}\ |
59 | </style> |
62 | </style> |
60 | - | ||
61 | 63 | ||
62 | slib_out=$slib_stylesheet\ |
64 | slib_out=$slib_stylesheet\ |
63 | <div id="bubble_$slib_num" class="inline talk-bubble triangle $slib_tripos $bubbleOpts"\ |
65 | <div id="bubble_$slib_num" class="inline talk-bubble triangle $slib_tripos $bubbleOpts" $slib_hw>\ |
64 | style="$slib_width$slib_height">\ |
- | |
65 | <div class="talktext">\ |
66 | <div class="talktext">\ |
66 | <p>$slib_text</p>\ |
67 | <p>$slib_text</p>\ |
67 | </div>\ |
68 | </div>\ |
68 | </div> |
69 | </div> |
69 | 70 |