Fildem icon indicating copy to clipboard operation
Fildem copied to clipboard

Fixes for the style of the dropdown menu

Open nursandiid opened this issue 2 years ago • 5 comments

Information

  • Ubuntu 21.10:
  • Gnome Shell 40.5
  • X11
  • Apps tested:
  • Fildem version 2

I found a border like the following, maybe a little less good to look at Can I find the css/style to be editable

Screenshot from 2022-03-26 19-37-20

nursandiid avatar Mar 29 '22 08:03 nursandiid

Have you tried downloading the source and changing the border-radius in set_custom_styles function in global_menu module under the class CommandWindow. Here is the result: Screenshot from 2022-04-18 02-52-29

I think I have a working version here

RoySRC avatar Apr 18 '22 07:04 RoySRC

I have changed like that, border-radius: 3px and reinstall the fildem.deb But for me it is not working

nursandiid avatar Apr 18 '22 18:04 nursandiid

I have changed like that, border-radius: 3px and reinstall the fildem.deb But for me it is not working

@sandinur157 I was wondering if you could try running through python -m fildem.run instead of first compiling to a deb package. I am a bit curious to see what running it this way gives you. You could just clone this and run the command from inside the cloned directory.

Also, I forgot to mention that I am using wayland. I am not sure how much of an impact does that have.

RoySRC avatar Apr 18 '22 23:04 RoySRC

@RoySRC Here's after i run command python3 -m fildem.run image

Here's my code after edited image

nursandiid avatar Apr 19 '22 03:04 nursandiid

@sandinur157 here's my css:

entry.search.flat { border: 0; outline: 0;
border-image: none; box-shadow: none; }

headerbar { box-shadow: none; background: @insensitive_bg_color;
border-radius: 0; border-width: 0 0 1px 0; }

scrolledwindow overshoot, scrolledwindow undershoot {
background: none; box-shadow: none; }

scrollbar { opacity: 0; }

menubar { background-color: #1d1d1d; }
menubar > menuitem { min-height: 1em; }

window decoration { box-shadow: none; border-color: @borders;
border-style: solid; border-width: 1px; border-radius: 12px; }

as you can see you need to change the border-radius under window decoration and use python -m fildem.run to test your changes. If everything works out, you can then issue make build to build a .deb file and install that.

RoySRC avatar Apr 19 '22 10:04 RoySRC