Browse Source

soul's moor theming

tags/v0.3.2.19
Big Bad Waffle 4 years ago
parent
commit
148fdc8cd4
7 changed files with 21 additions and 20 deletions
  1. +9
    -8
      src/client/js/rendering/renderer.js
  2. +2
    -2
      src/client/ui/templates/characters/styles.less
  3. +1
    -1
      src/client/ui/templates/characters/template.html
  4. +2
    -2
      src/client/ui/templates/createCharacter/styles.less
  5. +1
    -1
      src/client/ui/templates/createCharacter/template.html
  6. +5
    -5
      src/client/ui/templates/login/styles.less
  7. +1
    -1
      src/client/ui/templates/login/template.html

+ 9
- 8
src/client/js/rendering/renderer.js View File

@@ -179,13 +179,13 @@ define([
for (let j = 0; j < h; j++) {
let roll = Math.sin(((j * 0.2) % 5) + Math.cos(ii % 8));

let tile = 5;
let tile = 61;
if (roll < -0.2)
tile = 3;
tile = 63;
else if (roll < 0.2)
tile = 4;
tile = 64;
else if (roll < 0.5)
tile = 53;
tile = 34;

let alpha = mRandom();

@@ -196,10 +196,11 @@ define([

if (mRandom() < 0.35) {
tile = {
5: 6,
3: 0,
4: 1,
53: 54
61: 62,
63: 64,
64: 63,
34: 33

}[tile];
}



+ 2
- 2
src/client/ui/templates/characters/styles.less View File

@@ -103,7 +103,7 @@
}

.btn {
background-color: @blueC;
background-color: @orangeC;
width: calc((100% - (16px * 2)) / 3);
float: left;
margin-right: 16px;
@@ -114,7 +114,7 @@
}

&:hover {
background-color: @blueB;
background-color: @orangeB;
}

&.deleting {


+ 1
- 1
src/client/ui/templates/characters/template.html View File

@@ -1,5 +1,5 @@
<div class="uiCharacters">
<img class="logo" src="images/logo_0.png" alt="">
<img class="logo" src="server/mods/iwd-souls-moor/images/logo.png" alt="">
<div class="left">
<div class="character">loading characters...</div>
</div>


+ 2
- 2
src/client/ui/templates/createCharacter/styles.less View File

@@ -128,7 +128,7 @@
}

.btn {
background-color: @blueC;
background-color: @orangeC;
width: calc((100% - @boxPadding) / 2);
float: left;
margin-right: @boxPadding;
@@ -139,7 +139,7 @@
}

&:hover {
background-color: @blueB;
background-color: @orangeB;
}
}



+ 1
- 1
src/client/ui/templates/createCharacter/template.html View File

@@ -1,5 +1,5 @@
<div class="uiCreateCharacter">
<img class="logo" src="images/logo_0.png" alt="">
<img class="logo" src="server/mods/iwd-souls-moor/images/logo.png" alt="">
<div class="box-left">
<div class="left">
<div class="label">name</div>


+ 5
- 5
src/client/ui/templates/login/styles.less View File

@@ -41,7 +41,7 @@
.label {
width: 30%;
padding-top: 10px;
color: @green;
color: @yellow;
}

input {
@@ -92,7 +92,7 @@
height: 35px;

.btn {
background-color: @blueC;
background-color: @orangeC;
width: calc((100% - @boxPadding) / 2);
float: left;
margin-right: @boxPadding;
@@ -103,7 +103,7 @@
}

&:hover {
background-color: @blueB;
background-color: @orangeB;
}
}
}
@@ -140,7 +140,7 @@
padding-right: 10px;
width: 100%;
margin-bottom: 10px;
background-color: @blueD;
background-color: @purpleC;
color: @white;

&:last-child {
@@ -148,7 +148,7 @@
}

&:hover {
background-color: @blueC;
background-color: @purpleA;
}
}
}


+ 1
- 1
src/client/ui/templates/login/template.html View File

@@ -1,5 +1,5 @@
<div class="uiLogin">
<img class="logo" src="images/logo_0.png" alt="">
<img class="logo" src="server/mods/iwd-souls-moor/images/logo.png" alt="">
<div class="right">
<div class="label">username</div>
<input type="text" class="el textbox txtUsername" placeholder="username">


Loading…
Cancel
Save