mirror of
https://github.com/slawkens/myaac.git
synced 2025-04-26 17:29:21 +02:00
new buttons code for tibiacom template, can create button with any text
This commit is contained in:
parent
e17cd78153
commit
e0eb083e44
@ -1489,6 +1489,25 @@ img {
|
||||
width: 135px;
|
||||
z-index: 20;
|
||||
}
|
||||
.BigButtonText {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 135px;
|
||||
height: 25px;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
cursor: pointer;
|
||||
background: 0 0;
|
||||
border: none;
|
||||
text-align: center;
|
||||
color: #ffd18c;
|
||||
font-family: Verdana,Arial,Times New Roman,sans-serif;
|
||||
font-size: 12px;
|
||||
font-weight: 400;
|
||||
z-index: 20;
|
||||
text-shadow: -1px -1px 0 #000,0 -1px 0 #000,1px -1px 0 #000,1px 0 0 #000,1px 1px 0 #000,0 1px 0 #000,-1px 1px 0 #000,-1px 0 0 #000
|
||||
}
|
||||
.TopButtonContainer {
|
||||
position: relative;
|
||||
right: 4px;
|
||||
|
@ -1,8 +1,8 @@
|
||||
{% spaceless %}
|
||||
<div class="BigButton" style="background-image:url({{ template_path }}/images/global/buttons/sbutton.gif)">
|
||||
<div class="BigButton" style="background-image:url({{ template_path }}/images/global/buttons/button_blue.gif)">
|
||||
<div onMouseOver="MouseOverBigButton(this);" onMouseOut="MouseOutBigButton(this);">
|
||||
<div class="BigButtonOver" style="background-image:url({{ template_path }}/images/global/buttons/sbutton_over.gif);" ></div>
|
||||
<input class="ButtonText" type="image" name="{{ button_name }}" alt="{{ button_name }}" src="{{ template_path }}/images/global/buttons/{{ button_image }}.gif" />
|
||||
<div class="BigButtonOver" style="background-image:url({{ template_path }}/images/global/buttons/{% if button_color is defined and button_color == 'green' %}button_green{% else %}button_blue_over{% endif %}.gif);" ></div>
|
||||
<input class="BigButtonText" type="submit" value="{{ button_name }}">
|
||||
</div>
|
||||
</div>
|
||||
{% endspaceless %}
|
||||
{% endspaceless %}
|
||||
|
BIN
templates/tibiacom/images/global/buttons/button_blue.gif
Normal file
BIN
templates/tibiacom/images/global/buttons/button_blue.gif
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.3 KiB |
BIN
templates/tibiacom/images/global/buttons/button_blue_over.gif
Normal file
BIN
templates/tibiacom/images/global/buttons/button_blue_over.gif
Normal file
Binary file not shown.
After Width: | Height: | Size: 443 B |
Loading…
x
Reference in New Issue
Block a user