mirror of
https://github.com/pierre42100/ComunicWeb
synced 2024-12-27 03:08:51 +00:00
146 lines
2.5 KiB
CSS
146 lines
2.5 KiB
CSS
/**
|
|
* Sidebar stylesheet
|
|
*
|
|
* @author Pierre HUBERT
|
|
*/
|
|
|
|
.main-sidebar > .sidebar {
|
|
display: flex;
|
|
flex-direction: column;
|
|
position: absolute;
|
|
height: 100%;
|
|
}
|
|
|
|
body.sidebar-collapse .main-sidebar > .sidebar {
|
|
position: unset;
|
|
}
|
|
|
|
|
|
body.sidebar-collapse .main-sidebar > .sidebar .hide-on-collapse {
|
|
display: none;
|
|
}
|
|
|
|
.main-sidebar .intermediate-label {
|
|
color: #c3c3c3;
|
|
padding: 10px 25px 0px 15px;
|
|
font-size: 12px;
|
|
}
|
|
|
|
|
|
/**
|
|
* Search form
|
|
*/
|
|
.sidebar-search-results {
|
|
display: flex;
|
|
height: 200px;
|
|
background-color: white;
|
|
position: absolute;
|
|
z-index: 2;
|
|
width: 90%;
|
|
margin-top: -2px;
|
|
border-bottom-left-radius: 5px;
|
|
border-bottom-right-radius: 5px;
|
|
}
|
|
|
|
.sidebar-search-results .results-container {
|
|
flex: 1;
|
|
}
|
|
|
|
.sidebar-search-results .results-container > div {
|
|
padding: 10px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.sidebar-search-results .results-container > div:hover {
|
|
background-color: #0003;
|
|
}
|
|
|
|
.sidebar-search-results .results-container > div img {
|
|
height: 30px;
|
|
margin-right: 5px;
|
|
}
|
|
|
|
/**
|
|
* Memberships
|
|
*/
|
|
.main-sidebar .memberships-list {
|
|
flex: 2;
|
|
overflow: hidden;
|
|
}
|
|
|
|
body.sidebar-collapse .memberships-list,
|
|
body.sidebar-collapse .slimScrollDiv,
|
|
body.sidebar-collapse .sidebar-menu {
|
|
overflow: unset !important;
|
|
}
|
|
|
|
.main-sidebar .memberships-list img {
|
|
width: 20px;
|
|
margin-right: 10px;
|
|
margin-left: -4px;
|
|
}
|
|
|
|
.main-sidebar .memberships-list .subinfo {
|
|
margin-left: 24px;
|
|
font-size: 90%;
|
|
}
|
|
|
|
|
|
/**
|
|
* Conversations entries
|
|
*/
|
|
|
|
/**
|
|
add left border
|
|
.main-sidebar .memberships-list .conversation_memberhsip.has-unread-msg::before {
|
|
border: 2px white solid;
|
|
border-radius: 2px 0px 0px 2px;
|
|
content: " ";
|
|
position: absolute;
|
|
background-color: white;
|
|
height: 100%;
|
|
left: 1%;
|
|
}
|
|
*/
|
|
|
|
.main-sidebar .memberships-list .conversation_memberhsip.has-unread-msg {
|
|
background-color: #00a65a30;
|
|
}
|
|
|
|
|
|
.main-sidebar .memberships-list .conversation_memberhsip a {
|
|
padding: 5px 5px 5px 15px;
|
|
}
|
|
|
|
.main-sidebar .memberships-list .conversation_memberhsip span {
|
|
font-size: 90%;
|
|
}
|
|
|
|
.main-sidebar .memberships-list .conversation_memberhsip .subinfo {
|
|
font-size: 80%;
|
|
}
|
|
|
|
|
|
body.sidebar-collapse .main-sidebar .memberships-list .subinfo {
|
|
display: none;
|
|
}
|
|
|
|
body.sidebar-collapse .main-sidebar .memberships-list li:hover .subinfo {
|
|
display: block;
|
|
background: #2c3b41;
|
|
position: absolute;
|
|
width: 180px;
|
|
left: 50px;
|
|
padding-top: 5px;
|
|
padding-bottom: 5px;
|
|
border-bottom-right-radius: 4px;
|
|
margin: 7px -3px;
|
|
padding-left: 20px;
|
|
}
|
|
|
|
/**
|
|
* Conversations
|
|
*/
|
|
.main-sidebar .recents-conversations-list {
|
|
flex: 1;
|
|
} |