aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/MapBox/MapBox.scss
blob: 4fae8d8ffeb8128b7816ab9722a3223e7f1b4b07 (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
.mapBox {
        width: 100%;
        height: 100%;
        overflow: hidden;
        display: flex;
        > div {
            position: unset !important; // when the sidebar filter flys out, this prevents the map from extending outside the document box
        }

        .mapBox-wrapper {
            width: 100%;
            .searchbox {
                box-sizing: border-box;
                border: 1px solid transparent;
                width: 240px;
                height: 32px;
                padding: 0 12px;
                border-radius: 3px;
                box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
                font-size: 14px;
                outline: none;
                text-overflow: ellipses;
                position: absolute;
                left: 50%;
                margin-left: -120px;
            }
        }

        .mapBox-sidebar-handle {
            position: absolute !important;
            top: 0;
            //top: calc(50% - 17.5px);  // use this to center vertically -- make sure it looks okay for slide views
            width: 10px;
            height: 100%;
            max-height: 35px;
            background: lightgray;
            border-radius: 20px;
            cursor:grabbing;
        }
}