mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-16 10:21:23 +01:00
Framework WIP:
- Get nextmatch scrolling
This commit is contained in:
parent
6e2eb07125
commit
4223e5cdb4
@ -13,7 +13,8 @@ egw-framework#egw_fw_basecontainer {
|
|||||||
/* Internals */
|
/* Internals */
|
||||||
|
|
||||||
&::part(status-split) {
|
&::part(status-split) {
|
||||||
--max: 150px;
|
/* This limits the max size of the status panel */
|
||||||
|
--max: 32px;
|
||||||
}
|
}
|
||||||
|
|
||||||
&::part(header) {
|
&::part(header) {
|
||||||
@ -73,14 +74,6 @@ egw-framework#egw_fw_basecontainer {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
egw-app {
|
|
||||||
&::part(name) {
|
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
text-wrap: nowrap;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
/*** HEADER ***/
|
/*** HEADER ***/
|
||||||
#egw_fw_topmenu_info_items {
|
#egw_fw_topmenu_info_items {
|
||||||
display: flex;
|
display: flex;
|
||||||
@ -168,6 +161,24 @@ egw-app {
|
|||||||
|
|
||||||
/*** END HEADER ***/
|
/*** END HEADER ***/
|
||||||
|
|
||||||
div#egw_fw_basecontainer {
|
/*** APPLICATION ***/
|
||||||
display: none;
|
egw-app {
|
||||||
|
&::part(name) {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
text-wrap: nowrap;
|
||||||
|
}
|
||||||
|
|
||||||
|
&::part(content) {
|
||||||
|
flex-direction: column;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/*** END APPLICATION ***/
|
||||||
|
|
||||||
|
/*** WIDGETS ***/
|
||||||
|
/* This should mostly go away with webcomponents */
|
||||||
|
.egwGridView_scrollarea {
|
||||||
|
overflow-x: hidden;
|
||||||
|
overflow-y: auto;
|
||||||
}
|
}
|
@ -149,11 +149,14 @@ export default css`
|
|||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
egw_fw_app__main_content {
|
.egw_fw_app__main_content {
|
||||||
display: flex;
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
align-items: stretch;
|
||||||
}
|
}
|
||||||
|
|
||||||
::slotted(*) {
|
::slotted(*) {
|
||||||
|
flex: 1 1 auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
::slotted(iframe) {
|
::slotted(iframe) {
|
||||||
|
@ -94,7 +94,7 @@ export class EgwFrameworkApp extends LitElement
|
|||||||
name = "Application name";
|
name = "Application name";
|
||||||
|
|
||||||
@property()
|
@property()
|
||||||
title : string = "Application title";
|
title : string = "";
|
||||||
|
|
||||||
@property()
|
@property()
|
||||||
url = "";
|
url = "";
|
||||||
@ -161,6 +161,7 @@ export class EgwFrameworkApp extends LitElement
|
|||||||
|
|
||||||
firstUpdated()
|
firstUpdated()
|
||||||
{
|
{
|
||||||
|
|
||||||
this.load(this.url);
|
this.load(this.url);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -573,7 +574,7 @@ export class EgwFrameworkApp extends LitElement
|
|||||||
></sl-icon-button>`
|
></sl-icon-button>`
|
||||||
: nothing
|
: nothing
|
||||||
}
|
}
|
||||||
<h2>${this.title ?? this.egw?.lang(this.name) ?? this.name}</h2>
|
<h2>${this.title || this.egw?.lang(this.name) || this.name}</h2>
|
||||||
</div>
|
</div>
|
||||||
<header class="egw_fw_app__header" part="header">
|
<header class="egw_fw_app__header" part="header">
|
||||||
<slot name="main-header"><span class="placeholder"> ${this.name} main-header</span></slot>
|
<slot name="main-header"><span class="placeholder"> ${this.name} main-header</span></slot>
|
||||||
|
Loading…
Reference in New Issue
Block a user