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