From c3b7404636484ce74ba74ba61101877e12bd7aba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=A6=8C=EA=A6=AB=EA=A6=B6=EA=A6=8F=EA=A7=80=EA=A6=A6?= =?UTF-8?q?=EA=A6=BF=EA=A6=A7=EA=A6=AE=EA=A6=91=EA=A6=A9=EA=A6=AD=EA=A7=80?= Date: Thu, 30 Mar 2023 12:32:07 +0800 Subject: Stopwatch & danger colour reuse --- Course/Detail/Classic/Content/Sidebar/Video.ui.qml | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) (limited to 'Course') diff --git a/Course/Detail/Classic/Content/Sidebar/Video.ui.qml b/Course/Detail/Classic/Content/Sidebar/Video.ui.qml index 5e6e155..0136221 100644 --- a/Course/Detail/Classic/Content/Sidebar/Video.ui.qml +++ b/Course/Detail/Classic/Content/Sidebar/Video.ui.qml @@ -113,9 +113,24 @@ ColumnLayout { id: time spacing: 8 + Image { + source: "../../../../../Font-Awesome/svgs/solid/stopwatch.svg" + sourceSize { + width: 13 + height: 15 + } + + ColorOverlay { + anchors.fill: parent + source: parent + color: Eduport + .bsDanger + } + } + Lbl.Body { text: qsTr("5 days left at this price") - color: "#d6293e" + color: Eduport.bsDanger } } } -- cgit v1.2.3