Repository navigation
Expand file tree
/
Copy pathactivity-add-photo.component.scss
More file actions
105 lines (92 loc) · 1.98 KB
/
Copy pathactivity-add-photo.component.scss
File metadata and controls
105 lines (92 loc) · 1.98 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
.add-photo-area {
display: flex;
flex-wrap: wrap;
gap: 5vw;
justify-content: center;
.add-photo-container {
display: flex;
flex-direction: column;
.photo-box {
width: 200px;
height: 150px;
position: relative;
background-color: white;
border: none;
box-shadow: var(--box-shadow);
border-radius: 8px;
transition: all 0.2s ease;
&:hover {
cursor: pointer;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}
.fa-solid {
font-size: 5rem;
color: var(--primary-light-color);
}
.fa-plus {
font-size: 2.5rem;
position: absolute;
top: 0.5rem;
left: 1rem;
}
img {
width: 100%;
height: auto;
object-fit: cover;
border-radius: 8px;
max-height: 100%;
}
.add-photo {
margin: 12px 0 0 0;
}
}
.input-import-image {
display: none;
}
.remove-photo-btn {
position: absolute;
z-index: 2;
top: 6px;
right: 6px;
display: flex;
align-items: center;
justify-content: center;
width: 24px;
height: 24px;
background: red;
color: white;
border: none;
border-radius: 50%;
font-size: 16px;
line-height: 1;
cursor: pointer;
transition: background 0.2s ease;
&:hover {
background: darkred;
}
}
}
.modal-container ::ng-deep .p-dialog-header .p-dialog-title {
font-family: var(--font-family-big-medium-title);
font-size: var(--font-size-medium-title);
font-weight: 400 !important;
.existing-photos {
display: flex;
justify-content: center;
align-items: center;
flex-wrap: wrap;
gap: 10px;
height: 40vh;
width: 40vw;
overflow-y: auto;
padding: 10px;
}
::ng-deep .p-dialog {
border-radius: 12px;
}
::ng-deep .cropper-modal {
width: 800px;
height: 800px;
}
}
}