layout titles ok
This commit is contained in:
@@ -21,18 +21,18 @@
|
|||||||
|
|
||||||
<div class="close" id="chat_box">
|
<div class="close" id="chat_box">
|
||||||
|
|
||||||
<button class="chat_item chat_chat" id="chat_chat" onclick="layout('home')" ><p>chat</p></button>
|
<button class="chat_item chat_chat" id="chat_chat" onclick="layout('home')" ><p>chat</p></button>
|
||||||
<button class="chat_item chat_close" id="chat_close" onclick="layout('close')" ></button>
|
<button class="chat_item chat_close" id="chat_close" onclick="layout('close')" title="close" ></button>
|
||||||
<button class="chat_item chat_new" id="chat_new" onclick="layout('new')" ><p>new</p></button>
|
<button class="chat_item chat_new" id="chat_new" onclick="layout('new')" title="new" ><p>new</p></button>
|
||||||
<button class="chat_item chat_settings" id="chat_settings" onclick="layout('settings')" ><p>settings</p></button>
|
<button class="chat_item chat_settings" id="chat_settings" onclick="layout('settings')" title="settings"><p>settings</p></button>
|
||||||
<button class="chat_item chat_room_name" id="chat_room_name" onclick="layout('room_set')" ><p>placeholder</p></button>
|
<button class="chat_item chat_room_name" id="chat_room_name" onclick="layout('room_set')" ><p>placeholder</p></button>
|
||||||
<button class="chat_item chat_send" id="chat_send" onclick="send_msg()" ><p>send</p></button>
|
<button class="chat_item chat_send" id="chat_send" onclick="send_msg()" title="send" ><p>send</p></button>
|
||||||
<p class="chat_item" id="chat_create" >create</p>
|
<p class="chat_item chat_create" id="chat_create" >create</p>
|
||||||
<p class="chat_item" id="chat_user" >placeholder</p>
|
<p class="chat_item chat_user" id="chat_user" >placeholder</p>
|
||||||
<button class="chat_item _back chat_back_room" id="chat_back_room" onclick="layout('room')" ></button>
|
<button class="chat_item _back chat_back_room" id="chat_back_room" onclick="layout('room')" title="go_back" ></button>
|
||||||
<button class="chat_item _back chat_back_home" id="chat_back_home" onclick="layout('home')" ></button>
|
<button class="chat_item _back chat_back_home" id="chat_back_home" onclick="layout('home')" title="go_back" ></button>
|
||||||
<button class="chat_item _back chat_back_new" id="chat_back_new" onclick="layout('new')" ></button>
|
<button class="chat_item _back chat_back_new" id="chat_back_new" onclick="layout('new')" title="go_back" ></button>
|
||||||
<button class="chat_item _back chat_back_user" id="chat_back_user" onclick="layout('user')" ></button>
|
<button class="chat_item _back chat_back_user" id="chat_back_user" onclick="layout('user')" title="go_back" ></button>
|
||||||
|
|
||||||
|
|
||||||
<!-- --------------------------------
|
<!-- --------------------------------
|
||||||
@@ -56,7 +56,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="chat_item chat_panel " id="chat_panel_home">
|
<div class="chat_item chat_panel chat_panel_home" id="chat_panel_home">
|
||||||
<div id="chat_room_list" class="_first_child_vanish">
|
<div id="chat_room_list" class="_first_child_vanish">
|
||||||
<div class="chat_room_name">
|
<div class="chat_room_name">
|
||||||
<p>you don't have any chat yet</p>
|
<p>you don't have any chat yet</p>
|
||||||
|
|||||||
@@ -5,10 +5,10 @@
|
|||||||
.chat_item._back::before {
|
.chat_item._back::before {
|
||||||
content: "";
|
content: "";
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: calc(50% - 10px - 1px);
|
top: calc(50% - 6px - 1px);
|
||||||
left: 10px;
|
left: 6px;
|
||||||
width: 20px;
|
width: 14px;
|
||||||
height: 20px;
|
height: 14px;
|
||||||
border-left: 1px solid black;
|
border-left: 1px solid black;
|
||||||
border-bottom: 1px solid black;
|
border-bottom: 1px solid black;
|
||||||
transform: rotate(45deg);
|
transform: rotate(45deg);
|
||||||
|
|||||||
@@ -12,3 +12,9 @@
|
|||||||
display: flex;
|
display: flex;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* title "create" appearance
|
||||||
|
*/
|
||||||
|
#chat_box.create .chat_item.chat_create {
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -12,3 +12,9 @@
|
|||||||
display: flex;
|
display: flex;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* title "mute" appearance
|
||||||
|
*/
|
||||||
|
#chat_box.mute .chat_item.chat_user {
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -12,11 +12,12 @@
|
|||||||
display: flex;
|
display: flex;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/* button "new" appearance
|
/* button "new" appearance
|
||||||
|
|
||||||
.chat_item#chat_new button {
|
|
||||||
background-color: transparent;
|
|
||||||
}
|
|
||||||
*/
|
*/
|
||||||
|
/* add or remove '.chat_item' to toggle the hover effect */
|
||||||
|
#chat_box.new button.chat_item.chat_new {
|
||||||
|
width: auto;
|
||||||
|
background-color: transparent;
|
||||||
|
pointer-events: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -12,3 +12,12 @@
|
|||||||
display: flex;
|
display: flex;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* button "<room_name>" appearance
|
||||||
|
*/
|
||||||
|
/* add or remove '.chat_item' to toggle the hover effect */
|
||||||
|
#chat_box.protected button.chat_item.chat_room_name {
|
||||||
|
width: auto;
|
||||||
|
background-color: transparent;
|
||||||
|
pointer-events: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -12,3 +12,12 @@
|
|||||||
display: flex;
|
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 {
|
||||||
|
width: auto;
|
||||||
|
background-color: transparent;
|
||||||
|
pointer-events: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -12,4 +12,13 @@
|
|||||||
display: flex;
|
display: flex;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* button "settings" appearance
|
||||||
|
*/
|
||||||
|
/* add or remove '.chat_item' to toggle the hover effect */
|
||||||
|
#chat_box.settings button.chat_item.chat_settings {
|
||||||
|
width: auto;
|
||||||
|
background-color: transparent;
|
||||||
|
pointer-events: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -12,3 +12,9 @@
|
|||||||
display: flex;
|
display: flex;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* title "user" appearance
|
||||||
|
*/
|
||||||
|
#chat_box.user .chat_item.chat_user {
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user