ComunicWeb/assets/css/components/friends/friendsBar.css

104 lines
1.5 KiB
CSS
Raw Normal View History

2017-05-31 17:05:19 +00:00
/**
* Friends bar style sheet
*
* @author Pierre HUBERT
*/
2017-06-03 13:41:04 +00:00
/**
* For computers / tablets (any size)
*/
@media screen and (min-width: 513px) {
2017-06-03 12:25:21 +00:00
2017-06-03 13:41:04 +00:00
#friendsList {
position: fixed;
right: 0px;
border-left: 1px black solid;
z-index: 999;
top: 0px;
height: 100%;
padding-top: 50px;
}
2017-05-31 17:05:19 +00:00
}
2017-06-03 13:41:04 +00:00
/**
* For big screens
*/
@media screen and (min-width: 1200px) {
#friendsList {
width: 230px;
transition: right 1s;
right: -175px;
background-color: #fff3ff80;
display: block !important;
}
#friendsList:hover {
background-color: #ffffff;
right: 0px;
}
2017-06-03 12:25:21 +00:00
/**
2017-06-03 13:41:04 +00:00
* Hide friend button toggle
*/
.friendToggleButton {
display: none !important;
}
}
/**
* For small screens / tablets
*/
@media screen and (max-width: 1200px) and (min-width: 513px) {
#friendsList {
right: 0px;
background-color: #ffffff;
}
}
/**
* Common to small screen / tablets / smartphones
*/
@media screen and (max-width: 1200px) {
#friendsList {
display: none;
}
#friendsList.visible-bar {
display: block;
}
}
2017-06-03 12:25:21 +00:00
2017-06-03 13:41:04 +00:00
/**
* Very small computers / tablets / smartphones
*/
@media screen and (max-width: 513px) {
#friendsList {
background-color: #ffffff;
padding-top: 50px;
position: fixed;
height: 100%;
width: 100%;
top: 0px;
left: 0px;
overflow: auto;
}
2017-05-31 17:05:19 +00:00
}
#friendsList td {
vertical-align: middle;
}
#friendsList .account-image {
margin: auto 10px auto auto;
2017-05-31 17:17:31 +00:00
max-width: 40px;
2017-05-31 17:05:19 +00:00
height: 40px;
border-radius: 50%;
2017-05-31 17:17:31 +00:00
visibility: visible
2017-06-03 12:33:29 +00:00
}
#friendsList .statusRow {
width: 48px;
2017-06-03 13:41:04 +00:00
text-align: center;
2017-05-31 17:05:19 +00:00
}