document.component.scss 7.14 KB
Newer Older
Alex ORLUC's avatar
Alex ORLUC committed
1
2
@import '../../css/vars.scss';

Alex ORLUC's avatar
Alex ORLUC committed
3
.enterApp {
4
5
6
7
8
9
10
11
12
    position: fixed;
    height: 100vh;
    width: 100vw;
    background-color: $primary;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
Alex ORLUC's avatar
Alex ORLUC committed
13
14
15
}

.maarchLogo {
16
17
18
19
20
    position: absolute;
    transition: all 1s ease-in-out;
    width: 250px;
    height: auto;
    padding-bottom: 10px;
Alex ORLUC's avatar
Alex ORLUC committed
21
22
}

Alex ORLUC's avatar
Alex ORLUC committed
23
.mainView {
24
25
26
27
28
    height: 100%;
    width: auto;
    display: flex;
    flex-direction: column;
    overflow: hidden;
Alex ORLUC's avatar
Alex ORLUC committed
29
30
31
}

.header button {
32
33
    height: 70px;
    width: auto;
Alex ORLUC's avatar
Alex ORLUC committed
34
35
36
}

.header button mat-icon {
37
38
39
    height: auto;
    width: auto;
    font-size: 40px;
Alex ORLUC's avatar
Alex ORLUC committed
40
41
42
}

.article {
43
44
45
46
47
48
49
50
51
    display: flex;
    justify-content: center;
    overflow: hidden;
    flex: 1;
    //transition: all 0.2s;
    top: 0;
    left: 0;
    //padding-top: 90px;
    //padding-bottom: 120px;
Alex ORLUC's avatar
Alex ORLUC committed
52
53
54
}

.canvas-wrapper {
55
56
    position: relative;
    padding-bottom: 120px;
Alex ORLUC's avatar
Alex ORLUC committed
57
58
59
60
}

canvas {

61
62
    margin: 0 auto;
    display: block;
Alex ORLUC's avatar
Alex ORLUC committed
63
64
}

Alex ORLUC's avatar
Alex ORLUC committed
65
.header {
66
67
68
69
70
71
72
73
74
75
    position: absolute;
    z-index: 1;
    width: 100%;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;

    /*&-left
Alex ORLUC's avatar
Alex ORLUC committed
76
77
78
      position absolute
      top 15px
      left -60px*/
79
80
81
82
83
84
85
86
87
88
    &-action {
        justify-content: center;
        display: flex;
        color: $primary;

        &-button {
            white-space: initial;
            word-break: break-word;
            width: 135px !important;
        }
89
    }
90

91
92
93
94
95
96
    &-infos {
        background: #F1F4F4;
        border-radius: 5px;
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
97
        width: 100%;
98
99
100
101
102
        padding-top: 12px;
        padding-bottom: 7px;
        position: relative;
        overflow-y: hidden;
        overflow-x: auto;
103
104
    }

105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
    &-info {
        border-right: 1px solid #979797;
        width: 200px;
        height: 60px;
        font-size: 12px;
        padding-left: 20px;

        &:last-of-type {
            border: none;
        }

        p {
            margin: 0;
            padding: 0;
        }
120
121
    }

122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
    &-expand {
        width: 70%;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        top: 25px;
        border: solid 1px #F1F4F4;

        .mat-form-field {
            padding-top: 10px;
        }

        ::ng-deep.mat-expansion-panel {
            box-shadow: none;
        }

        ::ng-deep.mat-form-field-label {
            color: $primary;
        }

        ::ng-deep .mat-form-field-underline {
            display: none;
        }

        &-content {
            width: 33%;
            display: inline-block;

            input {
                text-overflow: ellipsis;
            }

            .mat-form-field {
                width: 100%;
            }
        }

        input:disabled {
            opacity: 1;
            color: #666;
        }

        div {
            flex: 1;
            font-size: 12px;
        }
168
    }
Alex ORLUC's avatar
Alex ORLUC committed
169
170
171
}


