Xfce Forum

Sub domains
 

You are not logged in.

#1 2021-01-21 09:21:23

Compositoron
Member
Registered: 2020-07-24
Posts: 11

Xfce screenshooter dialog

Greetings!

I am completing one theme and I've set a neat gradient look for dialog boxes. Unfortunately it seems that -gtk-gradient does not work well with xfce screenshooter after using a "Select a region" option and pressing "Ok". Screen is supposed to dim and then one can select a region on a screen.

If I add a -gtk-gradient to a  dialog box.dialog-vbox then gradient will occupy the entire screen - instead of dimming it.
Script used is:

 dialog box.dialog-vbox
	{
		background:transparent;
		background-color:blue;
		background-image: -gtk-gradient (linear,
						  left top,
						  left bottom,
						  from (#000),
						  to (#1F1F1F));
	
		border: 0px solid blue;
		min-height: 120px;
		min-width: 700px;
	}
 

How can I avoid gradient appearing during that operation? Is the only option that I got left excluding screenshooter from the   dialog box.dialog-vbox section?

Offline

#2 2021-01-21 22:12:28

ToZ
Moderator
From: Canada
Registered: 2011-06-02
Posts: 7,415

Re: Xfce screenshooter dialog

I don't see how xfce4-screenshooter separates out the region element from the general gtk3 dialog so there is no way that I can see to exclude xfce4-screenshooter from the directive.

Offline

#3 2021-01-22 10:08:07

Compositoron
Member
Registered: 2020-07-24
Posts: 11

Re: Xfce screenshooter dialog

Same, it can not be caught with the GTK_DEBUG runs it. It looks nice on my my dark theme, such a shame:
[

 
dialog box.dialog-vbox
	{
		background:transparent;
		background-color:transparent;
		background-image: -gtk-gradient (linear,
						  left top,
						  left bottom,
						  from (#000),
						  to (#1F1F1F));
	
		border: 0px solid transparent;
		min-height: 120px;
		min-width: 700px;
	} 

dialog box.dialog-action-box
	{
		background-image:none;
		background:transparent;
		border-top:1px solid #F7FFA7;
		border-image: linear-gradient(to right,#F7FFA7 5%, rgba(255,255,255,0) 70%);
		border-image-slice: 1;
		margin:10px 10px 1px 10px;
		padding:10px;
	}

Anyways,thx for looking into it smile

I will figure something out.

Offline

#4 2021-01-22 11:52:55

ToZ
Moderator
From: Canada
Registered: 2011-06-02
Posts: 7,415

Re: Xfce screenshooter dialog

Compositoron wrote:

Same, it can not be caught with the GTK_DEBUG runs it. It looks nice on my my dark theme, such a shame:

Even in the code it doesn't look like it creates a specific class for it that you can target.

Offline

#5 2021-02-06 11:32:31

Compositoron
Member
Registered: 2020-07-24
Posts: 11

Re: Xfce screenshooter dialog

I've accepted it to look the way it can, even with just a bit less of coolness new look I got it still looks great imo....
Thanks for the help ToZ smile

Offline

Board footer

Powered by FluxBB