aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/newlightbox/RecommendationList/RecommendationList.scss
blob: 40dd47e472d637c60bc538cb313cbce029401bbe (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
117
@import '../NewLightboxStyles.scss';

.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: $gray-l1;
      border-radius: 0px 0px 20px 20px;
    }

    .header {
      top: 0px;
      position: sticky;
      background: $gray-l1;
      border-bottom: $standard-border;
      border-color: $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: $text-color-lm;

      .lb-label {
        color: $gray-l3;
        font-weight: $h1-weight;
        font-size: $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: $body-size;
      }

      .more {
        width: 100%;
      }

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

      .title {
        height: 30px;
        min-height: 30px;
        font-size: $h1-size;
        font-weight: $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: $gray-l2;
          outline: none;
          border: none;
          height: 21.5px;
          color: $text-color-lm;
        }

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

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

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