Browse Source

remove the smithing button

tags/v0.6^2
Shaun 4 years ago
parent
commit
7a2482f7b4
3 changed files with 12 additions and 19 deletions
  1. +0
    -1
      src/client/ui/templates/menu/menu.js
  2. +12
    -15
      src/client/ui/templates/menu/styles.less
  3. +0
    -3
      src/client/ui/templates/menu/template.html

+ 0
- 1
src/client/ui/templates/menu/menu.js View File

@@ -15,7 +15,6 @@ define([
this.find('.btnCollapse').on('click', this.toggleButtons.bind(this));
}

this.find('.btnSmithing').on('click', this.handler.bind(this, 'onShowSmithing'));
this.find('.btnHelp').on('click', this.handler.bind(this, 'onShowHelp'));
this.find('.btnInventory').on('click', this.handler.bind(this, 'onShowInventory'));
this.find('.btnEquipment').on('click', this.handler.bind(this, 'onShowEquipment'));


+ 12
- 15
src/client/ui/templates/menu/styles.less View File

@@ -1,5 +1,4 @@
@import "../../../css/colors.less";

@pad: 8px;
@btnSize: 64px;

@@ -7,8 +6,7 @@
position: absolute;
right: 10px;
bottom: 10px;

width: ((@btnSize * 5) + (@pad * 12));
width: ((@btnSize * 4) + (@pad * 10));
height: ((@btnSize * 2) + (@pad * 2));
padding: @pad;
background-color: fade(@darkGray, 90%);
@@ -17,9 +15,8 @@
width: @btnSize;
height: @btnSize;
float: left;
margin: 0px 8px;
margin: 0px @pad;
float: left;

cursor: pointer;
position: relative;

@@ -40,10 +37,6 @@
display: none;
}

&.btnInventory {
margin: 0px 8px 0px 45px;
}

&.btnInventory .icon {
background: url('../../../images/uiIcons.png') 0px 0px;
}
@@ -57,7 +50,6 @@
}

&.btnPassives {
width: 65px;
position: relative;

.points {
@@ -67,12 +59,12 @@
bottom: 23px;
position: absolute;
color: @white;
filter:
drop-shadow(0px -2px 0px @blackD)
drop-shadow(0px 2px 0px @blackD)
drop-shadow(2px 0px 0px @blackD)
drop-shadow(-2px 0px 0px @blackD);
filter: drop-shadow(0px -2px 0px @blackD)
drop-shadow(0px 2px 0px @blackD)
drop-shadow(2px 0px 0px @blackD)
drop-shadow(-2px 0px 0px @blackD);
}

}

&.btnPassives .icon {
@@ -98,7 +90,9 @@
&.btnMainMenu .icon {
background: url('../../../images/uiIcons.png') 0px -64px;
}

}

}

.mobile .uiMenu {
@@ -157,6 +151,9 @@
height: 100%;
background: url('../../../images/uiIcons.png') -448px 0px;
}

}

}

}

+ 0
- 3
src/client/ui/templates/menu/template.html View File

@@ -5,9 +5,6 @@
<div class="btnEquipment">
<div class="icon"></div>
</div>
<div class="btnSmithing">
<div class="icon"></div>
</div>
<div class="btnPassives">
<div class="icon"></div>
<div class="points"></div>


Loading…
Cancel
Save