diff options
author | Antony Baker <jasperodus@zoho.com> | 2019-01-04 10:09:14 +0000 |
---|---|---|
committer | Papoteur <papoteur@mageia.org> | 2019-01-05 18:16:44 +0100 |
commit | b63a8f85970347aeac4902205cca2bd3278fb161 (patch) | |
tree | 04295337599e633dec75de77aa314fb72da2941d | |
parent | 3b68d3bade6789626c0e9d458ea4906941f7c768 (diff) | |
download | mageiawelcome-b63a8f85970347aeac4902205cca2bd3278fb161.tar mageiawelcome-b63a8f85970347aeac4902205cca2bd3278fb161.tar.gz mageiawelcome-b63a8f85970347aeac4902205cca2bd3278fb161.tar.bz2 mageiawelcome-b63a8f85970347aeac4902205cca2bd3278fb161.tar.xz mageiawelcome-b63a8f85970347aeac4902205cca2bd3278fb161.zip |
Media Sources: 1) add gradient to Backports. 2) change bg colour for Backports & Notes (text legibility). 3) make white text bold, to further help legibility of white text.
-rw-r--r-- | qml/mw-ui.qml | 24 |
1 files changed, 16 insertions, 8 deletions
diff --git a/qml/mw-ui.qml b/qml/mw-ui.qml index e51f318..fa28eba 100644 --- a/qml/mw-ui.qml +++ b/qml/mw-ui.qml @@ -120,7 +120,7 @@ Rectangle { Layout.fillWidth: true Label { anchors.centerIn: parent - text: qsTr("core"); } + text: qsTr("core"); font.bold: true; } } Label { text: qsTr("- the free-open-source packages"); @@ -144,7 +144,7 @@ Rectangle { Layout.fillWidth: true Label { anchors.centerIn: parent - text: qsTr("nonfree"); + text: qsTr("nonfree"); font.bold: true; color: "white"} } Label { @@ -169,7 +169,7 @@ Rectangle { Layout.fillWidth: true Label { anchors.centerIn: parent - text: qsTr("tainted"); + text: qsTr("tainted"); font.bold: true; color: "white" } } Label { @@ -178,13 +178,21 @@ Rectangle { Layout.maximumWidth: slideshow.width * .8 color: "white" } - Rectangle { - color: "lightgrey" + Rectangle {id: backports + LinearGradient { + anchors.fill: parent + start: Qt.point(0, 0) + end: Qt.point(0, 20) + gradient: Gradient { + GradientStop { position: 0.0; color: "lightgray" } + GradientStop { position: 1.0; color: "darkgray" } + } + } width: 80; height: 30 Layout.alignment: Qt.AlignTop Layout.fillWidth: true Label { anchors.centerIn: parent - text: qsTr("backports"); } + text: qsTr("backports"); font.bold: true; } } Label { text: qsTr("- includes software published after a Mageia release, or another version of software already present and not replaced."); @@ -208,13 +216,13 @@ Rectangle { } } Rectangle {id: noteBg - color: "gold"; + color: "#e6c200"; width: 70 height: 30 Layout.alignment: Qt.AlignTop Layout.fillWidth: true Label { anchors.centerIn: parent - text: qsTr("Note! ") + text: qsTr("Note! "); font.bold: true; } } Label { text: qsTr("If you enabled the online repositories during installation, some media sources should be installed already. Otherwise, we will now configure these online repositories. |