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

128 lines
1.9 KiB
CSS
Raw Permalink 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;
}
#friendsList:hover {
z-index: 1001;
}
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 !important;
2017-06-03 13:41:04 +00:00
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;
min-width: 200px;
2017-06-03 13:41:04 +00:00
}
}
/**
* Common to small screen / tablets / smartphones
*/
@media screen and (max-width: 1200px) {
#friendsList {
display: none;
}
#friendsList.visible-bar {
display: block;
2017-06-05 09:02:10 +00:00
z-index: 1001;
2017-06-03 13:41:04 +00:00
}
}
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% !important;
2017-06-03 13:41:04 +00:00
top: 0px;
left: 0px;
}
2017-05-31 17:05:19 +00:00
}
2018-01-03 08:17:00 +00:00
#friendsList ul {
padding-left: 0px;
}
#friendsList li {
list-style: none;
}
#friendsList li:hover {
background: #f4f4f4;
text-decoration: none;
2017-05-31 17:05:19 +00:00
}
#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
}
2018-01-03 08:17:00 +00:00
#friendsList h4 {
padding: 0;
margin: 0 0 0 45px;
color: #444444;
font-size: 15px;
position: relative;
}
#friendsList a {
border-bottom: 1px solid #f4f4f4;
display: block;
white-space: nowrap;
padding: 5px 5px 5px 5px;
2017-05-31 17:05:19 +00:00
}