Changeset View
Changeset View
Standalone View
Standalone View
sddm-theme/Main.qml
Show First 20 Lines • Show All 109 Lines • ▼ Show 20 Line(s) | 108 | WallpaperFader { | |||
---|---|---|---|---|---|
110 | anchors.fill: parent | 110 | anchors.fill: parent | ||
111 | state: loginScreenRoot.uiVisible ? "on" : "off" | 111 | state: loginScreenRoot.uiVisible ? "on" : "off" | ||
112 | source: wallpaper | 112 | source: wallpaper | ||
113 | mainStack: mainStack | 113 | mainStack: mainStack | ||
114 | footer: footer | 114 | footer: footer | ||
115 | clock: clock | 115 | clock: clock | ||
116 | } | 116 | } | ||
117 | 117 | | |||
118 | DropShadow { | ||||
119 | id: clockShadow | ||||
120 | anchors.fill: clock | ||||
121 | source: clock | ||||
122 | horizontalOffset: 1 | ||||
123 | verticalOffset: 1 | ||||
124 | radius: 6 | ||||
125 | samples: 14 | ||||
126 | spread: 0.3 | ||||
127 | color: "black" // matches Breeze window decoration and desktopcontainment | ||||
128 | Behavior on opacity { | ||||
129 | OpacityAnimator { | ||||
130 | duration: 1000 | ||||
131 | easing.type: Easing.InOutQuad | ||||
132 | } | ||||
133 | } | ||||
134 | } | ||||
135 | | ||||
118 | Clock { | 136 | Clock { | ||
119 | id: clock | 137 | id: clock | ||
120 | visible: y > 0 | 138 | visible: y > 0 | ||
139 | property Item shadow: clockShadow | ||||
121 | y: (userListComponent.userList.y + mainStack.y)/2 - height/2 | 140 | y: (userListComponent.userList.y + mainStack.y)/2 - height/2 | ||
122 | anchors.horizontalCenter: parent.horizontalCenter | 141 | anchors.horizontalCenter: parent.horizontalCenter | ||
123 | } | 142 | } | ||
124 | 143 | | |||
125 | 144 | | |||
126 | StackView { | 145 | StackView { | ||
127 | id: mainStack | 146 | id: mainStack | ||
128 | anchors { | 147 | anchors { | ||
▲ Show 20 Lines • Show All 315 Lines • Show Last 20 Lines |