Style PopupsNextcloudFiles view

This commit is contained in:
the-djmaze 2022-11-10 15:26:35 +01:00
parent 3c78f9bf04
commit efbc7563ac
4 changed files with 18 additions and 4 deletions

View file

@ -63,6 +63,7 @@ class SnappyMailHelper
$oProvider = \RainLoop\Api::Actions()->DomainProvider();
$oDomain = $oProvider->Load('nextcloud');
if (!$oDomain) {
// $oDomain = \RainLoop\Model\Domain::fromIniArray('nextcloud', []);
$oDomain = new \RainLoop\Model\Domain('nextcloud');
$iSecurityType = \MailSo\Net\Enumerations\ConnectionSecurityType::NONE;
$oDomain->SetConfig(

View file

@ -18,6 +18,8 @@ class NextcloudPlugin extends \RainLoop\Plugins\AbstractPlugin
$this->addHook('main.fabrica', 'MainFabrica');
$this->addHook('filter.app-data', 'FilterAppData');
$this->addCss('style.css');
$this->addJs('js/webdav.js');
$this->addJs('js/message.js');

View file

@ -155,7 +155,6 @@ const
btn.name = 'select';
btn.textContent = 'select';
btn.className = 'button-vue';
btn.style.marginLeft = '1em';
summary.append(btn);
summary.item_name = item.name;
}
@ -179,21 +178,18 @@ const
btn.name = 'select';
btn.textContent = 'select';
btn.className = 'button-vue';
btn.style.marginLeft = '1em';
li.append(btn);
btn = document.createElement('button');
btn.name = 'share-internal';
btn.textContent = '🔗 internal';
btn.className = 'button-vue';
btn.style.marginLeft = '1em';
li.append(btn);
/*
btn = document.createElement('button');
btn.name = 'share-public';
btn.textContent = '🔗 public';
btn.className = 'button-vue';
btn.style.marginLeft = '1em';
li.append(btn);
*/
parent.append(li);

View file

@ -0,0 +1,15 @@
#V-PopupsNextcloudFiles li:hover {
background-color: var(--color-background-hover);
}
#V-PopupsNextcloudFiles li {
clear: right;
}
#V-PopupsNextcloudFiles li button {
cursor: pointer;
float: right;
margin: 0 0 0 0.5em;
}
#rl-app .squire-wysiwyg a {
text-decoration: underline;
}