aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/MapBox/MapAnchorMenu.scss
blob: 2175762036862cfde4743091b4d03bcce65f689b (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
.anchorMenu-addTag {
    display: grid;
    width: 200px;
    padding: 5px;
    grid-template-columns: 90px 20px 90px;
}
.anchorMenu-highlighter {
    padding-right: 5px;
    .antimodeMenu-button {
        padding: 0px;
        padding: 0px;
        padding-right: 0px;
        padding-left: 0px;
        width: 5px;
    }
}
.anchor-color-preview-button {
    width: 25px !important;
    .anchor-color-preview {
        display: flex;
        flex-direction: column;
        padding-right: 3px;
        width: unset !important;
        .color-preview {
            width: 60%;
            top: 80%;
            height: 4px;
            position: relative;
            top: unset;
            width: 15px;
            margin-top: 5px;
            display: block;
        }
    }
}

.color-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;

    button.color-button {
        width: 20px;
        height: 20px;
        border-radius: 15px !important;
        margin: 3px;
        border: 2px solid transparent !important;
        padding: 3px;

        &.active {
            border: 2px solid white;
        }
    }
}

.map-anchor-menu-container {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 5px;
    height: max-content;
    min-width: 300px;

    .direction-inputs {
        display: flex;
        flex-direction: column;
        gap: 5px;

        #get-routes-button {
            padding: 8px 10px;
            border-radius: 5px;
        }
    }

    .MuiInputBase-input {
        color: white !important;
    }

    .css-1t8l2tu-MuiInputBase-input-MuiOutlinedInput-input.Mui-disabled {
        -webkit-text-fill-color: #b3b2b2 !important;
    }

    .current-route-info-container {
        width: 100%;

        .transportation-icons-container {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 5px;
        }

        .selected-route-details-container {
            display: flex;
            flex-direction: column;
            gap: 3px;
            justify-content: center;
            align-items: flex-start;
            padding: 5px;
        }
    }

    .customized-marker-container {
        display: flex;
        flex-direction: column;
        gap: 10px;

        .current-marker-container {
            display: flex;
            align-items: center;
            gap: 5px;
        }

        .all-markers-container {
            display: flex;
            align-items: center;
            gap: 10px;
            flex-wrap: wrap;
            max-width: 400px;
        }
    }
}