@propbinder/mobile-design 0.2.47 → 0.2.50
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/ng-package.json +24 -0
- package/package.json +3 -39
- package/src/animations/page-transitions.ts +165 -0
- package/src/assets/fonts/brockmann-mediumitalic-webfont.woff2 +0 -0
- package/src/assets/fonts/brockmann-regularitalic-webfont.woff2 +0 -0
- package/src/assets/fonts/brockmann-semibolditalic-webfont.woff2 +0 -0
- package/src/components/action-list-item/ds-mobile-action-list-item.ts +102 -0
- package/src/components/action-list-item/index.ts +2 -0
- package/src/components/app-icon/ds-app-icon.ts +133 -0
- package/src/components/app-icon/index.ts +2 -0
- package/src/components/attachment-preview/ds-mobile-attachment-preview.css +139 -0
- package/src/components/attachment-preview/ds-mobile-attachment-preview.ts +164 -0
- package/src/components/attachment-preview/index.ts +1 -0
- package/src/components/avatar-with-badge/ds-avatar-with-badge.ts +142 -0
- package/src/components/avatar-with-badge/index.ts +2 -0
- package/src/components/booking-modal/ds-mobile-booking-confirmation-wrapper.ts +71 -0
- package/src/components/booking-modal/ds-mobile-booking-modal.service.ts +121 -0
- package/src/components/booking-modal/ds-mobile-booking-modal.ts +598 -0
- package/src/components/booking-modal/ds-mobile-booking-summary.ts +161 -0
- package/src/components/booking-modal/index.ts +4 -0
- package/src/components/bottom-sheet/ds-mobile-actions-bottom-sheet.ts +266 -0
- package/src/components/bottom-sheet/ds-mobile-bottom-sheet-header.ts +146 -0
- package/src/components/bottom-sheet/ds-mobile-bottom-sheet-wrapper.ts +156 -0
- package/src/components/bottom-sheet/ds-mobile-bottom-sheet.css +101 -0
- package/src/components/bottom-sheet/ds-mobile-bottom-sheet.service.ts +169 -0
- package/src/components/bottom-sheet/ds-mobile-confirmation-sheet.ts +211 -0
- package/src/components/bottom-sheet/ds-mobile-post-create-bottom-sheet.ts +578 -0
- package/src/components/bottom-sheet/ds-mobile-profile-actions-sheet.ts +614 -0
- package/src/components/bottom-sheet/index.ts +8 -0
- package/src/components/bottom-sheet/modal-shadow-fix.ts +42 -0
- package/src/components/card-inline/ds-mobile-card-inline.ts +301 -0
- package/src/components/card-inline/index.ts +2 -0
- package/src/components/card-inline-banner/ds-mobile-card-inline-banner.ts +118 -0
- package/src/components/card-inline-banner/index.ts +1 -0
- package/src/components/card-inline-contact/ds-mobile-card-inline-contact.ts +120 -0
- package/src/components/card-inline-contact/index.ts +1 -0
- package/src/components/card-inline-file/ds-mobile-card-inline-file.ts +141 -0
- package/src/components/card-inline-file/index.ts +1 -0
- package/src/components/chat-modal/ds-mobile-chat-modal.css +159 -0
- package/src/components/chat-modal/ds-mobile-chat-modal.service.ts +105 -0
- package/src/components/chat-modal/ds-mobile-chat-modal.ts +918 -0
- package/src/components/chat-modal/index.ts +8 -0
- package/src/components/comment/ds-mobile-comment.ts +568 -0
- package/src/components/comment/index.ts +2 -0
- package/src/components/contact-list-item/ds-mobile-contact-list-item.ts +182 -0
- package/src/components/contact-list-item/index.ts +2 -0
- package/src/components/content/ds-mobile-content.ts +139 -0
- package/src/components/content/index.ts +2 -0
- package/src/components/dropdown/ds-mobile-dropdown.css +199 -0
- package/src/components/dropdown/ds-mobile-dropdown.ts +340 -0
- package/src/components/dropdown/index.ts +2 -0
- package/src/components/ds-mobile-tabs.css +407 -0
- package/src/components/ds-mobile-tabs.ts +216 -0
- package/src/components/empty-state/ds-mobile-empty-state.ts +120 -0
- package/src/components/empty-state/index.ts +2 -0
- package/src/components/fab/ds-mobile-fab.ts +315 -0
- package/src/components/fab/index.ts +1 -0
- package/src/components/facility-creation-modal/ds-mobile-facility-creation-confirmation-wrapper.ts +121 -0
- package/src/components/facility-creation-modal/ds-mobile-facility-creation-modal.css +189 -0
- package/src/components/facility-creation-modal/ds-mobile-facility-creation-modal.service.ts +135 -0
- package/src/components/facility-creation-modal/ds-mobile-facility-creation-modal.ts +656 -0
- package/src/components/facility-creation-modal/index.ts +9 -0
- package/src/components/facility-creation-modal/sheets/ds-mobile-access-sheet.ts +105 -0
- package/src/components/facility-creation-modal/sheets/ds-mobile-price-sheet.ts +188 -0
- package/src/components/facility-creation-modal/sheets/ds-mobile-when-can-book-sheet.ts +460 -0
- package/src/components/facility-creation-modal/sheets/ds-mobile-who-can-book-sheet.ts +134 -0
- package/src/components/facility-detail-modal/ds-mobile-facility-detail-modal.service.ts +69 -0
- package/src/components/facility-detail-modal/ds-mobile-facility-detail-modal.ts +379 -0
- package/src/components/facility-detail-modal/index.ts +2 -0
- package/src/components/file-attachment/ds-mobile-file-attachment.ts +164 -0
- package/src/components/file-attachment/index.ts +2 -0
- package/src/components/handbook-detail-modal/ds-mobile-handbook-detail-modal.css +214 -0
- package/src/components/handbook-detail-modal/ds-mobile-handbook-detail-modal.service.ts +84 -0
- package/src/components/handbook-detail-modal/ds-mobile-handbook-detail-modal.ts +424 -0
- package/src/components/handbook-detail-modal/index.ts +3 -0
- package/src/components/handbook-folder/ds-mobile-handbook-folder-mini.ts +175 -0
- package/src/components/handbook-folder/ds-mobile-handbook-folder.ts +533 -0
- package/src/components/handbook-folder/index.ts +4 -0
- package/src/components/header-content/ds-mobile-header-content.ts +222 -0
- package/src/components/header-content/index.ts +2 -0
- package/src/components/illustration/ds-mobile-illustration.ts +124 -0
- package/src/components/illustration/index.ts +2 -0
- package/src/components/index.ts +124 -0
- package/src/components/inline-photo/ds-mobile-inline-photo.ts +361 -0
- package/src/components/inline-photo/index.ts +1 -0
- package/src/components/inline-tabs/ds-mobile-inline-tabs.ts +132 -0
- package/src/components/inline-tabs/index.ts +2 -0
- package/src/components/interactive-list-item-booking/ds-mobile-interactive-list-item-booking.ts +350 -0
- package/src/components/interactive-list-item-booking/index.ts +1 -0
- package/src/components/interactive-list-item-inquiry/ds-mobile-interactive-list-item-inquiry.ts +321 -0
- package/src/components/interactive-list-item-inquiry/index.ts +2 -0
- package/src/components/interactive-list-item-message/ds-mobile-interactive-list-item-message.ts +237 -0
- package/src/components/interactive-list-item-message/index.ts +2 -0
- package/src/components/interactive-list-item-post/ds-mobile-interactive-list-item-post.ts +549 -0
- package/src/components/interactive-list-item-post/ds-mobile-post-pdf-attachment.ts +124 -0
- package/src/components/interactive-list-item-post/index.ts +13 -0
- package/src/components/lightbox/ds-mobile-lightbox-footer.ts +315 -0
- package/src/components/lightbox/ds-mobile-lightbox-header.ts +202 -0
- package/src/components/lightbox/ds-mobile-lightbox-image.ts +484 -0
- package/src/components/lightbox/ds-mobile-lightbox-pdf.css +377 -0
- package/src/components/lightbox/ds-mobile-lightbox-pdf.ts +374 -0
- package/src/components/lightbox/ds-mobile-lightbox.css +587 -0
- package/src/components/lightbox/ds-mobile-lightbox.service.ts +296 -0
- package/src/components/lightbox/ds-mobile-lightbox.ts +529 -0
- package/src/components/lightbox/index.ts +22 -0
- package/src/components/list-item/ds-mobile-list-item.ts +603 -0
- package/src/components/list-item/index.ts +2 -0
- package/src/components/list-item-static/ds-mobile-list-item-static.ts +133 -0
- package/src/components/list-item-static/index.ts +2 -0
- package/src/components/loader-overlay/ds-mobile-loader-overlay.css +49 -0
- package/src/components/loader-overlay/ds-mobile-loader-overlay.ts +77 -0
- package/src/components/loader-overlay/index.ts +1 -0
- package/src/components/logo/ds-logo.ts +95 -0
- package/src/components/logo/index.ts +2 -0
- package/src/components/message-bubble/ds-mobile-message-bubble.ts +633 -0
- package/src/components/message-bubble/index.ts +7 -0
- package/src/components/message-composer/ds-mobile-message-composer.ts +1146 -0
- package/src/components/message-composer/index.ts +7 -0
- package/src/components/modal/ds-mobile-modal.css +163 -0
- package/src/components/modal/ds-mobile-modal.service.ts +329 -0
- package/src/components/modal/index.ts +8 -0
- package/src/components/modal-base/ds-mobile-modal-base.css +378 -0
- package/src/components/modal-base/ds-mobile-modal-base.ts +261 -0
- package/src/components/modal-base/index.ts +2 -0
- package/src/components/new-inquiry-modal/ds-mobile-new-inquiry-modal.css +112 -0
- package/src/components/new-inquiry-modal/ds-mobile-new-inquiry-modal.service.ts +93 -0
- package/src/components/new-inquiry-modal/ds-mobile-new-inquiry-modal.ts +442 -0
- package/src/components/new-inquiry-modal/index.ts +4 -0
- package/src/components/offline-banner/ds-mobile-offline-banner.ts +135 -0
- package/src/components/offline-banner/index.ts +1 -0
- package/src/components/page-details/ds-mobile-page-details.css +83 -0
- package/src/components/page-details/ds-mobile-page-details.ts +282 -0
- package/src/components/page-details/index.ts +2 -0
- package/src/components/page-main/ds-mobile-page-main.css +68 -0
- package/src/components/page-main/ds-mobile-page-main.ts +421 -0
- package/src/components/page-main/index.ts +2 -0
- package/src/components/post-composer/ds-mobile-post-composer.ts +140 -0
- package/src/components/post-composer/index.ts +2 -0
- package/src/components/post-detail-modal/ds-mobile-post-detail-modal.css +390 -0
- package/src/components/post-detail-modal/ds-mobile-post-detail-modal.service.ts +108 -0
- package/src/components/post-detail-modal/ds-mobile-post-detail-modal.ts +722 -0
- package/src/components/post-detail-modal/index.ts +9 -0
- package/src/components/property-banner/ds-mobile-property-banner.ts +95 -0
- package/src/components/property-banner/index.ts +2 -0
- package/src/components/section/ds-mobile-section.ts +263 -0
- package/src/components/section/index.ts +2 -0
- package/src/components/shared/directives/index.ts +2 -0
- package/src/components/shared/directives/long-press.directive.ts +212 -0
- package/src/components/shared/index.ts +3 -0
- package/src/components/shared/mobile-modal-base.ts +457 -0
- package/src/components/shared/mobile-page-base.ts +204 -0
- package/src/components/swiper/ds-mobile-swiper-with-nav.ts +160 -0
- package/src/components/swiper/ds-mobile-swiper.ts +327 -0
- package/src/components/swiper/index.ts +3 -0
- package/src/components/system-message-banner/ds-mobile-system-message-banner.ts +129 -0
- package/src/components/system-message-banner/index.ts +2 -0
- package/src/components/tab-bar/ds-mobile-tab-bar.css +533 -0
- package/src/components/tab-bar/ds-mobile-tab-bar.ts +735 -0
- package/src/components/tab-bar/index.ts +2 -0
- package/src/components/tabs/ds-mobile-tabs.css +25 -0
- package/src/components/tabs/ds-mobile-tabs.ts +89 -0
- package/src/components/tabs/index.ts +2 -0
- package/src/components/text-input/ds-text-input.ts +287 -0
- package/src/components/text-input/index.ts +2 -0
- package/src/examples/booking.page.ts +434 -0
- package/src/examples/community.page.ts +776 -0
- package/src/examples/handbook.page.ts +324 -0
- package/src/examples/home.page.ts +347 -0
- package/src/examples/index.ts +12 -0
- package/src/examples/inquiries.example.ts +273 -0
- package/src/examples/inquiry-detail.example.css +189 -0
- package/src/examples/inquiry-detail.example.ts +415 -0
- package/src/examples/mobile-tabs-example.component.ts +208 -0
- package/src/examples/post-create.page.ts +311 -0
- package/src/examples/post-detail.page.ts +296 -0
- package/src/examples/sign-in.page.ts +291 -0
- package/src/examples/whitelabel-demo-modal.component.ts +1094 -0
- package/src/examples/whitelabel-demo-modal.service.ts +77 -0
- package/src/models/index.ts +7 -0
- package/src/models/post.model.ts +41 -0
- package/src/pages/community.page.ts +769 -0
- package/src/pages/handbook.page.ts +388 -0
- package/src/pages/home.page.ts +303 -0
- package/src/pages/index.ts +11 -0
- package/src/pages/inquiries.example.ts +273 -0
- package/src/pages/inquiry-detail.example.css +189 -0
- package/src/pages/inquiry-detail.example.ts +415 -0
- package/src/pages/mobile-tabs-example.component.ts +179 -0
- package/src/pages/post-create.page.ts +311 -0
- package/src/pages/post-detail.page.ts +296 -0
- package/src/pages/sign-in.page.ts +291 -0
- package/src/pages/whitelabel-demo-modal.component.ts +1094 -0
- package/src/pages/whitelabel-demo-modal.service.ts +77 -0
- package/src/public-api.ts +6 -0
- package/src/services/base-modal.service.ts +101 -0
- package/src/services/index.ts +11 -0
- package/src/services/posts.service.ts +542 -0
- package/src/services/tracking-permission.service.ts +88 -0
- package/src/services/user.service.ts +60 -0
- package/src/services/whitelabel.service.ts +675 -0
- package/{styles → src/styles}/ionic.css +25 -0
- package/tsconfig.lib.json +17 -0
- package/tsconfig.lib.prod.json +9 -0
- package/tsconfig.spec.json +13 -0
- package/fesm2022/propbinder-mobile-design.mjs +0 -26136
- package/fesm2022/propbinder-mobile-design.mjs.map +0 -1
- package/index.d.ts +0 -8154
- /package/{assets → src/assets}/fonts/Brockmann-Bold.otf +0 -0
- /package/{assets → src/assets}/fonts/Brockmann-BoldItalic.otf +0 -0
- /package/{assets → src/assets}/fonts/Brockmann-Medium.otf +0 -0
- /package/{assets → src/assets}/fonts/Brockmann-MediumItalic.otf +0 -0
- /package/{assets → src/assets}/fonts/Brockmann-Regular.otf +0 -0
- /package/{assets → src/assets}/fonts/Brockmann-RegularItalic.otf +0 -0
- /package/{assets → src/assets}/fonts/Brockmann-SemiBold.otf +0 -0
- /package/{assets → src/assets}/fonts/Brockmann-SemiBoldItalic.otf +0 -0
- /package/{assets → src/assets}/fonts/Brockmann_desktop_license.pdf +0 -0
- /package/{assets → src/assets}/fonts/brockmann-medium-webfont.woff2 +0 -0
- /package/{assets → src/assets}/fonts/brockmann-regular-webfont.woff2 +0 -0
- /package/{assets → src/assets}/fonts/brockmann-semibold-webfont.woff2 +0 -0
- /package/{styles → src/components/shared}/mobile-common.css +0 -0
- /package/{styles → src/components/shared}/mobile-page-base.css +0 -0
|
@@ -0,0 +1,377 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Mobile Lightbox PDF Viewer Styles
|
|
3
|
+
* PDF preview and native viewer launcher
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
@import '../shared/mobile-common.css';
|
|
7
|
+
|
|
8
|
+
:host {
|
|
9
|
+
display: block;
|
|
10
|
+
height: 100%;
|
|
11
|
+
width: 100%;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
/* ============================================
|
|
15
|
+
CONTENT AREA
|
|
16
|
+
============================================ */
|
|
17
|
+
.lightbox-content.pdf-viewer {
|
|
18
|
+
--background: #000000;
|
|
19
|
+
background: #000000;
|
|
20
|
+
display: block;
|
|
21
|
+
height: 100vh;
|
|
22
|
+
width: 100vw;
|
|
23
|
+
position: absolute;
|
|
24
|
+
top: 0;
|
|
25
|
+
left: 0;
|
|
26
|
+
right: 0;
|
|
27
|
+
bottom: 0;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.lightbox-content.pdf-viewer::part(scroll) {
|
|
31
|
+
display: flex;
|
|
32
|
+
flex-direction: column;
|
|
33
|
+
height: 100%;
|
|
34
|
+
overflow: hidden;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.lightbox-wrapper {
|
|
38
|
+
position: absolute;
|
|
39
|
+
top: 0;
|
|
40
|
+
left: 0;
|
|
41
|
+
right: 0;
|
|
42
|
+
bottom: 0;
|
|
43
|
+
display: flex;
|
|
44
|
+
flex-direction: column;
|
|
45
|
+
width: 100%;
|
|
46
|
+
height: 100%;
|
|
47
|
+
background: #000000;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
/* ============================================
|
|
51
|
+
HEADER (SHARED STYLES)
|
|
52
|
+
============================================ */
|
|
53
|
+
.lightbox-header {
|
|
54
|
+
position: fixed;
|
|
55
|
+
top: 0;
|
|
56
|
+
left: 0;
|
|
57
|
+
right: 0;
|
|
58
|
+
z-index: 1000;
|
|
59
|
+
padding: 12px 16px;
|
|
60
|
+
display: flex;
|
|
61
|
+
flex-direction: column;
|
|
62
|
+
gap: 8px;
|
|
63
|
+
background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 80%, transparent 100%);
|
|
64
|
+
pointer-events: none;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
.header-actions {
|
|
68
|
+
display: flex;
|
|
69
|
+
align-items: center;
|
|
70
|
+
justify-content: space-between;
|
|
71
|
+
gap: 8px;
|
|
72
|
+
pointer-events: auto;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
.share-button,
|
|
76
|
+
.close-button {
|
|
77
|
+
pointer-events: auto;
|
|
78
|
+
flex-shrink: 0;
|
|
79
|
+
border-radius: 50%;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.share-button::ng-deep button,
|
|
83
|
+
.close-button::ng-deep button {
|
|
84
|
+
color: white !important;
|
|
85
|
+
background: rgba(255, 255, 255, 0.1) !important;
|
|
86
|
+
border-radius: 50%;
|
|
87
|
+
transition: background 0.2s ease;
|
|
88
|
+
border: none;
|
|
89
|
+
width: 36px !important;
|
|
90
|
+
height: 36px !important;
|
|
91
|
+
min-width: 36px !important;
|
|
92
|
+
min-height: 36px !important;
|
|
93
|
+
padding: 0 !important;
|
|
94
|
+
display: flex !important;
|
|
95
|
+
align-items: center !important;
|
|
96
|
+
justify-content: center !important;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
.share-button::ng-deep button:hover,
|
|
100
|
+
.close-button::ng-deep button:hover {
|
|
101
|
+
background: rgba(255, 255, 255, 0.15) !important;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
.share-button::ng-deep button:disabled {
|
|
105
|
+
opacity: 0.5 !important;
|
|
106
|
+
cursor: not-allowed !important;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
.share-button::ng-deep svg,
|
|
110
|
+
.close-button::ng-deep svg {
|
|
111
|
+
color: white !important;
|
|
112
|
+
fill: white !important;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
/* Safe area support for notched devices */
|
|
116
|
+
@supports (padding-top: env(safe-area-inset-top)) {
|
|
117
|
+
.lightbox-header {
|
|
118
|
+
padding-top: calc(16px + env(safe-area-inset-top));
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
/* ============================================
|
|
123
|
+
PDF CONTAINER
|
|
124
|
+
============================================ */
|
|
125
|
+
.pdf-container {
|
|
126
|
+
position: absolute;
|
|
127
|
+
top: 0;
|
|
128
|
+
left: 0;
|
|
129
|
+
right: 0;
|
|
130
|
+
bottom: 0;
|
|
131
|
+
display: flex;
|
|
132
|
+
flex-direction: column;
|
|
133
|
+
align-items: center;
|
|
134
|
+
justify-content: center;
|
|
135
|
+
padding: 100px 24px 24px;
|
|
136
|
+
overflow-y: auto;
|
|
137
|
+
-webkit-overflow-scrolling: touch;
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
/* ============================================
|
|
141
|
+
PDF CONTENT (Aligned with post-pdf-attachment)
|
|
142
|
+
============================================ */
|
|
143
|
+
.pdf-content {
|
|
144
|
+
display: flex;
|
|
145
|
+
flex-direction: column;
|
|
146
|
+
align-items: center;
|
|
147
|
+
justify-content: center;
|
|
148
|
+
text-align: center;
|
|
149
|
+
max-width: 400px;
|
|
150
|
+
width: 100%;
|
|
151
|
+
gap: 16px;
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
/* Match the red avatar color from post-pdf-attachment */
|
|
155
|
+
.pdf-content::ng-deep .avatar--icon {
|
|
156
|
+
background-color: #ff5757 !important;
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
.pdf-title {
|
|
160
|
+
font-family: 'Brockmann', sans-serif;
|
|
161
|
+
font-size: var(--font-size-xl);
|
|
162
|
+
font-weight: 600;
|
|
163
|
+
line-height: 1.3;
|
|
164
|
+
letter-spacing: -0.3px;
|
|
165
|
+
color: white;
|
|
166
|
+
margin: 0;
|
|
167
|
+
word-break: break-word;
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
.pdf-meta {
|
|
171
|
+
font-family: 'Brockmann', sans-serif;
|
|
172
|
+
font-size: var(--font-size-sm);
|
|
173
|
+
font-weight: 400;
|
|
174
|
+
line-height: 1.2;
|
|
175
|
+
letter-spacing: -0.26px;
|
|
176
|
+
color: rgba(255, 255, 255, 0.6);
|
|
177
|
+
text-transform: uppercase;
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
.open-pdf-button {
|
|
181
|
+
margin-top: 16px;
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
/* Style the open button to match the footer action buttons */
|
|
185
|
+
.open-pdf-button::ng-deep button {
|
|
186
|
+
background: rgba(255, 255, 255, 0.1) !important;
|
|
187
|
+
border: 1px solid rgba(255, 255, 255, 0.2) !important;
|
|
188
|
+
border-radius: 100px !important;
|
|
189
|
+
color: white !important;
|
|
190
|
+
backdrop-filter: blur(10px);
|
|
191
|
+
-webkit-backdrop-filter: blur(10px);
|
|
192
|
+
transition: all 0.2s ease;
|
|
193
|
+
padding: 16px 16px !important;
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
.open-pdf-button::ng-deep button:hover {
|
|
197
|
+
background: rgba(255, 255, 255, 0.2) !important;
|
|
198
|
+
transform: scale(1.02);
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
.open-pdf-button::ng-deep button:active {
|
|
202
|
+
transform: scale(0.98);
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
/* ============================================
|
|
206
|
+
LOADING STATE
|
|
207
|
+
============================================ */
|
|
208
|
+
.loading-state {
|
|
209
|
+
display: flex;
|
|
210
|
+
flex-direction: column;
|
|
211
|
+
align-items: center;
|
|
212
|
+
justify-content: center;
|
|
213
|
+
gap: 20px;
|
|
214
|
+
padding: 40px;
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
.loading-state ion-spinner {
|
|
218
|
+
--color: rgba(255, 255, 255, 0.8);
|
|
219
|
+
width: 48px;
|
|
220
|
+
height: 48px;
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
.loading-state p {
|
|
224
|
+
font-family: 'Brockmann', sans-serif;
|
|
225
|
+
font-size: var(--font-size-base);
|
|
226
|
+
font-weight: 500;
|
|
227
|
+
color: rgba(255, 255, 255, 0.8);
|
|
228
|
+
margin: 0;
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
/* ============================================
|
|
232
|
+
ERROR STATE
|
|
233
|
+
============================================ */
|
|
234
|
+
.error-state {
|
|
235
|
+
display: flex;
|
|
236
|
+
flex-direction: column;
|
|
237
|
+
align-items: center;
|
|
238
|
+
justify-content: center;
|
|
239
|
+
text-align: center;
|
|
240
|
+
padding: 40px;
|
|
241
|
+
max-width: 400px;
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
.error-state svg {
|
|
245
|
+
color: rgba(255, 100, 100, 0.8);
|
|
246
|
+
margin-bottom: 24px;
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
.error-state h3 {
|
|
250
|
+
font-family: 'Brockmann', sans-serif;
|
|
251
|
+
font-size: var(--font-size-xl);
|
|
252
|
+
font-weight: 600;
|
|
253
|
+
color: white;
|
|
254
|
+
margin: 0 0 12px 0;
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
.error-state p {
|
|
258
|
+
font-family: 'Brockmann', sans-serif;
|
|
259
|
+
font-size: var(--font-size-base);
|
|
260
|
+
font-weight: 400;
|
|
261
|
+
line-height: 1.5;
|
|
262
|
+
color: rgba(255, 255, 255, 0.7);
|
|
263
|
+
margin: 0 0 24px 0;
|
|
264
|
+
}
|
|
265
|
+
|
|
266
|
+
.retry-button {
|
|
267
|
+
padding: 12px 24px;
|
|
268
|
+
background: rgba(255, 255, 255, 0.1);
|
|
269
|
+
border: 1px solid rgba(255, 255, 255, 0.2);
|
|
270
|
+
border-radius: 8px;
|
|
271
|
+
color: white;
|
|
272
|
+
font-family: 'Brockmann', sans-serif;
|
|
273
|
+
font-size: var(--font-size-sm);
|
|
274
|
+
font-weight: 600;
|
|
275
|
+
cursor: pointer;
|
|
276
|
+
transition: all 0.2s ease;
|
|
277
|
+
}
|
|
278
|
+
|
|
279
|
+
.retry-button:hover {
|
|
280
|
+
background: rgba(255, 255, 255, 0.15);
|
|
281
|
+
border-color: rgba(255, 255, 255, 0.3);
|
|
282
|
+
}
|
|
283
|
+
|
|
284
|
+
/* ============================================
|
|
285
|
+
AUTHOR INFO
|
|
286
|
+
============================================ */
|
|
287
|
+
.pdf-author-info {
|
|
288
|
+
position: fixed;
|
|
289
|
+
bottom: 20px;
|
|
290
|
+
left: 20px;
|
|
291
|
+
right: 20px;
|
|
292
|
+
display: flex;
|
|
293
|
+
align-items: center;
|
|
294
|
+
gap: 12px;
|
|
295
|
+
padding: 16px;
|
|
296
|
+
background: rgba(0, 0, 0, 0.7);
|
|
297
|
+
border-radius: 12px;
|
|
298
|
+
backdrop-filter: blur(10px);
|
|
299
|
+
-webkit-backdrop-filter: blur(10px);
|
|
300
|
+
z-index: 50;
|
|
301
|
+
}
|
|
302
|
+
|
|
303
|
+
.author-details {
|
|
304
|
+
display: flex;
|
|
305
|
+
flex-direction: column;
|
|
306
|
+
gap: 2px;
|
|
307
|
+
min-width: 0;
|
|
308
|
+
flex: 1;
|
|
309
|
+
}
|
|
310
|
+
|
|
311
|
+
/* Author styles inherit from mobile-common.css with lightbox overrides */
|
|
312
|
+
.author-name {
|
|
313
|
+
color: white;
|
|
314
|
+
}
|
|
315
|
+
|
|
316
|
+
.author-meta {
|
|
317
|
+
color: rgba(255, 255, 255, 0.7);
|
|
318
|
+
}
|
|
319
|
+
|
|
320
|
+
.author-meta .separator {
|
|
321
|
+
color: rgba(255, 255, 255, 0.5);
|
|
322
|
+
}
|
|
323
|
+
|
|
324
|
+
/* Safe area support */
|
|
325
|
+
@supports (padding-bottom: env(safe-area-inset-bottom)) {
|
|
326
|
+
.pdf-author-info {
|
|
327
|
+
bottom: calc(20px + env(safe-area-inset-bottom));
|
|
328
|
+
}
|
|
329
|
+
|
|
330
|
+
.pdf-container {
|
|
331
|
+
padding-bottom: calc(120px + env(safe-area-inset-bottom));
|
|
332
|
+
}
|
|
333
|
+
}
|
|
334
|
+
|
|
335
|
+
/* ============================================
|
|
336
|
+
DESKTOP STYLES
|
|
337
|
+
============================================ */
|
|
338
|
+
@media (min-width: 768px) {
|
|
339
|
+
.lightbox-header {
|
|
340
|
+
padding: 24px;
|
|
341
|
+
}
|
|
342
|
+
|
|
343
|
+
.pdf-container {
|
|
344
|
+
padding: 120px 40px 40px;
|
|
345
|
+
}
|
|
346
|
+
|
|
347
|
+
.pdf-title {
|
|
348
|
+
font-size: var(--font-size-3xl);
|
|
349
|
+
}
|
|
350
|
+
|
|
351
|
+
.pdf-description {
|
|
352
|
+
font-size: var(--font-size-base);
|
|
353
|
+
}
|
|
354
|
+
|
|
355
|
+
.open-pdf-button {
|
|
356
|
+
padding: 18px 40px;
|
|
357
|
+
font-size: var(--font-size-lg);
|
|
358
|
+
}
|
|
359
|
+
}
|
|
360
|
+
|
|
361
|
+
/* ============================================
|
|
362
|
+
ACCESSIBILITY
|
|
363
|
+
============================================ */
|
|
364
|
+
@media (prefers-reduced-motion: reduce) {
|
|
365
|
+
.open-pdf-button,
|
|
366
|
+
.retry-button {
|
|
367
|
+
transition: none;
|
|
368
|
+
}
|
|
369
|
+
}
|
|
370
|
+
|
|
371
|
+
/* Focus visible for keyboard navigation */
|
|
372
|
+
.open-pdf-button:focus-visible,
|
|
373
|
+
.retry-button:focus-visible {
|
|
374
|
+
outline: 2px solid white;
|
|
375
|
+
outline-offset: 2px;
|
|
376
|
+
}
|
|
377
|
+
|