avm99963 | f0d1521 | 2017-10-08 17:03:22 +0200 | [diff] [blame] | 1 | html, body { |
| 2 | margin: 0; |
| 3 | width: 100%; |
| 4 | height: 100%; |
| 5 | background-color: #060606; |
| 6 | color: white; |
| 7 | -webkit-tap-highlight-color: rgba(0, 0, 0, 0); |
| 8 | user-select: none!important; |
| 9 | font-family: 'Roboto'; |
| 10 | } |
| 11 | |
| 12 | #graf { |
| 13 | width: 100%; |
| 14 | height: 100%; |
| 15 | } |
| 16 | |
| 17 | #dialog { |
| 18 | position: absolute; |
| 19 | top: 0px; |
| 20 | left: 0px; |
| 21 | width: 300px; |
| 22 | height: 100%; |
| 23 | background-color: white; |
| 24 | color: black; |
| 25 | z-index: 120; |
| 26 | overflow-y: auto; |
| 27 | } |
| 28 | |
| 29 | #backdrop { |
| 30 | display: none; |
| 31 | position: absolute; |
| 32 | top: 0; |
| 33 | left: 0; |
| 34 | width: 100%; |
| 35 | height: 100%; |
| 36 | background-color: rgba(0, 0, 0, .5); |
| 37 | z-index: 110; |
| 38 | } |
| 39 | |
avm99963 | 44d4ea5 | 2018-09-26 17:06:06 +0200 | [diff] [blame] | 40 | #dialog-vertex, #dialog-edge{ |
| 41 | padding: 8px; |
| 42 | user-select: auto; |
avm99963 | f0d1521 | 2017-10-08 17:03:22 +0200 | [diff] [blame] | 43 | } |
| 44 | |
avm99963 | 44d4ea5 | 2018-09-26 17:06:06 +0200 | [diff] [blame] | 45 | #dialog h2 { |
| 46 | font-weight: bold; |
| 47 | font-size: 20px; |
| 48 | } |
| 49 | |
| 50 | #dialog h3 { |
| 51 | font-weight: bold; |
| 52 | font-size: 16px; |
| 53 | margin-bottom: 0; |
| 54 | } |
| 55 | |
| 56 | #quit-dialog, #quit2-dialog { |
| 57 | position: absolute; |
| 58 | top: 8px; |
| 59 | right: 8px; |
| 60 | } |
| 61 | |
| 62 | #min-dialog, #max-dialog { |
| 63 | position: absolute; |
| 64 | top: 8px; |
| 65 | right: 48px; |
| 66 | } |
| 67 | |
| 68 | #min-dialog { |
| 69 | display: none; |
| 70 | } |
| 71 | |
| 72 | #summary-dialog { |
| 73 | position: absolute; |
| 74 | top: 0px; |
| 75 | left: 0px; |
| 76 | width: 100%; |
| 77 | height: 100px; |
| 78 | background-color: white; |
| 79 | color: black; |
| 80 | z-index: 120; |
| 81 | } |
| 82 | |
| 83 | #summary-vertex { |
| 84 | padding: 8px; |
| 85 | user-select: auto; |
| 86 | } |
| 87 | |
| 88 | #summary-dialog h2 { |
| 89 | font-weight: bold; |
| 90 | font-size: 20px; |
| 91 | margin: 0; |
avm99963 | f0d1521 | 2017-10-08 17:03:22 +0200 | [diff] [blame] | 92 | } |
| 93 | |
avm99963 | a00c43e | 2018-09-26 20:16:07 +0200 | [diff] [blame] | 94 | #search { |
Huguet57 | 23a7afe | 2018-07-23 03:29:35 +0200 | [diff] [blame] | 95 | position: absolute; |
| 96 | right: 10px; |
| 97 | bottom: 110px; |
| 98 | z-index: 100; |
| 99 | } |
| 100 | |
avm99963 | f0d1521 | 2017-10-08 17:03:22 +0200 | [diff] [blame] | 101 | #zoomin { |
| 102 | position: absolute; |
| 103 | right: 10px; |
| 104 | bottom: 60px; |
| 105 | z-index: 100; |
| 106 | } |
| 107 | |
| 108 | #zoomout { |
| 109 | position: absolute; |
| 110 | right: 10px; |
| 111 | bottom: 10px; |
| 112 | z-index: 100; |
| 113 | } |
| 114 | |
avm99963 | a00c43e | 2018-09-26 20:16:07 +0200 | [diff] [blame] | 115 | /** |
| 116 | * MD search box |
| 117 | */ |
| 118 | .md-google-search__metacontainer { |
| 119 | position: absolute; |
| 120 | top: 10px; |
| 121 | height: 48px; |
| 122 | width: 100%; |
| 123 | z-index: 100; |
| 124 | } |
| 125 | |
| 126 | .md-google-search__container { |
| 127 | display: block; |
| 128 | margin-left: auto; |
| 129 | margin-right: auto; |
| 130 | height: 48px; |
| 131 | width: Calc(100% - 66px); |
| 132 | max-width: 720px; |
| 133 | white-space: nowrap; |
| 134 | } |
| 135 | |
| 136 | .md-google-search { |
| 137 | height: 48px; |
| 138 | background-color: rgba(245,245,245,1); |
| 139 | border: 1px solid rgba(0,0,0,0); |
| 140 | -webkit-border-radius: 4px; |
| 141 | border-radius: 4px; |
| 142 | max-width: 720px; |
| 143 | position: relative; |
| 144 | -webkit-transition: background-color 100ms ease-in,width 100ms ease-out; |
| 145 | transition: background-color 100ms ease-in,width 100ms ease-out; |
| 146 | } |
| 147 | |
| 148 | .md-google-search:focus-within { |
| 149 | border: 1px solid rgba(0,0,0,0.45); |
| 150 | background-color: rgba(255,255,255,1); |
| 151 | -webkit-box-shadow: 0 1px 1px rgba(255,255,255,.5); |
| 152 | box-shadow: 0 1px 1px rgba(255,255,255,.5); |
| 153 | } |
| 154 | |
| 155 | .md-google-search__search-btn { |
| 156 | float: left; |
| 157 | background: none; |
| 158 | border: none; |
| 159 | opacity: .54; |
| 160 | outline: none; |
| 161 | padding: 0 4px; |
| 162 | line-height: 0; |
| 163 | color: #212121; |
| 164 | } |
| 165 | |
| 166 | .md-google-search__search-btn svg, .md-google-search__empty-btn svg { |
| 167 | padding: 7px; |
| 168 | margin: 4px; |
| 169 | } |
| 170 | |
| 171 | .md-google-search__field-container { |
| 172 | height: 46px; |
| 173 | padding: 0 11px; |
| 174 | margin-right: 48px; |
| 175 | } |
| 176 | |
| 177 | .md-google-search__field { |
| 178 | border: none; |
| 179 | font: normal 16px Roboto,sans-serif; |
| 180 | height: 24px; |
| 181 | outline: none; |
| 182 | padding: 11px 0 11px 16px; |
| 183 | width: 100%; |
| 184 | background: transparent; |
| 185 | } |
| 186 | |
| 187 | .md-google-search__empty-btn { |
| 188 | position: absolute; |
| 189 | right: 0; |
| 190 | top: 0; |
| 191 | background: none; |
| 192 | border: none; |
| 193 | opacity: .54; |
| 194 | outline: none; |
| 195 | padding: 0 4px; |
| 196 | line-height: 0; |
| 197 | color: #212121; |
| 198 | cursor: pointer; |
| 199 | } |
| 200 | |
| 201 | /** |
| 202 | * Search Box Autocomplete |
| 203 | */ |
| 204 | |
| 205 | .autocomplete-container{ |
| 206 | z-index: 110; |
| 207 | position: absolute; |
| 208 | top: 60px; |
| 209 | width: 100%; |
| 210 | } |
| 211 | |
| 212 | .autocomplete-items { |
| 213 | display: block; |
| 214 | margin-left: auto; |
| 215 | margin-right: auto; |
| 216 | width: Calc(100% - 66px); |
| 217 | max-width: 720px; |
| 218 | background-color: white; |
| 219 | color: black; |
| 220 | box-shadow: 0 2px 5px 0 rgba(255,255,255,0.258824),0 2px 10px 0 rgba(255,255,255,0.156863) !important; |
| 221 | } |
| 222 | |
| 223 | .autocomplete-item { |
| 224 | font-size: 16px; |
| 225 | padding: 12px 14px; |
| 226 | cursor: pointer; |
| 227 | } |
| 228 | |
| 229 | .autocomplete-item:hover, .autocomplete-active { |
| 230 | background: #eee; |
| 231 | } |
| 232 | |
| 233 | .autocomplete-year { |
| 234 | color: #222; |
| 235 | } |
| 236 | |
avm99963 | f0d1521 | 2017-10-08 17:03:22 +0200 | [diff] [blame] | 237 | @media (max-width: 700px) { |
| 238 | #dialog { |
| 239 | width: Calc(100% - 32px)!important; |
| 240 | height: Calc(100% - 32px)!important; |
| 241 | margin: 16px; |
| 242 | } |
| 243 | |
| 244 | #backdrop { |
| 245 | display: block; |
| 246 | } |
| 247 | |
| 248 | #min-dialog { |
| 249 | display: block!important; |
| 250 | } |
avm99963 | f0d1521 | 2017-10-08 17:03:22 +0200 | [diff] [blame] | 251 | } |