@wizishop/img-manager 15.2.62 → 15.2.63-beta
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/assets/i18n/en.json +1 -1
- package/assets/i18n/es.json +1 -1
- package/assets/i18n/fr.json +1 -1
- package/assets/i18n/it.json +1 -1
- package/esm2020/lib/components/images-view/images-actions-handler.mjs +4 -1
- package/esm2020/lib/components/images-view/mosaic-view/img-card/img-card.component.mjs +3 -3
- package/esm2020/lib/components/images-view/table-view/table-view.component.mjs +3 -3
- package/esm2020/lib/components/img-editor/img-editor.component.mjs +44 -7
- package/esm2020/lib/components/img-editor/info-video/info-video.component.mjs +62 -0
- package/esm2020/lib/components/img-editor/show-iframe/show-iframe.component.mjs +54 -0
- package/esm2020/lib/components/img-tabs/img-tabs.component.mjs +12 -3
- package/esm2020/lib/dto/img-manager.dto.mjs +1 -1
- package/esm2020/lib/services/api.service.mjs +1 -1
- package/esm2020/lib/services/img-event.service.mjs +8 -1
- package/esm2020/lib/services/rename-picture.service.mjs +4 -1
- package/esm2020/lib/services/video-info.service.mjs +87 -0
- package/esm2020/lib/wz-img-manager.module.mjs +7 -1
- package/fesm2015/wizishop-img-manager.mjs +258 -9
- package/fesm2015/wizishop-img-manager.mjs.map +1 -1
- package/fesm2020/wizishop-img-manager.mjs +257 -9
- package/fesm2020/wizishop-img-manager.mjs.map +1 -1
- package/lib/components/images-view/images-actions-handler.d.ts +1 -0
- package/lib/components/img-editor/img-editor.component.d.ts +8 -1
- package/lib/components/img-editor/info-video/info-video.component.d.ts +20 -0
- package/lib/components/img-editor/show-iframe/show-iframe.component.d.ts +15 -0
- package/lib/components/img-tabs/img-tabs.component.d.ts +1 -0
- package/lib/dto/img-manager.dto.d.ts +1 -0
- package/lib/services/api.service.d.ts +1 -0
- package/lib/services/img-event.service.d.ts +3 -0
- package/lib/services/rename-picture.service.d.ts +1 -0
- package/lib/services/video-info.service.d.ts +23 -0
- package/lib/wz-img-manager.module.d.ts +46 -44
- package/package.json +1 -1
- package/wizishop-img-manager-15.2.63-beta.tgz +0 -0
- package/wz-img-manager.scss +183 -2
- package/wizishop-img-manager-15.2.62.tgz +0 -0
|
@@ -44,6 +44,7 @@ export declare abstract class ImagesActionHandler {
|
|
|
44
44
|
/** Event emit each time filters change */
|
|
45
45
|
onFiltersChange(): void;
|
|
46
46
|
onEdit(picture: ImgPictureDTO): void;
|
|
47
|
+
redirectToVideo(picture: ImgPictureDTO): void;
|
|
47
48
|
copyLink(file_name: string): void;
|
|
48
49
|
onToggleSelectImg(index: number): void;
|
|
49
50
|
onRemoveImg(picture: ImgPictureDTO): void;
|
|
@@ -8,12 +8,18 @@ export declare class ImgEditorComponent implements OnInit {
|
|
|
8
8
|
private renamePictureService;
|
|
9
9
|
stateDisplayed: any;
|
|
10
10
|
imgToEdit: ImgPictureDTO;
|
|
11
|
+
set isVideoEdit(value: boolean);
|
|
12
|
+
get isVideoEdit(): boolean;
|
|
13
|
+
private _isVideoEdit;
|
|
11
14
|
editClosed: EventEmitter<any>;
|
|
12
15
|
isLoading: boolean;
|
|
13
16
|
isImgModified: boolean;
|
|
14
17
|
isNameModified: boolean;
|
|
15
18
|
currentCroppedImage: string;
|
|
16
19
|
private previousName;
|
|
20
|
+
isEditorLinkActive: boolean;
|
|
21
|
+
isVideoModified: boolean;
|
|
22
|
+
private previousVideoLink;
|
|
17
23
|
msgFailSave: string;
|
|
18
24
|
msgFailLoad: string;
|
|
19
25
|
msgSuccessEdit: string;
|
|
@@ -24,7 +30,8 @@ export declare class ImgEditorComponent implements OnInit {
|
|
|
24
30
|
onRestartEdit(): void;
|
|
25
31
|
onCancel(): void;
|
|
26
32
|
onImgCropped(imgBase64: string): void;
|
|
33
|
+
onDeleteVideo(): void;
|
|
27
34
|
private renameAndReplaceImg;
|
|
28
35
|
static ɵfac: i0.ɵɵFactoryDeclaration<ImgEditorComponent, never>;
|
|
29
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ImgEditorComponent, "img-editor", never, { "stateDisplayed": "stateDisplayed"; "imgToEdit": "imgToEdit"; }, { "editClosed": "editClosed"; }, never, never, false, never>;
|
|
36
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ImgEditorComponent, "img-editor", never, { "stateDisplayed": "stateDisplayed"; "imgToEdit": "imgToEdit"; "isVideoEdit": "isVideoEdit"; }, { "editClosed": "editClosed"; }, never, never, false, never>;
|
|
30
37
|
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
+
import { VideoInfoService } from "../../../services/video-info.service";
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class EditorInfoVideoComponent implements OnInit {
|
|
5
|
+
private videoInfoService;
|
|
6
|
+
videoLink: string;
|
|
7
|
+
videoLinkChange: EventEmitter<string>;
|
|
8
|
+
isVideoModified: boolean;
|
|
9
|
+
isVideoModifiedChange: EventEmitter<boolean>;
|
|
10
|
+
deleteVideo: EventEmitter<void>;
|
|
11
|
+
videoDuration: string;
|
|
12
|
+
videoPublishDate: string;
|
|
13
|
+
constructor(videoInfoService: VideoInfoService);
|
|
14
|
+
ngOnInit(): void;
|
|
15
|
+
onVideoLinkChange(value: string): void;
|
|
16
|
+
loadVideoInfos(): void;
|
|
17
|
+
onDelete(): void;
|
|
18
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EditorInfoVideoComponent, never>;
|
|
19
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<EditorInfoVideoComponent, "info-video", never, { "videoLink": "videoLink"; "isVideoModified": "isVideoModified"; }, { "videoLinkChange": "videoLinkChange"; "isVideoModifiedChange": "isVideoModifiedChange"; "deleteVideo": "deleteVideo"; }, never, never, false, never>;
|
|
20
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { OnChanges } from '@angular/core';
|
|
2
|
+
import { DomSanitizer, SafeResourceUrl } from '@angular/platform-browser';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class EditorShowIframeComponent implements OnChanges {
|
|
5
|
+
private sanitizer;
|
|
6
|
+
videoLink: string;
|
|
7
|
+
safeUrl: SafeResourceUrl | null;
|
|
8
|
+
constructor(sanitizer: DomSanitizer);
|
|
9
|
+
ngOnChanges(): void;
|
|
10
|
+
private buildSafeIframeUrl;
|
|
11
|
+
private extractYoutubeId;
|
|
12
|
+
private extractVimeoId;
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EditorShowIframeComponent, never>;
|
|
14
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<EditorShowIframeComponent, "show-iframe", never, { "videoLink": "videoLink"; }, {}, never, never, false, never>;
|
|
15
|
+
}
|
|
@@ -23,6 +23,7 @@ export declare class ImgTabsComponent implements OnInit {
|
|
|
23
23
|
editTab: boolean;
|
|
24
24
|
imgToEdit: ImgPictureDTO;
|
|
25
25
|
imgUpload: boolean;
|
|
26
|
+
isVideoEdit: boolean;
|
|
26
27
|
imgUploadedComponent: UploadListComponent;
|
|
27
28
|
snackBarNewVersionConfig: NwbSnackbarConfig;
|
|
28
29
|
constructor(imgEventEditService: ImgEventService, alertService: AlertService, route: Router);
|
|
@@ -21,6 +21,7 @@ export declare abstract class ApiService {
|
|
|
21
21
|
abstract uploadFileByUrl(url: string, fileName?: string): Observable<ImgPictureDTO>;
|
|
22
22
|
abstract replaceImg(imageBase64: string, id_file: string): Observable<ImgPictureDTO>;
|
|
23
23
|
abstract changeImgName(fileName: string, id_file: string): Observable<ImgPictureDTO>;
|
|
24
|
+
abstract changeVideoLink(videoLink: string, id_file: string): Observable<ImgPictureDTO>;
|
|
24
25
|
abstract removeImg(id_file: string): Observable<ImgPictureDTO>;
|
|
25
26
|
abstract removeMultipleImg(id_array: string[]): Observable<ImgPictureDTO[]>;
|
|
26
27
|
static ɵfac: i0.ɵɵFactoryDeclaration<ApiService, never>;
|
|
@@ -4,10 +4,13 @@ import * as i0 from "@angular/core";
|
|
|
4
4
|
export declare class ImgEventService {
|
|
5
5
|
imgRemoved$: BehaviorSubject<string>;
|
|
6
6
|
private imgToEditEvent;
|
|
7
|
+
private imgToVideoEvent;
|
|
7
8
|
private imgAdded;
|
|
8
9
|
private listDisplayedChange;
|
|
9
10
|
emitImgToEdit(imgToEdit: ImgPictureDTO): void;
|
|
11
|
+
emitImgToVideo(imgToEdit: ImgPictureDTO): void;
|
|
10
12
|
getImgToEditEventListener(): import("rxjs").Observable<ImgPictureDTO>;
|
|
13
|
+
getImgToVideoEventListener(): import("rxjs").Observable<ImgPictureDTO>;
|
|
11
14
|
emitImgAdded(id_file: string): void;
|
|
12
15
|
getImgAddedEventListner(): import("rxjs").Observable<string>;
|
|
13
16
|
emitlistDisplayedChange(value: boolean): void;
|
|
@@ -14,6 +14,7 @@ export declare class RenamePictureService {
|
|
|
14
14
|
private msgImgNameSaved;
|
|
15
15
|
constructor(apiService: ApiService, alertService: AlertService, imgManagerService: ImgManagerService);
|
|
16
16
|
setPicturesList(picturesList: ImgPictureDTO[]): void;
|
|
17
|
+
changeVideoLink(videoLink: string, idFile: string): import("rxjs").Observable<ImgPictureDTO>;
|
|
17
18
|
renamePicture(pictureNameUpdate: PictureNameUpdate): void;
|
|
18
19
|
changeImageName(name: string, idFile: string): import("rxjs").Observable<ImgPictureDTO>;
|
|
19
20
|
private getPictureById;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { HttpClient } from '@angular/common/http';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class VideoInfoService {
|
|
4
|
+
private http;
|
|
5
|
+
private YT_API_KEY;
|
|
6
|
+
private YT_API_URL;
|
|
7
|
+
constructor(http: HttpClient);
|
|
8
|
+
getVideoInfo(videoUrl: string): import("rxjs").Observable<{
|
|
9
|
+
duration: string;
|
|
10
|
+
publishDate: string;
|
|
11
|
+
}>;
|
|
12
|
+
private isYouTube;
|
|
13
|
+
private isVimeo;
|
|
14
|
+
private extractYoutubeId;
|
|
15
|
+
private extractVimeoId;
|
|
16
|
+
private getYouTubeInfo;
|
|
17
|
+
private formatYoutubeDuration;
|
|
18
|
+
private getVimeoInfo;
|
|
19
|
+
private formatVimeoDuration;
|
|
20
|
+
private formatDate;
|
|
21
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<VideoInfoService, never>;
|
|
22
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<VideoInfoService>;
|
|
23
|
+
}
|
|
@@ -8,52 +8,54 @@ import * as i5 from "./components/images-view/mosaic-view/img-card/img-card.comp
|
|
|
8
8
|
import * as i6 from "./components/upload-list/upload-list.component";
|
|
9
9
|
import * as i7 from "./components/img-editor/img-editor.component";
|
|
10
10
|
import * as i8 from "./components/img-editor/info-section/info-section.component";
|
|
11
|
-
import * as i9 from "./components/
|
|
12
|
-
import * as i10 from "./components/img-
|
|
13
|
-
import * as i11 from "./components/
|
|
14
|
-
import * as i12 from "./components/
|
|
15
|
-
import * as i13 from "./components/
|
|
16
|
-
import * as i14 from "./components/
|
|
17
|
-
import * as i15 from "./components/
|
|
18
|
-
import * as i16 from "./components/images-view/
|
|
19
|
-
import * as i17 from "./components/
|
|
20
|
-
import * as i18 from "./components/
|
|
21
|
-
import * as i19 from "./components/shared/
|
|
22
|
-
import * as i20 from "./components/shared/
|
|
23
|
-
import * as i21 from "./components/shared/
|
|
24
|
-
import * as i22 from "./components/shared/
|
|
25
|
-
import * as i23 from "./components/shared/
|
|
26
|
-
import * as i24 from "./
|
|
27
|
-
import * as i25 from "./
|
|
28
|
-
import * as i26 from "./directives/
|
|
29
|
-
import * as i27 from "./directives/
|
|
30
|
-
import * as i28 from "./directives/
|
|
31
|
-
import * as i29 from "./directives/
|
|
32
|
-
import * as i30 from "./directives/table/
|
|
33
|
-
import * as i31 from "./directives/table/
|
|
34
|
-
import * as i32 from "./directives/
|
|
35
|
-
import * as i33 from "./directives/
|
|
36
|
-
import * as i34 from "./directives/
|
|
37
|
-
import * as i35 from "./
|
|
38
|
-
import * as i36 from "./
|
|
39
|
-
import * as i37 from "./pipes/pagination/
|
|
40
|
-
import * as i38 from "./pipes/
|
|
41
|
-
import * as i39 from "./pipes/
|
|
42
|
-
import * as i40 from "./pipes/
|
|
43
|
-
import * as i41 from "./pipes/
|
|
44
|
-
import * as i42 from "
|
|
45
|
-
import * as i43 from "
|
|
46
|
-
import * as i44 from "@angular/
|
|
47
|
-
import * as i45 from "
|
|
48
|
-
import * as i46 from "
|
|
49
|
-
import * as i47 from "
|
|
50
|
-
import * as i48 from "ngx-
|
|
51
|
-
import * as i49 from "@
|
|
52
|
-
import * as i50 from "
|
|
53
|
-
import * as i51 from "@
|
|
11
|
+
import * as i9 from "./components/img-editor/info-video/info-video.component";
|
|
12
|
+
import * as i10 from "./components/img-editor/show-iframe/show-iframe.component";
|
|
13
|
+
import * as i11 from "./components/canva-btn/canva-btn.component";
|
|
14
|
+
import * as i12 from "./components/img-selection/img-selection.component";
|
|
15
|
+
import * as i13 from "./components/loader/loader.component";
|
|
16
|
+
import * as i14 from "./components/shared/dropdown/dropdown.component";
|
|
17
|
+
import * as i15 from "./components/img-editor/cropper/cropper.component";
|
|
18
|
+
import * as i16 from "./components/images-view/images-view.component";
|
|
19
|
+
import * as i17 from "./components/images-view/mosaic-view/mosaic-view.component";
|
|
20
|
+
import * as i18 from "./components/images-view/table-view/table-view.component";
|
|
21
|
+
import * as i19 from "./components/shared/table/table.component";
|
|
22
|
+
import * as i20 from "./components/shared/input-search/input-search.component";
|
|
23
|
+
import * as i21 from "./components/shared/pagination/pagination.component";
|
|
24
|
+
import * as i22 from "./components/shared/checkbox/checkbox.component";
|
|
25
|
+
import * as i23 from "./components/shared/alert/alert.component";
|
|
26
|
+
import * as i24 from "./components/shared/pagination/page-selector/page-selector.component";
|
|
27
|
+
import * as i25 from "./components/shared/select/select.component";
|
|
28
|
+
import * as i26 from "./directives/drag-drop.directive";
|
|
29
|
+
import * as i27 from "./directives/loading.directive";
|
|
30
|
+
import * as i28 from "./directives/auto-hide.directive";
|
|
31
|
+
import * as i29 from "./directives/copy-to-clipboard.directive";
|
|
32
|
+
import * as i30 from "./directives/table/column.directive";
|
|
33
|
+
import * as i31 from "./directives/table/checkBoxRow.directive";
|
|
34
|
+
import * as i32 from "./directives/table/columnHeader.directive";
|
|
35
|
+
import * as i33 from "./directives/table/raw.directive";
|
|
36
|
+
import * as i34 from "./directives/abstract-debounce/abstract-debounce.directive";
|
|
37
|
+
import * as i35 from "./directives/abstract-debounce/debounce-keyup.directive";
|
|
38
|
+
import * as i36 from "./directives/zindex-toggle.directive";
|
|
39
|
+
import * as i37 from "./pipes/pagination/array-total-pages/array-pages.pipe";
|
|
40
|
+
import * as i38 from "./pipes/pagination/total-pages/is-last-page.pipe";
|
|
41
|
+
import * as i39 from "./pipes/pagination/text/custom-text.pipe";
|
|
42
|
+
import * as i40 from "./pipes/images/img-src.pipe";
|
|
43
|
+
import * as i41 from "./pipes/number-to-array.pipe";
|
|
44
|
+
import * as i42 from "./pipes/pagination/large-number-of-page/large-number-of-page.pipe";
|
|
45
|
+
import * as i43 from "./pipes/select/select-filters.pipe";
|
|
46
|
+
import * as i44 from "@angular/common";
|
|
47
|
+
import * as i45 from "@angular/common/http";
|
|
48
|
+
import * as i46 from "@angular/forms";
|
|
49
|
+
import * as i47 from "ngx-scrollbar";
|
|
50
|
+
import * as i48 from "ngx-scrollbar/reached-event";
|
|
51
|
+
import * as i49 from "@wizishop/ng-wizi-bulma";
|
|
52
|
+
import * as i50 from "ngx-image-cropper";
|
|
53
|
+
import * as i51 from "@angular/cdk/table";
|
|
54
|
+
import * as i52 from "@angular/cdk/drag-drop";
|
|
55
|
+
import * as i53 from "@ngx-translate/core";
|
|
54
56
|
export declare class WzImgManagerModule {
|
|
55
57
|
static withConfig(ApiService: Provider, ImageNotFoundProvider?: Provider): ModuleWithProviders<WzImgManagerModule>;
|
|
56
58
|
static ɵfac: i0.ɵɵFactoryDeclaration<WzImgManagerModule, never>;
|
|
57
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<WzImgManagerModule, [typeof i1.WzImgManagerComponent, typeof i2.ImgTabsComponent, typeof i3.ImgUploadComponent, typeof i4.PexelLibComponent, typeof i5.ImgCardComponent, typeof i6.UploadListComponent, typeof i7.ImgEditorComponent, typeof i8.EditorInfoSectionComponent, typeof i9.
|
|
59
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<WzImgManagerModule, [typeof i1.WzImgManagerComponent, typeof i2.ImgTabsComponent, typeof i3.ImgUploadComponent, typeof i4.PexelLibComponent, typeof i5.ImgCardComponent, typeof i6.UploadListComponent, typeof i7.ImgEditorComponent, typeof i8.EditorInfoSectionComponent, typeof i9.EditorInfoVideoComponent, typeof i10.EditorShowIframeComponent, typeof i11.CanvaBtnComponent, typeof i12.ImgSelectionComponent, typeof i13.LoaderComponent, typeof i14.DropdownComponent, typeof i15.CropperComponent, typeof i16.ImagesViewComponent, typeof i17.MosaicViewComponent, typeof i18.TableViewComponent, typeof i19.TableComponent, typeof i20.InputSearchComponent, typeof i21.PaginationComponent, typeof i22.CheckboxComponent, typeof i23.AlertComponent, typeof i24.PageSelectorComponent, typeof i25.SelectComponent, typeof i26.DragDropDirective, typeof i27.LoadingDirective, typeof i28.AutoHideDirective, typeof i29.CopyClipboardDirective, typeof i30.TableColumn, typeof i31.CheckBoxRow, typeof i32.TableColumnHeader, typeof i33.TableRow, typeof i34.AbstractDebounceDirective, typeof i35.DebounceKeyupDirective, typeof i36.ZindexToggleDirective, typeof i37.PagniationArrayTotalPages, typeof i38.PagniationIsLastPage, typeof i39.PagniationText, typeof i40.ImageSrcPipe, typeof i41.NumberToArray, typeof i42.LargeNumberOfPagePipe, typeof i43.SelectFiltersPipe], [typeof i44.CommonModule, typeof i45.HttpClientModule, typeof i46.FormsModule, typeof i47.NgScrollbarModule, typeof i48.NgScrollbarReachedModule, typeof i49.NwbAllModule, typeof i50.ImageCropperModule, typeof i51.CdkTableModule, typeof i52.DragDropModule, typeof i53.TranslateModule], [typeof i1.WzImgManagerComponent]>;
|
|
58
60
|
static ɵinj: i0.ɵɵInjectorDeclaration<WzImgManagerModule>;
|
|
59
61
|
}
|
package/package.json
CHANGED
|
Binary file
|
package/wz-img-manager.scss
CHANGED
|
@@ -1336,6 +1336,10 @@ $tag-radius: rem(20px)!default;
|
|
|
1336
1336
|
padding: 0;
|
|
1337
1337
|
margin: 0 rem(30) 0 0;
|
|
1338
1338
|
|
|
1339
|
+
&, * {
|
|
1340
|
+
box-sizing: border-box;
|
|
1341
|
+
}
|
|
1342
|
+
|
|
1339
1343
|
&__propertyEditable {
|
|
1340
1344
|
margin-bottom: 31px;
|
|
1341
1345
|
p {
|
|
@@ -1468,6 +1472,31 @@ $tag-radius: rem(20px)!default;
|
|
|
1468
1472
|
.wz-img-manager .marginBottom {
|
|
1469
1473
|
margin-bottom: 20px;
|
|
1470
1474
|
}
|
|
1475
|
+
|
|
1476
|
+
.img-editorVideo__tabs {
|
|
1477
|
+
display: flex;
|
|
1478
|
+
justify-content: flex-start;
|
|
1479
|
+
align-items: center;
|
|
1480
|
+
gap: 20px;
|
|
1481
|
+
list-style-type: none;
|
|
1482
|
+
width: 100%;
|
|
1483
|
+
margin: 0 0 30px;
|
|
1484
|
+
li {
|
|
1485
|
+
cursor: pointer;
|
|
1486
|
+
padding-bottom: 8px;
|
|
1487
|
+
font-size: rem(14);
|
|
1488
|
+
color: $img-second-color;
|
|
1489
|
+
border-bottom: 1px solid transparent;
|
|
1490
|
+
transition: .3s ease;
|
|
1491
|
+
&:hover {
|
|
1492
|
+
color: $main-text;
|
|
1493
|
+
}
|
|
1494
|
+
&.active {
|
|
1495
|
+
color: $main-text;
|
|
1496
|
+
border-bottom: 1px solid $img-main-color;
|
|
1497
|
+
}
|
|
1498
|
+
}
|
|
1499
|
+
}
|
|
1471
1500
|
// Warning: in webcomponent (for wizishop-com project) the following style are added by styles-handler.js script (hard-coded)
|
|
1472
1501
|
.wz-img-manager .img-selection {
|
|
1473
1502
|
background-color: white;
|
|
@@ -2697,7 +2726,120 @@ $tag-radius: rem(20px)!default;
|
|
|
2697
2726
|
font-size: rem(16);
|
|
2698
2727
|
color: $main-text;
|
|
2699
2728
|
}
|
|
2700
|
-
}
|
|
2729
|
+
}.info-video {
|
|
2730
|
+
width: 100%;
|
|
2731
|
+
&, * {
|
|
2732
|
+
box-sizing: border-box;
|
|
2733
|
+
}
|
|
2734
|
+
&__wrapper {
|
|
2735
|
+
width: 100%;
|
|
2736
|
+
display: flex;
|
|
2737
|
+
flex-direction: column;
|
|
2738
|
+
justify-content: flex-start;
|
|
2739
|
+
align-items: flex-start;
|
|
2740
|
+
gap: 30px;
|
|
2741
|
+
&__top {
|
|
2742
|
+
width: 100%;
|
|
2743
|
+
display: flex;
|
|
2744
|
+
flex-direction: column;
|
|
2745
|
+
justify-content: flex-start;
|
|
2746
|
+
align-items: flex-start;
|
|
2747
|
+
gap: 12px;
|
|
2748
|
+
> label {
|
|
2749
|
+
font-size: rem(14);
|
|
2750
|
+
font-weight: 500;
|
|
2751
|
+
color: $main-text;
|
|
2752
|
+
i {
|
|
2753
|
+
font-size: rem(14);
|
|
2754
|
+
font-weight: 400;
|
|
2755
|
+
color: $img-second-color;
|
|
2756
|
+
margin: 0 0 0 5px;
|
|
2757
|
+
}
|
|
2758
|
+
}
|
|
2759
|
+
> span {
|
|
2760
|
+
font-size: rem(12);
|
|
2761
|
+
color: $img-second-color;
|
|
2762
|
+
margin-top: -2px;
|
|
2763
|
+
}
|
|
2764
|
+
> input {
|
|
2765
|
+
width: 100%;
|
|
2766
|
+
height: rem(40);
|
|
2767
|
+
border: 1px solid $img-input-border;
|
|
2768
|
+
border-radius: rem(3);
|
|
2769
|
+
color: $img-main-text;
|
|
2770
|
+
padding: 0 rem(20);
|
|
2771
|
+
font-size: rem(14);
|
|
2772
|
+
&:hover, &:focus {
|
|
2773
|
+
color: $main-text;
|
|
2774
|
+
border-color: $main-text;
|
|
2775
|
+
}
|
|
2776
|
+
}
|
|
2777
|
+
}
|
|
2778
|
+
&__bottom {
|
|
2779
|
+
width: 100%;
|
|
2780
|
+
display: flex;
|
|
2781
|
+
flex-direction: column;
|
|
2782
|
+
justify-content: flex-start;
|
|
2783
|
+
align-items: flex-start;
|
|
2784
|
+
gap: 15px;
|
|
2785
|
+
&.has-border {
|
|
2786
|
+
padding-bottom: 32px;
|
|
2787
|
+
border-bottom: 2px solid $img-input-border;
|
|
2788
|
+
}
|
|
2789
|
+
> strong {
|
|
2790
|
+
font-size: rem(16);
|
|
2791
|
+
font-weight: 600;
|
|
2792
|
+
color: $main-text;
|
|
2793
|
+
}
|
|
2794
|
+
> p {
|
|
2795
|
+
font-size: rem(14);
|
|
2796
|
+
font-weight: 400;
|
|
2797
|
+
color: $main-text;
|
|
2798
|
+
display: flex;
|
|
2799
|
+
align-items: center;
|
|
2800
|
+
width: 100%;
|
|
2801
|
+
> span {
|
|
2802
|
+
white-space: nowrap;
|
|
2803
|
+
&:first-child {
|
|
2804
|
+
width: 100%;
|
|
2805
|
+
}
|
|
2806
|
+
&:last-child {
|
|
2807
|
+
width: auto;
|
|
2808
|
+
}
|
|
2809
|
+
}
|
|
2810
|
+
}
|
|
2811
|
+
}
|
|
2812
|
+
& > a {
|
|
2813
|
+
color: $img-bright-red-color;
|
|
2814
|
+
text-decoration: underline;
|
|
2815
|
+
transition: .3s ease;
|
|
2816
|
+
cursor: pointer;
|
|
2817
|
+
font-size: rem(14);
|
|
2818
|
+
font-weight: 400;
|
|
2819
|
+
&:hover, &:focus {
|
|
2820
|
+
color: darken($img-bright-red-color, 10%);
|
|
2821
|
+
text-decoration: none;
|
|
2822
|
+
}
|
|
2823
|
+
}
|
|
2824
|
+
}
|
|
2825
|
+
}
|
|
2826
|
+
iframe {
|
|
2827
|
+
width: 100%!important;
|
|
2828
|
+
height: 309px;
|
|
2829
|
+
}
|
|
2830
|
+
|
|
2831
|
+
.show-iframe {
|
|
2832
|
+
box-sizing: border-box;
|
|
2833
|
+
padding: 20px;
|
|
2834
|
+
&__none {
|
|
2835
|
+
width: 100%;
|
|
2836
|
+
text-align: center;
|
|
2837
|
+
font-size: rem(16);
|
|
2838
|
+
font-weight: 600;
|
|
2839
|
+
color: $main-text;
|
|
2840
|
+
}
|
|
2841
|
+
}
|
|
2842
|
+
$default-color-p-alert: #1e5568;
|
|
2701
2843
|
$success-color-p-alert: #11552e;
|
|
2702
2844
|
$warning-color-p-alert: #3a0505;
|
|
2703
2845
|
$primary-button: #e95656;
|
|
@@ -3786,7 +3928,7 @@ $card-img-size-small: 140px;
|
|
|
3786
3928
|
background-color: $img-orange-color;
|
|
3787
3929
|
}
|
|
3788
3930
|
}
|
|
3789
|
-
&.copy {
|
|
3931
|
+
&.copy {
|
|
3790
3932
|
background-color: $img-green-color;
|
|
3791
3933
|
transition: transform .3s ease .15s;
|
|
3792
3934
|
span, &:before {
|
|
@@ -3910,6 +4052,27 @@ $card-img-size-small: 140px;
|
|
|
3910
4052
|
}
|
|
3911
4053
|
}
|
|
3912
4054
|
}
|
|
4055
|
+
&__video {
|
|
4056
|
+
width: fit-content;
|
|
4057
|
+
height: 24px;
|
|
4058
|
+
display: flex;
|
|
4059
|
+
justify-content: center;
|
|
4060
|
+
align-items: center;
|
|
4061
|
+
position: absolute;
|
|
4062
|
+
bottom: 10px;
|
|
4063
|
+
right: 10px;
|
|
4064
|
+
background-color: rgba(29, 42, 59, 0.8);
|
|
4065
|
+
gap: 5px;
|
|
4066
|
+
border-radius: 3px;
|
|
4067
|
+
padding: 0 10px;
|
|
4068
|
+
color: white;
|
|
4069
|
+
font-size: rem(12);
|
|
4070
|
+
font-weight: 500;
|
|
4071
|
+
i {
|
|
4072
|
+
color: white;
|
|
4073
|
+
font-size: rem(14);
|
|
4074
|
+
}
|
|
4075
|
+
}
|
|
3913
4076
|
}
|
|
3914
4077
|
|
|
3915
4078
|
&__nameContainer {
|
|
@@ -3975,6 +4138,9 @@ $card-img-size-small: 140px;
|
|
|
3975
4138
|
|
|
3976
4139
|
&:hover, &:focus {
|
|
3977
4140
|
z-index: 3;
|
|
4141
|
+
.hover-img-size {
|
|
4142
|
+
opacity: 1;
|
|
4143
|
+
}
|
|
3978
4144
|
.img-card {
|
|
3979
4145
|
&__nameContainer {
|
|
3980
4146
|
overflow: visible;
|
|
@@ -4031,6 +4197,21 @@ $card-img-size-small: 140px;
|
|
|
4031
4197
|
width: $card-img-size-small;
|
|
4032
4198
|
}
|
|
4033
4199
|
}
|
|
4200
|
+
|
|
4201
|
+
.hover-img-size {
|
|
4202
|
+
position: absolute;
|
|
4203
|
+
top: 10px;
|
|
4204
|
+
right: 10px;
|
|
4205
|
+
opacity: 0;
|
|
4206
|
+
transition: .3s ease;
|
|
4207
|
+
background-color: rgba(0,0,0,.45);
|
|
4208
|
+
color: $white;
|
|
4209
|
+
font-size: rem(12);
|
|
4210
|
+
padding: 3px 6px;
|
|
4211
|
+
border-radius: 2px;
|
|
4212
|
+
pointer-events: none;
|
|
4213
|
+
}
|
|
4214
|
+
|
|
4034
4215
|
.wz-selector {
|
|
4035
4216
|
&__default {
|
|
4036
4217
|
position: relative;
|
|
Binary file
|