~mterry/unity8/new-input-proxies

« back to all changes in this revision

Viewing changes to qml/Stages/DesktopSpreadDelegate.qml

  • Committer: Michael Terry
  • Date: 2016-02-16 14:21:48 UTC
  • mfrom: (2136.1.44 origin/kbdLayout)
  • Revision ID: michael.terry@canonical.com-20160216142148-bsy6x3sxsoi3rdl3
Merge kbdLayout branch

Show diffs side-by-side

added added

removed removed

Lines of Context:
56
56
        }
57
57
    ]
58
58
 
 
59
    scale: highlightShown ? 1.025 : 1
 
60
    Behavior on scale {
 
61
        UbuntuNumberAnimation { duration: UbuntuAnimation.SnapDuration }
 
62
    }
 
63
 
59
64
    BorderImage {
60
65
        anchors {
61
66
            fill: root
70
75
        anchors.fill: parent
71
76
        anchors.margins: -units.gu(1)
72
77
        color: "white"
73
 
        opacity: highlightShown ? 0.15 : 0
 
78
        opacity: highlightShown ? 0.55 : 0
74
79
        antialiasing: true
75
80
    }
76
81
 
108
113
            ]
109
114
        }
110
115
    }
 
116
 
 
117
    Rectangle {
 
118
        anchors.fill: parent
 
119
        color: "black"
 
120
        opacity: root.highlightShown ? 0 : .1
 
121
        Behavior on opacity {
 
122
            UbuntuNumberAnimation { duration: UbuntuAnimation.SnapDuration }
 
123
        }
 
124
    }
111
125
}