flask-server/kinolist/static/styles.css
2024-10-08 19:26:26 +02:00

193 lines
2.8 KiB
CSS

* {
box-sizing: border-box;
}
body {
font-family: sans-serif;
font-size: 20px;
margin: 0 auto;
text-align: center;
}
button {
cursor: pointer;
}
a, a:visited {
color: #007bff;
}
a:hover {
color: #0056b3;
}
nav ul {
list-style-type: none;
padding: 0;
}
nav ul li {
display: inline;
margin: 0 5px;
}
main {
width: 80%;
margin: 0 auto;
}
article, form {
text-align: left;
min-width: 200px;
padding: 20px;
margin-bottom: 20px;
box-shadow: 0px 0px 10px #ccc;
vertical-align: top;
}
fieldset {
text-align: left;
padding: 5px;
}
form {
display: flex;
flex-direction: column;
margin-top: 20px;
}
aside {
color: #ccc;
text-align: right;
}
.styled-table {
border-collapse: collapse;
margin: 25px 0;
font-size: 0.9em;
font-family: sans-serif;
min-width: 400px;
box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
}
.styled-table thead tr {
background-color: #0056b3;
color: #ffffff;
text-align: center;
}
.styled-table th,
.styled-table td {
padding: 12px 15px;
}
.styled-table tbody tr {
border-bottom: 1px solid #dddddd;
}
.styled-table tbody tr:nth-of-type(even) {
background-color: #f3f3f3;
}
.styled-table tbody tr:last-of-type {
border-bottom: 2px solid #0056b3;
}
.styled-table tbody tr:last-child {
border-bottom: none;
}
.styled-table tbody tr.active-row {
font-weight: bold;
color: #0056b3;
}
fieldset td:last-child {
padding-left: 10px;
}
.styled-table button {
font-size: 20px;
}
.styled-table { border-collapse: collapse; }
tr { border: none; }
.styled-table td {
border-left: solid 1px #007bff;
}
.styled-table td:first-child {
border: none;
}
.new-entry {
position: fixed;
left: 0;
top:0;
overflow: hidden;
padding: 5px;
background-color: #0056b3;
box-shadow: 3px 3px #003e81;
}
.large-input {
width: 400px;
}
.new-entry button {
width: 100px;
height: 50px;
margin-top: 10px;
}
.manage td:not(:last-child):not(:first-child):hover {
background-color: pink;
}
.manage td:not(:last-child):not(:first-child) {
cursor: pointer;
}
.selected {
background-color: lightblue !important;
}
.transparent-background {
position: fixed;
top: 0;
bottom: 0;
left: 0;
right: 0;
background-color: black;
opacity: 0.6;
width: 100%;
height: 100%;
z-index: 1000;
}
.title-list {
background-color: white;
position: fixed;
top: 10%;
bottom: 10%;
left: 10%;
right: 10%;
z-index: 1050;
}
.title-list div {
padding: 5px;
}
.title-list button {
width: 100px;
}
.choice-list {
height: 95%;
border-bottom: solid 1px #007bff;
display: flex;
justify-content: center;
overflow: scroll;
}