mirror of
https://code.videolan.org/videolan/vlc
synced 2024-07-29 11:58:24 +02:00
qml/BannerSources: Update look and feel
This commit is contained in:
parent
633d1d85d8
commit
e8df4b1d70
@ -206,13 +206,14 @@ FocusScope {
|
||||
anchors.fill: parent
|
||||
}
|
||||
|
||||
Widgets.CoverShadow {
|
||||
anchors.fill: localToolbarBg
|
||||
source: localToolbarBg
|
||||
primaryVerticalOffset: VLCStyle.dp(1)
|
||||
primaryRadius: VLCStyle.dp(9)
|
||||
secondaryVerticalOffset: VLCStyle.dp(0)
|
||||
secondaryRadius: VLCStyle.dp(2)
|
||||
Rectangle {
|
||||
anchors.left : localToolbarBg.left
|
||||
anchors.right: localToolbarBg.right
|
||||
anchors.top : localToolbarBg.bottom
|
||||
|
||||
height: VLCStyle.border
|
||||
|
||||
color: VLCStyle.colors.bannerBorder
|
||||
}
|
||||
|
||||
Widgets.NavigableRow {
|
||||
|
@ -69,6 +69,10 @@ Item {
|
||||
|
||||
property color bgFocus: (isThemeDark) ? white : black
|
||||
|
||||
// Banner
|
||||
|
||||
property color bannerBorder: (isThemeDark) ? "#303030" : "#e0e0e0"
|
||||
|
||||
// Button
|
||||
|
||||
property color button: systemPalette.button
|
||||
|
@ -51,6 +51,8 @@ Item {
|
||||
property double margin_xlarge: dp(32, scale);
|
||||
property double margin_xxlarge: dp(36, scale);
|
||||
|
||||
// Borders
|
||||
property int border: dp(1, scale)
|
||||
property int focus_border: dp(2, scale)
|
||||
|
||||
property int fontSize_xsmall: fontMetrics_xsmall.font.pixelSize
|
||||
|
Loading…
Reference in New Issue
Block a user