hubl/src/scss/_members.scss

66 lines
1.1 KiB
SCSS
Raw Normal View History

2018-04-20 06:58:30 +00:00
#profiles-list {
2018-07-07 13:29:09 +00:00
sib-form {
2018-04-20 06:58:30 +00:00
background-color: #F3F3F3;
2018-03-18 19:42:34 +00:00
}
2018-07-07 13:29:09 +00:00
sib-display {
display: block;
margin-top: 40px;
}
2018-03-18 19:42:34 +00:00
}
@media (min-width: $md-with) {
#profiles-list {
2018-03-18 19:42:34 +00:00
display: flex;
flex-wrap: wrap;
justify-content: center;
2018-07-07 13:29:09 +00:00
sib-form {
flex-basis: 100%;
}
2018-03-18 19:42:34 +00:00
2018-07-07 13:29:09 +00:00
sib-display {
cursor: pointer;
margin-right: 20px;
margin-bottom: 20px;
position: relative;
2018-03-18 19:42:34 +00:00
&, img {
width: 250px;
max-width: initial;
min-width: initial;
}
&::before,
&::after {
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
transform: scale3d(0, 0, 1);
transition: transform .3s ease-out 0s;
background: rgba(255, 255, 255, .075);
content: '';
pointer-events: none;
}
&::before {
transform-origin: left top;
}
&::after {
transform-origin: right bottom;
}
&: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
}