aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/collections/collectionGrid/CollectionGridView.scss
blob: b95d3ea446702b46adb1ca5fd2cf595f6afe34fe (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
.collectionGridView-contents {
    display: flex;
    overflow: hidden;
    width: 100%;
    height: 100%;
    flex-direction: column;

    .collectionGridView-gridContainer {
        height: 100%;
        overflow-y: auto;
        overflow-x: hidden;

        display: flex;
        flex-direction: row;

        .document-wrapper:hover {
            z-index: 2000;
        }

        .react-grid-layout {
            width: 100%;
        }

        .react-grid-item > .react-resizable-handle {
            z-index: 4; // doesn't work on prezi otherwise
        }

        .react-grid-item > .react-resizable-handle::after {
            // grey so it can be seen on the audiobox
            border-right: 2px solid slategrey;
            border-bottom: 2px solid slategrey;
        }

        .rowHeightSlider {
            -webkit-appearance: none;
            appearance: none;
            width: 100%;
            height: 15px;
            background: #d3d3d3;

            position: absolute;
            height: 3px;
            left: 5px;
            transform-origin: left;
            transform: rotate(90deg);
            outline: none;
            opacity: 0.7;
        }

        .rowHeightSlider:hover {
            opacity: 1;
        }

        .rowHeightSlider::-webkit-slider-thumb {
            -webkit-appearance: none;
            appearance: none;
            width: 10px;
            height: 10px;
            border-radius: 50%;
            background: darkgrey;
            opacity: 1;
        }

        .rowHeightSlider::-moz-range-thumb {
            width: 10px;
            height: 10px;
            border-radius: 50%;
            background: darkgrey;
            opacity: 1;
        }
    }

    .collectionGridView-addDocumentButton {
        display: flex;
        overflow: hidden;
        margin: auto;
        width: 90%;
        cursor: text;
        min-height: 30px;
        max-height: 30px;
        font-size: 75%;
        letter-spacing: 2px;

        .editableView-input {
            outline-color: black;
            letter-spacing: 2px;
            color: grey;
            border: 0px;
            padding: 12px 10px 11px 10px;
        }

        .editableView-container-editing,
        .editableView-container-editing-oneLine {
            display: flex;
            align-items: center;
            flex-direction: row;
            height: 20px;

            width: 100%;
            color: grey;
            padding: 10px;

            span::before,
            span::after {
                content: '';
                width: 50%;
                position: relative;
                display: inline-block;
            }

            span::before {
                margin-right: 10px;
            }

            span::after {
                margin-left: 10px;
            }

            span {
                position: relative;
                text-align: center;
                white-space: nowrap;
                overflow: visible;
                display: flex;
                color: gray;
                align-items: center;
            }
        }
    }
}

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0px;
}

/* Firefox */
input[type='number'] {
    -moz-appearance: textfield;
}