ContactsStyle.qml 1.35 KB
Newer Older
Ronan's avatar
Ronan committed
1
pragma Singleton
2
import QtQml 2.2
Ronan's avatar
Ronan committed
3

4
import Colors 1.0
5
import Units 1.0
Ronan's avatar
Ronan committed
6

Ronan's avatar
Ronan committed
7
// =============================================================================
Ronan's avatar
Ronan committed
8 9

QtObject {
Ronan's avatar
Ronan committed
10
  property color backgroundColor: Colors.k
11
  property int spacing: 20
Ronan's avatar
Ronan committed
12 13

  property QtObject bar: QtObject {
Ronan's avatar
Ronan committed
14
    property color backgroundColor: Colors.e
Ronan's avatar
Ronan committed
15 16 17 18 19
    property int height: 60
    property int leftMargin: 18
    property int rightMargin: 18
  }

20 21 22
  property QtObject contact: QtObject {
    property int actionButtonsSize: 36
    property int avatarSize: 30
Ronan's avatar
Ronan committed
23
    property int deleteButtonSize: 18
24
    property int height: 50
Ronan's avatar
Ronan committed
25
    property int leftMargin: 40
26 27 28 29 30
    property int presenceLevelSize: 12
    property int rightMargin: 25
    property int spacing: 15

    property QtObject backgroundColor: QtObject {
Ronan's avatar
Ronan committed
31
      property color normal: Colors.k
Ronan's avatar
Ronan committed
32
      property color hovered: Colors.g10
33 34 35
    }

    property QtObject border: QtObject {
Ronan's avatar
Ronan committed
36
      property color color: Colors.f
37 38 39
      property int width: 1
    }

40 41 42 43 44
    property QtObject indicator: QtObject {
      property color color: Colors.i
      property int width: 5
    }

Ronan's avatar
Ronan committed
45
    property QtObject presence: QtObject {
46
      property int pointSize: Units.dp * 10
Ronan's avatar
Ronan committed
47 48 49
      property color color: Colors.w
    }

50
    property QtObject username: QtObject {
Ronan's avatar
Ronan committed
51
      property color color: Colors.j
52
      property int pointSize: Units.dp * 10
53 54
      property int width: 220
    }
Ronan's avatar
Ronan committed
55 56
  }
}