layout room set ok
This commit is contained in:
@@ -137,16 +137,16 @@
|
||||
<!-- placeholders -------
|
||||
-->
|
||||
<button class="chat_room_name btn" onclick="layout('room')">
|
||||
<p class="__left">join room</p>
|
||||
<p class="__left">user 1</p>
|
||||
</button>
|
||||
<button class="chat_room_name btn" onclick="layout('room')">
|
||||
<p class="__left">one room</p>
|
||||
<p class="__left blocked">user 2</p>
|
||||
</button>
|
||||
<button class="chat_room_name btn" onclick="layout('room')">
|
||||
<p class="__left">another room</p>
|
||||
<p class="__left">user 3</p>
|
||||
</button>
|
||||
<button class="chat_room_name btn" onclick="layout('room')">
|
||||
<p class="__left">one more room</p>
|
||||
<p class="__left">user 4</p>
|
||||
</button>
|
||||
<!-- END placeholders -->
|
||||
</div>
|
||||
|
||||
@@ -12,12 +12,20 @@
|
||||
display: flex;
|
||||
}
|
||||
|
||||
|
||||
/* button "<room_name>" appearance
|
||||
*/
|
||||
/* add or remove '.chat_item' to toggle the hover effect */
|
||||
#chat_box.room_name button.chat_item.chat_room_name {
|
||||
#chat_box.room_set button.chat_item.chat_room_name {
|
||||
width: auto;
|
||||
background-color: transparent;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
|
||||
/* button "leave" appearance
|
||||
*/
|
||||
#chat_box.room_set .chat_item button.chat_leave_btn {
|
||||
margin: 10px 0px;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user