2020-09-23 23:29:53 +03:00
|
|
|
.document {
|
2021-02-06 14:44:48 +02:00
|
|
|
--background-color: #{$color-blue};
|
|
|
|
$border-radius: .375rem;
|
2020-12-29 10:08:50 +02:00
|
|
|
padding-left: 4.25rem;
|
2020-09-23 23:29:53 +03:00
|
|
|
height: 70px;
|
|
|
|
|
|
|
|
&-ico {
|
2021-02-06 14:44:48 +02:00
|
|
|
background-color: var(--background-color);
|
|
|
|
border-radius: $border-radius;
|
|
|
|
line-height: 1;
|
2020-10-22 03:39:27 +03:00
|
|
|
text-align: center;
|
2020-10-16 15:35:44 +03:00
|
|
|
|
|
|
|
.document:not(.document-with-thumb) & {
|
2021-02-06 14:44:48 +02:00
|
|
|
padding: 1.5625rem .25rem 0 .25rem;
|
2020-12-13 01:29:12 +02:00
|
|
|
|
|
|
|
@include respond-to(handhelds) {
|
|
|
|
padding: 14px 0px 0px 0px;
|
|
|
|
font-size: 14px;
|
|
|
|
}
|
2020-10-16 15:35:44 +03:00
|
|
|
}
|
2020-09-23 23:29:53 +03:00
|
|
|
|
|
|
|
&:after {
|
|
|
|
content: "";
|
|
|
|
display: block;
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
right: 0;
|
|
|
|
width: 1.125rem;
|
|
|
|
height: 1.125rem;
|
|
|
|
border-bottom-left-radius: .25rem;
|
|
|
|
border-left: .5625rem solid rgba(0, 0, 0, .25);
|
|
|
|
border-bottom: .5625rem solid rgba(0, 0, 0, .25);
|
|
|
|
border-top: .5625rem solid #fff;
|
|
|
|
border-right: .5625rem solid #fff;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&-ico, &-download {
|
2021-02-06 14:44:48 +02:00
|
|
|
font-size: 1.125rem;
|
2020-09-23 23:29:53 +03:00
|
|
|
background-size: contain;
|
2020-10-16 15:16:34 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
&-ico, &-name {
|
2020-09-23 23:29:53 +03:00
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
2020-10-16 15:12:13 +03:00
|
|
|
white-space: nowrap;
|
2020-09-23 23:29:53 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
&-download {
|
2021-02-06 14:44:48 +02:00
|
|
|
background-color: var(--background-color);
|
|
|
|
border-radius: $border-radius;
|
2020-09-23 23:29:53 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
&.ext-zip {
|
2021-02-06 14:44:48 +02:00
|
|
|
--background-color: #FB8C00;
|
2020-09-23 23:29:53 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
&.ext-pdf {
|
2021-02-06 14:44:48 +02:00
|
|
|
--background-color: #DF3F40;
|
2020-09-23 23:29:53 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
&.ext-apk {
|
2021-02-06 14:44:48 +02:00
|
|
|
--background-color: #43A047;
|
2020-09-23 23:29:53 +03:00
|
|
|
}
|
|
|
|
|
2020-10-16 15:35:44 +03:00
|
|
|
&.document-with-thumb {
|
2021-02-06 14:44:48 +02:00
|
|
|
--background-color: #fff;
|
2020-09-23 23:29:53 +03:00
|
|
|
|
2021-02-06 14:44:48 +02:00
|
|
|
.document-ico {
|
2020-09-23 23:29:53 +03:00
|
|
|
&:after {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.document-download {
|
|
|
|
background-color: rgba(0, 0, 0, .15);
|
|
|
|
}
|
2021-02-06 14:44:48 +02:00
|
|
|
|
|
|
|
.preloader-circular {
|
|
|
|
transition: background-color .2s;
|
|
|
|
}
|
|
|
|
|
|
|
|
.preloader-container:not(.manual) {
|
|
|
|
.preloader-circular {
|
|
|
|
background-color: rgba(0, 0, 0, .3) !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&-thumb {
|
|
|
|
object-fit: cover;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
2020-09-23 23:29:53 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
&-name {
|
|
|
|
white-space: nowrap;
|
|
|
|
font-weight: 500;
|
|
|
|
line-height: 1.3;
|
2021-01-03 16:02:35 +04:00
|
|
|
font-size: 1rem;
|
2020-09-23 23:29:53 +03:00
|
|
|
}
|
2021-02-06 14:44:48 +02:00
|
|
|
|
2020-09-23 23:29:53 +03:00
|
|
|
&-size {
|
|
|
|
white-space: nowrap;
|
|
|
|
color: $color-gray;
|
2021-01-03 16:02:35 +04:00
|
|
|
font-size: .875rem;
|
2020-12-19 04:51:58 +02:00
|
|
|
//padding-right: 32px;
|
2020-09-23 23:29:53 +03:00
|
|
|
line-height: 1.3;
|
|
|
|
}
|
2021-01-18 22:34:41 +04:00
|
|
|
|
|
|
|
.preloader-container {
|
2021-02-06 14:44:48 +02:00
|
|
|
width: 2.5rem;
|
|
|
|
height: 2.5rem;
|
2021-01-18 22:34:41 +04:00
|
|
|
|
|
|
|
@include respond-to(handhelds) {
|
2021-02-06 14:44:48 +02:00
|
|
|
width: 1.625rem;
|
|
|
|
height: 1.625rem;
|
2021-01-18 22:34:41 +04:00
|
|
|
}
|
|
|
|
}
|
2021-02-06 14:44:48 +02:00
|
|
|
|
|
|
|
.preloader-circular {
|
|
|
|
background-color: transparent !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.preloader-path-new {
|
|
|
|
stroke-width: 2.5;
|
|
|
|
}
|
2020-09-23 23:29:53 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.document, .audio {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
justify-content: center;
|
|
|
|
cursor: pointer;
|
|
|
|
position: relative;
|
2020-10-18 02:19:56 +03:00
|
|
|
user-select: none;
|
2020-09-23 23:29:53 +03:00
|
|
|
|
|
|
|
&-ico, &-download {
|
|
|
|
position: absolute;
|
|
|
|
left: 0;
|
2021-02-06 14:44:48 +02:00
|
|
|
width: 3.375rem;
|
|
|
|
height: 3.375rem;
|
2020-09-23 23:29:53 +03:00
|
|
|
color: #fff;
|
|
|
|
|
|
|
|
@include respond-to(handhelds) {
|
2021-02-06 14:44:48 +02:00
|
|
|
height: 2.25rem;
|
|
|
|
width: 2.25rem;
|
2020-09-23 23:29:53 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&-download {
|
|
|
|
z-index: 1;
|
|
|
|
align-items: center;
|
2021-02-06 14:44:48 +02:00
|
|
|
font-size: 1.5rem;
|
2020-09-23 23:29:53 +03:00
|
|
|
cursor: pointer;
|
2020-10-16 15:12:13 +03:00
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
2021-01-18 22:34:41 +04:00
|
|
|
transition: opacity .2s ease-in-out/* , transform .2s ease-in-out */;
|
|
|
|
opacity: 1;
|
|
|
|
//transform: scale(1);
|
2020-12-13 01:29:12 +02:00
|
|
|
|
2021-01-18 22:34:41 +04:00
|
|
|
&.downloaded {
|
|
|
|
opacity: 0;
|
|
|
|
//transform: scale(0);
|
2020-09-23 23:29:53 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-01-18 22:34:41 +04:00
|
|
|
.preloader-container:not(.preloader-streamable) {
|
|
|
|
transform: scale(1) !important;
|
|
|
|
}
|
2020-10-16 15:12:13 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.audio {
|
|
|
|
&-ico {
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
|
|
|
|
&.tgico-largeplay:before {
|
|
|
|
margin-right: -1px;
|
|
|
|
}
|
|
|
|
}
|
2021-02-06 14:44:48 +02:00
|
|
|
|
|
|
|
.preloader-circular {
|
|
|
|
background-color: transparent !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.preloader-container:not(.preloader-streamable) {
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
}
|
2020-09-23 23:29:53 +03:00
|
|
|
}
|