SW/assets/css/manager.css

191 lines
3.4 KiB
CSS
Raw Normal View History

2021-05-26 09:03:02 +02:00
h3.table_title{
text-align: center;
margin-bottom: 1em;
}
table.seat {
border: solid 10px #1f2c3d;
text-align: center;
background-color: rgba(215, 215, 215, 1);
}
table.seat tbody tr:nth-child(2n + 1) {
background-color: rgba(204, 255, 204, 0);
}
table.seat th{
font-size: 0.9em;
padding: 0.30em 0.30em 0.30em 0.30em;
border-bottom: solid 2px #1f2c3d;
}
table.seat th:first-child {
border-right: solid 2px #1f2c3d;
}
table.seat td {
padding: 0.35em 0.35em;
}
table.seat td:first-child {
font-size: 0.9em;
padding: 0.30em 0.30em 0.30em 0.30em;
font-weight: 600;
border-right: solid 2px #1f2c3d;
}
.check_box {
display:none;
}
.check_box+label{
background:url('../../img/seat_red.png') no-repeat;
height: 16px;
width: 16px;
display:inline-block;
}
.check_box:checked+label{
background:url('../../img/seat_green.png') no-repeat;
}
.black.button {
width: 100%;
height: 30px;
border: 1px solid #dadada;
background-color: #00020f;
color: #dadada;
padding: 5px;
margin-top: 5px;
font-size: 12px;
font-weight: bold;
box-shadow: 2px 2px #1f2c3d;
cursor: pointer;
}
.black.button:hover {
border:#000000;
background-color: #791515;
}
2021-05-27 20:26:58 +02:00
2021-05-27 20:50:03 +02:00
/*
lists like tables
Example col3 tablelist
<ul class="tablelist col3">
<li class="title"> Tittle1 </li>
<li class="title"> Tittle2 </li>
<li class="title"> Tittle3 </li>
<li> cell 1,1 <li>
<li> cell 1,2 <li>
<li> cell 1,3 <li>
<a class="h2long" href="">
<li> cell 2,1 this one and the next one share the same link <li>
<li> cell 2,2 <li>
</a>
<a href="">
<li> cell 2,3 this one is a link alone </li>
</a>
</ul>
General configuration
*/
2021-05-27 14:18:07 +02:00
.tablelist{
2021-05-27 20:26:58 +02:00
display: grid;
list-style-type: none;
2021-05-26 09:03:02 +02:00
}
2021-05-27 20:26:58 +02:00
.tablelist li {
border-bottom: 1px solid black;
padding: 10px;
font-size: 20px;
text-align: center;
}
.tablelist a {
2021-05-27 14:18:07 +02:00
color: #000000;
2021-05-26 09:03:02 +02:00
}
2021-05-27 14:18:07 +02:00
.tablelist a:hover li{
2021-05-27 20:50:03 +02:00
color: rgb(211, 235, 255);
background: rgba(31, 44, 61, 1);
2021-05-26 09:03:02 +02:00
}
2021-05-27 20:26:58 +02:00
.tablelist li.title{
font-weight: bold;
2021-05-26 09:03:02 +02:00
}
2021-05-27 20:26:58 +02:00
/*3columns*/
.col3{
grid-template-columns: repeat(3,1fr);
}
.col3 .odd{
background: rgba(144, 144, 144, 0.25);
display: grid;
grid-column-start: 1;
grid-column-end: 4;
grid-template-columns: repeat(3,1fr);
}
.col3 .even{
display: grid;
grid-column-start: 1;
grid-column-end: 4;
grid-template-columns: repeat(3,1fr);
2021-05-26 09:03:02 +02:00
}
2021-05-27 20:26:58 +02:00
.tablelist.col3 a.h2long
2021-05-27 14:18:07 +02:00
{
2021-05-27 20:26:58 +02:00
display: grid;
grid-column-start: 1;
grid-column-end: 3;
grid-template-columns: repeat(2,1fr);
2021-05-26 09:03:02 +02:00
}
2021-05-27 20:26:58 +02:00
.tablelist.col3 a
2021-05-27 14:18:07 +02:00
{
2021-05-27 20:26:58 +02:00
display: grid;
grid-column-start: 3;
grid-column-end: 4;
grid-template-columns: repeat(1,1fr);
2021-05-26 09:03:02 +02:00
}
2021-05-27 14:18:07 +02:00
2021-05-27 20:26:58 +02:00
/*5 columns*/
.col5{
grid-template-columns: repeat(5,1fr);
}
.col5 .odd{
background: green;
display: grid;
grid-column-start: 1;
grid-column-end: 6;
grid-template-columns: repeat(5,auto);
}
.col5 .even{
background: pink;
display: grid;
grid-column-start: 1;
grid-column-end: 6;
grid-template-columns: repeat(5,auto);
}
.tablelist.col5 a.h4long
{
display: grid;
grid-column-start: 1;
grid-column-end: 5;
grid-template-columns: repeat(4,auto);
}
.tablelist.col5 a
{
display: grid;
grid-column-start: 5;
grid-column-end: 6;
grid-template-columns: auto;
2021-05-27 20:50:03 +02:00
}