view www/search.css @ 2769:e39dc8ee9e4a

Minor code cleanups, remove useless counting.
author Matti Hamalainen <ccr@tnsp.org>
date Wed, 13 Mar 2024 13:51:40 +0200
parents 943a3e20f1e8
children
line wrap: on
line source


#error {
  font-size: 2em;
  text-align: center;
  color: red;
  background: black;
  padding: 1em;
}

.help {
  color: red;
  background: black;
  padding: 0.5em;
}

.help b {
	color: yellow;
}

h2 {
  font-size: 0.75em;
  margin: 0.2em;
}

#mapInfo {
}

#locSearchBox, #mapSearchBox, #resultsBox {
  background: #454;
  vertical-align: top;
  border-radius: 0.3em;
  padding: 0.5em;
  margin-top: 0.25em;
  margin-bottom: 0.25em;
}

#mapSearchBox, #resultsBox {
  display: inline-block;
  min-width: 35%;
}

#resultsBox {
}

div.result1 {
  color: yellow;
}

div.result2 {
  margin: auto;
}


#controls {
  text-align: right;
}

#controls button {
  padding-left: 1em;
  padding-right: 1em;
  padding-top: 0.25em;
  padding-bottom: 0.25em;
  margin: 0.25em;
  margin-top: 0.5em;
}

#mapList {
  margin-top: 1em;
  margin-bottom: 0.5em;
  display: block;
}

#mapList .map + label {
  display: inline;
  padding: 0.5em;
  margin: 0.15em;
  border-radius: 0.2em;
  color: black;
  background: #565;
  text-align: right;
  user-select: none;
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  box-shadow: 1px 1px 1px #000;
}

#mapList .map {
  display: none;
}

#mapList .map:checked + label {
  color: white;
  background: #c62;
  text-decoration: underline;
}