Files
OpenEPaperLink/esp32_fw/data/main.css
Nic Limper 2fbb77bc34 jpeg2bmp, bmp2grays, refactor website
- new webpage to manage tags (work in progress), gets rid of jquery ;-)
- built in jpg and 24bpp bmp converter. the jpeg-converter auto-rotates the image, so uploading a 296x128px jpeg for a 2.9" tag is fine now. 24bpp bmp is also fine, but no autorotation (more complex, and imho unnecessary)
- changed websockets communication to json
- small fixes and cleanup
2023-01-29 22:39:38 +01:00

197 lines
3.2 KiB
CSS

*{
margin:0;
padding:0;
border:0;
list-style-type: none;
-webkit-appearance: 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;
background-size: 50px 50px;
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 p {
padding: 5px;
}
.actionbox .columns {
display:flex;
flex-wrap: wrap;
}
.columns div {
flex: 1;
}
.actionbox div div {
padding: 5px;
margin: 5px;
background-color: white;
}
.actionbox input {
border: solid 1px black;
padding: 4px;
}
.actionbox input[type=button] {
border: 0px;
padding: 4px;
cursor:pointer;
}
.actionbox input[type=button]:hover {
background-color:#aaaaaa;
}
.logbox {
margin: 5px;
}
.logbox p {
background-color: #ffffff;
padding: 5px 10px;
}
.logbox img {
vertical-align: bottom;
cursor:pointer;
}
.taglist {
display: flex;
flex-wrap: wrap;
}
.tagcard {
width: 220px;
position: relative;
height: 170px;
margin: 5px;
padding: 5px;
background-color: #dddddd;
}
.currimg {
float: right;
}
.currimg img {
max-width: 50px;
}
.mac {
font-size: 0.9em;
cursor:pointer;
}
.alias {
font-size: 1.4em;
font-weight: bold;
}
.corner {
position: absolute;
right: 0px;
bottom: 0px;
padding: 5px;
}
.configicon {
display: inline-block;
width: 20px;
height: 20px;
cursor:pointer;
background-image: url("data: image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAQAAAAngNWGAAABXklEQVQoz43SP2tUQRQF8N99ecFKFEVh0Y1ZbFQ2xEoIQkoLW0t7C/OVLGzyHay1EAQjRFGrLMkjKSwWsRGV3WvxZvc9XQtnivl35sydc048nfuvVkW0k8XYtT936pVja5jJv/Z7wPZo0wNzLzQSHWnVwTZtqY1su2to3bZhj7dewEYeu+iDawi7bhn7Yl9TWGsikrzksnNxr9zfsIErcaEAMysyZXrvE5mp6w7zc8rMzFJjGNlxFWHmWKMVd2DHsHuadQ+NkcKxZ2pPXC8FHHhu1v91X6ZcUZHYy8xwwyju5wAzJypDFdHka5OiaN1yHDl100BaMyq84cwrs1JjtTBu7E5xIpeebLndOZOlnK859d1bZ0JoHPiRU986ZxYZmdjP8/HRrkfSS2+MTTXlycyawhlHJBOH5k789A6x/H/sZQuMKKNatjGLvkoreUy/lsnsq1mXJOe/Ut6tM38DZpmDFxwTi8EAAAAASUVORK5CYII=");
}
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;
}
@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);
}
}