summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2018-08-01 18:40:19 +0200
committerChristian Mollekopf <chrigi_1@fastmail.fm>2018-08-01 18:40:19 +0200
commit4b611ff24f87c3c1b6e7ad77bfcebcf94c502049 (patch)
tree89aba91ad1ad50ae0df661e516d6a08d25c45607
parent4c2fc9e0b731017b4578cd8cd5f6fd8d557d81ed (diff)
downloadkube-4b611ff24f87c3c1b6e7ad77bfcebcf94c502049.tar.gz
kube-4b611ff24f87c3c1b6e7ad77bfcebcf94c502049.zip
A bit of opacity for events
-rw-r--r--views/calendar/qml/WeekView.qml6
1 files changed, 4 insertions, 2 deletions
diff --git a/views/calendar/qml/WeekView.qml b/views/calendar/qml/WeekView.qml
index 1386e53b..8aa9fe94 100644
--- a/views/calendar/qml/WeekView.qml
+++ b/views/calendar/qml/WeekView.qml
@@ -204,6 +204,7 @@ FocusScope {
204 204
205 color: Kube.Colors.viewBackgroundColor 205 color: Kube.Colors.viewBackgroundColor
206 206
207 //Grid
207 Column { 208 Column {
208 anchors.fill: parent 209 anchors.fill: parent
209 Repeater { 210 Repeater {
@@ -212,7 +213,7 @@ FocusScope {
212 height: root.hourHeight * 2 213 height: root.hourHeight * 2
213 width: parent.width 214 width: parent.width
214 color: "transparent" 215 color: "transparent"
215 border.width:1 216 border.width: 1
216 border.color: Kube.Colors.lightgrey 217 border.color: Kube.Colors.lightgrey
217 } 218 }
218 } 219 }
@@ -250,6 +251,7 @@ FocusScope {
250 251
251 //color: model.modelData.color 252 //color: model.modelData.color
252 color: Kube.Colors.bewareOrange 253 color: Kube.Colors.bewareOrange
254 opacity: 0.8
253 border.width: 1 255 border.width: 1
254 border.color: Kube.Colors.viewBackgroundColor 256 border.color: Kube.Colors.viewBackgroundColor
255 257
@@ -303,7 +305,7 @@ FocusScope {
303 Rectangle { 305 Rectangle {
304 anchors.fill: parent 306 anchors.fill: parent
305 color: Kube.Colors.buttonColor 307 color: Kube.Colors.buttonColor
306 opacity: 0.4 308 opacity: 0.2
307 visible: root.currentDate.getDate() > dayDelegate.date.getDate() 309 visible: root.currentDate.getDate() > dayDelegate.date.getDate()
308 } 310 }
309 311