Add icon for Accounts app

This commit is contained in:
David Benqué 2022-05-09 13:41:27 +01:00
parent 54fdf32c36
commit e22de3f699
3 changed files with 12 additions and 3 deletions

View File

@ -153,7 +153,10 @@ define([
var sub = h('div.cp-sub-prompt', [
h('span', Msg.home_morestorage),
// XXX how to link these properly to accounts?
h('button', {href:"/accounts/"}, Msg.features_f_subscribe)
h('a', {href:"/accounts/"}, h('button', [
h('i.fa.fa-ticket'),
Msg.features_f_subscribe
]))
]);
return sub;
} else {

View File

@ -243,7 +243,12 @@
font-size: 1.4rem;
margin: 10px 0;
border-radius: @infopages-radius-L;
&:hover {
padding: 0.75rem;
i {
display: inline;
margin-right: 10px;
}
&:hover, &:focus {
background-color: @cp_static-card-bg;
color: @cryptpad_text_col;
}

View File

@ -204,7 +204,8 @@ define(function() {
admin: 'fa-gears',
settings: 'fa-gear',
profile: 'fa-user-circle',
support: 'fa-life-ring'
support: 'fa-life-ring',
accounts: 'fa-ticket'
};
// Ability to create owned pads and expiring pads through a new pad creation screen.