aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/collections/MapView/CollectionMapView.scss
blob: 0dc226c0467b324e841bc4636eed1a5cd0f5abe4 (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
.collectionMapView {
    width: 100%;
    height: 100%;
    overflow: hidden;

    .collectionMapView-contents {
        width: 100%;
        height: 100%;
        overflow: hidden;
        > div {
            position: unset !important; // when the sidebar filter flys out, this prevents the map from extending outside the document box
        }

        .map-wrapper {
            .searchbox {
                box-sizing: border-box;
                border: 1px solid transparent;
                width: 300px;
                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;
                margin-top: 5px;
            }
        }
    }
}

.loadingWrapper {
    width: 100%;
    height: 100%;
    background-color: pink;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;

    .loadingGif {
        align-self: center;
        justify-self: center;
        width: 50px;
        height: 50px;
    }
}