diff options
Diffstat (limited to 'dm/mdk-kde.xml')
-rw-r--r-- | dm/mdk-kde.xml | 345 |
1 files changed, 152 insertions, 193 deletions
diff --git a/dm/mdk-kde.xml b/dm/mdk-kde.xml index 62a3bb8..78514d0 100644 --- a/dm/mdk-kde.xml +++ b/dm/mdk-kde.xml @@ -1,218 +1,177 @@ <?xml version="1.0"?> <!DOCTYPE greeter SYSTEM "greeter.dtd"> <greeter> - <item type="pixmap"> + <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> - - <!-- START BAR --> - + <!-- MAIN BOX --> <item type="rect"> - <pos x="0" y="92%" width="100%" height="8%"/> - <fixed> + <normal color="#FFFFFF" alpha="0.4"/> + <pos y="50%" x="50%" width="600" height="276" anchor="c"/> + <box orientation="vertical"> <item type="rect"> - <normal color="#ffffff" alpha="0.2" /> - <pos x="0" y="4" width="100%" height="100%"/> - <box orientation="horizontal" > - - <!-- LANGUAGE BUTTON - <item type="rect" id="language_button" button="true"> - <normal color="#ffffff"/> - <pos y="50%" anchor="w" width="box" height="box"/> - <box orientation="horizontal" spacing="10" xpadding="10"> - <item type="pixmap"> - <normal file="languages.png" tint="#dddddd"/> - <prelight file="languages.png"/> - <active file="languages.png" tint="#b8bcdb"/> - <pos y="50%" anchor="w"/> - </item> - <item type="label"> - <normal color="#FFFFFF" font="Sans 11"/> - <prelight color="#BBBBBB" font="Sans 11"/> - <active color="#0d2d84" font="Sans 11"/> - <pos y="50%" anchor="w"/> - <stock type="language"/> - </item> - </box> - </item> - END LANGUAGE BUTTON --> + <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 Bold 12"/> + <!-- 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> - <item type="rect" id="session_button" button="true"> - <normal color="#ffffff" alpha="0" /> - <pos y="50%" anchor="w" width="box" height="box"/> - <box orientation="horizontal" spacing="10" xpadding="10"> - <item type="pixmap"> - <normal file="sessions.png" tint="#dddddd"/> - <prelight file="sessions.png"/> - <active file="sessions.png" tint="#b8bcdb"/> - <pos y="50%" anchor="w"/> - </item> - <item type="label"> - <normal color="#FFFFFF" font="Sans 11"/> - <prelight color="#BBBBBB" font="Sans 11"/> - <active color="#0d2d84" font="Sans 11"/> - <pos y="50%" anchor="w"/> - <!-- Stock label for: _Session --> - <stock type="session"/> - </item> - </box> + <!-- 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> + + + <item type="rect"> + <pos width="100%" height="24"/> + <fixed> + <item type="button" id="ok_button"> + <pos height="box" x="100%" anchor="e" width="box" y="50%"/> + <stock type="ok"/> + </item> + </fixed> + </item> + </box> + </item> + </fixed> </item> - <item type="rect" id="system_button" button="true"> - <normal color="#ffffff" alpha="0" /> - <show modes="console" type="system"/> - <pos y="50%" anchor="w" width="box" height="box"/> - <box orientation="horizontal" spacing="10" xpadding="10"> - <item type="pixmap"> - <normal file="system.png" tint="#dddddd"/> - <prelight file="system.png"/> - <active file="system.png" tint="#b8bcdb"/> - <pos y="50%" anchor="w"/> - </item> - <item type="label"> - <normal color="#FFFFFF" font="Sans 11"/> - <prelight color="#BBBBBB" font="Sans 11"/> - <active color="#0d2d84" font="Sans 11"/> - <pos y="50%" anchor="w"/> - <!-- Stock label for: _Actions --> - <stock type="system"/> - </item> - </box> + </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" id="disconnect_button" button="true"> - <normal color="#ffffff" alpha="0" /> - <show modes="flexi,remote"/> - <pos y="50%" anchor="w" width="box" height="box"/> - <box orientation="horizontal" spacing="10" xpadding="10"> - <item type="pixmap"> - <normal file="disconnect.png" tint="#dddddd"/> - <prelight file="disconnect.png"/> - <active file="disconnect.png" tint="#b8bcdb"/> - <pos y="50%" anchor="w"/> - </item> - <item type="label"> - <normal color="#FFFFFF" font="Sans 11"/> - <prelight color="#BBBBBB" font="Sans 11"/> - <active color="#0d2d84" font="Sans 11"/> - <pos y="50%" anchor="w"/> - <!-- Stock label for: D_isconnect --> - <stock type="disconnect"/> - <show modes="remote"/> - </item> - <item type="label"> - <normal color="#FFFFFF" font="Sans 11"/> - <prelight color="#BBBBBB" font="Sans 11"/> - <active color="#0d2d84" font="Sans 11"/> - <pos y="50%" anchor="w"/> - <!-- Stock label for: _Quit --> - <stock type="quit"/> - <show modes="flexi"/> - </item> + <item type="rect"> + <pos x="100%" y="50%" height="30" width="box" anchor="e"/> + <box orientation="horizontal" spacing="20" xpadding="22"> + <item type="rect" id="disconnect_button" button="true"> + <show modes="flexi,remote"/> + <pos width="30" height="30"/> + <fixed> + <item type="pixmap"> + <normal file="disconnect.png" tint="#dddddd"/> + <prelight file="disconnect.png"/> + <active file="disconnect.png" tint="#b8bcdb"/> + </item> + </fixed> + </item> + <item type="rect" id="language_button" button="true"> + <pos width="30" height="30"/> + <fixed> + <item type="pixmap"> + <normal file="languages.png" tint="#dddddd"/> + <prelight file="languages.png"/> + <active file="languages.png" tint="#b8bcdb"/> + </item> + </fixed> + </item> + <item type="rect" id="session_button" button="true"> + <pos 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 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> </box> </item> - </box> -</item> - -<!-- START CLOCK --> - <item type="label" id="clock"> - <normal color="#FFFFFF" font="Sans 11"/> - <pos x="99%" y="55%" anchor="e"/> - <text>%c</text> - </item> - </fixed> + </fixed> + </item> + </box> </item> -<!-- END CLOCK --> - - <!-- END BAR --> - - <item type="rect" id="caps-lock-warning"> - <normal color="#ffffff" alpha="0.0"/> - <pos anchor="c" x="50%" y="60%" width="box" height="box"/> + <!-- 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"> - <normal color="#FFFFFF" font="Sans 11"/> + <item type="label" id="timed-label"> + <normal color="#ffffff" font="Sans 12"/> <pos x="50%" anchor="n"/> - <!-- Stock label for: You've got capslock on! --> - <stock type="caps-lock-warning"/> + <!-- Stock label for: User %s will login in %d seconds --> + <stock type="timed-label"/> </item> </box> </item> - - <item type="rect"> - <show type="timed"/> - <normal color="#ffffff" alpha="0"/> - <pos anchor="c" x="50%" y="70%" width="box" height="box"/> + <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" id="timed-label"> - <normal color="#000000" font="Sans 11"/> + <item type="label"> + <normal color="#FFFFFF" font="Sans 14"/> <pos x="50%" anchor="n"/> - <!-- Stock label for: User %s will login in %d seconds --> - <stock type="timed-label"/> + <!-- Stock label for: You've got capslock on! --> + <stock type="caps-lock-warning"/> </item> </box> </item> - - <!-- HERE START THE CENTER LOGIN LAYOUT --> - - <item type="rect"> - <normal color="#ffffff" alpha="0"/> - <pos anchor="c" x="50%" y="40%" width="box" height="box"/> - <box orientation="vertical" min-width="150" xpadding="5" ypadding="5" spacing="2"> - <!-- WELCOME LABEL --> - <!-- - <item type="label"> - <pos anchor="n" x="50%"/> - <normal color="#FFFFFF" font="Sans 18"/> - <stock type="welcome-label"/> -</item> -\--> - - - <!-- USER ENTRIES --> - <item type="rect" id="talker"> - <normal color="#FFFFFF" alpha="0" font="Sans 12"/> - <pos anchor="n" x="50%" width="box" height="box"/> - - <box orientation="horizontal" xpadding="0" ypadding="0" spacing="0"> - <item type="rect"> - <normal color="#FF8080" alpha="0.0"/> - <pos anchor="w" y="50%" width="box" height="box"/> - <box orientation="vertical" xpadding="0" ypadding="0" spacing="14"> - <item type="label"> - <pos anchor="ne" x="100%"/> - <normal color="#FFFFFF" font="Sans 14"/> - <!-- Stock label for: Username: --> - <stock type="username-label"/> - </item> - <item type="label"> - <pos anchor="ne" x="100%"/> - <normal color="#FFFFFF" font="Sans 14"/> - <!-- Stock label for: Password: --> - <stock type="password-label"/> - </item> - </box> - </item> - <item type="rect"> - <normal color="#FF80FF" alpha="0.0"/> - <pos anchor="w" y="50%" width="box" height="box"/> - <box orientation="vertical" xpadding="15" ypadding="0" spacing="10"> - <item type="entry" id="user-entry"> - <pos anchor="n" x="50%" height="24" width="150"/> - </item> - <item type="entry" id="pw-entry"> - <pos anchor="n" x="50%" height="24" width="150"/> - </item> - </box> - </item> - </box> - </item> - </box> - <fixed> - <item type="label" id="pam-error"> - <pos anchor="n" x="50%" y="110%"/> - <normal color="#ffffff" font="Sans 11"/> - <text></text> - </item> - </fixed> - </item> </greeter> |