Kaynağa Gözat

Use hasBorderShadow class

tags/v0.11.0
kckckc 2 yıl önce
ebeveyn
işleme
250a35a294
4 değiştirilmiş dosya ile 7 ekleme ve 13 silme
  1. +2
    -0
      src/client/ui/templates/messages/messages.js
  2. +0
    -8
      src/client/ui/templates/messages/styles.less
  3. +4
    -4
      src/client/ui/templates/messages/template.html
  4. +1
    -1
      src/client/ui/templates/messages/tplTab.html

+ 2
- 0
src/client/ui/templates/messages/messages.js Dosyayı Görüntüle

@@ -296,11 +296,13 @@ define([
input.resetKeys(); input.resetKeys();


this.el.removeClass('typing'); this.el.removeClass('typing');
this.el.find('.main').removeClass('hasBorderShadow');


let textbox = this.find('input'); let textbox = this.find('input');


if (show) { if (show) {
this.el.addClass('typing'); this.el.addClass('typing');
this.el.find('.main').addClass('hasBorderShadow');


if (!config.rememberChatChannel) { if (!config.rememberChatChannel) {
this.currentChannel = 'global'; this.currentChannel = 'global';


+ 0
- 8
src/client/ui/templates/messages/styles.less Dosyayı Görüntüle

@@ -227,14 +227,6 @@
.filters { .filters {
pointer-events: all; pointer-events: all;
display: flex; display: flex;

.filter {
box-shadow: 0 -2px 0 @black, 0 2px 0 @black, 2px 0 0 @black, -2px 0 0 @black;
}
}

.main {
box-shadow: 0 -2px 0 @black, 0 2px 0 @black, 2px 0 0 @black, -2px 0 0 @black;
} }


.list { .list {


+ 4
- 4
src/client/ui/templates/messages/template.html Dosyayı Görüntüle

@@ -1,9 +1,9 @@
<div class="uiMessages active"> <div class="uiMessages active">
<div class="filters"> <div class="filters">
<div class="btn filter active" filter="info">info</div>
<div class="btn filter active" filter="rep">reputation</div>
<div class="btn filter active" filter="chat">players</div>
<div class="btn filter active" filter="loot">loot</div>
<div class="btn filter active hasBorderShadow" filter="info">info</div>
<div class="btn filter active hasBorderShadow" filter="rep">reputation</div>
<div class="btn filter active hasBorderShadow" filter="chat">players</div>
<div class="btn filter active hasBorderShadow" filter="loot">loot</div>
</div> </div>
<div class="main"> <div class="main">
<div class="list rep chat info loot"></div> <div class="list rep chat info loot"></div>


+ 1
- 1
src/client/ui/templates/messages/tplTab.html Dosyayı Görüntüle

@@ -1 +1 @@
<div class="filter active" filter="filterName"></div>
<div class="filter active hasBorderShadow" filter="filterName"></div>

Yükleniyor…
İptal
Kaydet