Files
OpenEPaperLink/ESP32_AP-Flasher/wwwroot/main.css
2023-08-15 12:42:59 +02:00

677 lines
9.3 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: #e4e4e0;
}
header {
height: 50px;
background-color: #646260;
}
label {
width: 120px;
display: inline-block;
vertical-align: top;
padding: 3px 0px;
}
.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 {
margin: 5px;
}
.actionbox>div:first-child>div:first-child {
flex-grow: 2;
}
.actionbox>div {
display:flex;
gap: 20px;
padding: 10px;
background-color: white;
}
.actionbox label {
padding: 0px 5px;
vertical-align: text-bottom;
width: auto;
cursor: pointer;
}
#rebootbutton, #updatebutton, #downloadDBbutton, #apconfigbutton, .filebutton {
padding: 2px 5px;
background-color: #cccccc;
text-decoration: none;
color: black;
cursor: pointer;
white-space: nowrap;
}
.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 #cccccc;
padding: 4px;
border-radius: 0px;
}
input[type=button], button {
border: 0px;
padding: 4px 10px;
cursor:pointer;
}
input[type=button]:hover,
button:hover {
background-color:#aaaaaa;
}
select {
padding: 3px 4px;
border-radius: 0px;
border: solid 1px #cccccc;
}
#configbox, #apconfigbox, #apupdatebox {
display: none;
position: fixed;
top: 65px;
left: 15px;
min-width: 380px;
padding: 15px;
background-color: #f0e6d3;
z-index: 999;
box-shadow: 7px 10px 52px -19px rgba(0, 0, 0, 0.63);
overflow: auto;
max-height: calc(100vh - 75px);
}
#configbox p, #apconfigbox p, #apupdatebox p {
padding: 5px;
display: flex;
gap: 5px;
align-items: flex-start;
}
#configbox h3, #apconfigbox h3, #apupdatebox h3 {
font-size: 1.5em;
font-weight: bold;
}
#configbox input, #apconfigbox input {
border: solid 1px #cccccc;
}
#configbox input[type=number] {
width: 80px;
}
#advancedoptions {
overflow: hidden;
transition: height 0.3s ease;
}
#advancedoptions p:first-child {
font-weight: 700;
font-size: 1.2em;
}
.tagbuttons {
flex-flow: wrap;
}
.tagbuttons button {
font-size: 0.95em;
padding: 2px 4px;
}
#savebar {
display: flex;
align-items: flex-end;
justify-content: space-between;
}
#savebar:first-child {
flex-grow: 2;
}
#cfgmore {
padding: 2px 5px;
font-weight: 700;
font-size: 1.2em;
cursor: pointer;
}
#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;
}
#apupdatebox {
background-color: #f0d0c8;
width: 700px;
padding-bottom: 20px;
border: 1px solid #d0b0a8;
}
#cfgdelete {
cursor: pointer;
padding: 2px 10px;
}
.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;
}
.blink-red {
animation: tagflash 1s infinite;
color: red;
}
.taglist {
display: flex;
flex-wrap: wrap;
}
#tagtemplate {
display:none;
}
.tagcard {
width: 225px;
position: relative;
min-height: 170px;
margin: 5px;
padding: 5px;
background-color: #ffffff;
border: 1px solid #cccccc;
transition: box-shadow 0.3s ease;
}
.tagcard:hover {
cursor:pointer;
box-shadow: 7px 10px 52px -19px rgba(0, 0, 0, 0.63);
filter: brightness(1.02);
}
.tagflash {
animation: tagflash 1s;
}
.tagpending {
animation: pending 1.5s ease infinite;
}
.taggroup {
border: 1px solid #c0c0c0;
width: 100%;
background-color: #6d6e6e;
color: white;
padding: 5px;
margin: 0px 5px;
}
#filterOptions {
max-height: 0;
padding: 0 10px;
overflow: hidden;
transition: max-height 0.3s ease-in-out, padding 0.3s ease-in-out;
}
#filterOptions.active {
max-height: 100px;
padding: 10px 10px;
}
.currimg {
float: right;
}
.currimg img, .currimg canvas {
max-width: 50px;
border: 1px solid #c0c0c0;
}
.mac {
font-size: 0.9em;
cursor:pointer;
}
.alias {
font-size: 1.4em;
font-weight: bold;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.received {
display: flex;
font-size: .85em;
padding-bottom: 5px;
}
.received div {
display: inline-block;
}
.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;
}
#paintbutton {
padding: 1px 3px;
border: 1px solid black;
font-size: 1.3em;
vertical-align: top;
margin-left:12px;
cursor: pointer;
}
#paintbutton:hover {
background-color: #aaaaaa;
}
.drophighlight {
border: 1px solid red;
box-shadow: 7px 10px 52px -19px rgba(255, 0, 0, 0.63);
}
#context-menu {
display: none;
position: absolute;
background: white;
border: 1px solid gray;
list-style: none;
z-index: 999;
padding: 2px 5px;
}
#context-menu li {
cursor: pointer;
padding: 1px 5px;
}
#context-menu li:hover {
background-color: #e0e0e0;
}
/* painter */
#canvasdiv {
padding: 5px;
}
#canvasdiv canvas {
border: 1px solid black;
}
#buttonbar {
padding: 5px;
display: flex;
gap: 5px;
}
#buttonbar button,
#layersdiv button {
padding: 1px 2px;
border: 1px solid #cccccc;
background-color: #dddddd;
width: 40px;
}
#buttonbar button {
font-size: 1.2em;
font-weight: bold;
}
#buttonbar .active {
background-color: #ffffff;
cursor: pointer;
}
#buttonbar button:hover,
#layersdiv button:hover {
background-color: #cccccc;
cursor: pointer;
}
#layersdiv {
padding: 0px 5px;
}
#layersdiv>div {
display: flex;
gap: 5px;
margin-bottom: 5px;
}
#layersdiv input,
#layersdiv select {
padding: 2px;
}
#font-select {
width: 150px;
}
#savebar button {
border: solid 1px #666666;
}
/* updatescreens */
#easyupdate{
margin-top: 10px;
}
#easyupdate button {
display: block;
margin: 15px 40px;
padding: 10px 20px;
}
#easyupdate a {
cursor: pointer;
text-decoration: underline;
}
#advanceddiv {
display: none;
}
#releasetable {
margin: 10px 0px;
}
#releasetable table {
border-spacing: 1px;
}
#releasetable th {
text-align: left;
background-color: #ffffff;
padding: 1px 5px;
}
#releasetable td {
background-color: #ffffff;
padding: 1px 5px;
min-width: 70px;
vertical-align: baseline;
}
#releasetable td:nth-child(2) {
word-wrap: nowrap;
}
#releasetable button {
padding: 3px 10px;
background-color: #e0e0e0;
}
#releasetable button:hover {
background-color: #a0a0a0;
}
.console {
width: 100%;
background-color: black;
font-family: 'lucida console','ui-monospace';
color: white;
padding: 5px 10px;
margin: 20px 0px;
padding-bottom: 25px;
height: 400px;
overflow-y: scroll;
white-space: break-spaces;
}
.console div {
word-break: break-all;
}
/* media */
@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% { }
50% { background-color: #d4d4f5;}
100% { }
}
@media screen and (max-width: 480px) {
/* styles for mobile devices in portrait mode */
body {
font-size: 13px;
}
.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;
}
.actionbox>div {
gap: 5px;
flex-flow: wrap;
}
.actionbox>div:first-child>div:first-child {
flex-basis: 100%;
}
#buttonbar button {
font-size: 1.1em;
overflow: hidden;
padding: 1px 1px;
}
}