Shadow behind Cinammon panel?

Chat about anything related to Linux Mint

Shadow behind Cinammon panel?

Postby Forkjulle on Fri Apr 06, 2012 6:48 am

I know that Cinnamon is still being developed, but I'd like to know if the panel will be getting a shadow behind it? Right now, it's flat, unlike the Ubuntu top panel, for example. I know that the shadow won't work with transparent panels, but it does look quite good with opaque panels.

Perhaps an option to turn the shadow on / off?

Does anyone know?
Forkjulle
Level 3
Level 3
 
Posts: 195
Joined: Mon Jul 25, 2011 2:38 am

Linux Mint is funded by ads and donations.
 

Re: Shadow behind Cinammon panel?

Postby xenopeek on Fri Apr 06, 2012 7:50 am

I think any theme artist can add shadow; styling is with CSS after all and you can add shadow to elements with CSS. Perhaps one of the themes at http://cinnamon-spices.linuxmint.com/ already has it.
Image
Linux Mint 14 Nadia / 64-bit / Cinnamon
User avatar
xenopeek
Level 20
Level 20
 
Posts: 10464
Joined: Wed Jul 06, 2011 3:58 am
Location: The Netherlands

Re: Shadow behind Cinammon panel?

Postby bimsebasse on Fri Apr 06, 2012 9:34 am

1) Lots of themes to choose from, you don't have to stick to the default one
2) No panel shadow is a design decision, not a sign of something being in development
3) You can add it yourself like this:

Code: Select all
sudo gedit /usr/share/cinnamon/theme/cinnamon.css

Find this section:
Code: Select all
#panel {
   color: #ffffff;
   background-color: #555555;
   font-size: 8.5pt;
   font-weight: normal;
   height: 25px;
}

Add this line to it:
Code: Select all
box-shadow: 0px 0px 2px 4px rgba(0,0,0,0.6);

The line adds a shadow effect around the panel with 2px blur and 4px spread where the black shadow color has 0.6 transparency (1.0 = opaque, 0.0 = transparent)

Image
Thank you for this thread. That’s all I can say. You most definitely have made this forum into something special. You clearly know what you are doing, you’ve covered so many bases. Thanks!
User avatar
bimsebasse
Level 7
Level 7
 
Posts: 1709
Joined: Fri Nov 11, 2011 10:21 am
Location: Scandinavia


Return to Chat about Linux Mint

Who is online

Users browsing this forum: No registered users and 8 guests