Alex ORLUC's avatar
Alex ORLUC committed
172
.page {
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
    &-info {
        position: absolute;
        bottom: 70px;
        height: 30px;
        width: auto;
        max-width: 70%;
        color: rgba(var(--ion-color-dark-rgb), 0.8);
        font-size: 12px;
        font-weight: 300;
        line-height: 30px;
        display: flex;
        align-items: center;
        justify-content: center;
        opacity: 0.5;
        left: 50%;
        transform: translateX(-50%);
        font-weight: 500;
        transition: all 0.3s ease-in-out;


        &-doc {
            max-width: 80%;
            background-color: #F1F4F4;
            border-radius: 14px;
            padding: 0 20px;
            z-index: 1;
            white-space: pre;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        &-page {
            cursor: pointer;
            text-align: center;
            border-radius: 0 14px 14px 0;
            padding: 0 20px;
            background: #fff;
            border: 1px solid #ECF0F1;
            margin-left: -15px;
            height: 28px;
            white-space: pre;
            display: flex;
            align-items: center;
        }
Alex ORLUC's avatar
Alex ORLUC committed
217
    }
218

219
220
    &-info:hover {
        opacity: 1;
Alex ORLUC's avatar
Alex ORLUC committed
221
222
223
224
    }
}

.btn-next {
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
    color: #666;
    background: #c6c6c680;
    border-radius: 20px;
    padding: 10px;
    border: none;
    outline: none;
    position: absolute;
    right: 25px;
    top: 50%;
    cursor: pointer;
    z-index: 1;

    &.disabled {
        cursor: not-allowed;
    }
Alex ORLUC's avatar
Alex ORLUC committed
240
}
241

Alex ORLUC's avatar
Alex ORLUC committed
242
.btn-previous {
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
    color: #666;
    background: #c6c6c680;
    border-radius: 20px;
    padding: 10px;
    border: none;
    outline: none;
    position: absolute;
    left: 25px;
    top: 50%;
    cursor: pointer;
    z-index: 1;

    &.disabled {
        cursor: not-allowed;
    }
Alex ORLUC's avatar
Alex ORLUC committed
258
259
260
}

button.disabled {
261
    cursor: not-allowed;
Alex ORLUC's avatar
Alex ORLUC committed
262
263
264
}

.overlay {
265
266
267
268
269
270
271
    position: absolute;
    z-index: 1;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
Alex ORLUC's avatar
Alex ORLUC committed
272
273
274
}

.pdf-page-canvas {
275
276
    opacity: 1;
    transition: 0.5s opacity ease-in;
Alex ORLUC's avatar
Alex ORLUC committed
277
278
279
}

.pdf-page-canvas-loading-doc {
280
    opacity: 0;
Alex ORLUC's avatar
Alex ORLUC committed
281
282
283
284
}


.ellipsis {
285
286
287
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
288
289
290
}

.leftPosDesk {
291
    left: 25% !important;
292
293
294
}

.mat-badge-content {
295
    background: $warn;
296
297
298
}

.substutionModal {
299
300
    color: white;
    background: $primary;
301

302
303
304
    div {
        padding: 10px;
    }
305

306
307
308
309
    .msgModal {
        text-align: center;
        flex: 1;
    }
Damien's avatar
Damien committed
310
311
312
}

.substitutedInformations {
313
314
315
316
317
318
319
320
321
322
323
    top: 85px;
    z-index: 1;
    white-space: pre;
    overflow: hidden;
    text-overflow: ellipsis;
    background:
        #135F7F;
    color:
        white;
    font-size: 13px;
    text-align: center;
324
325
326
}

.note {
327
328
329
330
331
    top: 40px;
    right: 40px;
    z-index: 2;
    cursor: grab;
    position: absolute;
332
    background-color: #FFF8BB;
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
    width: 300px;
    max-height: 400px;
    overflow: auto;
    box-shadow: 0px 2px 1px -1px rgba(0, 0, 0, 0.2), 0px 1px 1px 0px rgba(0, 0, 0, 0.14), 0px 1px 3px 0px rgba(0, 0, 0, 0.12);

    &-title {
        background-color: #FFF8BB;
        position: sticky;
        top: 0px;
        display: flex;
        align-items: center;
        padding: 10px;
        color: #135F7F;
        font-weight: bold;
    }
348

349
350
351
352
353
354
355
356
357
358
359
    &-creator {
        padding: 10px;
        color: #135F7F;
        font-size: 12px;
        text-decoration: underline;
    }

    &-content {
        padding: 0 10px 10px 10px;
        color: #4F4F4F;
    }
360
361
362
}

.footer-buttons {
363
364
365
366
367
368
    display: grid;
    padding: 10px;
    ion-button {
        margin: auto;
        width: 150px;
    }
369
370
371
}

.paginate-left {
372
373
374
375
376
377
    position: absolute;
    top: 40%;
    left: 20px;
    transform: translateY(-50%);
    --background: #c6c6c680;
    --color: #666;
378
379
380
}

.paginate-right {
381
382
383
384
385
386
387
388
389
390
391
392
393
394
    position: absolute;
    top: 40%;
    right: 20px;
    transform: translateY(-50%);
    --background: #c6c6c680;
    --color: #666;
}

.certified {
    position: absolute;
    top: 10px;
    left: 10px;
    border: solid 1px var(--ion-color-success);
    color: var(--ion-color-success);
395
396
397
}

::ng-deep .popover-class {
Hamza HRAMCHI's avatar
Hamza HRAMCHI committed
398
399
400
    .popover-content{
            height: 50%;
            top: 50px;
401
    }
Hamza HRAMCHI's avatar
Hamza HRAMCHI committed
402
403
404
405
406
}

::ng-deep .custom-popover-class {
    .popover-class {
        height: 10%;
407
408
409
        top: 50px;
    }
}
410
411
412
413

::ng-deep.popover-viewport.sc-ion-popover-md {
    overflow: auto;
}