ulogger-server/css/main.css

460 lines
7.9 KiB
CSS
Raw Normal View History

2017-01-30 21:36:44 +01:00
/* μlogger
2013-06-19 13:27:14 +02:00
*
2017-01-30 21:36:44 +01:00
* Copyright(C) 2017 Bartek Fabiszewski (www.fabiszewski.net)
2013-06-19 13:27:14 +02:00
*
* This is free software; you can redistribute it and/or modify it under
2017-04-07 00:05:28 +02:00
* the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or
2013-06-19 13:27:14 +02:00
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* General Public License for more details.
*
2017-04-07 00:05:28 +02:00
* You should have received a copy of the GNU General Public License
* along with this program; if not, see <http://www.gnu.org/licenses/>.
2013-06-19 13:27:14 +02:00
*/
2017-04-09 23:35:55 +02:00
2013-06-19 13:27:14 +02:00
html {
height: 100%;
}
body {
height: 100%;
margin: 0;
padding: 0;
background-color: #666;
}
a {
color: #bce;
text-decoration: none;
cursor: pointer;
2013-06-19 13:27:14 +02:00
}
:link, :visited {
color: #bce;
}
select {
width: 150px;
font-weight: normal;
padding-top: 0.2em;
}
2013-06-23 00:17:28 +02:00
#menu input,
#login input {
2013-06-19 13:27:14 +02:00
width: 150px;
text-align: center;
border: 1px solid black;
}
2013-06-23 00:17:28 +02:00
#menu input[type = "submit"],
#login input[type = "submit"] {
2013-06-19 13:27:14 +02:00
background-color: black;
color: white;
border: 1px solid white;
}
2013-06-23 00:17:28 +02:00
#menu input[type = "checkbox"] {
2013-06-19 13:27:14 +02:00
width: auto;
}
2019-06-29 12:54:32 +02:00
.menu-link {
2017-04-14 17:24:09 +02:00
display: block;
margin-top: .2em;
}
2013-06-19 13:27:14 +02:00
#main {
height: 100%;
margin-right: 165px;
}
#map-canvas {
height: 100%;
}
#menu {
2017-04-15 13:41:21 +02:00
font-family: 'Open Sans', Verdana, sans-serif;
-moz-osx-font-smoothing: grayscale;
-webkit-font-smoothing: antialiased;
font-size: 0.7em;
2013-06-19 13:27:14 +02:00
font-weight: bold;
color: white;
float: right;
width: 165px;
height: 100%;
background-color: #666;
2017-04-14 19:40:29 +02:00
overflow-x: hidden;
overflow-y: auto;
2013-06-19 13:27:14 +02:00
}
#menu-content {
2017-04-14 19:40:29 +02:00
padding: 10px 0 3em 10px;
2013-06-19 13:27:14 +02:00
}
#footer {
position: fixed;
bottom:0;
2017-04-14 19:40:29 +02:00
width: 165px;
line-height: 3em;
padding-left: 10px;
2013-06-26 19:58:55 +02:00
background-color:rgba(102, 102, 102, 0.9);
2013-06-19 13:27:14 +02:00
color: lightgray;
}
2013-06-26 19:58:55 +02:00
#menu-close {
background-color: #666;
opacity: 0.9;
position: absolute;
top: 55px;
right: 165px;
z-index: 1900;
width: 18px;
height: 20px;
line-height: 18px;
text-align: right;
font-size: 18px;
font-weight: bolder;
border-radius: 11px 0 0 11px;
cursor: pointer;
}
label[for=user] {
padding-top: 1em;
display: block;
}
.section {
2013-06-19 13:27:14 +02:00
padding-bottom: 10px;
display: block;
}
.section:first-child {
padding-top: 1em;
}
2019-06-29 12:54:32 +02:00
#input-file {
display: none;
2013-06-19 13:27:14 +02:00
}
2017-05-22 13:39:40 +02:00
#summary div {
2017-04-09 14:03:43 +02:00
padding-top: .3em;
}
2017-05-22 13:39:40 +02:00
#summary div img {
2017-04-09 14:03:43 +02:00
margin-bottom: -2px;
}
2013-06-19 13:27:14 +02:00
#login {
2017-04-15 13:41:21 +02:00
font-family: 'Open Sans', Verdana, sans-serif;
2013-06-19 13:27:14 +02:00
position: relative;
top: 10%;
background-color: #444;
width: 30%;
min-width: 200px;
margin: auto;
padding: 30px;
font-size: 0.8em;
text-align: center;
color: white;
}
#title {
font-size: 1.3em;
padding-bottom: 0.5em;
padding-top: 0.6em;
}
#subtitle {
padding-bottom: 2em;
}
#error {
padding-top: 1.2em;
color: yellow;
}
2017-04-15 13:41:21 +02:00
#popup {
font-family: 'Open Sans', Verdana, sans-serif;
2013-06-19 13:27:14 +02:00
}
#pheader {
2017-04-09 14:03:43 +02:00
float: left;
font-size: .9rem;
color: #297b9a;
padding-bottom: .5rem;
}
#pheader div {
float: left;
padding-right: 2em;
}
#pbody {
clear: both;
padding-top: .2rem;
border-top: 1px solid #6cdae7;;
font-size: .8rem;
white-space: nowrap;
2013-06-19 13:27:14 +02:00
}
2013-07-25 23:34:13 +02:00
#pcomments {
clear: both;
2013-07-25 23:34:13 +02:00
color: #903;
2019-12-05 10:01:11 +01:00
white-space: normal;
padding-bottom: 1em;
2013-07-25 23:34:13 +02:00
}
2019-07-27 19:38:00 +02:00
#pimage {
text-align: center;
}
#pimage img {
max-width: 100%;
max-height: 300px;
border-radius: 10px;
}
2017-04-09 14:03:43 +02:00
#pleft, #pright {
display: inline-block;
2013-06-19 13:27:14 +02:00
padding-top: 5px;
padding-right: 20px;
}
2017-05-22 13:39:40 +02:00
#pbody .smaller {
color: gray;
font-size: .9em;
}
2013-06-19 13:27:14 +02:00
#pfooter {
font-size: .6rem;
2013-06-19 13:27:14 +02:00
padding-top: 20px;
}
#bottom {
display: none;
2013-06-21 11:15:09 +02:00
position: absolute;
z-index: 10000;
2013-06-19 13:27:14 +02:00
}
#chart {
position: fixed;
2013-06-19 13:27:14 +02:00
bottom: 0; left:0; right: 0;
height: 200px;
margin-right: 165px;
background-color: white;
opacity: 0.8;
}
2019-06-29 12:54:32 +02:00
#chart-close {
2013-06-21 11:15:09 +02:00
position: fixed;
2013-06-19 13:27:14 +02:00
bottom: 175px;
right: 175px;
2013-06-21 11:15:09 +02:00
z-index: 10001;
2013-06-19 13:27:14 +02:00
font-size: 0.8em;
color: #5070af;
cursor: pointer;
2013-06-19 13:27:14 +02:00
}
2017-01-30 21:36:44 +01:00
.mi {
2017-04-09 23:35:55 +02:00
color:white;
padding-right:0.1em;
2017-01-30 21:36:44 +01:00
font-style:italic;
}
#modal {
2017-04-15 13:41:21 +02:00
font-family: 'Open Sans', Verdana, sans-serif;
display: block;
position: fixed;
z-index: 10010;
left: 0;
top: 0;
width: 100%;
height: 100%;
overflow: auto;
background-color: black; /* fallback */
background-color: rgba(0,0,0,0.4);
padding-top: 10%;
}
#modal-header {
2017-04-07 22:26:47 +02:00
top: 20px;
position: relative;
text-align: right;
margin: 0 auto;
width: 40%;
min-width: 300px;
}
2017-04-07 22:26:47 +02:00
#modal-header button {
background-color: rgba(0, 0, 0, 0);
border: none;
}
#modal-body {
font-size: 0.9em;
2017-04-15 13:41:21 +02:00
-moz-osx-font-smoothing: grayscale;
-webkit-font-smoothing: antialiased;
color: white;
2017-04-06 19:14:58 +02:00
background-color: rgba(102, 102, 102, 0.9);
margin: 0 auto 15% auto;
border: 1px solid #888;
width: 40%;
min-width: 300px;
2017-04-06 19:14:58 +02:00
padding: 1em;
border-radius: 10px;
-moz-border-radius: 10px;
-webkit-border-radius: 10px;
}
#modal-body .buttons {
padding-top: 1em;
}
#modal input[type=text], #modal input[type=password] {
width: 100%;
padding: 0.4em;
margin: 0.8em 0;
display: inline-block;
border: 1px solid #ccc;
box-sizing: border-box;
2017-04-06 19:14:58 +02:00
border-radius: 5px;
-moz-border-radius: 5px;
-webkit-border-radius: 5px;
}
2017-04-09 23:35:55 +02:00
button {
2017-04-15 13:41:21 +02:00
color: white;
background-color: #434343;
2017-04-06 23:23:25 +02:00
cursor: pointer;
2017-04-15 13:41:21 +02:00
border: 1px solid white;
border-radius: 5px;
-moz-border-radius: 5px;
-webkit-border-radius: 5px;
font-weight: bold;
margin-right: 5px;
2017-04-06 23:23:25 +02:00
}
2019-05-15 11:32:36 +02:00
button > * {
pointer-events: none;
}
2017-05-19 10:59:27 +02:00
#cancel {
margin-top: 0.5em;
}
2017-04-12 20:16:39 +02:00
.red-button {
color: white;
float: right;
background-color: red;
padding: .1em .4em;
border-radius: 10px;
-moz-border-radius: 10px;
-webkit-border-radius: 10px;
}
2019-06-29 12:54:32 +02:00
#user-dropdown {
2017-04-06 23:23:25 +02:00
display: none;
position: absolute;
background-color: gray;
padding: 1em;
width: 130px;
border: 1px solid #888;
}
2019-06-29 12:54:32 +02:00
#user-dropdown a {
2017-04-06 23:23:25 +02:00
display: block;
padding-bottom: .5em;
padding-top: .5em;
}
2017-05-10 14:54:38 +02:00
.icon { height: 1.4em; }
2019-06-29 12:54:32 +02:00
.menu-title { text-decoration: underline; }
2017-05-10 14:54:38 +02:00
.loader {
animation: blink 1s linear infinite;
}
@keyframes blink {
50% { opacity: 0; }
}
2019-06-29 12:54:32 +02:00
/* chart */
.ct-point {
stroke-width: 5px !important;
transition: 0.3s;
}
.ct-point:hover {
stroke-width: 10px !important;
cursor: pointer;
}
.ct-point-hilight {
stroke-width: 10px !important;
}
.ct-point-selected {
stroke-width: 10px !important;
stroke: #f4c63d !important;
}
.ct-line {
stroke-width: 2px; !important;
}
/* openlayers 3 popup */
.ol-popup {
position: absolute;
background-color: white;
-webkit-filter: drop-shadow(0 1px 4px rgba(0,0,0,0.2));
filter: drop-shadow(0 1px 4px rgba(0,0,0,0.2));
padding: 15px;
border-radius: 10px;
border: 1px solid #cccccc;
bottom: 12px;
left: -50px;
min-width: 280px;
}
.ol-popup:after, .ol-popup:before {
top: 100%;
border: solid transparent;
content: " ";
height: 0;
width: 0;
position: absolute;
pointer-events: none;
}
.ol-popup:after {
border-top-color: white;
border-width: 10px;
left: 48px;
margin-left: -10px;
}
.ol-popup:before {
border-top-color: #cccccc;
border-width: 11px;
left: 48px;
margin-left: -11px;
}
.ol-popup-closer {
text-decoration: none;
position: absolute;
top: 2px;
right: 8px;
}
.ol-popup-closer:after {
content: "✖";
}
#switcher {
display: none;
position: absolute;
bottom: 12px;
left: 10px;
min-width: 200px;
}
.ol-layerswitcher {
margin: 1px;
color: #fff;
background-color: rgba(0, 60, 136, .5);
border: none;
border-radius: 2px;
font-family: sans-serif;
font-weight: bold;
font-size: .9em;
padding: 0.5em;
}
.ol-layerswitcher:hover {
background-color: rgba(0, 60, 136, .7)
}
.ol-layerswitcher label {
display: block;
clear: both;
margin: .5em 0;
cursor: pointer;
}
.ol-layerswitcher label:hover {
color: #c8dcf2;
}
.ol-layerswitcher input {
margin-right: 1em;
}
label.ol-datalayer {
margin-top: 1.5em;
}
.ol-datalayer ~ .ol-datalayer {
margin-top: .5em;
}
.ol-switcher-button {
top: 6.6em;
left: .5em;
}
.ol-touch .ol-switcher-button {
top: 10em;
2017-05-10 14:54:38 +02:00
}