Files
OpenEPaperLink/ESP32_AP-Flasher/data/www/main.css
2023-04-28 14:51:51 +02:00

404 lines
5.7 KiB
CSS

* {
margin:0;
padding:0;
border:0;
list-style-type: none;
outline: none;
font-weight: 400;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
font-smooth: auto;
-webkit-font-smoothing: antialiased;
}
html, body {
height: 100%;
}
body {
font-size: 12px;
font-family: Helvetica, Arial, Verdana, sans-serif;
line-height: 1.5;
background-color: #e8f1f9;
background-color: #f1f1f1;
/*background-image: linear-gradient(315deg, #dde1ee 0%, #e8f1f9 100%);*/
}
header {
height: 50px;
background-color: #666;
}
label {
width:100px;
display: inline-block;
}
.logo {
margin: 0 auto;
height: 50px;
text-indent: 50px;
overflow:hidden;
font-size: 2.5em;
color: white;
}
.window {
margin: 0 auto;
max-width: 94%;
}
.actionbox>div:first-child {
padding: 10px;
background-color: white;
margin: 5px;
}
.actionbox>div:first-child>div:first-child {
flex-grow: 2;
}
.actionbox>div {
display:flex;
gap: 20px;
}
#rebootbutton, #downloadDBbutton, #apconfigbutton, .filebutton {
padding: 2px 5px;
background-color: #cccccc;
text-decoration: none;
color: black;
cursor: pointer;
}
.columns div {
flex: 1;
}
textarea,
input.text,
input[type="text"],
input[type="button"],
input[type="submit"],
button {
appearance: none;
border-radius: 0;
}
input {
border: solid 1px #666666;
padding: 4px;
border-radius: 0px;
}
input[type=button] {
border: 0px;
padding: 4px 10px;
cursor:pointer;
}
input[type=button]:hover {
background-color:#aaaaaa;
}
select {
padding: 4px;
border-radius: 0px;
}
#configbox, #apconfigbox {
display: none;
position: fixed;
top: 80px;
left: 50px;
width: 380px;
padding: 15px;
background-color: #f0e6d3;
z-index: 999;
box-shadow: 7px 10px 52px -19px rgba(0, 0, 0, 0.63);
}
#configbox p, #apconfigbox p {
padding: 5px;
}
#configbox h3, #apconfigbox h3 {
font-size: 1.5em;
font-weight: bold;
}
#configbox input, #apconfigbox input {
border: solid 1px #666666;
padding: 4px;
}
#configbox label, #apconfigbox label {
text-transform: capitalize;
}
#apconfigbox {
background-color: #e6f0d3;
}
#aptable {
width: 100%;
border-spacing: 0;
}
#aptable th {
text-align: left;
background-color: #00000020;
padding: 0px 3px;
}
#aptable th, #aptable td {
border-right: 1px solid #000010;
padding: 0px 3px;
}
#aptable td:nth-child(1), #aptable th:nth-child(1) {
border-left: 1px solid #000010;
}
#aptable td:nth-child(3),
#aptable td:nth-child(4) {
text-align: right;
}
#cfgdelete {
position: absolute;
bottom: 15px;
right: 15px;
cursor:pointer;
}
.closebtn {
border: 1px solid black;
float: right;
width: 19px;
height: 20px;
font-size: 1.1em;
text-align: center;
margin: 5px;
cursor: pointer;
}
.logbox {
margin: 5px;
}
.logbox p {
background-color: #ffffff;
padding: 5px 10px;
}
.logbox img {
vertical-align: bottom;
cursor:pointer;
}
.logbox #sysinfo {
float: right;
}
.taglist {
display: flex;
flex-wrap: wrap;
}
#tagtemplate {
display:none;
}
.tagcard {
width: 225px;
position: relative;
min-height: 170px;
margin: 5px;
padding: 5px;
background-color: #dddddd;
border: 1px solid #cccccc;}
.tagcard:hover {
cursor:pointer;
background-color: #eeeeee;
box-shadow: 7px 10px 52px -19px rgba(0, 0, 0, 0.63);
}
.tagflash {
animation: tagflash 1s;
}
.tagpending {
animation: pending 2s ease-in-out infinite;
}
.currimg {
float: right;
}
.currimg img, .currimg canvas {
max-width: 50px;
}
.mac {
font-size: 0.9em;
cursor:pointer;
}
.alias {
font-size: 1.4em;
font-weight: bold;
}
.received {
display: flex;
font-size: .85em;
padding-bottom: 5px;
}
.received div {
padding-left: 3px;
padding-right: 1px;
display: inline-block;
font-weight: bold;
}
.contentmode {
font-weight: bold;
font-size: 1.4em;
padding-bottom: 5px;
}
.lastseen, .nextcheckin, .nextupdate {
font-size: 0.9em;
}
.lastseen span,
.nextcheckin span,
.nextupdate span {
width:105px;
display:inline-block;
}
.corner {
position: absolute;
right: 0px;
bottom: 0px;
padding: 5px;
}
.pendingicon {
width: 20px;
height: 20px;
background-color: rgb(7, 174, 230);
font-size: 1.2em;
text-align: center;
font-weight: bold;
display: none;
vertical-align: top;
}
.warningicon {
display:none;
font-size: 1.3em;
background-color: yellow;
color: black;
height: 20px;
width: 20px;
vertical-align: top;
text-align: center;
}
ul.messages {
padding: 5px;
}
ul.messages li {
position: relative;
}
ul.messages li.new {
animation-name: new;
animation-duration: 1400ms;
animation-iteration-count: 1;
animation-timing-function: ease-in-out;
}
.error {
color: red;
}
@media(max-width: 460px) {
.messages li div, ul.messages li div.date, ul.messages li div.message {
display:block;
position:relative;
padding: 0;
left: auto;
}
.messages li div.message, li.pending {
margin-bottom: 8px;
}
ul.messages {
padding-bottom: 4px;
}
}
@keyframes new {
0% { background-color: rgba(255, 255, 204, 1); }
50% { background-color: rgba(255, 255, 204, .5); }
100% { background-color: rgba(255, 255, 204, 0); }
}
@keyframes tagflash {
0% { opacity: 1; }
50% { opacity: 0; }
100% { opacity: 1; }
}
@keyframes pending {
0% { background-color: lightgray;}
50% { background-color: lightblue;}
100% { background-color: lightgray;}
}
@media screen and (max-width: 480px) {
/* styles for mobile devices in portrait mode */
body {
font-size: 14px;
}
.tagcard {
width: 100%;
min-height: 200px;
}
.logbox #sysinfo {
float: none;
display: block;
}
#configbox {
top: 0px;
left: 0px;
width: 100%;
}
.currimg {
float: none;
position: absolute;
right: 5px;
}
.currimg img,
.currimg canvas {
max-width: 60px;
}
.logo {
padding-top: 10px;
text-indent: 0px;
font-size: 1.8em;
text-align: center;
}
}