Skip to content
Snippets Groups Projects
Unverified Commit f9d16edd authored by Jan C. Borchardt's avatar Jan C. Borchardt Committed by GitHub
Browse files

Merge pull request #22340 from nextcloud/dashboard/design-polishing

Some more Dashboard design polishing
parents ee8d5500 57b33a78
No related branches found
No related tags found
No related merge requests found
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
...@@ -15,9 +15,9 @@ ...@@ -15,9 +15,9 @@
@end="saveLayout"> @end="saveLayout">
<div v-for="panelId in layout" :key="panels[panelId].id" class="panel"> <div v-for="panelId in layout" :key="panels[panelId].id" class="panel">
<div class="panel--header"> <div class="panel--header">
<h3 :class="panels[panelId].iconClass"> <h2 :class="panels[panelId].iconClass">
{{ panels[panelId].title }} {{ panels[panelId].title }}
</h3> </h2>
</div> </div>
<div class="panel--content"> <div class="panel--content">
<div :ref="panels[panelId].id" :data-id="panels[panelId].id" /> <div :ref="panels[panelId].id" :data-id="panels[panelId].id" />
...@@ -313,14 +313,14 @@ export default { ...@@ -313,14 +313,14 @@ export default {
background-color: var(--color-main-background); background-color: var(--color-main-background);
--color-background-translucent: var(--color-main-background); --color-background-translucent: var(--color-main-background);
} }
}
h2 { > h2 {
color: var(--color-primary-text); color: var(--color-primary-text);
text-align: center; text-align: center;
font-size: 32px; font-size: 32px;
line-height: 130%; line-height: 130%;
padding: 120px 16px 0px; padding: 120px 16px 0px;
}
} }
.panels { .panels {
...@@ -374,7 +374,7 @@ export default { ...@@ -374,7 +374,7 @@ export default {
flex-grow: 1; flex-grow: 1;
} }
h3 { > h2 {
display: block; display: block;
flex-grow: 1; flex-grow: 1;
margin: 0; margin: 0;
...@@ -395,7 +395,8 @@ export default { ...@@ -395,7 +395,8 @@ export default {
& > .panel--content { & > .panel--content {
margin: 0 16px 16px 16px; margin: 0 16px 16px 16px;
height: 420px; height: 420px;
overflow: auto; // We specifically do not want scrollbars inside widgets
overflow: hidden;
} }
// No need to extend height of widgets if only one column is shown // No need to extend height of widgets if only one column is shown
...@@ -431,12 +432,14 @@ export default { ...@@ -431,12 +432,14 @@ export default {
} }
.edit-panels, .edit-panels,
.statuses ::v-deep .action-item > button { .statuses ::v-deep .action-item > button,
.statuses ::v-deep .action-item.action-item--open .action-item__menutoggle {
background-color: var(--color-background-translucent); background-color: var(--color-background-translucent);
backdrop-filter: var(--background-blur); backdrop-filter: var(--background-blur);
&:hover, &:hover,
&:focus { &:focus,
&:active {
background-color: var(--color-background-hover); background-color: var(--color-background-hover);
} }
} }
...@@ -484,6 +487,13 @@ export default { ...@@ -484,6 +487,13 @@ export default {
margin-top: 64px; margin-top: 64px;
} }
} }
// Adjust design of 'Get more widgets' button
.button {
display: inline-block;
padding: 12px 24px;
margin: 0;
}
} }
.flip-list-move { .flip-list-move {
......
...@@ -157,7 +157,6 @@ export default { ...@@ -157,7 +157,6 @@ export default {
&.filepicker, &.default, &.color { &.filepicker, &.default, &.color {
border-color: var(--color-border); border-color: var(--color-border);
line-height: 96px;
} }
&.color { &.color {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment