ulogger-server/main.css
2017-02-17 16:41:39 +01:00

233 lines
4.1 KiB
CSS
Executable File

/* μlogger
*
* Copyright(C) 2017 Bartek Fabiszewski (www.fabiszewski.net)
*
* This is free software; you can redistribute it and/or modify it under
* the terms of the GNU Library General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (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.
*
* You should have received a copy of the GNU Library General Public
* License along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
html {
height: 100%;
}
body {
height: 100%;
margin: 0;
padding: 0;
background-color: #666;
}
a {
color: #bce;
text-decoration: none;
}
:link, :visited {
color: #bce;
}
select {
width: 150px;
/*font-size: 0.6em;*/
font-weight: normal;
padding-top: 0.2em;
}
#menu input,
#login input {
width: 150px;
text-align: center;
border: 1px solid black;
}
#menu input[type = "submit"],
#login input[type = "submit"] {
background-color: black;
color: white;
border: 1px solid white;
}
#menu input[type = "checkbox"] {
width: auto;
}
#main {
height: 100%;
margin-right: 165px;
}
#map-canvas {
height: 100%;
}
#menu {
font-family: Verdana, sans-serif;
font-size: 0.6em;
font-weight: bold;
color: white;
float: right;
width: 165px;
height: 100%;
background-color: #666;
overflow: hidden;
}
#menu-content {
padding: 10px;
}
#footer {
position: fixed;
width: 165px;
bottom:0;
padding: 10px;
background-color:rgba(102, 102, 102, 0.9);
color: lightgray;
}
#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;
}
#user, #track, #summary, #export, #other, #units {
padding-bottom: 10px;
}
#login {
font-family: Verdana, sans-serif;
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;
}
#popup {
width:370px;
min-height:130px;
}
#popup * {
font-family: Roboto, Verdana, sans-serif;
font-size: 12px;
}
#pheader {
font-weight: bolder;
padding-bottom: 5px;
border-bottom: 1px solid gray;
}
#pcomments {
clear: both;
color: #903;
}
#pleft,#pright {
float:left;
padding-top: 5px;
}
#pleft {
padding-right: 20px;
}
#pfooter {
clear: both;
font-size: smaller;
padding-top: 20px;
}
#bottom {
display: none;
position: absolute;
z-index: 10000;
}
#chart {
position: fixed;
bottom: 0; left:0; right: 0;
height: 200px;
margin-right: 165px;
background-color: white;
opacity: 0.8;
}
#close {
position: fixed;
bottom: 175px;
right: 175px;
z-index: 10001;
font-family: Verdana, sans-serif;
font-size: 0.8em;
}
#close a, #close:link, #close:visited {
color: #5070af;
}
.mi {
color:white;
padding-right:0.1em;
font-style:italic;
}
#modal {
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 {
top: 10px;
position: relative;
text-align: right;
margin: 0 auto;
width: 40%;
min-width: 300px;
}
#modal-body {
font-size: 0.9em;
font-family: Verdana, sans-serif;
color: white;
background-color: #666;
margin: 0 auto 15% auto;
border: 1px solid #888;
width: 40%;
min-width: 300px;
padding: 1%;
}
#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;
}