Add icon for Accounts app

master
David Benqué 3 years ago
parent 54fdf32c36
commit e22de3f699

@ -153,7 +153,10 @@ define([
var sub = h('div.cp-sub-prompt', [ var sub = h('div.cp-sub-prompt', [
h('span', Msg.home_morestorage), h('span', Msg.home_morestorage),
// XXX how to link these properly to accounts? // 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; return sub;
} else { } else {

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

@ -204,7 +204,8 @@ define(function() {
admin: 'fa-gears', admin: 'fa-gears',
settings: 'fa-gear', settings: 'fa-gear',
profile: 'fa-user-circle', 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. // Ability to create owned pads and expiring pads through a new pad creation screen.

Loading…
Cancel
Save