mirror of
https://github.com/chylex/Nextcloud-Desktop.git
synced 2024-11-24 16:42:46 +01:00
f671a4b23f
The lightgray menu border color #ededed introduced in
commit f147e5a66f
(by PR #2095)
is way too light for my display (and probably others).
Thus the menus have no clear border which looks odd and broken.
This commit simply darkens the menu border to #bdbdbd, which
coincides with the (current default) color of the menu separator.
Signed-off-by: Stephan Beyer <s-beyer@gmx.net>
45 lines
1.3 KiB
QML
45 lines
1.3 KiB
QML
pragma Singleton
|
|
|
|
// Minimum for this is Qt 5.5
|
|
import QtQuick 2.5
|
|
|
|
QtObject {
|
|
// Colors
|
|
property color ncBlue: "#0082c9"
|
|
property color ncBlueHover: "#009dd9"
|
|
property color lightHover: "#f7f7f7"
|
|
property color menuBorder: "#bdbdbd"
|
|
|
|
// Fonts
|
|
// We are using pixel size because this is cross platform comparable, point size isn't
|
|
property int topLinePixelSize: 12
|
|
property int subLinePixelSize: 10
|
|
|
|
// Dimensions and sizes
|
|
property int trayWindowWidth: 400
|
|
property int trayWindowHeight: 510
|
|
property int trayWindowRadius: 10
|
|
property int trayWindowBorderWidth: 1
|
|
property int trayWindowHeaderHeight: 60
|
|
|
|
property int currentAccountButtonWidth: 220
|
|
property int currentAccountButtonRadius: 2
|
|
property int currentAccountLabelWidth: 128
|
|
|
|
property int accountAvatarSize: (trayWindowHeaderHeight - 16)
|
|
property int accountAvatarStateIndicatorSize: 16
|
|
property int accountLabelWidth: 128
|
|
|
|
property int accountDropDownCaretSize: 20
|
|
property int accountDropDownCaretMargin: 8
|
|
|
|
property int addAccountButtonHeight: 50
|
|
|
|
property int headerButtonIconSize: 32
|
|
|
|
property int activityLabelBaseWidth: 240
|
|
|
|
// Visual behaviour
|
|
property bool hoverEffectsEnabled: true
|
|
}
|