layout room set ok
This commit is contained in:
@@ -137,16 +137,16 @@
|
|||||||
<!-- placeholders -------
|
<!-- placeholders -------
|
||||||
-->
|
-->
|
||||||
<button class="chat_room_name btn" onclick="layout('room')">
|
<button class="chat_room_name btn" onclick="layout('room')">
|
||||||
<p class="__left">join room</p>
|
<p class="__left">user 1</p>
|
||||||
</button>
|
</button>
|
||||||
<button class="chat_room_name btn" onclick="layout('room')">
|
<button class="chat_room_name btn" onclick="layout('room')">
|
||||||
<p class="__left">one room</p>
|
<p class="__left blocked">user 2</p>
|
||||||
</button>
|
</button>
|
||||||
<button class="chat_room_name btn" onclick="layout('room')">
|
<button class="chat_room_name btn" onclick="layout('room')">
|
||||||
<p class="__left">another room</p>
|
<p class="__left">user 3</p>
|
||||||
</button>
|
</button>
|
||||||
<button class="chat_room_name btn" onclick="layout('room')">
|
<button class="chat_room_name btn" onclick="layout('room')">
|
||||||
<p class="__left">one more room</p>
|
<p class="__left">user 4</p>
|
||||||
</button>
|
</button>
|
||||||
<!-- END placeholders -->
|
<!-- END placeholders -->
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -12,12 +12,20 @@
|
|||||||
display: flex;
|
display: flex;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/* button "<room_name>" appearance
|
/* button "<room_name>" appearance
|
||||||
*/
|
*/
|
||||||
/* add or remove '.chat_item' to toggle the hover effect */
|
/* 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;
|
width: auto;
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
pointer-events: none;
|
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