Files
asan-service/sass/pages/downloads.scss
T
2023-08-17 13:05:51 +03:30

245 lines
4.8 KiB
SCSS

.download--page {
.hero {
margin-bottom: 50px;
.bg {
background-image: url('/assets/img/download/hero.jpg');
}
}
.s1 {
padding-bottom: 50px;
.filters {
background-color: rgba(#000, 0.15);
@extend %defaultBorderRadius;
//@extend %defaultBoxShadow;
overflow: hidden;
ul {
display: flex;
flex-wrap: wrap;
padding: 5px;
li {
margin: 5px;
@media (max-width: 575px) {
margin: 3px;
}
a {
display: block;
background: rgba(#000, 0.3);
color: #fff;
padding: 3px 15px;
cursor: pointer;
@include borderRadius(10px);
@extend %defaultTransition;
&:hover {
background: rgba(#000, 0.7);
}
&.active {
background: rgba(#000, 0.7);
}
}
}
}
}
}
.s2 {
$imgSize: 180px;
$titleMinHeight: 85px;
$captionMinHeight: 100px;
.item {
display: flex;
flex-direction: row;
flex-wrap: wrap;
align-items: center;
background: #fff;
@extend %defaultBorderRadius;
@extend %defaultBoxShadow;
overflow: hidden;
padding: 25px 15px;
height: 100%;
@media (max-width: 992px) {
padding: 25px 15px;
}
.imgBox {
flex-basis: $imgSize;
height: $imgSize;
display: flex;
justify-content: center;
align-items: center;
background: rgba(0, 0, 0, 0.05);
@include borderRadius(50%);
@media (max-width: 768px) {
flex-basis: 100%;
background-color: transparent;
@include borderRadius(0);
height: auto;
img {
@include borderRadius(0);
}
}
img {
width: 60%;
@include borderRadius(50%);
@media (max-width: 575px) {
width: 100%;
}
}
}
.txtBox {
flex-basis: calc(100% - #{$imgSize});
padding-right: 15px;
height: 100%;
@media (max-width: 768px) {
flex-basis: 100%;
margin-top: 20px;
height: auto;
}
h2 {
margin-bottom: 20px;
font-size: 18px;
@media (min-height: 1400px) {
min-height: $titleMinHeight;
}
b {
color: $theme;
}
span {
display: inline-block;
background: rgba(0, 0, 0, 0.3);
padding: 0 5px;
font-size: 13px;
@include borderRadius(10px);
color: #fff;
}
}
p {
margin-bottom: 15px;
@media (min-width: 1400px) {
min-height: $captionMinHeight;
}
}
a {
display: inline-block;
}
}
}
.untrack {
margin-top: 40px;
margin-bottom: 100px;
h3 {
font-size: 25px;
margin-bottom: 30px;
}
.latest {
position: relative;
padding: 35px 20px;
background-image: linear-gradient(#8ca5db, #ba93d6);
@extend %defaultBorderRadius;
@extend %defaultBoxShadow;
overflow: hidden;
height: 100%;
@media (max-width: 992px) {
padding: 50px 15px;
}
&:hover {
.normal {
top: -100%;
}
.hover {
@include transform(translateY(0));
opacity: 1;
}
}
.normal {
width: 100%;
height: 100%;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
@extend %defaultTransition;
position: absolute;
top: 0;
left: 0;
img {
width: 35%;
margin-bottom: 20px;
}
h2 {
color: #5c5f61;
padding: 0 15px;
text-align: center;
font-size: 20px;
@media (max-width: 1200px) {
font-size: 18px;
}
}
}
.hover {
width: 100%;
height: 100%;
@extend %defaultTransition;
display: flex;
flex-direction: column;
justify-content: center;
align-items: flex-start;
@include transform(translateY(100%));
opacity: 0;
h2 {
color: #fff;
margin-bottom: 10px;
min-height: $titleMinHeight;
font-size: 22px;
}
p {
color: #fff;
margin-bottom: 30px;
}
}
}
}
}
.s3 {
direction: ltr;
text-align: center;
}
}