mirror of
https://github.com/the-djmaze/snappymail.git
synced 2025-02-24 14:57:26 +08:00
Improved avatar style a bit
This commit is contained in:
parent
2053749b54
commit
5df476a7d0
2 changed files with 9 additions and 7 deletions
|
@ -153,6 +153,7 @@ class AvatarsPlugin extends \RainLoop\Plugins\AbstractPlugin
|
|||
$aServices = [
|
||||
"services/{$sDomain}",
|
||||
'services/' . \preg_replace('/^.+\\.([^.]+\\.[^.]+)$/D', '$1', $sDomain),
|
||||
'services/' . \preg_replace('/^(.+\\.)?(paypal\\.[a-z][a-z])$/D', 'paypal.com', $sDomain),
|
||||
'empty-contact' // DATA_IMAGE_USER_DOT_PIC
|
||||
];
|
||||
foreach ($aServices as $service) {
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
.messageView .b-content .messageItemHeader .fromPic {
|
||||
display: inline-block;
|
||||
.messageView .fromPic {
|
||||
border: 1px solid var(--border-color, #ddd);
|
||||
float: left;
|
||||
width: 50px;
|
||||
height: 50px;
|
||||
margin: 0 5px 0 0;
|
||||
border: 1px solid var(--border-color, #ddd);
|
||||
border-radius: 6px;
|
||||
margin: 0 4px 0 0;
|
||||
padding: 1px;
|
||||
border-radius: var(--border-radius, 5px);
|
||||
}
|
||||
/*
|
||||
.checkboxMessage {
|
||||
|
@ -19,6 +19,7 @@
|
|||
white-space:nowrap;
|
||||
}
|
||||
.messageCheckbox .fromPic {
|
||||
margin: -0.6em 0 -0.6em 0.4em;
|
||||
height: 2em;
|
||||
margin: 0 0 -0.4em 0.4em;
|
||||
height: 1.5em;
|
||||
max-width: 1.5em;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue