aboutsummaryrefslogtreecommitdiff
path: root/asset-sources/theme.scss
diff options
context:
space:
mode:
authorDaniel Schadt <kingdread@gmx.de>2024-11-28 21:28:51 +0100
committerDaniel Schadt <kingdread@gmx.de>2024-11-28 21:28:51 +0100
commit880ba034082ebc288066f3c1ac54d8d5a3550123 (patch)
tree49f6e8f1be0ab3b78e0d4a7c4c852be1097da0f6 /asset-sources/theme.scss
parent5866345dd92ffa5c0b41b5b13f16f1900075f4a6 (diff)
parente82233c57ba2a76dd2fbe10cec8effceac2a3e75 (diff)
downloadfietsboek-880ba034082ebc288066f3c1ac54d8d5a3550123.tar.gz
fietsboek-880ba034082ebc288066f3c1ac54d8d5a3550123.tar.bz2
fietsboek-880ba034082ebc288066f3c1ac54d8d5a3550123.zip
Merge branch 'calendar'
Diffstat (limited to 'asset-sources/theme.scss')
-rw-r--r--asset-sources/theme.scss76
1 files changed, 76 insertions, 0 deletions
diff --git a/asset-sources/theme.scss b/asset-sources/theme.scss
index 25353d7..35a3df1 100644
--- a/asset-sources/theme.scss
+++ b/asset-sources/theme.scss
@@ -158,6 +158,82 @@ strong {
text-align: right;
}
+.calendar-title {
+ text-align: center;
+}
+.calendar-controls {
+ text-align: center;
+ margin-bottom: 50px;
+}
+.profile-calendar {
+ width: 100%;
+
+ thead {
+ text-align: center;
+ font-size: 120%;
+ }
+
+ .calendar-cell, .calendar-cell-empty {
+ height: 150px;
+ width: calc(100%/7);
+ }
+
+ .calendar-cell {
+ border: 1px solid gray;
+ vertical-align: top;
+
+ .calendar-date {
+ font-size: 140%;
+ font-weight: bold;
+ }
+
+ ul {
+ list-style: none;
+ text-align: center;
+ }
+ }
+
+ .cell-length-0 {
+ color: gray;
+ }
+ .cell-length-1 {
+ background-color: #8FF0A4;
+ ul {
+ font-size: 110%;
+ }
+ }
+ .cell-length-2 {
+ background-color: #75DD95;
+ ul {
+ font-size: 120%;
+ }
+ }
+ .cell-length-3 {
+ background-color: #5BC987;
+ ul {
+ font-size: 130%;
+ }
+ }
+ .cell-length-4 {
+ background-color: #40B678;
+ ul {
+ font-size: 140%;
+ }
+ }
+ .cell-length-5 {
+ color: white;
+ background-color: #26A269;
+ ul {
+ font-size: 150%;
+ }
+ }
+
+ a {
+ text-decoration: none;
+ color: inherit;
+ }
+}
+
/* Ensure a consistent width of the cells in the browse view. */
.browse-summary th, .browse-summary td {
width: 25%;