aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/collections/collectionLinear/CollectionLinearView.scss
blob: 0053d3e60b6d00fe172d7de9b926c20542bf295e (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
118
119
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
@use '../../global/globalCssVariables.module.scss' as global;
// bcz fix   @import '../../_nodeModuleOverrides';

.collectionLinearView {
    width: 100%;
}
.collectionLinearView-label {
    color: black;
    background-color: global.$light-gray;
    width: 100%;
}
.collectionLinearView-outer {
    overflow: visible;
    height: 100%;
    pointer-events: none;

    .collectionLinearView-menuOpener {
        user-select: none;
    }

    // > input:not(:checked) ~ &.true {
    //     background-color: transparent;
    // }

    .collectionLinearView {
        display: flex;
        height: 100%;
        align-items: center;

        .collectionView {
            overflow: visible !important;
        }

        > span {
            background: global.$dark-gray;
            color: global.$white;
            border-radius: 18px;
            margin-right: 6px;
            cursor: pointer;
        }

        .audio-title:hover {
            text-decoration: underline;
        }

        .bottomPopup-background {
            background: global.$medium-blue;
            display: flex;
            border-radius: 10px;
            height: 35px;
            transform: translate3d(6px, 0px, 0px);
            align-content: center;
            justify-content: center;
            align-items: center;
        }

        .bottomPopup-text {
            color: global.$white;
            display: inline;
            white-space: nowrap;
            padding-left: 8px;
            padding-right: 20px;
            vertical-align: middle;
            font-size: 12.5px;
            pointer-events: all;
        }

        .bottomPopup-descriptions {
            cursor: pointer;
            display: inline;
            white-space: nowrap;
            padding-left: 8px;
            padding-right: 8px;
            vertical-align: middle;
            background-color: global.$light-gray;
            border-radius: 3px;
            color: black;
            margin-right: 5px;
        }

        .bottomPopup-exit {
            cursor: pointer;
            display: inline;
            white-space: nowrap;
            margin-right: 10px;
            padding-left: 8px;
            padding-right: 8px;
            vertical-align: middle;
            background-color: global.$close-red;
            border-radius: 3px;
            color: black;
        }

        > label {
            pointer-events: all;
            cursor: pointer;
            background-color: global.$medium-blue;
            padding: 5px;
            border-radius: 2px;
            height: 100%;
            min-width: 25px;
            margin: 0px;
            color: global.$white;
            display: flex;
            font-weight: 100;
            transition: transform 0.2s;
            align-items: center;
            justify-content: center;
            transition: 0.2s;

            &:hover {
                filter: brightness(0.85);
            }
        }

        > input {
            display: none;
        }

        > input:not(:checked) ~ .collectionLinearView-content {
            display: none;
        }

        > input:checked ~ label {
            transform: rotate(45deg);
            transition: transform 0.5s;
            cursor: pointer;
        }

        .collectionLinearView-content {
            display: flex;
            opacity: 1;
            position: relative;

            .collectionLinearView-docBtn,
            .collectionLinearView-docBtn-scalable {
                position: relative;
                margin: auto;
                transform-origin: center 80%;
            }

            .collectionLinearView-docBtn-scalable:hover {
                transform: scale(1.15);
            }

            .collectionLinearView-round-button {
                width: 18px;
                height: 18px;
                border-radius: 18px;
                font-size: 15px;
            }

            .collectionLinearView-round-button:hover {
                transform: scale(1.15);
            }
        }
    }
}