1
0
Fork 0

Compare commits

...

2 Commits

Author SHA1 Message Date
Raatty b96074afe0 make stuffs bigger! 2020-04-15 16:06:30 +12:00
Raatty e2afd229a6 center log in button 2020-04-14 15:43:05 +12:00
2 changed files with 31 additions and 28 deletions

View File

@ -17,13 +17,14 @@
<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>
@ -40,6 +41,9 @@
<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>
@ -61,20 +65,13 @@
</object>
</child>
<child>
<object class="GtkBox">
<object class="GtkButton">
<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"/>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="pack_type">end</property>
</packing>
</child>
<property name="label">Login</property>
<signal name="clicked" handler="login_cb"/>
<style>
<class name="login_btn"/>
</style>
</object>
</child>
<child>
@ -100,7 +97,7 @@
<object class="GtkImage">
<property name="visible">True</property>
<property name="icon_name">edit-clear-symbolic</property>
<property name="icon_size">40</property>
<property name="icon_size">80</property>
</object>
</child>
</object>
@ -113,7 +110,7 @@
<object class="GtkImage">
<property name="visible">True</property>
<property name="icon_name">applications-system-symbolic</property>
<property name="icon_size">40</property>
<property name="icon_size">80</property>
</object>
</child>
</object>

View File

@ -5,17 +5,13 @@ window * {
text-decoration: none;
}
window {
background-color: black;
button {
border: none;
border-radius: 20em;
}
button {
border: 0;
background: none;
outline-style: dashed;
margin: 0;
border-width: 2px;
padding: 16px 36px;
window {
background-color: black;
}
label {
@ -31,9 +27,19 @@ button:active label {
color: black;
}
hdykeypad > button {
font-size: 20px;
hdykeypad > button label{
font-size: 5em;
font-weight: bold;
padding: 10px;
}
.login_btn > label {
font-size: 2em;
background-clip: padding-box;
padding: 0.5em;
}
.pin, .prompt {
font-size: 2em;
}