~tpeeters/ubuntu-ui-toolkit/60-ActionsFromTabs

« back to all changes in this revision

Viewing changes to modules/Ubuntu/Components/Themes/Ambiance/ScrollbarStyle.qml

  • Committer: Tim Peeters
  • Date: 2015-04-16 15:01:26 UTC
  • mfrom: (1477.1.2 staging)
  • Revision ID: tim.peeters@canonical.com-20150416150126-33p6fogdkcsepzot
merge staging

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
 
 * Copyright 2012 Canonical Ltd.
 
2
 * Copyright 2015 Canonical Ltd.
3
3
 *
4
4
 * This program is free software; you can redistribute it and/or modify
5
5
 * it under the terms of the GNU Lesser General Public License as published by
15
15
 */
16
16
 
17
17
import QtQuick 2.4
18
 
import Ubuntu.Components 1.2
 
18
import Ubuntu.Components 1.3
19
19
 
20
20
/*
21
21
  The visuals handle both active and passive modes. This behavior is driven yet by
70
70
    property PropertyAnimation thumbConnectorFading: UbuntuNumberAnimation { duration: UbuntuAnimation.SnapDuration }
71
71
    property PropertyAnimation thumbFading: UbuntuNumberAnimation { duration: UbuntuAnimation.SnapDuration }
72
72
 
73
 
    property color sliderColor: Theme.palette.normal.base
 
73
    property color sliderColor: theme.palette.normal.base
74
74
    property real sliderRadius: units.gu(0.5)
75
75
    property color thumbConnectorColor: "white"
76
76
    property url forwardThumbReleased: (styledItem.align === Qt.AlignLeading || styledItem.align === Qt.AlignTrailing) ? "artwork/ScrollbarBottomIdle.png" : "artwork/ScrollbarRightIdle.png"