mapcomplete/css/openinghourstable.css

126 lines
2.1 KiB
CSS
Raw Normal View History

2020-09-30 20:22:58 +00:00
.oh-table {
border-collapse: collapse;
width: 100%;
height: 100%;
2020-09-30 20:22:58 +00:00
}
.oh-table th {
font-weight: bold;
font-size: medium;
background-color: #ddd;
}
2020-09-30 20:22:58 +00:00
.oh-table td {
vertical-align: top;
}
2020-10-03 23:04:46 +00:00
.oh-timecell-inner:hover {
background-color: #ffd1be;
2020-09-30 20:22:58 +00:00
}
.oh-timecell {
background-color: white;
border-left: 1px solid #eee;
border-right: 1px solid #eee;
2020-10-03 23:04:46 +00:00
position: relative;
box-sizing: border-box;
2020-09-30 20:22:58 +00:00
}
.oh-timecell-selected {
2020-10-03 23:04:46 +00:00
background-color: orange;
2020-09-30 20:22:58 +00:00
}
2020-10-03 23:04:46 +00:00
.oh-timecell-half .oh-timecell-inner{
2020-09-30 20:22:58 +00:00
border-top: 0.5px solid #eee
}
2020-10-03 23:04:46 +00:00
.oh-timecell-half.oh-timecell-selected .oh-timecell-inner {
2020-09-30 20:22:58 +00:00
border-top: 0.5px solid lightsalmon;
}
2020-10-03 23:04:46 +00:00
.oh-timecell-full .oh-timecell-inner{
border-top: 1px solid #ccc
2020-09-30 20:22:58 +00:00
}
2020-10-03 23:04:46 +00:00
.oh-timecell-full.oh-timecell-selected .oh-timecell-inner {
2020-09-30 20:22:58 +00:00
border-top: 1px solid lightsalmon;
}
.oh-left-col {
border-top: 1px solid #aaa;
width: 0.5em;
font-size: large;
margin: 0;
padding: 0;
padding-right: 0.2em;
background: #ddd;
2020-09-30 20:22:58 +00:00
}
2020-10-03 23:04:46 +00:00
.oh-draggable-header {
background-color: blue;
height: 0.5em;
}
.oh-timecell-inner {
width: 100%;
height: 100%;
margin: 0;
padding: 0;
position: absolute;
}
.oh-timerange {
border-radius: 0.5em;
margin: 2px;
display: block;
position: absolute;
top: 0;
left: 0;
width: 100%;
background: orange;
z-index: 1;
box-sizing: border-box
}
.oh-timerange-inner {
display: flex;
flex-direction: column;
justify-content: space-between;
align-content: center;
height: 100%;
}
.oh-timerange-inner input {
width: calc(100% - 2em);
box-sizing: border-box;
margin-left: 1em;
margin-right:1em;
}
.oh-timerange-inner-small {
display: flex;
flex-direction: row;
justify-content: space-between;
height: 100%;
width:100%;
}
.oh-timerange-inner-small input {
width: min-content;
box-sizing: border-box;
margin-left: 1em;
margin-right:1em;
}
.oh-delete-range{
width: 1.5em;
height: 1.5em;
background:black;
border-radius:0.75em;
}
.oh-delete-range img {
height: 100%;
max-width: 2em;
}