Untitled
unknown
plain_text
3 years ago
4.5 kB
9
Indexable
.document {
margin-top: 40px;
padding-bottom: 32px;
//padding-left: 48px;
//padding-right: 48px;
margin-bottom: 24px;
border-bottom: 1px solid #BCDFFBFF;
h5 {
margin: 0 0 25px 0;
padding: 0;
color: #3A6EA5FF;
font-size: 18px;
font-family: 'DanaFaNum';
//color: $text;
}
.group {
gap: 5%;
display: grid;
grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
img {
width: 100%;
}
div {
position: relative;
transition: all ease 0.3ms;
figure {
width: 100%;
height: 330px;
margin: 0 0 8px;
background: #3A6EA5;
border-radius: 8px;
img {
width: 100%;
height: 100%;
object-fit: cover;
display: block;
opacity: 1;
-webkit-transition: all .3s ease-in-out;
transition: all .3s ease-in-out;
border-radius: 8px;
&:hover {
opacity: 0.7;
}
}
}
.status {
width: 100%;
color: #FFFFFF;
font-style: normal;
font-weight: 500;
font-size: 20px;
opacity: 0;
-webkit-transition: all .3s ease-in-out;
transition: all .2s ease-in-out;
position: absolute;
left: 0;
top: 50%;
transform: translateY(-50%);
text-align: center;
margin: 0;
}
.svg-wrapper {
opacity: 0;
-webkit-transition: all .3s ease-in-out;
transition: all .2s ease-in-out;
cursor: pointer;
.icon {
position: absolute;
//top: 10%;
left: 7%;
width: 17px;
}
&:nth-of-type(1) {
.icon {
top: 5%;
}
}
&:nth-of-type(2) {
.icon {
top: 15%;
}
}
}
&:hover {
.status {
opacity: 1;
}
.svg-wrapper {
opacity: 1;
}
}
}
}
.name {
text-align: left;
color: #33475B;
display: block;
}
.document-new {
display: flex;
border: 1px dashed #ABBED1;
border-radius: 8px;
align-items: center;
justify-content: center;
color: #3A6EA5FF;
cursor: pointer;
background: #F8F9FC;
height: 330px;
}
}
@media screen and (max-width: 1699px) {
.document {
.group {
grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
div {
figure {
height: 250px;
}
}
}
}
.document-new {
height: 250px;
}
}
@media screen and (max-width: 1499px) {
.document {
.group {
grid-template-columns: 1fr 1fr 1fr 1fr;
div {
figure {
height: 250px;
}
}
}
.document-new {
height: 250px;
}
}
}
@media screen and (max-width: 1199px) {
.document {
.group {
grid-template-columns: 1fr 1fr 1fr;
div {
figure {
height: 260px;
}
}
}
.document-new {
height: 260px;
}
}
}
@media screen and (max-width: 991px) {
.document {
.group {
grid-template-columns: 1fr 1fr;
div {
figure {
height: 320px;
}
}
}
.document-new {
height: 320px;
}
}
}
@media screen and (max-width: 891px) {
.document {
.group {
grid-template-columns: 1fr 1fr;
div {
figure {
height: 250px;
}
}
}
.document-new {
height: 250px;
}
}
}
@media screen and (max-width: 767px) {
.document {
.group {
grid-template-columns: 1fr;
div {
figure {
height: 300px;
}
}
}
.document-new {
height: 300px;
}
}
}
//@media screen and (max-width: 575px) {
// .document {
// .group {
// grid-template-columns: 1fr;
// div {
// figure {
// height: 350px;
// }
// }
// }
// .document-new {
// height: 350px;
// }
// }
//}
@media screen and (max-width: 424px) {
.document {
.group {
grid-template-columns: 1fr;
div {
figure {
height: 350px;
}
}
}
.document-new {
height: 350px;
}
}
}
Editor is loading...