aboutsummaryrefslogtreecommitdiffstats
path: root/dm/mdk-kde.xml
blob: 229660e2ead36cf061d566810ee5f103a17762d7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
<?xml version="1.0"?>
<!DOCTYPE greeter SYSTEM "greeter.dtd">
<greeter>
  <item type="pixmap" id="background" background="true">
    <normal file="/usr/share/mdk/backgrounds/default.png"/>
    <pos x="0" y="0" width="100%" height="100%"/>
  </item>
  <!-- MAIN BOX -->
  <item type="rect">
    <normal color="#FFFFFF" alpha="0.4"/>
    <pos y="50%" x="50%" width="600" height="276" anchor="c"/>
    <box orientation="vertical">
      <item type="rect">
        <pos width="100%" height="224"/>
        <fixed>
          <item type="rect">
            <pos x="50%" height="50" width="100%" anchor="n"/>
            <fixed>
              <item type="label">
                <pos x="50%" y="50%" anchor="c"/>
                <normal color="#FFFFFF" font="Sans 12 Bold"/>
                <!-- Stock label for: Welcome to %h -->
                <stock type="welcome-label"/>
              </item>
            </fixed>
          </item>
          <item type="rect">
            <pos anchor="n" x="50%" y="50" width="100%" height="156"/>
            <!--            <normal color="#FF0000" alpha="0.5"/>-->
            <fixed>
              <item type="rect" id="userlist-background">
                <!-- 16 pixel per user in list -->
                <pos x="22" width="50%" height="100%"/>
                <normal color="#ffffff" alpha="1.0"/>
                <fixed>
                  <item type="list" id="userlist">
                    <pos height="100%" width="100%"/>
                  </item>
                </fixed>
              </item>
              <!-- the login box contents, positioned freely -->
              <item type="rect">
                <pos width="box" height="box" x="100%" y="50%" anchor="e"/>
                <box orientation="vertical" spacing="8" xpadding="22">
                  <!-- Stock label for: Username: -->
                  <item type="label">
                    <pos anchor="nw" x="0"/>
                    <normal color="#FFFFFF" font="Sans 12"/>
                    <stock type="username-label"/>
                  </item>
                  <!-- user entry -->
                  <item type="entry" id="user-entry">
                    <pos height="24" width="230"/>
                </item>

                <!-- Stock label for: Password: -->
                  <item type="label">
                    <pos anchor="nw" x="0"/>
                    <normal color="#FFFFFF" font="Sans 12"/>
                    <stock type="password-label"/>
                  </item>
                  <!-- user entry -->
                  <item type="entry" id="pw-entry">
                    <pos height="24" width="230"/>
                  </item>
                </box>
              </item>
            </fixed>
          </item>
        </fixed>
      </item>
      <item type="rect">
        <pos width="100%" height="2"/>
        <normal color="#FFFFFF" alpha="0.4"/>
      </item>
      <item type="rect">
        <pos width="100%" height="50"/>
        <fixed>
          <item type="label" id="clock">
            <normal color="#FFFFFF" font="Sans 12"/>
            <pos x="22" y="50%" anchor="w"/>
            <text>%c</text>
          </item>
          <item type="rect">
            <pos x="-22" y="50%" height="30" width="80" anchor="e"/>
            <fixed>
              <item type="rect" id="session_button" button="true">
                <pos x="0" y="0" width="30" height="30"/>
                <fixed>
                  <item type="pixmap">
                    <normal file="sessions.png" tint="#dddddd"/>
                    <prelight file="sessions.png"/>
                    <active file="sessions.png" tint="#b8bcdb"/>
                  </item>
                </fixed>
              </item>
              <item type="rect" id="system_button" button="true">
                <show type="system" modes="console"/>
                <pos x="50" y="0" width="30" height="30"/>
                <fixed>
                  <item type="pixmap">
                    <normal file="system.png" tint="#dddddd"/>
                    <prelight file="system.png"/>
                    <active file="system.png" tint="#b8bcdb"/>
                  </item>
                </fixed>
              </item>
            </fixed>
          </item>
        </fixed>
      </item>
    </box>
  </item>
  <!-- timer -->
  <item type="rect" id="timed-rect">
    <show type="timed"/>
    <normal color="#FFFFFF" alpha="0"/>
    <pos anchor="n" x="50%" y="68%" width="box" height="box"/>
    <box orientation="vertical" min-width="400" xpadding="10" ypadding="5" spacing="0">
      <item type="label" id="timed-label">
        <normal color="#ffffff" font="Sans 12"/>
        <pos x="50%" anchor="n"/>
        <!-- Stock label for: User %s will login in %d seconds -->
        <stock type="timed-label"/>
      </item>
    </box>
  </item>
  <item type="label" id="pam-error">
    <pos x="50%" y="75%" anchor="c"/>
    <normal font="Sans Bold 14" color="#ffffff"/>
    <text/>
  </item>
  <item type="rect" id="caps-lock-warning">
    <normal color="#FFFFFF" alpha="0"/>
    <pos anchor="n" x="50%" y="80%" width="box" height="box"/>
    <box orientation="vertical" min-width="400" xpadding="10" ypadding="5" spacing="0">
      <item type="label">
        <normal color="#FFFFFF" font="Sans 14"/>
        <pos x="50%" anchor="n"/>
        <!-- Stock label for: You've got capslock on! -->
        <stock type="caps-lock-warning"/>
      </item>
    </box>
  </item>
</greeter>