How to change the style button without shadows

Users and developers helping users with generic and technical Pale Moon issues on all operating systems.

Moderator: trava90

Forum rules
This board is for technical/general usage questions and troubleshooting for the Pale Moon browser only.
Technical issues and questions not related to the Pale Moon browser should be posted in other boards!
Please keep off-topic and general discussion out of this board, thank you!
paul_guo

How to change the style button without shadows

Unread post by paul_guo » 2017-12-31, 08:52

from the effect now to classic firefox style
1.JPG
1.JPG (8.76 KiB) Viewed 993 times
Change to
2.jpg
2.jpg (8.26 KiB) Viewed 993 times
Last edited by satrow on 2017-12-31, 09:14, edited 1 time in total.

User avatar
SpockFan02
Astronaut
Astronaut
Posts: 535
Joined: 2017-09-24, 16:35
Location: Mak pupulusšum, California

Re: How to change the style button without shadows

Unread post by SpockFan02 » 2017-12-31, 11:30

Try adding

Code: Select all

toolbarbutton-1 .toolbarbutton-icon { border: none !important; box-shadow: none !important; background-color: #E8E8E8; }
to your userChrome.css or theme. :D

paul_guo

Re: How to change the style button without shadows

Unread post by paul_guo » 2017-12-31, 12:14

SpockMan02 wrote:Try adding

Code: Select all

toolbarbutton-1 .toolbarbutton-icon { border: none !important; box-shadow: none !important; background-color: #E8E8E8; }
to your userChrome.css or theme. :D
it can't work,but thanks

Nightbird
Lunatic
Lunatic
Posts: 279
Joined: 2016-07-18, 21:12

Re: How to change the style button without shadows

Unread post by Nightbird » 2017-12-31, 12:44

Diversity is key.

Those who forget the past are doomed to repeat it.

User avatar
SpockFan02
Astronaut
Astronaut
Posts: 535
Joined: 2017-09-24, 16:35
Location: Mak pupulusšum, California

Re: How to change the style button without shadows

Unread post by SpockFan02 » 2017-12-31, 20:42

paul_guo wrote:
SpockMan02 wrote:Try adding

Code: Select all

toolbarbutton-1 .toolbarbutton-icon { border: none !important; box-shadow: none !important; background-color: #E8E8E8; }
to your userChrome.css or theme. :D
it can't work,but thanks
Oh, I'm sorry—What about

Code: Select all

.toolbarbutton-1 .toolbarbutton-icon { border: none !important; box-shadow: none !important; background-color: #E8E8E8; }
? (I forgot the leading period.)

paul_guo

Re: How to change the style button without shadows

Unread post by paul_guo » 2018-01-01, 01:13

SpockMan02 wrote:
paul_guo wrote:
SpockMan02 wrote:Try adding

Code: Select all

toolbarbutton-1 .toolbarbutton-icon { border: none !important; box-shadow: none !important; background-color: #E8E8E8; }
to your userChrome.css or theme. :D
it can't work,but thanks
Oh, I'm sorry—What about

Code: Select all

.toolbarbutton-1 .toolbarbutton-icon { border: none !important; box-shadow: none !important; background-color: #E8E8E8; }
? (I forgot the leading period.)
it looks like very close, but there still some differences
Thank you Very much
you can see from this,especially the down load button
3.JPG
3.JPG (8.41 KiB) Viewed 854 times
Last edited by paul_guo on 2018-01-01, 01:20, edited 2 times in total.

paul_guo

Re: How to change the style button without shadows

Unread post by paul_guo » 2018-01-10, 07:59

still needs help

User avatar
SpockFan02
Astronaut
Astronaut
Posts: 535
Joined: 2017-09-24, 16:35
Location: Mak pupulusšum, California

Re: How to change the style button without shadows

Unread post by SpockFan02 » 2018-01-11, 02:42

It's possible that if we're on different operating systems, the navigator toolbox could have different background colors. To make sure you're using the right background color to match the toolbox, you can take a screenshot and use an image editor or use colorPicker or Eyedropper, and if it's not #E8E8E8, change it to the right color.

As for why the downloads button looks different than the others, I'm not sure.

paul_guo

Re: How to change the style button without shadows

Unread post by paul_guo » 2018-01-22, 10:11

SpockMan02 wrote:It's possible that if we're on different operating systems, the navigator toolbox could have different background colors. To make sure you're using the right background color to match the toolbox, you can take a screenshot and use an image editor or use colorPicker or Eyedropper, and if it's not #E8E8E8, change it to the right color.

As for why the downloads button looks different than the others, I'm not sure.
i try to change the color to FFFFFF and 000000,but still no changes to button.....
Last edited by paul_guo on 2018-01-22, 10:12, edited 1 time in total.

User avatar
SpockFan02
Astronaut
Astronaut
Posts: 535
Joined: 2017-09-24, 16:35
Location: Mak pupulusšum, California

Re: How to change the style button without shadows

Unread post by SpockFan02 » 2018-01-22, 19:38

Huh. Well, I'm afraid I don't know why that is; maybe the button colors are hard-coded for some reason. Could someone with more theming experience weigh in?

paul_guo

Re: How to change the style button without shadows

Unread post by paul_guo » 2018-03-19, 11:30

By asking the theme Stratum's author
he gives me the answer

Code: Select all

#nav-bar .toolbarbutton-1:not(:-moz-any(:hover, :hover:active)) .toolbarbutton-icon {
  box-shadow: none !important;
  background: none !important;
  border-color: transparent !important;
}

User avatar
SpockFan02
Astronaut
Astronaut
Posts: 535
Joined: 2017-09-24, 16:35
Location: Mak pupulusšum, California

Re: How to change the style button without shadows

Unread post by SpockFan02 » 2018-03-20, 09:26

Great, I'm glad you've got it how you want it. :D

User avatar
jars_
Lunatic
Lunatic
Posts: 398
Joined: 2016-12-27, 00:12

Re: How to change the style button without shadows

Unread post by jars_ » 2018-03-20, 10:38

Code: Select all


/* Убрать обводку у кнопок панели Навигации */
/* Remove buttons background-shaddows */
#nav-bar .toolbarbutton-1:not(:hover) > .toolbarbutton-icon,
#nav-bar .toolbarbutton-1:not(:hover) > .toolbarbutton-badge-container,
#nav-bar .toolbarbutton-1:not(:hover) > .toolbarbutton-menubutton-button > .toolbarbutton-icon,
#nav-bar .toolbarbutton-1:not(:hover) > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon {
	background: none !important;
	background-image: none !important;
	box-shadow: none !important;
	}

#nav-bar .toolbarbutton-1:hover > .toolbarbutton-icon,
#nav-bar .toolbarbutton-1:hover > .toolbarbutton-badge-container,
#nav-bar .toolbarbutton-1:hover > .toolbarbutton-menubutton-button > .toolbarbutton-icon,
#nav-bar .toolbarbutton-1:hover > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon {
	background-color: transparent !important;
	box-shadow: none !important;
	background-image: -moz-linear-gradient(90deg, rgba(100,100,100,.6) 0%, rgba(210, 210, 210,.6) 100%) !important;
	}

/* и сделать обводку при наведении у Vertical Toolbar расширения */
/* add mouse hover effect for Vertical Toolbar extensions  */
 #vertical-toolbar .toolbarbutton-1:hover  {
	background-image: -moz-linear-gradient(90deg, rgba(100,100,100,.6) 0%, rgba(210, 210, 210,.6) 100%) !important;
	transition:none !important;
	}


Locked