frontend-dali/source/widgets/weekview/style.css

143 lines
1.7 KiB
CSS
Raw Normal View History

.weekview-controls
{
display: flex;
flex-direction: row;
2025-10-28 00:25:20 +01:00
flex-wrap: nowrap;
justify-content: right;
margin-bottom: 12px;
text-align: center;
}
.weekview-control
{
flex-basis: 0;
flex-grow: 0;
flex-shrink: 1;
2025-10-28 00:25:20 +01:00
min-width: 80px;
margin: 0 0 0 8px;
}
.weekview-controls .widget-special_number_input
{
flex-basis: 0;
flex-grow: 0;
flex-shrink: 1;
min-width: 140px;
2025-10-28 00:25:20 +01:00
margin: 0 0 0 8px;
}
.weekview-control-label
2025-10-28 00:25:20 +01:00
,
.weekview-controls .widget-special_number_input-label
{
display: block;
font-size: 0.75em;
/*
text-transform: uppercase;
*/
}
.weekview-control-input > *
{
display: inline-block;
}
2025-10-28 00:25:20 +01:00
.weekview-controls .widget-special_number_input input
{
max-width: 40px;
}
.weekview-table table
{
width: 100%;
border-collapse: collapse;
}
.weekview-cell
{
border: 1px solid hsl(0,0%,37.5%);
padding: 8px;
vertical-align: top;
}
.weekview-cell-day
{
/* todo */
width: 13.5%;
}
.weekview-cell-week
{
/* todo */
width: 5.5%;
}
.weekview-cell-regular
{
/* todo */
width: 13.5%;
height: 100px;
cursor: copy;
}
.weekview-cell-today
{
outline: 2px solid hsl(0, 0%, 100%);
}
.weekview-cell-hidden
{
display: none;
}
.weekview-day
{
font-size: 0.75em;
}
.weekview-events
{
margin: 0;
padding: 0;
list-style-type: none;
}
.weekview-event_entry
{
margin: 4px;
padding: 4px;
border-radius: 2px;
font-size: 0.75em;
color: #FFF;
font-weight: bold;
overflow: hidden;
text-overflow: ellipsis;
max-width: 100%;
min-width: 75px;
word-wrap: anywhere;
}
.weekview-event_entry.access_level-none
,
.weekview-event_entry.access_level-view
{
/*
cursor: default;
*/
cursor: pointer;
}
.weekview-event_entry.access_level-edit
,
.weekview-event_entry.access_level-admin
{
cursor: pointer;
}