mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-07-13 03:27:39 +03: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 = [
|
$aServices = [
|
||||||
"services/{$sDomain}",
|
"services/{$sDomain}",
|
||||||
'services/' . \preg_replace('/^.+\\.([^.]+\\.[^.]+)$/D', '$1', $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
|
'empty-contact' // DATA_IMAGE_USER_DOT_PIC
|
||||||
];
|
];
|
||||||
foreach ($aServices as $service) {
|
foreach ($aServices as $service) {
|
||||||
|
|
|
||||||
|
|
@ -1,11 +1,11 @@
|
||||||
.messageView .b-content .messageItemHeader .fromPic {
|
.messageView .fromPic {
|
||||||
display: inline-block;
|
border: 1px solid var(--border-color, #ddd);
|
||||||
float: left;
|
float: left;
|
||||||
width: 50px;
|
width: 50px;
|
||||||
height: 50px;
|
height: 50px;
|
||||||
margin: 0 5px 0 0;
|
margin: 0 4px 0 0;
|
||||||
border: 1px solid var(--border-color, #ddd);
|
padding: 1px;
|
||||||
border-radius: 6px;
|
border-radius: var(--border-radius, 5px);
|
||||||
}
|
}
|
||||||
/*
|
/*
|
||||||
.checkboxMessage {
|
.checkboxMessage {
|
||||||
|
|
@ -19,6 +19,7 @@
|
||||||
white-space:nowrap;
|
white-space:nowrap;
|
||||||
}
|
}
|
||||||
.messageCheckbox .fromPic {
|
.messageCheckbox .fromPic {
|
||||||
margin: -0.6em 0 -0.6em 0.4em;
|
margin: 0 0 -0.4em 0.4em;
|
||||||
height: 2em;
|
height: 1.5em;
|
||||||
|
max-width: 1.5em;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue