aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/newlightbox/RecommendationList/RecommendationList.scss
blob: 99c935e0c97b314bb6251d3b6521b5bd0b021de2 (plain)
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
106
107
108
109
110
111
112
113
114
115
116
@use '../NewLightboxStyles.scss' as newstyles;

.recommendationlist-container {
    height: calc(100% - 40px);
    margin: 20px;
    border-radius: 20px;
    overflow-y: scroll;

    .recommendations {
        height: fit-content;
        padding: 20px;
        display: flex;
        flex-direction: column;
        gap: 20px;
        background: newstyles.$gray-l1;
        border-radius: 0px 0px 20px 20px;
    }

    .header {
        top: 0px;
        position: sticky;
        background: newstyles.$gray-l1;
        border-bottom: newstyles.$standard-border;
        border-color: newstyles.$gray-l2;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        border-radius: 20px 20px 0px 0px;
        padding: 20px;
        z-index: 2;
        gap: 10px;
        color: newstyles.$text-color-lm;

        .lb-label {
            color: newstyles.$gray-l3;
            font-weight: newstyles.$h1-weight;
            font-size: newstyles.$body-size;
        }

        .lb-caret {
            display: flex;
            flex-direction: row;
            justify-content: flex-end;
            align-items: center;
            gap: 5px;
            cursor: pointer;
            width: 100%;
            user-select: none;
            font-size: newstyles.$body-size;
        }

        .more {
            width: 100%;
        }

        &.dark {
            color: newstyles.$text-color-dm;
        }

        .title {
            height: 30px;
            min-height: 30px;
            font-size: newstyles.$h1-size;
            font-weight: newstyles.$h1-weight;
            text-align: left;
            display: flex;
            justify-content: space-between;
            align-items: center;
            width: 100%;
        }

        .keywords {
            display: flex;
            flex-flow: row wrap;
            gap: 5px;

            .keyword-input {
                padding: 3px 7px;
                background: newstyles.$gray-l2;
                outline: none;
                border: none;
                height: 21.5px;
                color: newstyles.$text-color-lm;
            }

            .keyword {
                padding: 3px 7px;
                width: fit-content;
                background: newstyles.$gray-l2;
                display: flex;
                justify-content: center;
                align-items: center;
                flex-direction: row;
                gap: 10px;
                font-size: newstyles.$body-size;
                font-weight: newstyles.$body-weight;

                &.loading {
                    animation: skeleton-loading-l2 1s linear infinite alternate;
                    min-width: 70px;
                    height: 21.5px;
                }
            }
        }
    }

    &.dark {
        background: newstyles.$black;
    }

    &.light,
    &.default {
        background: newstyles.$gray-l1;
    }
}