Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Plasma
Plasma Phone Components
Commits
9278d996
Commit
9278d996
authored
Feb 06, 2020
by
Marco Martin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
a gradient for contrast
parent
5002023f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
24 additions
and
3 deletions
+24
-3
containments/panel/package/contents/ui/main.qml
containments/panel/package/contents/ui/main.qml
+10
-2
containments/taskpanel/package/contents/ui/main.qml
containments/taskpanel/package/contents/ui/main.qml
+14
-1
No files found.
containments/panel/package/contents/ui/main.qml
View file @
9278d996
...
@@ -167,8 +167,16 @@ Item {
...
@@ -167,8 +167,16 @@ Item {
height
:
root
.
height
height
:
root
.
height
Rectangle
{
Rectangle
{
anchors.fill
:
parent
anchors.fill
:
parent
color
:
PlasmaCore
.
ColorScope
.
backgroundColor
gradient
:
Gradient
{
opacity
:
showingApp
GradientStop
{
position
:
1.0
color
:
showingApp
?
icons
.
backgroundColor
:
"
transparent
"
}
GradientStop
{
position
:
0.0
color
:
showingApp
?
icons
.
backgroundColor
:
Qt
.
rgba
(
0
,
0
,
0
,
0.2
)
}
}
}
}
Loader
{
Loader
{
...
...
containments/taskpanel/package/contents/ui/main.qml
View file @
9278d996
...
@@ -116,7 +116,7 @@ PlasmaCore.ColorScope {
...
@@ -116,7 +116,7 @@ PlasmaCore.ColorScope {
anchors.fill
:
parent
anchors.fill
:
parent
visible
:
plasmoid
.
configuration
.
PanelButtonsVisible
visible
:
plasmoid
.
configuration
.
PanelButtonsVisible
/*
Rectangle {
Rectangle {
anchors.fill: parent
anchors.fill: parent
color: root.backgroundColor
color: root.backgroundColor
...
@@ -131,6 +131,19 @@ PlasmaCore.ColorScope {
...
@@ -131,6 +131,19 @@ PlasmaCore.ColorScope {
color: PlasmaCore.ColorScope.textColor
color: PlasmaCore.ColorScope.textColor
opacity: 0.2
opacity: 0.2
}
}
}*/
Rectangle
{
anchors.fill
:
parent
gradient
:
Gradient
{
GradientStop
{
position
:
0
color
:
showingApp
?
PlasmaCore
.
ColorScope
.
backgroundColor
:
"
transparent
"
}
GradientStop
{
position
:
1
color
:
showingApp
?
PlasmaCore
.
ColorScope
.
backgroundColor
:
Qt
.
rgba
(
0
,
0
,
0
,
0.2
)
}
}
}
}
Button
{
Button
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment