Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7bff496d authored by Nicolas Gelot's avatar Nicolas Gelot
Browse files

Merge branch 'dev/fix-ui' into 'main'

fix 3 UI issues

See merge request e/infra/ecloud/nextcloud-apps/ecloud-theme-helper!182
parents 8f210f09 16ee6ffc
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -5,7 +5,7 @@
    <name>/e/ Cloud Theme Helper</name>
    <summary>/e/ Theme Helper App</summary>
    <description><![CDATA[Theme Helper App]]></description>
    <version>11.0.0</version>
    <version>11.0.1</version>
    <licence>MURENA SAS</licence>
	  <author mail="dev@murena.com" >MURENA SAS</author>
    <namespace>EcloudThemeHelper</namespace>
+3 −0
Original line number Diff line number Diff line
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
  <path fill="#000" d="M20,0H4V2H20V0M4,24H20V22H4V24M20,4H4A2,2 0 0,0 2,6V18A2,2 0 0,0 4,20H20A2,2 0 0,0 22,18V6A2,2 0 0,0 20,4M12,6.75A2.25,2.25 0 0,1 14.25,9A2.25,2.25 0 0,1 12,11.25A2.25,2.25 0 0,1 9.75,9A2.25,2.25 0 0,1 12,6.75M17,17H7V15.5C7,13.83 10.33,13 12,13C13.67,13 17,13.83 17,15.5V17Z"/>
</svg>
+4 −0
Original line number Diff line number Diff line
@@ -31,6 +31,7 @@ class BeforeTemplateRenderedListener implements IEventListener {
		$pathInfo = $this->request->getPathInfo();
		$this->util->addStyle($this->appName, 'icons');
		$this->util->addStyle($this->appName, 'icons-vars');
		$this->util->addStyle($this->appName, 'header-contactsmenu');

		if (strpos($pathInfo, '/apps/files') !== false) {
			$this->util->addStyle($this->appName, 'files');
@@ -39,6 +40,9 @@ class BeforeTemplateRenderedListener implements IEventListener {
		if (strpos($pathInfo, '/apps/activity') !== false) {
			$this->util->addStyle($this->appName, 'activity');
		}
		if (strpos($pathInfo, '/apps/contacts') !== false) {
			$this->util->addStyle($this->appName, 'contacts');
		}
		if (strpos($pathInfo, '/apps/cookbook') !== false) {
			$this->util->addStyle($this->appName, 'cookbook');
		}

scss/contacts.scss

0 → 100644
+12 −0
Original line number Diff line number Diff line
.contact-details .input-field__input,
.contact-details-wrapper .input-field__input {
	padding-inline-start: 12px !important;
}

.contact-details .property__value input[readonly].input-field__input,
.contact-details-wrapper .property__value input[readonly].input-field__input {
	padding: 7px 14px !important;
	border: 1px solid var(--color-border-dark) !important;
	border-radius: var(--border-radius) !important;
	background-color: var(--color-main-background) !important;
}
+33 −0
Original line number Diff line number Diff line
#header #contactsmenu .header-menu__trigger {
	opacity: 0.6;
}

#header #contactsmenu .header-menu__trigger:hover,
#header #contactsmenu .header-menu__trigger:focus-visible {
	opacity: 1;
}

#header #contactsmenu .header-menu__trigger .button-vue__wrapper {
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

#header #contactsmenu .header-menu__trigger .button-vue__wrapper::before {
	content: "";
	display: block;
	width: 20px;
	height: 20px;
	background-color: var(--color-main-text);
	-webkit-mask: url("../img/actions/user-search.svg") center / contain no-repeat;
	mask: url("../img/actions/user-search.svg") center / contain no-repeat;
}

#header #contactsmenu .header-menu__trigger .button-vue__icon,
#header #contactsmenu .header-menu__trigger .contactsmenu__trigger-icon,
#header #contactsmenu .header-menu__trigger .contactsmenu__trigger-icon svg,
#header #contactsmenu .header-menu__trigger .contactsmenu__trigger-icon path,
#header #contactsmenu .header-menu__trigger .material-design-icon,
#header #contactsmenu .header-menu__trigger .material-design-icon__svg {
	display: none !important;
}
Loading