hubl/src/scss/_members.scss

107 lines
1.8 KiB
SCSS
Raw Normal View History

2018-04-20 06:58:30 +00:00
#profiles-list {
2018-09-11 23:34:13 +00:00
display: block;
2018-07-07 13:29:09 +00:00
sib-form {
2018-09-11 23:34:13 +00:00
background-color: #f3f3f3;
}
div[name=header]{
border-top: 2em solid $col-alt-bg;
border-bottom: 1px solid $col-alt-bg;
padding-bottom: 1em;
margin-bottom: 1em;
text-align: center;
}
> div {
display: flex;
flex-wrap: wrap;
label{
display: none;
}
> sib-display {
flex: 1 1 220px;
box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.2);
display: block;
margin-top: 40px;
margin: 0.5em;
}
}
sib-display-img {
display: block;
position: relative;
width: 80%;
height: 0;
padding-bottom: 80%;
margin: 10%;
img {
display: block;
position: absolute;
width: 100%;
height: 100%;
border-radius: 100%;
object-fit: cover;
object-position: center;
}
2018-03-18 19:42:34 +00:00
}
2018-09-11 23:34:13 +00:00
hdapp-userinfo{
display: block;
font-weight: bold;
margin: 0.5em;
ul,li{
display: block;
margin: 0;
padding: 0;
list-style: none;
}
}
div[name=pseudonym]{
color:grey;
font-size: 0.8em;
div{
display: inline;
}
}
2018-03-18 19:42:34 +00:00
}
@media (min-width: $md-with) {
#profiles-list {
2018-03-18 19:42:34 +00:00
2018-07-07 13:29:09 +00:00
sib-display {
2018-09-11 23:34:13 +00:00
cursor: pointer;
position: relative;
&::before,
&::after {
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
transform: scale3d(0, 0, 1);
2018-09-11 23:34:13 +00:00
transition: transform 0.3s ease-out 0s;
background: #eac1;
content: '';
pointer-events: none;
}
&::before {
transform-origin: left top;
}
&::after {
transform-origin: right bottom;
2018-09-11 23:34:13 +00:00
background: #ace1;
}
&:hover,
&:focus {
&::before,
&::after {
transform: scale3d(1, 1, 1);
}
}
2018-03-18 19:42:34 +00:00
}
}
2018-03-11 23:42:46 +00:00
}