aboutsummaryrefslogtreecommitdiff
path: root/components/LabelSubheader.qml
diff options
context:
space:
mode:
Diffstat (limited to 'components/LabelSubheader.qml')
-rw-r--r--components/LabelSubheader.qml16
1 files changed, 8 insertions, 8 deletions
diff --git a/components/LabelSubheader.qml b/components/LabelSubheader.qml
index 50288ecf..7a74a378 100644
--- a/components/LabelSubheader.qml
+++ b/components/LabelSubheader.qml
@@ -26,9 +26,10 @@
// STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF
// THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-import QtQuick 2.0
+import QtQuick 2.9
import "../components" as MoneroComponents
+import "../components/effects/" as MoneroEffects
Label {
id: item
@@ -40,13 +41,12 @@ Label {
anchors.left: parent.left
anchors.right: parent.right
height: 2
- color: MoneroComponents.Style.dividerColor
- opacity: MoneroComponents.Style.dividerOpacity
- }
+ color: MoneroComponents.Style.appWindowBorderColor
- MouseArea {
- anchors.fill: parent
- acceptedButtons: Qt.NoButton
- cursorShape: parent.hoveredLink ? Qt.PointingHandCursor : Qt.ArrowCursor
+ MoneroEffects.ColorTransition {
+ targetObj: parent
+ blackColor: MoneroComponents.Style._b_appWindowBorderColor
+ whiteColor: MoneroComponents.Style._w_appWindowBorderColor
+ }
}
}