Compare commits
No commits in common. "b96074afe079863508e06f193930d5526d4d70bd" and "5b9a3691147c8301c62144ef07daa07b75d34381" have entirely different histories.
b96074afe0
...
5b9a369114
25
interface.ui
25
interface.ui
|
@ -17,14 +17,13 @@
|
|||
<property name="orientation">vertical</property>
|
||||
<property name="halign">center</property>
|
||||
<property name="valign">center</property>
|
||||
<property name="hexpand">True</property>
|
||||
<property name="vexpand">True</property>
|
||||
<property name="spacing">12</property>
|
||||
<child>
|
||||
<object class="GtkLabel" id="prompt_label">
|
||||
<property name="visible">True</property>
|
||||
<property name="label">prompt label</property>
|
||||
<style>
|
||||
<class name="prompt" />
|
||||
</style>
|
||||
</object>
|
||||
</child>
|
||||
<child>
|
||||
|
@ -41,9 +40,6 @@
|
|||
<property name="caps_lock_warning">False</property>
|
||||
<property name="hexpand">True</property>
|
||||
<property name="vexpand">True</property>
|
||||
<style>
|
||||
<class name="pin" />
|
||||
</style>
|
||||
</object>
|
||||
</child>
|
||||
<child>
|
||||
|
@ -64,14 +60,21 @@
|
|||
</style>
|
||||
</object>
|
||||
</child>
|
||||
<child>
|
||||
<object class="GtkBox">
|
||||
<property name="visible">True</property>
|
||||
<child>
|
||||
<object class="GtkButton">
|
||||
<property name="visible">True</property>
|
||||
<property name="label">Login</property>
|
||||
<signal name="clicked" handler="login_cb"/>
|
||||
<style>
|
||||
<class name="login_btn"/>
|
||||
</style>
|
||||
</object>
|
||||
<packing>
|
||||
<property name="expand">False</property>
|
||||
<property name="fill">True</property>
|
||||
<property name="pack_type">end</property>
|
||||
</packing>
|
||||
</child>
|
||||
</object>
|
||||
</child>
|
||||
<child>
|
||||
|
@ -97,7 +100,7 @@
|
|||
<object class="GtkImage">
|
||||
<property name="visible">True</property>
|
||||
<property name="icon_name">edit-clear-symbolic</property>
|
||||
<property name="icon_size">80</property>
|
||||
<property name="icon_size">40</property>
|
||||
</object>
|
||||
</child>
|
||||
</object>
|
||||
|
@ -110,7 +113,7 @@
|
|||
<object class="GtkImage">
|
||||
<property name="visible">True</property>
|
||||
<property name="icon_name">applications-system-symbolic</property>
|
||||
<property name="icon_size">80</property>
|
||||
<property name="icon_size">40</property>
|
||||
</object>
|
||||
</child>
|
||||
</object>
|
||||
|
|
28
style.css
28
style.css
|
@ -5,15 +5,19 @@ window * {
|
|||
text-decoration: none;
|
||||
}
|
||||
|
||||
button {
|
||||
border: none;
|
||||
border-radius: 20em;
|
||||
}
|
||||
|
||||
window {
|
||||
background-color: black;
|
||||
}
|
||||
|
||||
button {
|
||||
border: 0;
|
||||
background: none;
|
||||
outline-style: dashed;
|
||||
margin: 0;
|
||||
border-width: 2px;
|
||||
padding: 16px 36px;
|
||||
}
|
||||
|
||||
label {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
@ -27,19 +31,9 @@ button:active label {
|
|||
color: black;
|
||||
}
|
||||
|
||||
hdykeypad > button label{
|
||||
font-size: 5em;
|
||||
hdykeypad > button {
|
||||
font-size: 20px;
|
||||
font-weight: bold;
|
||||
padding: 10px;
|
||||
}
|
||||
|
||||
.login_btn > label {
|
||||
font-size: 2em;
|
||||
background-clip: padding-box;
|
||||
padding: 0.5em;
|
||||
}
|
||||
|
||||
.pin, .prompt {
|
||||
font-size: 2em;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue