not quite so much needs to be delayed to the init() function
[personal-kdebase.git] / workspace / kdm / kfrontend / themes / oxygen / oxygen.xml
blob4d8f6a6ef0b11210c6ed6a6631c9155b0647f336
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!DOCTYPE greeter SYSTEM "greeter.dtd">
3 <!--
4 Copyright 2008 Urs Wolfer <uwolfer @ kde.org>
5 Copyright 2008 Oswald Buddenhagen <ossi @ kde.org>
7 This program is free software; you can redistribute it and/or
8 modify it under the terms of the GNU General Public License as
9 published by the Free Software Foundation; either version 2 of 
10 the License, or (at your option) any later version.
12 This program is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 GNU General Public License for more details.
17 You should have received a copy of the GNU General Public License
18 along with this program.  If not, see <http://www.gnu.org/licenses/>.
19 -->
20 <greeter id="theme">
21         <style font="Sans 12" window-text-color="#C7C7C7"
22                base-color="#C7C7C7" alternate-base-color="#666666"
23                text-color="#000000" disabled-text-color="#808080"/>
24         <item type="svg" id="background" background="true">
25                 <normal file="background.svg"/>
26                 <pos anchor="c" x="50%" y="50%" width="scale" height="100%"/>
27         </item>
29         <item type="rect" id="greeter">
30                 <pos y="50%" x="50%" anchor="c" width="box" height="box"/>
32                 <fixed>
33                         <item type="svg">
34                                 <normal file="oxygen-box.svg" element="topleft"/>
35                                 <pos anchor="nw" x="0" y="0" width="11" height="11"/>
36                         </item>
37                         <item type="svg">
38                                 <normal file="oxygen-box.svg" element="top"/>
39                                 <pos anchor="n" x="50%" y="0" width="-21" height="11"/>
40                         </item>
41                         <item type="svg">
42                                 <normal file="oxygen-box.svg" element="topright"/>
43                                 <pos anchor="ne" x="-0" y="0" width="11" height="11"/>
44                         </item>
45                         <item type="svg">
46                                 <normal file="oxygen-box.svg" element="left"/>
47                                 <pos anchor="w" x="0" y="50%" width="11" height="-21"/>
48                         </item>
49                         <item type="svg">
50                                 <normal file="oxygen-box.svg" element="center"/>
51                                 <pos anchor="c" x="50%" y="50%" width="-21" height="-21"/>
52                         </item>
53                         <item type="svg">
54                                 <normal file="oxygen-box.svg" element="right"/>
55                                 <pos anchor="e" x="-0" y="50%" width="11" height="-21"/>
56                         </item>
57                         <item type="svg">
58                                 <normal file="oxygen-box.svg" element="bottomleft"/>
59                                 <pos anchor="sw" x="0" y="-0" width="11" height="11"/>
60                         </item>
61                         <item type="svg">
62                                 <normal file="oxygen-box.svg" element="bottom"/>
63                                 <pos anchor="s" x="50%" y="-0" width="-21" height="11"/>
64                         </item>
65                         <item type="svg">
66                                 <normal file="oxygen-box.svg" element="bottomright"/>
67                                 <pos anchor="se" x="-0" y="-0" width="11" height="11"/>
68                         </item>
69                 </fixed>
71                 <box orientation="vertical" xpadding="15" ypadding="15" spacing="10">
72                         <item type="rect" id="banner">
73                                 <pos width="box" height="box" min-width="100%"/>
74                                 <box orientation="horizontal" spacing="10">
75                                         <item type="label" id="welcome">
76                                                 <pos anchor="w" y="50%"/>
77                                                 <normal color="#8BAFBA" font="Sans 16"/>
78                                                 <stock type="welcome-label"/>
79                                         </item>
80                                         <item type="rect" id="spacer1">
81                                                 <pos expand="true"/>
82                                         </item>
83                                         <item type="pixmap" id="branding">
84                                                 <normal file="branding-icon.png"/>
85                                         </item>
86                                 </box>
87                         </item>
88                         <item type="rect" id="content">
89                                 <pos width="box" height="box"/>
90                                 <box orientation="horizontal" spacing="10">
91                                         <item type="list" id="userlist">
92                                                 <pos max-height="30%^^"/>
93                                         </item>
94                                         <item type="rect" id="verify">
95                                                 <pos width="box" height="box"/>
96                                                 <box orientation="vertical" spacing="2">
97                                                         <item type="rect" id="talker">
98                                                                 <pos anchor="n" x="50%" width="box" height="box"/>
99                                                                 <box orientation="vertical" xpadding="2" ypadding="2" spacing="2">
100                                                                         <item type="label">
101                                                                                 <pos x="5"/>
102                                                                                 <stock type="username-label"/>
103                                                                         </item>
104                                                                         <item type="entry" id="user-entry">
105                                                                                 <pos width="150" height="22"/>
106                                                                         </item>
107                                                                         <item type="label">
108                                                                                 <pos x="5"/>
109                                                                                 <stock type="password-label"/>
110                                                                         </item>
111                                                                         <item type="entry" id="pw-entry">
112                                                                                 <pos width="150" height="22"/>
113                                                                         </item>
114                                                                 </box>
115                                                         </item>
116                                                         <item type="rect" id="pam-error-placeholder">
117                                                                 <pos width="100%" height="box"/>
118                                                                 <box orientation="horizontal">
119                                                                         <item type="label" id="dummy1">
120                                                                                 <normal alpha="0" font="Sans Bold 12"/>
121                                                                                 <text/>
122                                                                         </item>
123                                                                         <item type="label" id="pam-error">
124                                                                                 <pos anchor="c" x="50%" y="50%" expand="true"/>
125                                                                                 <normal color="#C7C7C7" font="Sans Bold 12"/>
126                                                                                 <text/>
127                                                                         </item>
128                                                                 </box>
129                                                         </item>
130                                                         <item type="label" id="caps-lock-warning">
131                                                                 <normal color="#C7C7C7" font="Sans 12"/>
132                                                                 <pos anchor="c" x="50%" y="50%"/>
133                                                                 <stock type="caps-lock-warning"/>
134                                                         </item>
135                                                 </box>
136                                         </item>
137                                 </box>
138                         </item>
139                 </box>
141         </item>
143         <!-- bottom bar and session buttons -->
144         <item type="rect" id="footer">
145                 <pos x="-0" y="-75" min-width="50%" width="box" height="43" anchor="e"/>
146                 <fixed>
147                         <item type="svg">
148                                 <normal file="oxygen.svg" element="footer-background"/>
149                                 <pos width="1980" height="43"/>
150                         </item>
151                 </fixed>
152                 <box orientation="horizontal" spacing="10" xpadding="10">
153                         <item type="rect" id="session_button" button="true">
154                                 <pos y="50%" anchor="w" width="box" height="box"/>
155                                 <box orientation="horizontal" spacing="10" xpadding="10">
156                                         <item type="pixmap">
157                                                 <normal file="session.png" tint="#ffffff"/>
158                                                 <prelight file="session.png"/>
159                                                 <active file="session.png" tint="#ffffff"/>
160                                                 <pos y="50%" anchor="w"/>
161                                         </item>
162                                         <item type="label">
163                                                 <normal color="#C7C7C7" font="Sans 12"/>
164                                                 <prelight color="#ffffff" font="Sans 12"/>
165                                                 <active color="#666666" font="Sans 12"/>
166                                                 <pos y="50%" anchor="w"/>
167                                                 <stock type="session"/>
168                                         </item>
169                                 </box>
170                         </item>
171                         <item type="rect" id="system_button" button="true">
172                                 <show modes="console" type="system"/>
173                                 <pos y="50%" anchor="w" width="box" height="box"/>
174                                 <box orientation="horizontal" spacing="10" xpadding="10">
175                                         <item type="pixmap">
176                                                 <normal file="system.png" tint="#ffffff"/>
177                                                 <prelight file="system.png"/>
178                                                 <active file="system.png" tint="#ffffff"/>
179                                                 <pos y="50%" anchor="w"/>
180                                         </item>
181                                         <item type="label">
182                                                 <normal color="#C7C7C7" font="Sans 12"/>
183                                                 <prelight color="#ffffff" font="Sans 12"/>
184                                                 <active color="#666666" font="Sans 12"/>
185                                                 <pos y="50%" anchor="w"/>
186                                                 <stock type="system"/>
187                                         </item>
188                                 </box>
189                         </item>
190                         <item type="rect" id="spacer2">
191                                 <pos expand="true"/>
192                         </item>
193                         <item type="label" id="clock">
194                                 <pos anchor="w" y="50%"/>
195                                 <normal font="Sans 12" color="#C7C7C7"/>
196                                 <text>%c</text>
197                         </item>
198                         <item type="rect" id="spacer3">
199                                 <pos width="15"/>
200                         </item>
201                 </box>
202         </item>
204         <item type="rect" id="timed-label">
205                 <pos anchor="c" x="50%" y="20%" width="box" height="box"/>
206                 <box orientation="vertical" xpadding="50" ypadding="5" spacing="0">
207                         <item type="label">
208                                 <normal color="#C7C7C7" font="Sans 12"/>
209                                 <pos x="50%" anchor="n"/>
210                                 <stock type="timed-label"/>
211                         </item>
212                 </box>
213         </item>
215 </greeter>