2020-09-30 22:22:58 +02:00
|
|
|
|
|
|
|
.oh-table {
|
|
|
|
border-collapse: collapse;
|
2020-10-02 19:00:24 +02:00
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
2020-09-30 22:22:58 +02:00
|
|
|
}
|
|
|
|
|
2020-10-02 19:00:24 +02:00
|
|
|
.oh-table th {
|
|
|
|
font-weight: bold;
|
|
|
|
font-size: medium;
|
|
|
|
background-color: #ddd;
|
|
|
|
}
|
2020-09-30 22:22:58 +02:00
|
|
|
|
|
|
|
.oh-table td {
|
|
|
|
vertical-align: top;
|
|
|
|
}
|
|
|
|
|
2020-10-08 19:03:00 +02:00
|
|
|
.oh-timecell:hover {
|
|
|
|
background-color: #ffd1be !important;
|
2020-09-30 22:22:58 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.oh-timecell {
|
|
|
|
background-color: white;
|
2020-10-02 19:00:24 +02:00
|
|
|
border-left: 1px solid #eee;
|
2020-10-08 19:03:00 +02:00
|
|
|
border-right: 1px solid #ccc;
|
2020-10-04 01:04:46 +02:00
|
|
|
position: relative;
|
|
|
|
box-sizing: border-box;
|
2020-09-30 22:22:58 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.oh-timecell-selected {
|
2020-10-04 01:04:46 +02:00
|
|
|
background-color: orange;
|
2020-09-30 22:22:58 +02:00
|
|
|
}
|
|
|
|
|
2020-10-08 19:03:00 +02:00
|
|
|
.oh-timecell-half{
|
|
|
|
background-color: aliceblue;
|
2020-09-30 22:22:58 +02:00
|
|
|
}
|
|
|
|
|
2020-10-08 19:03:00 +02:00
|
|
|
.oh-timecell-half.oh-timecell-selected {
|
|
|
|
background-color: lightsalmon;
|
2020-09-30 22:22:58 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.oh-left-col {
|
2020-10-08 19:03:00 +02:00
|
|
|
border-bottom: 1px solid #aaa;
|
|
|
|
margin: 0;
|
2020-10-02 19:00:24 +02:00
|
|
|
width: 0.5em;
|
|
|
|
font-size: large;
|
|
|
|
padding: 0;
|
|
|
|
padding-right: 0.2em;
|
|
|
|
background: #ddd;
|
2020-09-30 22:22:58 +02:00
|
|
|
}
|
|
|
|
|
2020-10-04 01:04:46 +02:00
|
|
|
.oh-draggable-header {
|
|
|
|
background-color: blue;
|
|
|
|
height: 0.5em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.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 {
|
2020-10-04 12:55:44 +02:00
|
|
|
width: 100%;
|
2020-10-04 01:04:46 +02:00
|
|
|
box-sizing: border-box;
|
|
|
|
}
|
|
|
|
|
|
|
|
.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;
|
|
|
|
}
|
|
|
|
|
|
|
|
.oh-delete-range{
|
|
|
|
width: 1.5em;
|
|
|
|
height: 1.5em;
|
|
|
|
background:black;
|
|
|
|
border-radius:0.75em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.oh-delete-range img {
|
|
|
|
height: 100%;
|
|
|
|
max-width: 2em;
|
2020-10-08 19:03:00 +02:00
|
|
|
}
|
|
|
|
|
2020-10-09 20:10:21 +02:00
|
|
|
.oh-timerange-label {
|
2020-10-08 19:03:00 +02:00
|
|
|
color: white;
|
2020-10-09 20:10:21 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/**** Opening hours visualization table ****/
|
|
|
|
|
|
|
|
.ohviz-table {
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
.ohviz-range {
|
|
|
|
display: block;
|
|
|
|
background: #99e7ff;
|
|
|
|
position: absolute;
|
|
|
|
left: 0;
|
|
|
|
top: 5%;
|
|
|
|
height: 85%;
|
|
|
|
border: 1px solid #ccc;
|
|
|
|
border-radius: 5px;
|
|
|
|
box-sizing: border-box;
|
|
|
|
text-align: center;
|
|
|
|
font-size: smaller;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ohviz-today .ohviz-range {
|
|
|
|
border: 1.5px solid black;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
.ohviz-day-off {
|
|
|
|
display: block;
|
|
|
|
background: repeating-linear-gradient(
|
|
|
|
45deg,
|
|
|
|
rgba(255, 255, 255, 0),
|
|
|
|
rgba(255, 255, 255, 0) 10px,
|
2020-10-11 22:37:55 +02:00
|
|
|
rgba(102, 207, 255, 0.5) 10px,
|
|
|
|
rgba(102, 207, 255, 0.5) 20px
|
2020-10-09 20:10:21 +02:00
|
|
|
);
|
|
|
|
position: absolute;
|
|
|
|
left: 0;
|
|
|
|
top: 0;
|
|
|
|
height: 100%;
|
|
|
|
width: 100%;
|
|
|
|
box-sizing: border-box;
|
|
|
|
color: black;
|
|
|
|
font-weight: bold;
|
|
|
|
text-align: center;
|
2020-10-11 22:37:55 +02:00
|
|
|
border-radius: 1em;
|
2020-10-09 20:10:21 +02:00
|
|
|
}
|
|
|
|
|
2020-10-11 22:37:55 +02:00
|
|
|
.ohviz-today .ohviz-day-off {
|
|
|
|
display: block;
|
|
|
|
background: repeating-linear-gradient(
|
|
|
|
45deg,
|
|
|
|
rgba(255, 255, 255, 0),
|
|
|
|
rgba(255, 255, 255, 0) 10px,
|
|
|
|
rgb(153, 231, 255) 10px,
|
|
|
|
#99e7ff 20px
|
|
|
|
);
|
|
|
|
position: absolute;
|
|
|
|
left: 0;
|
|
|
|
top: 0;
|
|
|
|
height: 100%;
|
|
|
|
width: 100%;
|
|
|
|
box-sizing: border-box;
|
|
|
|
color: black;
|
|
|
|
font-weight: bold;
|
|
|
|
text-align: center;
|
|
|
|
border-radius: 1em;
|
|
|
|
}
|
2020-10-09 20:10:21 +02:00
|
|
|
|
|
|
|
.ohviz-now {
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
margin: 0;
|
|
|
|
height: 100%;
|
|
|
|
border: 1px solid black;
|
|
|
|
box-sizing: border-box
|
|
|
|
}
|
|
|
|
|
|
|
|
.ohviz-line {
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
margin: 0;
|
|
|
|
height: 100%;
|
|
|
|
border-left: 1px solid #ccc;
|
|
|
|
box-sizing: border-box
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.ohviz-time-indication > div {
|
|
|
|
position: relative;
|
|
|
|
background-color: white;
|
|
|
|
left: -50%;
|
|
|
|
padding-left: 0.3em;
|
|
|
|
padding-right: 0.3em;
|
|
|
|
font-size: smaller;
|
|
|
|
border-radius: 0.3em;
|
|
|
|
border: 1px solid #ccc;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
.ohviz-time-indication {
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
margin: 0;
|
|
|
|
height: 100%;
|
|
|
|
box-sizing: border-box;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.ohviz-today {
|
|
|
|
background-color: #e5f5ff;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ohviz-weekday {
|
|
|
|
padding-left: 0.5em;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.ohviz {
|
|
|
|
border-collapse: collapse;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ohviz-container {
|
|
|
|
border: 0.5em solid #e5f5ff;
|
|
|
|
border-radius: 1em;
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ohviz-closed {
|
|
|
|
padding: 1em;
|
|
|
|
background-color: #eee;
|
|
|
|
border-radius: 1em;
|
|
|
|
display: block;
|
2020-10-04 01:04:46 +02:00
|
|
|
}
|