Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 12 additions & 18 deletions apps/theming/css/ionos/_layout.css
Original file line number Diff line number Diff line change
Expand Up @@ -93,41 +93,35 @@


/*
* Main app container, rendered by NcContent as
* <div id="content-vue" class="content app-<appid>">.
* Default: edge-to-edge, no offset.
* App container, rendered by NcContent as <div id="content-vue" class="content app-<appid>">,
* either in place of the core #content wrapper or nested inside it.
* Edge-to-edge, below the header.
*/
#content-vue {
width: 100%;
height: calc(100vh - var(--header-height));
margin: 0;
margin: var(--header-height) 0 0;
border-radius: 0;

/* Edge-to-edge, below the header */
&.app-files {
margin-top: var(--header-height);
}

/* Framed: below the header, inset from the viewport edges */
&:is(.app-mail, .app-tasks, .app-tables, .app-settings) {
margin: var(--header-height) var(--body-container-margin) var(--body-container-margin);
/* The core #content wrapper already sits below the header */
#content > & {
margin: 0;
}

.app-content .chatView .wrapper {
bottom: var(--header-height);
}
}

#content.app-tasks {
margin: 0;
/* Core #content wrapper: edge-to-edge, like #content-vue */
#content:is(.app-dashboard, :has(> #content-vue)) {
width: 100%;
margin-inline: 0;
border-radius: 0;
}

#content.app-dashboard {
background-color: var(--ion-color-main-background);
margin-right: 0;
margin-left: 0;
width: 100%;
border-radius: 0;

h2 {
color: var(--ion-text) !important;
Expand Down
Loading