@kms-ngx-ui/presentational 0.0.5 → 0.0.7
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/bundles/kms-ngx-ui-presentational.umd.js +820 -60
- package/bundles/kms-ngx-ui-presentational.umd.js.map +1 -1
- package/esm2015/kms-ngx-ui-presentational.js +36 -30
- package/esm2015/lib/directives/directives.module.js +29 -0
- package/esm2015/lib/directives/mousewheel.directive.js +46 -0
- package/esm2015/lib/directives/sum-of-height.directive.js +71 -0
- package/esm2015/lib/directives/swipe.directive.js +159 -0
- package/esm2015/lib/directives/swipe.model.js +5 -0
- package/esm2015/lib/directives/tooltip.directive.js +124 -0
- package/esm2015/lib/kms-ngx-ui-presentational.module.js +29 -23
- package/esm2015/lib/models/image-snippet.model.js +18 -0
- package/esm2015/lib/ui/checkbox/checkbox.component.js +1 -1
- package/esm2015/lib/ui/color-input/color-input.component.js +1 -1
- package/esm2015/lib/ui/dropdown-from-data/dropdown-from-data.component.js +145 -0
- package/esm2015/lib/ui/flyout/flyout.component.js +1 -1
- package/esm2015/lib/ui/image-slider/image-slider.component.js +177 -0
- package/esm2015/lib/ui/radiobutton/radiobutton.component.js +1 -1
- package/esm2015/lib/ui/time-input/time-input.component.js +1 -1
- package/esm2015/public-api.js +2 -1
- package/fesm2015/kms-ngx-ui-presentational.js +766 -29
- package/fesm2015/kms-ngx-ui-presentational.js.map +1 -1
- package/kms-ngx-ui-presentational.d.ts +36 -30
- package/kms-ngx-ui-presentational.metadata.json +1 -1
- package/lib/directives/directives.module.d.ts +5 -0
- package/lib/directives/mousewheel.directive.d.ts +12 -0
- package/lib/directives/sum-of-height.directive.d.ts +28 -0
- package/lib/directives/swipe.directive.d.ts +42 -0
- package/lib/directives/swipe.model.d.ts +49 -0
- package/lib/directives/tooltip.directive.d.ts +26 -0
- package/lib/models/image-snippet.model.d.ts +15 -0
- package/lib/ui/dropdown-from-data/dropdown-from-data.component.d.ts +51 -0
- package/lib/ui/image-slider/image-slider.component.d.ts +59 -0
- package/package.json +4 -2
- package/public-api.d.ts +1 -0
- package/src/lib/ui/back-to-top/back-to-top.component.scss +46 -46
- package/src/lib/ui/button-with-confirm-dialog/button-with-confirm-dialog.component.scss +3 -0
- package/src/lib/ui/checkbox/checkbox.component.scss +48 -56
- package/src/lib/ui/color-input/color-input.component.scss +39 -38
- package/src/lib/ui/file-input/file-input.component.scss +3 -0
- package/src/lib/ui/flyout/flyout.component.scss +35 -34
- package/src/lib/ui/generic-dialog/generic-dialog.component.scss +59 -59
- package/src/lib/ui/icon/icon.component.scss +148 -148
- package/src/lib/ui/image-slider/image-slider.component.scss +220 -0
- package/src/lib/ui/kms-accordion-item/kms-accordion-item.component.scss +95 -95
- package/src/lib/ui/radiobutton/radiobutton.component.scss +32 -30
- package/src/lib/ui/time-input/time-input.component.scss +11 -10
- package/src/lib/ui/tooltip/tooltip.component.scss +26 -26
- package/src/lib/ui/tooltip-icon/tooltip-icon.component.scss +2 -2
- package/src/styles/styles.scss +31 -23
|
@@ -1,59 +1,59 @@
|
|
|
1
|
-
@mixin generic-dialog-component-theme(
|
|
2
|
-
.mat-dialog-container {
|
|
3
|
-
padding: 44px 40px;
|
|
4
|
-
width: 560px !important;
|
|
5
|
-
|
|
6
|
-
.mat-dialog-title {
|
|
7
|
-
height: 24px !important;
|
|
8
|
-
padding-bottom: 20px;
|
|
9
|
-
padding-left: 24px;
|
|
10
|
-
padding-top: 20px;
|
|
11
|
-
|
|
12
|
-
h3 {
|
|
13
|
-
margin: 0;
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
.mat-dialog-content {
|
|
18
|
-
margin: 0;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
.custom-dialog-actions {
|
|
22
|
-
align-items: center;
|
|
23
|
-
display: flex;
|
|
24
|
-
height: 64px;
|
|
25
|
-
justify-content: flex-end;
|
|
26
|
-
padding-right: 24px;
|
|
27
|
-
|
|
28
|
-
button:first-of-type {
|
|
29
|
-
margin-right: 8px;
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
.dialog-col {
|
|
34
|
-
padding-top: 0;
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
.big{
|
|
38
|
-
.mat-dialog-container {
|
|
39
|
-
width: 1084px !important;
|
|
40
|
-
height: 90vh;
|
|
41
|
-
padding: 44px 40px;
|
|
42
|
-
@media (max-width: $responsive-breakpoint) {
|
|
43
|
-
padding: 10px 10px;
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
.middle{
|
|
48
|
-
.mat-dialog-container {
|
|
49
|
-
width: 600px !important;
|
|
50
|
-
height: 95vh;
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
.small{
|
|
54
|
-
.mat-dialog-container {
|
|
55
|
-
width: 450px !important;
|
|
56
|
-
height: auto !important;
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
}
|
|
1
|
+
@mixin generic-dialog-component-theme() {
|
|
2
|
+
.mat-dialog-container {
|
|
3
|
+
padding: 44px 40px;
|
|
4
|
+
width: 560px !important;
|
|
5
|
+
|
|
6
|
+
.mat-dialog-title {
|
|
7
|
+
height: 24px !important;
|
|
8
|
+
padding-bottom: 20px;
|
|
9
|
+
padding-left: 24px;
|
|
10
|
+
padding-top: 20px;
|
|
11
|
+
|
|
12
|
+
h3 {
|
|
13
|
+
margin: 0;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.mat-dialog-content {
|
|
18
|
+
margin: 0;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.custom-dialog-actions {
|
|
22
|
+
align-items: center;
|
|
23
|
+
display: flex;
|
|
24
|
+
height: 64px;
|
|
25
|
+
justify-content: flex-end;
|
|
26
|
+
padding-right: 24px;
|
|
27
|
+
|
|
28
|
+
button:first-of-type {
|
|
29
|
+
margin-right: 8px;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.dialog-col {
|
|
34
|
+
padding-top: 0;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
.big{
|
|
38
|
+
.mat-dialog-container {
|
|
39
|
+
width: 1084px !important;
|
|
40
|
+
height: 90vh;
|
|
41
|
+
padding: 44px 40px;
|
|
42
|
+
@media (max-width: $responsive-breakpoint) {
|
|
43
|
+
padding: 10px 10px;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
.middle{
|
|
48
|
+
.mat-dialog-container {
|
|
49
|
+
width: 600px !important;
|
|
50
|
+
height: 95vh;
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
.small{
|
|
54
|
+
.mat-dialog-container {
|
|
55
|
+
width: 450px !important;
|
|
56
|
+
height: auto !important;
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
}
|
|
@@ -1,149 +1,149 @@
|
|
|
1
|
-
|
|
2
|
-
@import '../../../styles/mixins.scss';
|
|
3
|
-
@mixin icon-theme(
|
|
4
|
-
.icon {
|
|
5
|
-
display: inline-block;
|
|
6
|
-
height: inherit;
|
|
7
|
-
outline-color: transparent;
|
|
8
|
-
transition: transform 0.2s ease-in-out;
|
|
9
|
-
position: relative;
|
|
10
|
-
@include iconSize(100%);
|
|
11
|
-
|
|
12
|
-
&.size{
|
|
13
|
-
&-full {
|
|
14
|
-
@include iconSize(100%);
|
|
15
|
-
}
|
|
16
|
-
&-16{
|
|
17
|
-
@include iconSize(16px);
|
|
18
|
-
}
|
|
19
|
-
&-20{
|
|
20
|
-
@include iconSize(20px);
|
|
21
|
-
}
|
|
22
|
-
&-32{
|
|
23
|
-
@include iconSize(32px);
|
|
24
|
-
}
|
|
25
|
-
&-64{
|
|
26
|
-
@include iconSize(64px);
|
|
27
|
-
}
|
|
28
|
-
&-128{
|
|
29
|
-
@include iconSize(64px);
|
|
30
|
-
}
|
|
31
|
-
&-256{
|
|
32
|
-
@include iconSize(256px);
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
svg, use{
|
|
37
|
-
fill: black;
|
|
38
|
-
position: relative;
|
|
39
|
-
transform: translate(0, 0) !important;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
&_hoverable {
|
|
43
|
-
cursor: pointer;
|
|
44
|
-
&:hover,
|
|
45
|
-
&:focus {
|
|
46
|
-
svg use{
|
|
47
|
-
fill: var(--primaryColor);
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
&_active {
|
|
53
|
-
cursor: pointer;
|
|
54
|
-
fill: var(--primaryColor) !important;
|
|
55
|
-
|
|
56
|
-
&:hover, &:focus {
|
|
57
|
-
fill: var(--primaryColor02) !important;
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
&.color{
|
|
62
|
-
&-primary svg use{
|
|
63
|
-
fill: var(--primaryColor);
|
|
64
|
-
}
|
|
65
|
-
&-secondary svg use{
|
|
66
|
-
fill: var(--primaryColor);
|
|
67
|
-
}
|
|
68
|
-
&-disabled svg use{
|
|
69
|
-
fill: var(--gray04);
|
|
70
|
-
}
|
|
71
|
-
&-white svg use{
|
|
72
|
-
fill: var(--white);
|
|
73
|
-
}
|
|
74
|
-
&-blackish svg use{
|
|
75
|
-
fill: var(--gray09);
|
|
76
|
-
}
|
|
77
|
-
&-warn svg use{
|
|
78
|
-
fill: #BF2F2F;
|
|
79
|
-
}
|
|
80
|
-
&-success svg use{
|
|
81
|
-
fill: #39B948;
|
|
82
|
-
}
|
|
83
|
-
&-info svg use{
|
|
84
|
-
fill: #E5C936;
|
|
85
|
-
}
|
|
86
|
-
&-grey1 svg use{
|
|
87
|
-
fill: #646260;
|
|
88
|
-
}
|
|
89
|
-
&-grey2 svg use{
|
|
90
|
-
fill: #918F8E;
|
|
91
|
-
}
|
|
92
|
-
&-grey3 svg use{
|
|
93
|
-
fill: var(--gray04);
|
|
94
|
-
}
|
|
95
|
-
&-grey4 svg use{
|
|
96
|
-
fill: #E4E4E4;
|
|
97
|
-
}
|
|
98
|
-
&-grey5 svg use{
|
|
99
|
-
fill: #F2F2F2;
|
|
100
|
-
}
|
|
101
|
-
&-grey6 svg use{
|
|
102
|
-
fill: var(--gray07);
|
|
103
|
-
}
|
|
104
|
-
&-inactive{
|
|
105
|
-
fill: #bdbcbb;
|
|
106
|
-
}
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
// IE 11 with win7 fix that caused an application freeze.
|
|
110
|
-
svg use {
|
|
111
|
-
pointer-events: none;
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
&.is-rotating45 {
|
|
115
|
-
animation-name: spinanimation;
|
|
116
|
-
animation-duration: 3000ms;
|
|
117
|
-
transform: rotate(45deg);
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
&.is-rotating90 {
|
|
121
|
-
animation-name: spinanimation;
|
|
122
|
-
animation-duration: 3000ms;
|
|
123
|
-
transform: rotate(90deg);
|
|
124
|
-
}
|
|
125
|
-
|
|
126
|
-
&.is-rotating180 {
|
|
127
|
-
animation-name: spinanimation180;
|
|
128
|
-
animation-duration: 3000ms;
|
|
129
|
-
}
|
|
130
|
-
|
|
131
|
-
&.is-rotating45Anti {
|
|
132
|
-
animation-name: spinanimation;
|
|
133
|
-
animation-duration: 3000ms;
|
|
134
|
-
transform: rotate(-45deg);
|
|
135
|
-
}
|
|
136
|
-
|
|
137
|
-
&.is-rotating90Anti {
|
|
138
|
-
animation-name: spinanimation;
|
|
139
|
-
animation-duration: 3000ms;
|
|
140
|
-
transform: rotate(-90deg);
|
|
141
|
-
}
|
|
142
|
-
|
|
143
|
-
&.is-rotating180Anti {
|
|
144
|
-
animation-name: spinanimation;
|
|
145
|
-
animation-duration: 3000ms;
|
|
146
|
-
transform: rotate(-180deg);
|
|
147
|
-
}
|
|
148
|
-
}
|
|
1
|
+
|
|
2
|
+
@import '../../../styles/mixins.scss';
|
|
3
|
+
@mixin icon-theme(){
|
|
4
|
+
.icon {
|
|
5
|
+
display: inline-block;
|
|
6
|
+
height: inherit;
|
|
7
|
+
outline-color: transparent;
|
|
8
|
+
transition: transform 0.2s ease-in-out;
|
|
9
|
+
position: relative;
|
|
10
|
+
@include iconSize(100%);
|
|
11
|
+
|
|
12
|
+
&.size{
|
|
13
|
+
&-full {
|
|
14
|
+
@include iconSize(100%);
|
|
15
|
+
}
|
|
16
|
+
&-16{
|
|
17
|
+
@include iconSize(16px);
|
|
18
|
+
}
|
|
19
|
+
&-20{
|
|
20
|
+
@include iconSize(20px);
|
|
21
|
+
}
|
|
22
|
+
&-32{
|
|
23
|
+
@include iconSize(32px);
|
|
24
|
+
}
|
|
25
|
+
&-64{
|
|
26
|
+
@include iconSize(64px);
|
|
27
|
+
}
|
|
28
|
+
&-128{
|
|
29
|
+
@include iconSize(64px);
|
|
30
|
+
}
|
|
31
|
+
&-256{
|
|
32
|
+
@include iconSize(256px);
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
svg, use{
|
|
37
|
+
fill: black;
|
|
38
|
+
position: relative;
|
|
39
|
+
transform: translate(0, 0) !important;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
&_hoverable {
|
|
43
|
+
cursor: pointer;
|
|
44
|
+
&:hover,
|
|
45
|
+
&:focus {
|
|
46
|
+
svg use{
|
|
47
|
+
fill: var(--primaryColor);
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
&_active {
|
|
53
|
+
cursor: pointer;
|
|
54
|
+
fill: var(--primaryColor) !important;
|
|
55
|
+
|
|
56
|
+
&:hover, &:focus {
|
|
57
|
+
fill: var(--primaryColor02) !important;
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
&.color{
|
|
62
|
+
&-primary svg use{
|
|
63
|
+
fill: var(--primaryColor);
|
|
64
|
+
}
|
|
65
|
+
&-secondary svg use{
|
|
66
|
+
fill: var(--primaryColor);
|
|
67
|
+
}
|
|
68
|
+
&-disabled svg use{
|
|
69
|
+
fill: var(--gray04);
|
|
70
|
+
}
|
|
71
|
+
&-white svg use{
|
|
72
|
+
fill: var(--white);
|
|
73
|
+
}
|
|
74
|
+
&-blackish svg use{
|
|
75
|
+
fill: var(--gray09);
|
|
76
|
+
}
|
|
77
|
+
&-warn svg use{
|
|
78
|
+
fill: #BF2F2F;
|
|
79
|
+
}
|
|
80
|
+
&-success svg use{
|
|
81
|
+
fill: #39B948;
|
|
82
|
+
}
|
|
83
|
+
&-info svg use{
|
|
84
|
+
fill: #E5C936;
|
|
85
|
+
}
|
|
86
|
+
&-grey1 svg use{
|
|
87
|
+
fill: #646260;
|
|
88
|
+
}
|
|
89
|
+
&-grey2 svg use{
|
|
90
|
+
fill: #918F8E;
|
|
91
|
+
}
|
|
92
|
+
&-grey3 svg use{
|
|
93
|
+
fill: var(--gray04);
|
|
94
|
+
}
|
|
95
|
+
&-grey4 svg use{
|
|
96
|
+
fill: #E4E4E4;
|
|
97
|
+
}
|
|
98
|
+
&-grey5 svg use{
|
|
99
|
+
fill: #F2F2F2;
|
|
100
|
+
}
|
|
101
|
+
&-grey6 svg use{
|
|
102
|
+
fill: var(--gray07);
|
|
103
|
+
}
|
|
104
|
+
&-inactive{
|
|
105
|
+
fill: #bdbcbb;
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
// IE 11 with win7 fix that caused an application freeze.
|
|
110
|
+
svg use {
|
|
111
|
+
pointer-events: none;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
&.is-rotating45 {
|
|
115
|
+
animation-name: spinanimation;
|
|
116
|
+
animation-duration: 3000ms;
|
|
117
|
+
transform: rotate(45deg);
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
&.is-rotating90 {
|
|
121
|
+
animation-name: spinanimation;
|
|
122
|
+
animation-duration: 3000ms;
|
|
123
|
+
transform: rotate(90deg);
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
&.is-rotating180 {
|
|
127
|
+
animation-name: spinanimation180;
|
|
128
|
+
animation-duration: 3000ms;
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
&.is-rotating45Anti {
|
|
132
|
+
animation-name: spinanimation;
|
|
133
|
+
animation-duration: 3000ms;
|
|
134
|
+
transform: rotate(-45deg);
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
&.is-rotating90Anti {
|
|
138
|
+
animation-name: spinanimation;
|
|
139
|
+
animation-duration: 3000ms;
|
|
140
|
+
transform: rotate(-90deg);
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
&.is-rotating180Anti {
|
|
144
|
+
animation-name: spinanimation;
|
|
145
|
+
animation-duration: 3000ms;
|
|
146
|
+
transform: rotate(-180deg);
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
149
|
}
|
|
@@ -0,0 +1,220 @@
|
|
|
1
|
+
@mixin image-slider-theme() {
|
|
2
|
+
// TODO
|
|
3
|
+
$responsive-breakpoint1: 996px;
|
|
4
|
+
$responsive-breakpoint-1024: 1024px;
|
|
5
|
+
$responsive-breakpoint2: 1200px;
|
|
6
|
+
$responsive-breakpoint3: 1400px;
|
|
7
|
+
$color-secondary: var(--primaryColor);
|
|
8
|
+
$color-disabled: var(--gray04);
|
|
9
|
+
$color-image-background: white;
|
|
10
|
+
$img-size: 796px;
|
|
11
|
+
|
|
12
|
+
.all-wrapper{
|
|
13
|
+
position: relative;
|
|
14
|
+
|
|
15
|
+
.default-image {
|
|
16
|
+
|
|
17
|
+
visibility: hidden;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.swiper-bigImage{
|
|
22
|
+
@include backgroundContains();
|
|
23
|
+
background-color: $color-image-background;
|
|
24
|
+
|
|
25
|
+
width: $img-size;
|
|
26
|
+
height: auto;
|
|
27
|
+
padding-top: 75%; /* 4:3 Aspect Ratio */
|
|
28
|
+
position: relative;
|
|
29
|
+
|
|
30
|
+
@media (max-width: $responsive-breakpoint3) {
|
|
31
|
+
width: 100%;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.swiper-holder{
|
|
36
|
+
margin: 18px 0;
|
|
37
|
+
width: 796px;
|
|
38
|
+
@media (max-width: $responsive-breakpoint3) {
|
|
39
|
+
width: 100%;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.swiper-button{
|
|
43
|
+
&-next, &-prev,
|
|
44
|
+
&-next2, &-prev2{
|
|
45
|
+
position: absolute;
|
|
46
|
+
width: 10px;
|
|
47
|
+
height: 20px;
|
|
48
|
+
top: calc((100% - 140px) / 2);
|
|
49
|
+
transform: translate(0, 50%);
|
|
50
|
+
color: $color-secondary;
|
|
51
|
+
&.swiper-button-disabled{
|
|
52
|
+
display: none;
|
|
53
|
+
}
|
|
54
|
+
&:after{
|
|
55
|
+
font-size: 20px;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
&-next,
|
|
60
|
+
&-next2{
|
|
61
|
+
right: 20px;
|
|
62
|
+
}
|
|
63
|
+
&-prev,
|
|
64
|
+
&-prev2{
|
|
65
|
+
left: 20px;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
&-next, &-prev{
|
|
69
|
+
top: auto;
|
|
70
|
+
bottom: calc((140px)/ 2);
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
@media (max-width: $responsive-breakpoint2) {
|
|
74
|
+
&-next{
|
|
75
|
+
right: 20px;
|
|
76
|
+
}
|
|
77
|
+
&-prev{
|
|
78
|
+
left: 20px;
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
@media (max-width: $responsive-breakpoint-1024) {
|
|
82
|
+
|
|
83
|
+
&-next{
|
|
84
|
+
right: 0;
|
|
85
|
+
}
|
|
86
|
+
&-prev{
|
|
87
|
+
left: 0;
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
@media (max-width: $responsive-breakpoint1) {
|
|
91
|
+
&-next{
|
|
92
|
+
right: 10vw;
|
|
93
|
+
}
|
|
94
|
+
&-prev{
|
|
95
|
+
left: 10vw;
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
swiper{
|
|
102
|
+
width: 560px;
|
|
103
|
+
margin: 0 auto;
|
|
104
|
+
position: relative;
|
|
105
|
+
@media (max-width: $responsive-breakpoint-1024) {
|
|
106
|
+
width: 400px;
|
|
107
|
+
}
|
|
108
|
+
@media (max-width: $responsive-breakpoint1) {
|
|
109
|
+
width: 60vw;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
.swiper-wrapper {
|
|
113
|
+
display: flex;
|
|
114
|
+
|
|
115
|
+
.swiper-slide {
|
|
116
|
+
flex-basis: 0;
|
|
117
|
+
position: relative;
|
|
118
|
+
|
|
119
|
+
.img {
|
|
120
|
+
background-repeat: no-repeat;
|
|
121
|
+
background-size: contain;
|
|
122
|
+
background-position: center center;
|
|
123
|
+
|
|
124
|
+
width: 158px;
|
|
125
|
+
height: auto;
|
|
126
|
+
padding-top: 75%; /* 4:3 Aspect Ratio */
|
|
127
|
+
|
|
128
|
+
cursor: pointer;
|
|
129
|
+
border: 1px solid #dbdbda;
|
|
130
|
+
border-radius: var(--defaultBorderRadius);
|
|
131
|
+
@media (max-width: $responsive-breakpoint-1024) {
|
|
132
|
+
width: 100px;
|
|
133
|
+
}
|
|
134
|
+
@media (max-width: $responsive-breakpoint1) {
|
|
135
|
+
width: 20vw;
|
|
136
|
+
}
|
|
137
|
+
&.active{
|
|
138
|
+
border: 1px solid var(--grey08);
|
|
139
|
+
background-color: var(--gray06);
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
button {
|
|
144
|
+
position: absolute;
|
|
145
|
+
width: 15px;
|
|
146
|
+
height: 15px;
|
|
147
|
+
right: 5px;
|
|
148
|
+
top: 5px;
|
|
149
|
+
background: none;
|
|
150
|
+
|
|
151
|
+
.icon{
|
|
152
|
+
width: 15px !important;
|
|
153
|
+
height: 15px !important;
|
|
154
|
+
|
|
155
|
+
svg {
|
|
156
|
+
width: 15px !important;
|
|
157
|
+
height: 15px !important;
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
.cdk-drag-preview {
|
|
163
|
+
box-sizing: border-box;
|
|
164
|
+
border-radius: var(--defaultBorderRadius);
|
|
165
|
+
box-shadow: 0 5px 5px -3px rgba(0, 0, 0, 0.2),
|
|
166
|
+
0 8px 10px 1px rgba(0, 0, 0, 0.14),
|
|
167
|
+
0 3px 14px 2px rgba(0, 0, 0, 0.12);
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
.cdk-drag-placeholder {
|
|
171
|
+
opacity: 0.3;
|
|
172
|
+
border: 1px solid var(--grey07);
|
|
173
|
+
background-color: var(--gray05);
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
.cdk-drag-animating {
|
|
177
|
+
transition: transform 250ms cubic-bezier(0, 0, 0.2, 1);
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
.swiper-slide:first-child:not(.cdk-drag-disabled)
|
|
181
|
+
{
|
|
182
|
+
.img {
|
|
183
|
+
border: solid var(--primaryColor);
|
|
184
|
+
border-radius: 8px;
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
.default-image {
|
|
188
|
+
visibility: visible !important;
|
|
189
|
+
text-align: center;
|
|
190
|
+
font: normal normal normal 14px/25px var(--fontName-text03);
|
|
191
|
+
letter-spacing: 0.22px;
|
|
192
|
+
color: var(--gray04);;
|
|
193
|
+
opacity: 1;
|
|
194
|
+
}
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
.swiper-wrapper.cdk-drop-list-dragging .swiper-slide:not(.cdk-drag-placeholder) {
|
|
198
|
+
transition: transform 250ms cubic-bezier(0, 0, 0.2, 1);
|
|
199
|
+
}
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
.swiper-container {
|
|
203
|
+
width: 100%;
|
|
204
|
+
overflow-y: hidden;
|
|
205
|
+
overflow-x: hidden;
|
|
206
|
+
}
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
.cdk-drag-preview,
|
|
210
|
+
.cdk-drag-dragging {
|
|
211
|
+
&.swiper-slide {
|
|
212
|
+
.default-image{
|
|
213
|
+
visibility: hidden;
|
|
214
|
+
}
|
|
215
|
+
button {
|
|
216
|
+
visibility: hidden;
|
|
217
|
+
}
|
|
218
|
+
}
|
|
219
|
+
}
|
|
220
|
+
}
|