mirror of
https://github.com/ProtonMail/proton-bridge.git
synced 2025-12-21 17:46:48 +00:00
feat(GODT-2772): misc tweaks.
- Step description box tweaks and text color changes. - Factored out some constants (margins and dimensions. - Removed the ProtonStyle.px scaling which was useless as it was not applied everywhere.
This commit is contained in:
@ -22,7 +22,7 @@ Item {
|
||||
LargeView
|
||||
}
|
||||
|
||||
property var _spacing: 12 * ProtonStyle.px
|
||||
property var _spacing: 12
|
||||
property ColorScheme colorScheme
|
||||
property color progressColor: {
|
||||
if (!root.enabled)
|
||||
@ -154,7 +154,7 @@ Item {
|
||||
}
|
||||
}
|
||||
Item {
|
||||
implicitHeight: root.type === AccountDelegate.LargeView ? 6 * ProtonStyle.px : 0
|
||||
implicitHeight: root.type === AccountDelegate.LargeView ? 6 : 0
|
||||
}
|
||||
RowLayout {
|
||||
spacing: 0
|
||||
@ -222,15 +222,15 @@ Item {
|
||||
}
|
||||
}
|
||||
Item {
|
||||
implicitHeight: root.type === AccountDelegate.LargeView ? 3 * ProtonStyle.px : 0
|
||||
implicitHeight: root.type === AccountDelegate.LargeView ? 3 : 0
|
||||
}
|
||||
Rectangle {
|
||||
id: progress_bar
|
||||
color: root.colorScheme.border_weak
|
||||
height: 4 * ProtonStyle.px
|
||||
height: 4
|
||||
radius: ProtonStyle.progress_bar_radius
|
||||
visible: root.user ? root.type === AccountDelegate.LargeView : false
|
||||
width: 140 * ProtonStyle.px
|
||||
width: 140
|
||||
|
||||
Rectangle {
|
||||
id: progress_bar_filled
|
||||
|
||||
Reference in New Issue
Block a user