mirror of
https://gitlab.gnome.org/World/Authenticator.git
synced 2025-03-04 08:44:40 +01:00
css: move margin specific stuff to ui files
so we can use margin-start/margin-end instead of margin-left, margin-right
This commit is contained in:
parent
b1d81e420e
commit
da9ae0d46c
3 changed files with 6 additions and 12 deletions
|
@ -4,7 +4,6 @@
|
||||||
.pill-button {
|
.pill-button {
|
||||||
border-radius: 9999px;
|
border-radius: 9999px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.providers-list {
|
.providers-list {
|
||||||
background-color: @theme_base_bg;
|
background-color: @theme_base_bg;
|
||||||
}
|
}
|
||||||
|
@ -25,14 +24,7 @@
|
||||||
background: @theme_base_bg;
|
background: @theme_base_bg;
|
||||||
box-shadow: none;
|
box-shadow: none;
|
||||||
}
|
}
|
||||||
.provider-row .title-3 {
|
|
||||||
margin-bottom: 6px;
|
|
||||||
margin-left: 6px;
|
|
||||||
}
|
|
||||||
.provider-image {
|
|
||||||
margin-bottom: 6px;
|
|
||||||
margin-right: 6px;
|
|
||||||
}
|
|
||||||
.totp-progress,
|
.totp-progress,
|
||||||
.totp-progress trough progress,
|
.totp-progress trough progress,
|
||||||
.totp-progress trough {
|
.totp-progress trough {
|
||||||
|
@ -54,6 +46,7 @@ row .content row.account-row:last-child {
|
||||||
.account-row {
|
.account-row {
|
||||||
padding: 12px;
|
padding: 12px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.account-otp {
|
.account-otp {
|
||||||
letter-spacing: 1.8px;
|
letter-spacing: 1.8px;
|
||||||
font-size: medium;
|
font-size: medium;
|
||||||
|
|
|
@ -1,6 +1,8 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<interface>
|
<interface>
|
||||||
<template class="ProviderImage" parent="GtkBox">
|
<template class="ProviderImage" parent="GtkBox">
|
||||||
|
<property name="margin-bottom">6</property>
|
||||||
|
<property name="margin-end">6</property>
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkStack" id="stack">
|
<object class="GtkStack" id="stack">
|
||||||
<property name="transition-type">crossfade</property>
|
<property name="transition-type">crossfade</property>
|
||||||
|
@ -28,8 +30,5 @@
|
||||||
</child>
|
</child>
|
||||||
</object>
|
</object>
|
||||||
</child>
|
</child>
|
||||||
<style>
|
|
||||||
<class name="provider-image" />
|
|
||||||
</style>
|
|
||||||
</template>
|
</template>
|
||||||
</interface>
|
</interface>
|
||||||
|
|
|
@ -21,6 +21,8 @@
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkLabel" id="name_label">
|
<object class="GtkLabel" id="name_label">
|
||||||
<property name="halign">start</property>
|
<property name="halign">start</property>
|
||||||
|
<property name="margin-start">6</property>
|
||||||
|
<property name="margin-bottom">6</property>
|
||||||
<style>
|
<style>
|
||||||
<class name="title-3" />
|
<class name="title-3" />
|
||||||
</style>
|
</style>
|
||||||
|
|
Loading…
Add table
Reference in a new issue