flowsms/static/css/style.css
Carlos Rivas 7d469f0fed
All checks were successful
Build Python App / build (push) Successful in 18s
Smaller background image
2024-08-23 22:27:52 -07:00

92 lines
1.6 KiB
CSS

* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: Arial, Helvetica, sans-serif;
}
body {
min-height: 100vh;
display: flex;
justify-content: center;
align-items: center;
background: url('../images/background-small.jpg') center / cover;
}
main.table {
width: 82vw;
height: 90vh;
background-color: #fff5;
backdrop-filter: blur(7px);
box-shadow: 0 .4rem .8rem #0005;
border-radius: .8rem;
overflow: hidden;
}
.table__header {
width: 100%;
height: 10%;
background-color: #fff4;
padding: .8rem 1rem;
}
.table__content {
width: 95%;
max-height: calc(89% - .8rem);
background-color: #fffb;
margin: .8rem auto;
border-radius: .6rem;
overflow: auto;
}
.table__content::-webkit-scrollbar-thumb {
border-radius: .5rem;
background-color: #0004;
visibility: hidden;
}
.table__content:hover::-webkit-scrollbar-thumb {
visibility: visible;
}
table, th, td {
padding: 1rem;
border-collapse: collapse;
text-align: left;
}
thead th {
position: sticky;
top: 0;
left: 0;
background-color: #d5d1defe;
}
tbody tr:nth-child(even) {
background-color: #0000000b;
}
td img {
width: 36px;
height: 36px;
margin-right: .5rem;
border-radius: 50%;
vertical-align: middle;
}
button {
outline: none;
border: none;
border-radius: 6px;
cursor: pointer;
padding: 10px;
color: white;
background-color: red;
font-size: medium;
}
@media (max-width: 1920px) {
td:not(:first-of-type) {
min-width: 22rem;
}
}