# Borders & shadows on dropdowns - Minimalist Skin 7

**URL:** <https://forum.xwiki.org/t/borders-shadows-on-dropdowns-minimalist-skin-7/12978>\
**Category:** Development\
**Tags:** proposal, design\
**Created:** [August 17, 2023, 4:33pm UTC](https://forum.xwiki.org/t/borders-shadows-on-dropdowns-minimalist-skin-7/12978 "2023-08-17T16:33:47Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![amilica](https://forum.xwiki.org/user_avatar/forum.xwiki.org/amilica/32/8216_2.png) [@amilica](https://forum.xwiki.org/u/amilica)\
**Post date:** [August 17, 2023, 4:33pm UTC](https://forum.xwiki.org/t/borders-shadows-on-dropdowns-minimalist-skin-7/12978/1 "2023-08-17T16:33:49Z")

</div>

Heyy! 😁

This proposal concerns **dropdowns and their borders and shadows.**

While they look quite okay at the moment, I think that they could be a bit improved by having no borders on them and a blurrier shadow.

## Current Dropdown look

**On the Iceberg theme:**

 ![image](https://forum.xwiki.org/uploads/default/original/2X/8/8e8bae26103f359ef9165962afd0ca256eb43a26.png)

**On the Darkly theme:**

 ![image](https://forum.xwiki.org/uploads/default/original/2X/6/60fb3e43d3ea32ccc90d36c84f225b4fd977e4c6.png)

## Change in Dropdowns

**On the Iceberg theme:** (the change simplifies the UI of the dropdown without losing the contrast between the dropdown and the background elements)

 ![image](https://forum.xwiki.org/uploads/default/original/2X/1/14cbd943e137eed371a5ac4799712693cdecaf81.png)

**On the Darkly theme** (the change is minimal on dark themes):

 ![image](https://forum.xwiki.org/uploads/default/original/2X/5/5e74769025e4262f44cb3d6375624ba8217608d8.png)

## CSS change for dropdowns

 ![image](https://forum.xwiki.org/uploads/default/original/2X/2/21edede6adf8c37b510f8eda6ec9854bae0714e3.png)

## Proposal vs Bootstrap 5

While Bootstrap 5 chose to go full flat style on every UI component, as well as dropdowns, I believe shadows should stay when it comes to modals, dropdowns and pop-ups because they should feel like they go a level up from the level the rest of the UI is at.

This is how Bootstrap 5’s dropdowns look:

 ![image](https://forum.xwiki.org/uploads/default/original/2X/a/a4b720d958ba477f8e9d0b490953614b7482e645.png)

What do you think? 🤔

---

<div class="post-metadata">

**Author:** ![CharpentierLucas](https://forum.xwiki.org/user_avatar/forum.xwiki.org/charpentierlucas/32/4830_2.png) [@CharpentierLucas](https://forum.xwiki.org/u/CharpentierLucas)\
**Post date:** [August 18, 2023, 8:58am UTC](https://forum.xwiki.org/t/borders-shadows-on-dropdowns-minimalist-skin-7/12978/2 "2023-08-18T08:58:54Z")

</div>

For reference, here is the styles for .dropdown-menu before those changes:  
 ![image](https://forum.xwiki.org/uploads/default/original/2X/f/fb036ae8a7832836583deb1cf3c254537f1dcf20.png)

So if I understand well, those are the changes on .dropdown-menu:

- Removed both `border` values

Is there a change made on the shadows? What is the value you would pick instead of the current one?

Thank you for this proposal 🙂

---

<div class="post-metadata">

**Author:** ![amilica](https://forum.xwiki.org/user_avatar/forum.xwiki.org/amilica/32/8216_2.png) [@amilica](https://forum.xwiki.org/u/amilica)\
**Post date:** [August 18, 2023, 9:05am UTC](https://forum.xwiki.org/t/borders-shadows-on-dropdowns-minimalist-skin-7/12978/3 "2023-08-18T09:05:43Z")

</div>

> [@CharpentierLucas](#):
>
> Is there a change made on the shadows? What is the value you would pick instead of the current one?

Oops, yes, there was actually, I pasted the wrong printscreen. Will modify it in the the initial post as well:

 ![image](https://forum.xwiki.org/uploads/default/original/2X/7/73b24325bec89db8388b814d0233d554b2636e14.png)

**The shadow was changed to:**

`box-shadow: 0 6px 24px rgba(0, 0, 0, 0.175);`

---

<div class="post-metadata">

**Author:** ![mleduc](https://forum.xwiki.org/user_avatar/forum.xwiki.org/mleduc/32/2328_2.png) [@mleduc](https://forum.xwiki.org/u/mleduc)\
**Post date:** [August 18, 2023, 9:49am UTC](https://forum.xwiki.org/t/borders-shadows-on-dropdowns-minimalist-skin-7/12978/4 "2023-08-18T09:49:16Z")

</div>

hi @amilica. Thanks for the proposal.

Can you point out the visual differences we are expected to see?  
I could see the border being removed, and the shadow being slightly “larger”, bother changes are very subtle change for the light theme, and can’t be seen with a dark them.

Did I miss something?

---

<div class="post-metadata">

**Author:** ![amilica](https://forum.xwiki.org/user_avatar/forum.xwiki.org/amilica/32/8216_2.png) [@amilica](https://forum.xwiki.org/u/amilica)\
**Post date:** [August 18, 2023, 10:08am UTC](https://forum.xwiki.org/t/borders-shadows-on-dropdowns-minimalist-skin-7/12978/5 "2023-08-18T10:08:26Z")

</div>

> [@mleduc](#):
>
> I could see the border being removed, and the shadow being slightly “larger”, bother changes are very subtle change for the light theme, and can’t be seen with a dark them.

The changes are pretty subtle, yes. Compared to the other stuff I’ve posted, this change is not as impactful, for sure. I thought: if we can do easy small & quick improvements to the UI, why not do them?

Personally, I always disliked the border on the dropdown menu and never seen its purpose (maybe I’m missing something and there actually is a purpose).

---

<div class="post-metadata">

**Author:** ![mleduc](https://forum.xwiki.org/user_avatar/forum.xwiki.org/mleduc/32/2328_2.png) [@mleduc](https://forum.xwiki.org/u/mleduc)\
**Post date:** [August 18, 2023, 10:18am UTC](https://forum.xwiki.org/t/borders-shadows-on-dropdowns-minimalist-skin-7/12978/6 "2023-08-18T10:18:38Z")

</div>

> [@amilica](#):
>
> The changes are pretty subtle, yes. Compared to the other stuff I’ve posted, this change is not as impactful, for sure. I thought: if we can do easy small & quick improvements to the UI, why not do them?

Thanks for confirming 🙂  
+1 for this change then!

---

<div class="post-metadata">

**Author:** ![tmortagne](https://forum.xwiki.org/user_avatar/forum.xwiki.org/tmortagne/32/4930_2.png) [@tmortagne](https://forum.xwiki.org/u/tmortagne)\
**Post date:** [September 13, 2023, 11:43am UTC](https://forum.xwiki.org/t/borders-shadows-on-dropdowns-minimalist-skin-7/12978/7 "2023-09-13T11:43:27Z")

</div>

+1 for the change

---

<div class="post-metadata">

**Author:** ![amilica](https://forum.xwiki.org/user_avatar/forum.xwiki.org/amilica/32/8216_2.png) [@amilica](https://forum.xwiki.org/u/amilica)\
**Post date:** [September 13, 2023, 2:31pm UTC](https://forum.xwiki.org/t/borders-shadows-on-dropdowns-minimalist-skin-7/12978/8 "2023-09-13T14:31:47Z")

</div>

Great, thanks so much! 😁

---

<div class="post-metadata">

**Author:** ![surli](https://forum.xwiki.org/user_avatar/forum.xwiki.org/surli/32/2687_2.png) [@surli](https://forum.xwiki.org/u/surli)\
**Post date:** [September 15, 2023, 7:57am UTC](https://forum.xwiki.org/t/borders-shadows-on-dropdowns-minimalist-skin-7/12978/9 "2023-09-15T07:57:16Z")

</div>

I think I’m -0 for this change. When looking on the screenshot I slightly prefer the old version with the border and a bit less shadow, I do like the clear separation of the box it makes. On the proposal I feel it’s less separated against the white background.

---

<div class="post-metadata">

**Author:** ![surli](https://forum.xwiki.org/user_avatar/forum.xwiki.org/surli/32/2687_2.png) [@surli](https://forum.xwiki.org/u/surli)\
**Post date:** [September 15, 2023, 8:08am UTC](https://forum.xwiki.org/t/borders-shadows-on-dropdowns-minimalist-skin-7/12978/10 "2023-09-15T08:08:34Z")

</div>

Actually I just noticed that your proposal concerns all dropdowns but the screenshot only shows the effect on notification dropdown. It would be nice to see what happens for the “More action” menu dropdown for example. Or the advanced edit dropdown.

---

<div class="post-metadata">

**Author:** ![MichaelHamann](https://forum.xwiki.org/user_avatar/forum.xwiki.org/michaelhamann/32/3813_2.png) [@MichaelHamann](https://forum.xwiki.org/u/MichaelHamann)\
**Post date:** [September 15, 2023, 9:22am UTC](https://forum.xwiki.org/t/borders-shadows-on-dropdowns-minimalist-skin-7/12978/11 "2023-09-15T09:22:10Z")

</div>

> [@surli](#):
>
> Actually I just noticed that your proposal concerns all dropdowns but the screenshot only shows the effect on notification dropdown. It would be nice to see what happens for the “More action” menu dropdown for example. Or the advanced edit dropdown.

I just manually tried removing the border from the edit dropdown and this looks weird to me as the buttons still have borders which creates quite an inconsistency. Could you maybe provide a screenshot with your exact proposed changes? To me, what Bootstrap 5 proposes would look a lot more consistent as these dropdowns are basically a list of buttons.

Now, notifications are different and I wouldn’t object to removing the border from the dropdowns that are launched from the top bar. So +0 for removing the border from the dropdowns that expand from the top bar but -0 for removing the border from other dropdowns that are launched from buttons like the “More Actions” dropdown.

---

<div class="post-metadata">

**Author:** ![mleduc](https://forum.xwiki.org/user_avatar/forum.xwiki.org/mleduc/32/2328_2.png) [@mleduc](https://forum.xwiki.org/u/mleduc)\
**Post date:** [November 14, 2023, 11:42am UTC](https://forum.xwiki.org/t/borders-shadows-on-dropdowns-minimalist-skin-7/12978/12 "2023-11-14T11:42:03Z")

</div>

I’ve opened a PR to apply the change on the dropdown of the header only [XWIKI-21550: Remove the border and increase the shadown of the header dropdowns by manuelleduc · Pull Request #2607 · xwiki/xwiki-platform · GitHub](https://github.com/xwiki/xwiki-platform/pull/2607)  
As the agreement is rather weak, there is still time to give you opinion.  
Thanks

---

<div class="post-metadata">

**Author:** ![amilica](https://forum.xwiki.org/user_avatar/forum.xwiki.org/amilica/32/8216_2.png) [@amilica](https://forum.xwiki.org/u/amilica)\
**Post date:** [November 22, 2023, 7:06am UTC](https://forum.xwiki.org/t/borders-shadows-on-dropdowns-minimalist-skin-7/12978/13 "2023-11-22T07:06:17Z")

</div>

Thank you for working on this and sorry for the delay in reply!

While I like the look of the dropdown coming from the navbar without borders, I think it’s more important to stay cohesive (especially in the context of bordered buttons). Based on the feedback provided by others here, I think the only improvement than can be done right now is making the shadows a little lighter and blurrier, but still keeping the borders as they are.

I modified the following properties of the _dropdown-menu_ class as:

```auto

-webkit-box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);

```

A preview (the change is minimal, but I think it looks slightly better):

 ![dropdowns](https://forum.xwiki.org/uploads/default/original/2X/1/169ef894b059ef46fa049ef3fe5991010ccec3ab.jpeg)

You can see how the menus look in [my instance.](https://abllacka.cloud.xwiki.com/xwiki/bin/view/Main/)

> **[Intranet News - XWiki](https://abllacka.cloud.xwiki.com/xwiki/bin/view/Main/)**
>
> Intranet News
