aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/collections/CollectionViewChromes.scss
blob: f39bd877a02f1d36b38bebb4b4a3bc67a50b4b2c (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
159
160
161
162
163
164
165
166
167
168
169
170
171
172
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
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
@import "../globalCssVariables";
@import '~js-datepicker/dist/datepicker.min.css';

.collectionViewChrome-cont {
    position: relative;
    opacity: 0.9;
    z-index: 9001;
    transition: top .5s;
    background: lightgrey;

    .collectionViewChrome {
        display: grid;
        grid-template-columns: 1fr auto;
        padding-bottom: 10px;
        border-bottom: .5px solid rgb(180, 180, 180);
        overflow: hidden;

        .collectionViewBaseChrome {
            display: flex;

            .collectionViewBaseChrome-viewPicker {
                font-size: 75%;
                text-transform: uppercase;
                letter-spacing: 2px;
                background: rgb(238, 238, 238);
                color: grey;
                outline-color: black;
                border: none;
                padding: 12px 10px 11px 10px;
                margin-left: 50px;
            }

            .collectionViewBaseChrome-viewPicker:active {
                outline-color: black;
            }

            .collectionViewBaseChrome-collapse {
                transition: all .5s, opacity 0.3s;
                position: absolute;
                width: 40px;
                transform-origin: top left;
                // margin-top: 10px;
            }
            .collectionViewBaseChrome-template {
                margin-left: 10px;
                display: grid;
                background: rgb(238, 238, 238);
                color:grey;
                margin-top:auto;
                margin-bottom:auto;
            }

            .collectionViewBaseChrome-viewSpecs {
                margin-left: 10px;
                display: grid;

                .collectionViewBaseChrome-viewSpecsInput {
                    padding: 12px 10px 11px 10px;
                    border: 0px;
                    color: grey;
                    text-align: center;
                    letter-spacing: 2px;
                    outline-color: black;
                    font-size: 75%;
                    background: rgb(238, 238, 238);
                    height: 100%;
                    width: 150px;
                }

                .collectionViewBaseChrome-viewSpecsMenu {
                    overflow: hidden;
                    transition: height .5s, display .5s;
                    position: absolute;
                    top: 60px;
                    z-index: 100;
                    display: flex;
                    flex-direction: column;
                    background: rgb(238, 238, 238);
                    box-shadow: grey 2px 2px 4px;

                    .qs-datepicker {
                        left: unset;
                        right: 0;
                    }

                    .collectionViewBaseChrome-viewSpecsMenu-row {
                        display: grid;
                        grid-template-columns: 150px 200px 150px;
                        margin-top: 10px;
                        margin-right: 10px;

                        .collectionViewBaseChrome-viewSpecsMenu-rowLeft,
                        .collectionViewBaseChrome-viewSpecsMenu-rowMiddle,
                        .collectionViewBaseChrome-viewSpecsMenu-rowRight {
                            font-size: 75%;
                            letter-spacing: 2px;
                            color: grey;
                            margin-left: 10px;
                            padding: 5px;
                            border: none;
                            outline-color: black;
                        }
                    }

                    .collectionViewBaseChrome-viewSpecsMenu-lastRow {
                        display: grid;
                        grid-template-columns: 1fr 1fr 1fr;
                        grid-gap: 10px;
                        margin: 10px;
                    }
                }
            }
        }


        .collectionStackingViewChrome-cont,
        .collectionTreeViewChrome-cont {
            display: flex;
            justify-content: space-between;
        }

        .collectionStackingViewChrome-sort,
        .collectionTreeViewChrome-sort {
            display: flex;
            align-items: center;
            justify-content: space-between;

            .collectionStackingViewChrome-sortIcon,
            .collectionTreeViewChrome-sortIcon {
                transition: transform .5s;
                margin-left: 10px;
            }
        }

        button:hover {
            transform: scale(1);
        }


        .collectionStackingViewChrome-sectionFilter-cont,
        .collectionTreeViewChrome-sectionFilter-cont {
            justify-self: right;
            display: flex;
            font-size: 75%;
            letter-spacing: 2px;

            .collectionStackingViewChrome-sectionFilter-label,
            .collectionTreeViewChrome-sectionFilter-label {
                vertical-align: center;
                padding: 10px;
            }

            .collectionStackingViewChrome-sectionFilter,
            .collectionTreeViewChrome-sectionFilter {
                color: white;
                width: 100px;
                text-align: center;
                background: rgb(238, 238, 238);

                .editable-view-input,
                input,
                .editableView-container-editing-oneLine,
                .editableView-container-editing {
                    padding: 12px 10px 11px 10px;
                    border: 0px;
                    color: grey;
                    text-align: center;
                    letter-spacing: 2px;
                    outline-color: black;
                    height: 100%;
                }

                .react-autosuggest__container {
                    margin: 0;
                    color: grey;
                    padding: 0px;
                }
            }
        }

        .collectionStackingViewChrome-sectionFilter:hover,
        .collectionTreeViewChrome-sectionFilter:hover {
            cursor: text;
        }
    }
}

.collectionSchemaViewChrome-cont {
    display: flex;
    font-size: 10.5px;

    .collectionSchemaViewChrome-toggle {
        display: flex;
        margin-left: 10px;
    }

    .collectionSchemaViewChrome-label {
        text-transform: uppercase;
        letter-spacing: 2px;
        margin-right: 5px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .collectionSchemaViewChrome-toggler {
        width: 100px;
        height: 41px;
        background-color: black;
        position: relative;
    }

    .collectionSchemaViewChrome-togglerButton {
        width: 47px;
        height: 35px;
        background-color: $light-color-secondary;
        // position: absolute;
        transition: all 0.5s ease;
        // top: 3px;
        margin-top: 3px;
        color: gray;
        letter-spacing: 2px;
        text-transform: uppercase;
        display: flex;
        flex-direction: column;
        justify-content: center;
        text-align: center;

        &.on {
            margin-left: 3px;
        }

        &.off {
            margin-left: 50px;
        }
    }
}