-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathstyle.css
More file actions
94 lines (87 loc) · 1.73 KB
/
style.css
File metadata and controls
94 lines (87 loc) · 1.73 KB
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
/*
* @license
* Copyright 2025 Google LLC. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0
*/
/* [START maps_map_drawing_terradraw] */
html,
body {
height: 100%;
margin: 0;
padding: 0;
font-family: Arial, sans-serif;
}
#map {
height: 100%;
width: 100%;
}
#mode-ui {
position: absolute;
top: 10px;
right: 10px;
background: white;
padding: 10px;
border-radius: 5px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
z-index: 1000;
display: flex;
flex-direction: column;
}
#mode-ui button {
margin: 5px 0;
cursor: pointer;
}
.mode-button {
width: 30px;
height: 30px;
border: 1px solid #ccc;
background-color: white;
padding: 2px;
box-sizing: border-box;
}
.mode-button img {
width: 100%;
height: 100%;
display: block;
user-select: none;
}
/* Active state for shape modes */
.mode-button.active {
background-color: #e0e0e0; /* light grey */
}
/* Special buttons default state */
#select-mode,
#clear-mode,
#delete-selected-button,
#undo-button,
#redo-button,
#export-button,
#upload-button,
#resize-button {
background-color: #000000;
}
/* Special buttons icon default state */
#select-mode img,
#clear-mode img,
#delete-selected-button img,
#undo-button img,
#redo-button img,
#export-button img,
#upload-button img,
#resize-button img {
filter: brightness(0) invert(1);
}
/* Special buttons active/click states */
#select-mode.active {
background-color: #A9A9A9; /* dark grey */
}
#clear-mode:active,
#delete-selected-button:active,
#undo-button:active,
#redo-button:active,
#export-button:active,
#upload-button:active,
#resize-button.active {
background-color: #A9A9A9; /* dark grey */
}
/* [END maps_map_drawing_terradraw] */