From c3b7404636484ce74ba74ba61101877e12bd7aba Mon Sep 17 00:00:00 2001 From: ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ 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/Detail/Classic') 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.3