ulogger-server/css/main.css

318 lines
5.6 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;
}
: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;
}
2017-04-14 17:24:09 +02:00
.menulink {
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;
}
2017-05-09 09:06:23 +02:00
#user, #track, #summary, #export, #import, #other, #units {
2013-06-19 13:27:14 +02:00
padding-bottom: 10px;
}
2017-04-09 14:03:43 +02:00
#summary span {
display: block;
padding-top: .3em;
}
#summary span img {
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;
}
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;
}
#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;
}
#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;
}
#close a, #close:link, #close:visited {
color: #5070af;
}
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
}
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;
}
2017-04-06 23:23:25 +02:00
.dropdown {
display: none;
position: absolute;
background-color: gray;
padding: 1em;
width: 130px;
border: 1px solid #888;
}
.dropdown a {
display: block;
padding-bottom: .5em;
padding-top: .5em;
}
2017-04-07 22:26:47 +02:00
.show { display: block; }
2017-05-10 14:54:38 +02:00
.icon { height: 1.4em; }
.u { text-decoration: underline; }
.loader {
animation: blink 1s linear infinite;
}
@keyframes blink {
50% { opacity: 0; }
}