mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
Added chat-send button
This commit is contained in:
@@ -1082,6 +1082,10 @@ hide mdi-action-visibility mdi-action-visibility-off
|
|||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.btn.white{
|
||||||
|
color:black;
|
||||||
|
}
|
||||||
|
|
||||||
.playlist-tabs .indicator, .tabs .indicator{
|
.playlist-tabs .indicator, .tabs .indicator{
|
||||||
/*width:50%;*/
|
/*width:50%;*/
|
||||||
bottom: 0px;
|
bottom: 0px;
|
||||||
@@ -1188,8 +1192,18 @@ hide mdi-action-visibility mdi-action-visibility-off
|
|||||||
}
|
}
|
||||||
|
|
||||||
#text-chat-input{
|
#text-chat-input{
|
||||||
width:95%;
|
/*width:95%;*/
|
||||||
color:white;
|
color:white;
|
||||||
|
border:none;
|
||||||
|
}
|
||||||
|
|
||||||
|
#text-chat-input:focus{
|
||||||
|
box-shadow: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
#chat_submit{
|
||||||
|
margin-top: 4px;
|
||||||
|
margin-left: 4%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.indicator {
|
.indicator {
|
||||||
@@ -1236,6 +1250,9 @@ ul #chat-log{
|
|||||||
|
|
||||||
#chat-input{
|
#chat-input{
|
||||||
/*background-color: rgba(0,0,0,0.1);*/
|
/*background-color: rgba(0,0,0,0.1);*/
|
||||||
|
border-top: 1px solid grey;
|
||||||
|
border-bottom: 1px solid grey;
|
||||||
|
height: 46px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#search_loader {
|
#search_loader {
|
||||||
|
|||||||
4
public/dist/embed.min.js
vendored
4
public/dist/embed.min.js
vendored
File diff suppressed because one or more lines are too long
8
public/dist/main.min.js
vendored
8
public/dist/main.min.js
vendored
File diff suppressed because one or more lines are too long
@@ -658,6 +658,11 @@ $(document).on("mouseenter", ".card.sticky-action", function(e){
|
|||||||
}, 50);
|
}, 50);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
$(document).on("click", "#chat_submit", function(e){
|
||||||
|
e.preventDefault();
|
||||||
|
$("#chatForm").submit();
|
||||||
|
})
|
||||||
|
|
||||||
$(document).on("mouseleave", ".card.sticky-action", function(e){
|
$(document).on("mouseleave", ".card.sticky-action", function(e){
|
||||||
var that = this;
|
var that = this;
|
||||||
$(that).find(".card-reveal").attr("style", "display: block;transform: translateY(0%);");
|
$(that).find(".card-reveal").attr("style", "display: block;transform: translateY(0%);");
|
||||||
|
|||||||
@@ -260,9 +260,10 @@
|
|||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li id="chat-input">
|
<li id="chat-input" class="row">
|
||||||
<form action="#" id="chatForm">
|
<form action="#" id="chatForm">
|
||||||
<input id="text-chat-input" name="input" type="text" autocomplete="off" placeholder="Chat" maxlength="150" />
|
<input id="text-chat-input" class="col s9" name="input" type="text" autocomplete="off" placeholder="Chat" maxlength="150" />
|
||||||
|
<a href="#" id="chat_submit" class="btn col s2 white"><i class="material-icons">send</i></a>
|
||||||
</form>
|
</form>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|||||||
Reference in New Issue
Block a user