mirror of
https://github.com/nottinghamtec/PyRIGS.git
synced 2026-01-17 05:22:16 +00:00
First pass at making the calendar less crap
This commit is contained in:
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -10,34 +10,35 @@
|
|||||||
@import 'node_modules/@forevolve/bootstrap-dark/scss/bootstrap-dark.scss';
|
@import 'node_modules/@forevolve/bootstrap-dark/scss/bootstrap-dark.scss';
|
||||||
background: #222;
|
background: #222;
|
||||||
color: $gray-100;
|
color: $gray-100;
|
||||||
|
$darktheme: #121416;
|
||||||
.navbar {
|
.navbar {
|
||||||
background-color: #111111 !important;
|
background-color: #111111 !important;
|
||||||
}
|
}
|
||||||
.dropdown-menu {
|
.dropdown-menu {
|
||||||
box-shadow: 0 0.5rem 1rem black;
|
box-shadow: 0 0.5rem 1rem black;
|
||||||
color: $gray-100;
|
color: $gray-100;
|
||||||
background: #121416;
|
background: $darktheme;
|
||||||
}
|
}
|
||||||
.form-control:not(.btn) {
|
.form-control:not(.btn) {
|
||||||
background-color: #121416;
|
background-color: $darktheme;
|
||||||
color: $gray-100;
|
color: $gray-100;
|
||||||
}
|
}
|
||||||
.btn-light, .popover, .popover-header, .popover-body, .status {
|
.btn-light, .popover, .popover-header, .popover-body, .status {
|
||||||
background-color: #121416 !important;
|
background-color: $darktheme !important;
|
||||||
color: $gray-100 !important;
|
color: $gray-100 !important;
|
||||||
border-color: #121416;
|
border-color: $darktheme;
|
||||||
}
|
}
|
||||||
.bs-popover-right > .arrow::after {
|
.bs-popover-right > .arrow::after {
|
||||||
border-right-color: #121416;
|
border-right-color: $darktheme;
|
||||||
}
|
}
|
||||||
.bs-popover-left > .arrow::after {
|
.bs-popover-left > .arrow::after {
|
||||||
border-left-color: #121416;
|
border-left-color: $darktheme;
|
||||||
}
|
}
|
||||||
.bs-popover-top > .arrow::after {
|
.bs-popover-top > .arrow::after {
|
||||||
border-top-color: #121416;
|
border-top-color: $darktheme;
|
||||||
}
|
}
|
||||||
.bs-popover-bottom > .arrow::after {
|
.bs-popover-bottom > .arrow::after {
|
||||||
border-bottom-color: #121416;
|
border-bottom-color: $darktheme;
|
||||||
}
|
}
|
||||||
a {
|
a {
|
||||||
color: $blue;
|
color: $blue;
|
||||||
@@ -49,7 +50,7 @@
|
|||||||
color: $gray-100;
|
color: $gray-100;
|
||||||
}
|
}
|
||||||
.input-group-text {
|
.input-group-text {
|
||||||
border-color: #121416;
|
border-color: $darktheme;
|
||||||
}
|
}
|
||||||
.btn-secondary, .btn-info {
|
.btn-secondary, .btn-info {
|
||||||
color: white;
|
color: white;
|
||||||
@@ -62,6 +63,9 @@
|
|||||||
background-color: $gray-200 !important;
|
background-color: $gray-200 !important;
|
||||||
border-radius: 0.2em;
|
border-radius: 0.2em;
|
||||||
}
|
}
|
||||||
|
.fc-today {
|
||||||
|
padding: 0 !important;
|
||||||
|
}
|
||||||
del {
|
del {
|
||||||
color: black;
|
color: black;
|
||||||
background-color: $danger;
|
background-color: $danger;
|
||||||
|
|||||||
@@ -12,6 +12,22 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.fc-content {
|
||||||
|
color: black;
|
||||||
|
}
|
||||||
|
|
||||||
|
.fc-agendaDay-view {
|
||||||
|
.fc-content {
|
||||||
|
font-size: large !important;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.fc-agendaWeek-view {
|
||||||
|
.fc-content {
|
||||||
|
font-size: 0.9rem;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
#content {
|
#content {
|
||||||
padding: 40px 15px;
|
padding: 40px 15px;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -34,6 +34,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
$('#calendar').fullCalendar({
|
$('#calendar').fullCalendar({
|
||||||
|
themeSystem: 'bootstrap4',
|
||||||
editable: false,
|
editable: false,
|
||||||
eventLimit: true, // allow "more" link when too many events
|
eventLimit: true, // allow "more" link when too many events
|
||||||
firstDay: 1,
|
firstDay: 1,
|
||||||
|
|||||||
Reference in New Issue
Block a user