Newer
Older
@import "scss/variables";
@import "scss/buttons";
@import "mixins.scss";
a.fc-event, td.fc-event {
border-radius: 0;
.fc-time {
background-color: rgba(255, 255, 255, 0.2);
font-weight: bold;
}
}

Jan-Hendrik Willms
committed
.fc {
.fc-toolbar.fc-header-toolbar {
margin-bottom: 0.5em;
}
.fc-button-group {
height: 30px;
.fc-button {
@include button();
margin-top: 0;
margin-bottom: 0;
Moritz Strohm
committed
&:last-of-type {
margin-right: 0;
}
.fc-icon {
/* Unset rules that are set in the fullcalendar default stylesheet: */
line-height: unset;
height: unset;
}

Jan-Hendrik Willms
committed
}
}
Moritz Strohm
committed
/* Put the year in a new line in the mobile view: */
html.responsive-display .fc .fc-view:not(.fc-timeGridDay-view) .fc-day-header {
span.dow, span.year {
display: block;
}
}

Jan-Hendrik Willms
committed
.fc-button-primary:not(:disabled):active,
.fc-button-primary:not(:disabled).fc-button-active,
.fc button.fc-button.fc-state-active {
box-shadow: none;
background-color: var(--base-color) !important;
color: var(--white);
}
/* adjust height: */
/* .fc-scroller.fc-time-grid-container {
height: auto !important;
min-height: 0 !important;
}*/

Jan-Hendrik Willms
committed
.studip-fullcalendar-header {
/* This shall look like a table caption. */
background-color: transparent;
color: var(--base-gray);

Jan-Hendrik Willms
committed
font-size: 1.4em;
text-align: left;
&.fullcalendar-dialog{
width: calc(100% - 550px);
vertical-align: middle;
display: inline-block;
margin-right: 275px;
}
}
.fullcalendar-dialogwidget-container {
border-left: 0;
display: inline-block;
flex: 0 0 auto;
margin-bottom: 1em;
position: relative;
$width: 270px;
padding-bottom: 7px;
width: $width;
z-index: 2;
.fullcalendar-dialogwidget-widget {
background: var(--white);
border: 1px solid var(--content-color-40);
margin: 15px 0px 0;
}
.fullcalendar-dialogwidget-widget-header {
@include clearfix();
background: var(--content-color-20);
color: var(--base-color);
font-weight: bold;
padding: 4px;
}
select.fullcalendar-dialogwidget-selectlist {
overflow-y: auto;
width: 100%;
}
.fullcalendar-dialogwidget-widget-content {
border-top: 1px solid var(--content-color-40);
padding: 4px;
transition: all 0.5s;
}
}
.institute-plan .fc-slats tr {
height: 100px;
}
#external-events{
td.fc-event {
border-radius: 0;
margin: 2px 0px;
background-color: var(--content-color);
border: 1px solid var(--brand-color-light);
}
}
.institute-plan {
.fc-bg td.fc-today {
background: none;
}
th.fc-day-header, .fc-axis, th.fc-resource-cell {
background-color: var(--content-color-10);
}
}
.calendar-caption {
background-color: transparent;
padding-top: 0;
color: var(--base-gray);
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
font-size: 1.4em;
text-align: left;
margin-bottom: -10px;
}
#event-color-picker {
display: grid;
grid-template-columns: 1fr 1fr 1fr;
column-gap: 16px;
width: 200px;
height: 204px;
margin: 10px 0px;
margin-left: calc(50% - 100px);
input {
opacity: 0;
position: absolute;
+ label {
cursor: pointer;
&::before {
background-repeat: no-repeat;
content: ' ';
display: inline-block;
margin: 0px 1px 1px 1px;
vertical-align: text-top;
background-image: none;
background-size: 100%;
height: 100%;
width: calc(100% - 4px);
}
}
&:checked + label::before {
@include background-icon(checkbox-checked, info_alt, 100%);
}
}
}
.event-colorpicker {
background: none;
border: 0;
cursor: pointer;
padding: 0;
width: 20px;
height: 20px;
position: absolute;
top: 0px;
right: 0px;
&.white {
@include background-icon(group4, info_alt, 100%);
}
&.black {
@include background-icon(group4, info, 100%);
}
}
.fc[data-fullcalendar="1"].print-view {
position: absolute;
top: 0px;
left: 0px;
height: 2000px;
width: 2000px;
.fc-resource-cell img,
.event-colorpicker {
display: none;
}
th span a {
color: var(--black);
}
td.fc-today {
background: none;
}
.fc-now-indicator {
border: 0;
}
&.without-weekend {
.fc-day-header,
.fc-day,
.fc-content-skeleton td {
&:last-child,
&:nth-last-child(2) {
display: none;
}
}
}
}

Jan-Hendrik Willms
committed
// Responsive
.responsive-display {
.fc-header-toolbar {
flex-direction: column;
.fc-left,
.fc-center,
.fc-right {
width: 100%;
text-align: center;

Jan-Hendrik Willms
committed
}
.fc-left,
.fc-center {
margin-bottom: $line-height-computed - $font-size-base;
}

Jan-Hendrik Willms
committed
}
.fc-view-container {
.fc-day-header {
overflow: hidden;
}
}
}