[Help] Modifica tema GTK

Personalizzazione grafica del sistema: icone, temi, sfondi, suoni, eccetera.
Avatar utente
Sylar
Scoppiettante Seguace
Scoppiettante Seguace
Messaggi: 974
Iscrizione: giovedì 29 novembre 2007, 11:19

[Help] Modifica tema GTK

Messaggio da Sylar »

Ciao a tutti, vorrei modificare il colore dello sfondo della barra di navigazione di Nautilus.
So che è possibile farlo modificando il file ".gtkrc" , ma non so dove mettergli mano :p, ho provato a googlare, ma non ho trovato nulla che faccia al mio caso.
Qualcuno di voi può darmi maggiori informazioni al riguardo?

Grazie
"Addio amore mio". Non lo dice. Non c'è spazio per la tenerezza, non a Sparta. Non c'è posto per la debolezza. Solo i duri e i forti possono definirsi Spartani. Solo i duri. Solo i forti.
ghitu2
Prode Principiante
Messaggi: 13
Iscrizione: venerdì 13 febbraio 2009, 19:35

Re: [Help] Modifica tema GTK

Messaggio da ghitu2 »

i file di configurazione gtkrc sono misteriosi anche per me, ma so che esiste una gui che ti permette di cambiare una miriade di colori di gnome, forse anche quello che ti interessa. dovrebbe essere nei repos, prova a dare

Codice: Seleziona tutto

sudo apt-get install gnome-color-chooser
Avatar utente
tabuto83
Prode Principiante
Messaggi: 24
Iscrizione: martedì 19 maggio 2009, 14:47
Contatti:

Re: [Help] Modifica tema GTK

Messaggio da tabuto83 »

Ciao, allora, premetto che non sono un espertissimo, innanzi tutto, fai una copia del tema che vuoi modificare e lavora su quella. Dopodichè apri il file .gtkrc e cerca una voce simile a "menu-bar", in quella sezione del file dovresti trovare il codice del colore che dovresti modificare, potresti provare prima di modificare a verificare se quel determinato codice (una stringa esadecimale del tipo #cc1aff per esempio...) corrisponde al colore che vuoi modificare, (ci sono dei siti che ti permettono di inserire il codice e ti restituiscono il colore).
C'è anche la possibilità che la barra che cerchi di modificare sia in realtà un file immagine. In questo caso, dovrai modificarla con Gimp.
In ogni caso potresti postare il file .gtkrc così lo guardiamo insieme.
E infine, la cosa che ti consiglio è di sperimentare e scoprire tu stesso gli effetti che hanno le modifiche sul tema.
Vuoi dirmi qualcosa? Dimmela nel mio dialetto: http://gelapedia.altervista.org

Visita il mio blog: http://b-admin.blogspot.com/
Avatar utente
Sylar
Scoppiettante Seguace
Scoppiettante Seguace
Messaggi: 974
Iscrizione: giovedì 29 novembre 2007, 11:19

Re: [Help] Modifica tema GTK

Messaggio da Sylar »

Ecco il Gtkrc:

Codice: Seleziona tutto

include "panel.rc"

gtk-icon-sizes = "panel-menu=16,16"

gtk-button-images = 0

style "MeepWindow"
{
	engine "pixmap"
	{
		image
		{
			function	= FLAT_BOX
			state		= NORMAL
			shadow		= NONE
			file		= "Meep.jpg"
			stretch		= TRUE
			overlay_stretch	= TRUE
			overlay_border	= { 0, 0, 7, 0 }
		}
	}
}


style "default"
{
	GtkButton      	::default_border    		= { 0, 0, 0, 0 }
	GtkButton      	::default_outside_border    	= { 0, 0, 0, 0 }
	GtkWidget      	::focus_padding			= 0
	GtkRange       	::trough_border     		= 0
	GtkRange       	::slider_width			= 15
	GtkRange       	::stepper_size			= 15
	GtkPaned       	::handle_size       		= 6
	GtkProgressBar 	::trough_border			= 0


	GtkScrollbar   	::min_slider_length 		= 40
	GtkCheckButton 	::indicator_size    		= 14
	GtkMenuBar     	::internal-padding  		= 4
	GtkToolbar     	::internal-padding  		= 2
	GtkTreeView    	::expander_size     		= 10
	GtkExpander    	::expander_size     		= 10
	GtkScale       	::slider-length     		= 31
	# GtkToolbar     ::button-relief     = GTK_RELIEF_NORMAL
	# GtkMenuBar     ::shadow-type       = GTK_SHADOW_OUT
	# GtkScrollbar   ::has-secondary-forward-stepper = 1
	# GtkScrollbar   ::has-secondary-backward-stepper = 1
	GtkStatusbar    ::shadow-type       = GTK_SHADOW_NONE
	GtkToolbar     	::shadow-type       = GTK_SHADOW_NONE
	GtkMenuBar     	::shadow-type       = GTK_SHADOW_NONE
	GtkProgressBar 	::shadow-type       = GTK_SHADOW_NONE
	GtkPanel 	::shadow-type       = GTK_SHADOW_NONE
	GtkTreeView::odd_row_color = "#ffffff"
	GtkTreeView::even_row_color = "#f0f0f0"
	#GtkEntry	::cursor_color = "#000000"
	#GtkWidget	::cursor_color = "#000000"
	#GtkTextWidget	::cursor_color = "#000000"

	NautilusIconContainer::highlight_alpha=150

	GtkButton      ::child-displacement-x = 0
	GtkButton      ::child-displacement-y = 1


	#xthickness = 1
	#ythickness = 1



	fg[NORMAL]       = "#000000"
	fg[ACTIVE]       = "#000000"
	fg[PRELIGHT]     = "#000000"
	fg[SELECTED]     = "#FFFFFF"
	fg[INSENSITIVE]  = "#747474"

	bg[NORMAL]       = "#CCCCCC"  
	bg[ACTIVE]       = "#a3a3a3"
	bg[PRELIGHT]     = "#CCCCCC"
	bg[SELECTED]     = "#ffffff" 
	bg[INSENSITIVE]  = "#D9D9D9"
	
	# window background , this will cause bugs if activated
	#bg_pixmap[NORMAL] = "/shadows/window-bg.png"

	base[NORMAL]     = "#FAFAFA"
	base[ACTIVE]     = "#CDCDCD" 
	base[PRELIGHT]   = "#FFFFFF"
	base[INSENSITIVE]= "#d7d7d7"
	base[SELECTED]   = "#3d3d3d"

	#text[NORMAL]	 = "#000000"	    
	text[INSENSITIVE]= "#747474"
	text[SELECTED]   = "#FFFFFF"
	text[ACTIVE]     = "#000000"
	text[PRELIGHT]   = "#000000"
	

	engine "clearlooks" 
	{
		colorize_scrollbar = TRUE
		menubarstyle      = 2      # 0 = flat, 1 = sunken, 2 = flat gradient
		toolbarstyle      = 1      # 0 = flat, 1 = enable effects
		animation         = FALSE
		style             = GUMMY
	}



engine "pixmap"
{
	image
	{
		function	= HANDLE
		recolorable	= TRUE
		overlay_file	= "/handles/handle-v.png"
		overlay_stretch	= TRUE
		orientation	= VERTICAL
	}

	image
	{
		function	= HANDLE
		recolorable	= TRUE
		overlay_file	= "/handles/handle-h.png"
		overlay_stretch	= TRUE
		orientation	= HORIZONTAL
	}

	image
	{
		function	= ARROW
		recolorable	= TRUE
		state		= NORMAL
		overlay_file	= "/arrows/arrow-up.png"
		overlay_border	= {2,2,2,2}
		overlay_stretch	= FALSE
		arrow_direction	= UP
	}

	image
	{
		function	= ARROW
		recolorable	= TRUE
		state		= PRELIGHT
		overlay_file	= "/arrows/arrow-up-prelight.png"
		overlay_border	= {2,2,2,2}
		overlay_stretch	= FALSE
		arrow_direction	= UP
	}

	image
	{
		function	= ARROW
		recolorable	= TRUE
		state		= ACTIVE
		overlay_file	= "/arrows/arrow-up-prelight.png"
		overlay_border	= {2,2,2,2}
		overlay_stretch	= FALSE
		arrow_direction	= UP
	}

	image
	{
		function	= ARROW
		recolorable	= TRUE
		state		= SELECTED
		overlay_file	= "/arrows/arrow-up-prelight.png"
		overlay_border	= {2,2,2,2}
		overlay_stretch	= FALSE
		arrow_direction	= UP
	}

	image
	{
		function	= ARROW
		recolorable	= TRUE
		state		= INSENSITIVE
		overlay_file	= "/arrows/arrow-up-insensitive.png"
		overlay_border	= {2,2,2,2}
		overlay_stretch	= FALSE
		arrow_direction	= UP
	}

	image
	{
		function	= ARROW
		recolorable	= TRUE
		state		= NORMAL
		overlay_file	= "/arrows/arrow-down.png"
		overlay_border	= {2,2,2,2}
		overlay_stretch	= FALSE
		arrow_direction	= DOWN
	}

	image
	{
		function	= ARROW
		recolorable	= TRUE
		state		= PRELIGHT
		overlay_file	= "/arrows/arrow-down-prelight.png"
		overlay_border	= {2,2,2,2}
		overlay_stretch	= FALSE
		arrow_direction	= DOWN
	}

	image
	{
		function	= ARROW
		recolorable	= TRUE
		state		= ACTIVE
		overlay_file	= "/arrows/arrow-down-prelight.png"
		overlay_border	= {2,2,2,2}
		overlay_stretch	= FALSE
		arrow_direction	= DOWN
	}
	image
	{
		function	= ARROW
		recolorable	= TRUE
		state		= SELECTED
		overlay_file	= "/arrows/arrow-down-prelight.png"
		overlay_border	= {2,2,2,2}
		overlay_stretch	= FALSE
		arrow_direction	= DOWN
	}

	image
	{
		function	= ARROW
		recolorable	= TRUE
		state		= INSENSITIVE
		overlay_file	= "/arrows/arrow-down-insensitive.png"
		overlay_border	= {2,2,2,2}
		overlay_stretch	= FALSE
		arrow_direction	= DOWN
	}

	image
	{
		function	= ARROW
		recolorable	= TRUE
		state		= NORMAL
		overlay_file	= "/arrows/arrow-left.png"
		overlay_border	= {2,2,2,2}
		overlay_stretch	= FALSE
		arrow_direction	= LEFT
	}

	image
	{
		function	= ARROW
		recolorable	= TRUE
		state		= PRELIGHT
		overlay_file	= "/arrows/arrow-left-prelight.png"
		overlay_border	= {2,2,2,2}
		overlay_stretch	= FALSE
		arrow_direction	= LEFT
	}

	image
	{
		function	= ARROW
		recolorable	= TRUE
		state		= ACTIVE
		overlay_file	= "/arrows/arrow-left-prelight.png"
		overlay_border	= {2,2,2,2}
		overlay_stretch	= FALSE
		arrow_direction	= LEFT
	}

	image
	{
		function	= ARROW
		recolorable	= TRUE
		state		= SELECTED
		overlay_file	= "/arrows/arrow-left-prelight.png"
		overlay_border	= {2,2,2,2}
		overlay_stretch	= FALSE
		arrow_direction	= LEFT
	}

	image
	{
		function	= ARROW
		recolorable	= TRUE
		state		= INSENSITIVE
		overlay_file	= "/arrows/arrow-left-insensitive.png"
		overlay_border	= {2,2,2,2}
		overlay_stretch	= FALSE
		arrow_direction	= LEFT
	}

	image
	{
		function	= ARROW
		recolorable	= TRUE
		state		= NORMAL
		overlay_file	= "/arrows/arrow-right.png"
		overlay_border	= {2,2,2,2}
		overlay_stretch	= FALSE
		arrow_direction	= RIGHT
	}

	image
	{
		function	= ARROW
		recolorable	= TRUE
		state		= PRELIGHT
		overlay_file	= "/arrows/arrow-right-prelight.png"
		overlay_border	= {2,2,2,2}
		overlay_stretch	= FALSE
		arrow_direction	= RIGHT
	}

	image
	{
		function	= ARROW
		recolorable	= TRUE
		state		= ACTIVE
		overlay_file	= "/arrows/arrow-right-prelight.png"
		overlay_border	= {2,2,2,2}
		overlay_stretch	= FALSE
		arrow_direction	= RIGHT
	}

	image
	{
		function	= ARROW
		recolorable	= TRUE
		state		= SELECTED
		overlay_file	= "/arrows/arrow-right-prelight.png"
		overlay_border	= {2,2,2,2}
		overlay_stretch	= FALSE
		arrow_direction	= RIGHT
	}

	image
	{
		function	= ARROW
		recolorable	= TRUE
		state		= INSENSITIVE
		overlay_file	= "/arrows/arrow-right-insensitive.png"
		overlay_border	= {2,2,2,2}
		overlay_stretch	= FALSE
		arrow_direction	= RIGHT
	}




	image
	{
		function	= VLINE
		recolorable	= TRUE
		file		= "/lines/line-v-black.png"
		border		= {0,0,0,0}
		stretch		= TRUE
		}

	image
	{
		function	= HLINE
		recolorable	= TRUE
		file		= "/lines/line-h-black.png"
		border		= {0,0,0,0}
		stretch		= TRUE
		}


	image
	{
		function	= SHADOW
		shadow		= IN
		recolorable	= TRUE
		file		= "/shadows/frame2.png"
		border		= {1,1,1,1}
		stretch		= TRUE
		}

	image
	{
		function	= SHADOW
		shadow		= OUT
		recolorable	= TRUE
		file		= "/shadows/frame1.png"
		border		= {1,1,1,1}
		stretch		= TRUE
		}

	image
	{
		function	= SHADOW
		shadow		= ETCHED_IN
		recolorable	= TRUE
		file		= "/shadows/frame1.png"
		border		= {1,1,1,1}
		stretch		= TRUE
		}

	image
	{
		function	= SHADOW
		shadow		= ETCHED_OUT
		recolorable	= TRUE
		file		= "/shadows/shadow-none.png"
		border		= {1,1,1,1}
		stretch		= TRUE
		}

	image
	{
		function	= SHADOW_GAP
		recolorable	= TRUE
		file		= "/shadows/frame1.png"
		border		= {2,2,2,2}
		stretch		= TRUE
		gap_start_file	= "/shadows/frame10.png"
		gap_start_border= { 7 , 1 ,1 ,1}
		gap_end_file	= "/shadows/frame11.png"
		gap_end_border= { 1 , 7 ,1 ,1}
		gap_side	= TOP
		
		}

	image
	{
		function	= FOCUS
		recolorable	= TRUE
		file		= "/other/focus.png"
		border		= {5,5,5,5}
		stretch		= TRUE
		}


}

}

style "scrollbars" = "default"
{
engine "pixmap"
{

	image
	{
		function	= BOX
		recolorable	= TRUE
		detail		= "trough"
		file		= "/scrollbar/trough-scrollbar-horiz.png"
		border		= { 30 , 30 , 0 , 0 }
		stretch		= TRUE
		orientation	= HORIZONTAL
	}

	image
	{
		function	= BOX
		recolorable	= TRUE
		detail		= "trough"
		file		= "/scrollbar/trough-scrollbar-vert.png"
		border		= { 0 , 0 , 30 , 30 }
		stretch		= TRUE
		orientation	= VERTICAL
	}

	image
	{
		function	= SLIDER
		recolorable	= TRUE
		state		= NORMAL
		file		= "/scrollbar/slider-horiz.png"
		border		= { 15 , 15, 1 , 1 }
		stretch		= TRUE
		orientation	= HORIZONTAL
		overlay_file	= "/scrollbar/grip-horiz.png"
		overlay_stretch	= FALSE
		orientation	= HORIZONTAL
		
	}

	image
	{
		function	= SLIDER
		recolorable	= TRUE
		state		= PRELIGHT
		file		= "/scrollbar/slider-horiz-prelight.png"
		border		= { 15 , 15 , 1 , 1}
		stretch		= TRUE
		orientation	= HORIZONTAL
		overlay_file	= "/scrollbar/grip-horiz-prelight.png"
		overlay_stretch	= FALSE
		orientation	= HORIZONTAL
		
	}

	image
	{
		function	= SLIDER
		recolorable	= TRUE
		state		= ACTIVE
		file		= "/scrollbar/slider-horiz-prelight.png"
		border		= {  15 , 15, 1 , 1}
		stretch		= TRUE
		orientation	= HORIZONTAL
		overlay_file	= "/scrollbar/grip-horiz-prelight.png"
		overlay_stretch	= FALSE
		orientation	= HORIZONTAL
		
	}

	image
	{
		function	= SLIDER
		recolorable	= TRUE
		state		= INSENSITIVE
		file		= "/scrollbar/slider-horiz-prelight.png"
		border		= { 15 , 15, 1 , 1 }
		stretch		= TRUE
		orientation	= HORIZONTAL
		overlay_file	= "/scrollbar/grip-horiz-prelight.png"
		overlay_stretch	= FALSE
		orientation	= HORIZONTAL
		
	}

	image
	{
		function	= SLIDER
		recolorable	= TRUE
		state		= NORMAL
		file		= "/scrollbar/slider-vert.png"
		border		= { 1 , 1 , 15 , 15 }
		stretch		= TRUE
		orientation	= VERTICAL
		overlay_file	= "/scrollbar/grip-vert.png"
		overlay_stretch	= FALSE
		orientation	= VERTICAL
		
	}

	image
	{
		function	= SLIDER
		recolorable	= TRUE
		state		= PRELIGHT
		file		= "/scrollbar/slider-vert-prelight.png"
		border		={ 1 , 1 , 15 , 15 }
		stretch		= TRUE
		orientation	= VERTICAL
		overlay_file	= "/scrollbar/grip-vert-prelight.png"
		overlay_stretch	= FALSE
		orientation	= VERTICAL
		
	}

	image
	{
		function	= SLIDER
		recolorable	= TRUE
		state		= ACTIVE
		file		= "/scrollbar/slider-vert-prelight.png"
		border		= { 1 , 1 , 15 , 15 }
		stretch		= TRUE
		orientation	= VERTICAL
		overlay_file	= "/scrollbar/grip-vert-prelight.png"
		overlay_stretch	= FALSE
		orientation	= VERTICAL
		
	}

	image
	{
		function	= SLIDER
		recolorable	= TRUE
		state		= INSENSITIVE
		file		= "/scrollbar/slider-vert-prelight.png"
		border		={ 1 , 1 , 15 , 15 }
		stretch		= TRUE
		orientation	= VERTICAL
		overlay_file	= "/scrollbar/grip-vert-prelight.png"
		overlay_stretch	= FALSE
		orientation	= VERTICAL
		
	}

	image
	{
		function	= STEPPER
		recolorable	= TRUE
		state		= NORMAL
		file		= "/scrollbar/stepper-up.png"
		stretch		= TRUE
		arrow_direction	= UP

		
	}

	image
	{
		function	= STEPPER
		recolorable	= TRUE
		state		= PRELIGHT
		file		= "/scrollbar/stepper-up-prelight.png"
		stretch		= TRUE
		arrow_direction	= UP

		
	}

	image
	{
		function	= STEPPER
		recolorable	= TRUE
		state		= ACTIVE
		file		= "/scrollbar/stepper-up-prelight.png"
		stretch		= TRUE
		arrow_direction	= UP

		
	}

	image
	{
		function	= STEPPER
		recolorable	= TRUE
		state		= INSENSITIVE
		file		= "/scrollbar/stepper-up.png"
		stretch		= TRUE
		arrow_direction	= UP

		
	}

	image
	{
		function	= STEPPER
		recolorable	= TRUE
		state		= NORMAL
		file		= "/scrollbar/stepper-down.png"
		stretch		= TRUE
		arrow_direction	= DOWN

		
	}

	image
	{
		function	= STEPPER
		recolorable	= TRUE
		state		= PRELIGHT
		file		= "/scrollbar/stepper-down-prelight.png"
		stretch		= TRUE
		arrow_direction	= DOWN

		
	}

	image
	{
		function	= STEPPER
		recolorable	= TRUE
		state		= ACTIVE
		file		= "/scrollbar/stepper-down-prelight.png"
		stretch		= TRUE
		arrow_direction	= DOWN

		
	}

	image
	{
		function	= STEPPER
		recolorable	= TRUE
		state		= INSENSITIVE
		file		= "/scrollbar/stepper-down.png"
		stretch		= TRUE
		arrow_direction	= DOWN

		
	}

	image
	{
		function	= STEPPER
		recolorable	= TRUE
		state		= NORMAL
		file		= "/scrollbar/stepper-left.png"
		stretch		= TRUE
		arrow_direction	= LEFT

		
	}

	image
	{
		function	= STEPPER
		recolorable	= TRUE
		state		= PRELIGHT
		file		= "/scrollbar/stepper-left-prelight.png"
		stretch		= TRUE
		arrow_direction	= LEFT

		
	}

	image
	{
		function	= STEPPER
		recolorable	= TRUE
		state		= ACTIVE
		file		= "/scrollbar/stepper-left-prelight.png"
		stretch		= TRUE
		arrow_direction	= LEFT

		
	}

	image
	{
		function	= STEPPER
		recolorable	= TRUE
		state		= INSENSITIVE
		file		= "/scrollbar/stepper-left.png"
		stretch		= TRUE
		arrow_direction	= LEFT

		
	}

	image
	{
		function	= STEPPER
		recolorable	= TRUE
		state		= NORMAL
		file		= "/scrollbar/stepper-right.png"
		stretch		= TRUE
		arrow_direction	= RIGHT

		
	}

	image
	{
		function	= STEPPER
		recolorable	= TRUE
		state		= PRELIGHT
		file		= "/scrollbar/stepper-right-prelight.png"
		stretch		= TRUE
		arrow_direction	= RIGHT

		
	}

	image
	{
		function	= STEPPER
		recolorable	= TRUE
		state		= ACTIVE
		file		= "/scrollbar/stepper-right-prelight.png"
		stretch		= TRUE
		arrow_direction	= RIGHT

		
	}

	image
	{
		function	= STEPPER
		recolorable	= TRUE
		state		= INSENSITIVE
		file		= "/scrollbar/stepper-right.png"
		stretch		= TRUE
		arrow_direction	= RIGHT

		
	}

}

}

style "radiobutton-menu"
{
engine "pixmap"
{

	image
	{

		function	= OPTION
		state		= NORMAL
		shadow		= OUT
		overlay_file	= "/check-radio/option1.png"
		overlay_stretch	= FALSE
	}

	image
	{

		function	= OPTION
		state		= PRELIGHT
		shadow		= OUT
		overlay_file	= "/check-radio/option3.png"
		overlay_stretch	= FALSE
	}

	image
	{

		function	= OPTION
		state		= ACTIVE
		shadow		= OUT
		overlay_file	= "/check-radio/option1.png"
		overlay_stretch	= FALSE
	}

	image
	{

		function	= OPTION
		state		= INSENSITIVE
		shadow		= OUT
		overlay_file	= "/check-radio/option5.png"
		overlay_stretch	= FALSE
	}

	image
	{

		function	= OPTION
		recolorable	= TRUE
		state		= NORMAL
		shadow		= IN
		overlay_file	= "/check-radio/option2.png"
		overlay_stretch	= FALSE
	}

	image
	{

		function	= OPTION
		recolorable	= TRUE
		state		= PRELIGHT
		shadow		= IN
		overlay_file	= "/check-radio/option4.png"
		overlay_stretch	= FALSE
	}

	image
	{

		function	= OPTION
		recolorable	= TRUE
		state		= ACTIVE
		shadow		= IN
		overlay_file	= "/check-radio/option4.png"
		overlay_stretch	= FALSE
	}

	image
	{

		function	= OPTION
		recolorable	= TRUE
		state		= INSENSITIVE
		shadow		= IN
		overlay_file	= "/check-radio/option6.png"
		overlay_stretch	= FALSE
	}

	image
	{

		function	= FLAT_BOX
		recolorable	= TRUE
		shadow		= IN
		file		= "/check-radio/checklight.png"
		border		= { 2 ,2 , 2 ,2}
		stretch		= TRUE
	}
}
}

style "radiobutton"
{
engine "pixmap"
{

	image
	{

		function	= OPTION
		state		= NORMAL
		shadow		= OUT
		overlay_file	= "/cherad/option1.png"
		overlay_stretch	= FALSE
	}

	image
	{

		function	= OPTION
		state		= PRELIGHT
		shadow		= OUT
		overlay_file	= "/cherad/option3.png"
		overlay_stretch	= FALSE
	}

	image
	{

		function	= OPTION
		state		= ACTIVE
		shadow		= OUT
		overlay_file	= "/cherad/option1.png"
		overlay_stretch	= FALSE
	}

	image
	{

		function	= OPTION
		state		= INSENSITIVE
		shadow		= OUT
		overlay_file	= "/cherad/option5.png"
		overlay_stretch	= FALSE
	}

	image
	{

		function	= OPTION
		recolorable	= TRUE
		state		= NORMAL
		shadow		= IN
		overlay_file	= "/cherad/option2.png"
		overlay_stretch	= FALSE
	}

	image
	{

		function	= OPTION
		recolorable	= TRUE
		state		= PRELIGHT
		shadow		= IN
		overlay_file	= "/cherad/option4.png"
		overlay_stretch	= FALSE
	}

	image
	{

		function	= OPTION
		recolorable	= TRUE
		state		= ACTIVE
		shadow		= IN
		overlay_file	= "/cherad/option4.png"
		overlay_stretch	= FALSE
	}

	image
	{

		function	= OPTION
		recolorable	= TRUE
		state		= INSENSITIVE
		shadow		= IN
		overlay_file	= "/cherad/option6.png"
		overlay_stretch	= FALSE
	}

	image
	{

		function	= FLAT_BOX
		recolorable	= TRUE
		shadow		= IN
		file		= "/cherad/checklight.png"
		border		= { 2 ,2 , 2 ,2}
		stretch		= TRUE
	}
}
}

style "checkbutton-menu"
{
engine "pixmap"
{

	image
	{

		function	= CHECK
		state		= NORMAL
		shadow		= OUT
		overlay_file	= "/check-radio/check1.png"
		overlay_stretch	= FALSE
	}

	image
	{

		function	= CHECK
		state		= PRELIGHT
		shadow		= OUT
		overlay_file	= "/check-radio/check3.png"
		overlay_stretch	= FALSE
	}

	image
	{

		function	= CHECK
		state		= ACTIVE
		shadow		= OUT
		overlay_file	= "/check-radio/check1.png"
		overlay_stretch	= FALSE
	}

	image
	{

		function	= CHECK
		state		= INSENSITIVE
		shadow		= OUT
		overlay_file	= "/check-radio/check5.png"
		overlay_stretch	= FALSE
	}

	image
	{

		function	= CHECK
		recolorable	= TRUE
		state		= NORMAL
		shadow		= IN
		overlay_file	= "/check-radio/check2.png"
		overlay_stretch	= FALSE
	}

	image
	{

		function	= CHECK
		recolorable	= TRUE
		state		= PRELIGHT
		shadow		= IN
		overlay_file	= "/check-radio/check4.png"
		overlay_stretch	= FALSE
	}

	image
	{

		function	= CHECK
		recolorable	= TRUE
		state		= ACTIVE
		shadow		= IN
		overlay_file	= "/check-radio/check4.png"
		overlay_stretch	= FALSE
	}

	image
	{

		function	= CHECK
		recolorable	= TRUE
		state		= INSENSITIVE
		shadow		= IN
		overlay_file	= "/check-radio/check6.png"
		overlay_stretch	= FALSE
	}

	image
	{

		function	= FLAT_BOX
		recolorable	= TRUE
		shadow		= IN
		file		= "/check-radio/checklight.png"
		border		= { 2 ,2 , 2 ,2}
		stretch		= TRUE
	}
}
}

style "checkbutton"
{
engine "pixmap"
{

	image
	{

		function	= CHECK
		state		= NORMAL
		shadow		= OUT
		overlay_file	= "/cherad/check1.png"
		overlay_stretch	= FALSE
	}

	image
	{

		function	= CHECK
		state		= PRELIGHT
		shadow		= OUT
		overlay_file	= "/cherad/check3.png"
		overlay_stretch	= FALSE
	}

	image
	{

		function	= CHECK
		state		= ACTIVE
		shadow		= OUT
		overlay_file	= "/cherad/check1.png"
		overlay_stretch	= FALSE
	}

	image
	{

		function	= CHECK
		state		= INSENSITIVE
		shadow		= OUT
		overlay_file	= "/cherad/check5.png"
		overlay_stretch	= FALSE
	}

	image
	{

		function	= CHECK
		recolorable	= TRUE
		state		= NORMAL
		shadow		= IN
		overlay_file	= "/cherad/check2.png"
		overlay_stretch	= FALSE
	}

	image
	{

		function	= CHECK
		recolorable	= TRUE
		state		= PRELIGHT
		shadow		= IN
		overlay_file	= "/cherad/check4.png"
		overlay_stretch	= FALSE
	}

	image
	{

		function	= CHECK
		recolorable	= TRUE
		state		= ACTIVE
		shadow		= IN
		overlay_file	= "/cherad/check4.png"
		overlay_stretch	= FALSE
	}

	image
	{

		function	= CHECK
		recolorable	= TRUE
		state		= INSENSITIVE
		shadow		= IN
		overlay_file	= "/cherad/check6.png"
		overlay_stretch	= FALSE
	}

	image
	{

		function	= FLAT_BOX
		recolorable	= TRUE
		shadow		= IN
		file		= "/cherad/checklight.png"
		border		= { 2 ,2 , 2 ,2}
		stretch		= TRUE
	}
}
}
style "menubar"
{

fg[PRELIGHT] = "#ffffff"
fg[ACTIVE] = "#ffffff"

text[PRELIGHT] = "#ffffff"
text[ACTIVE] = "#ffffff"

xthickness = 3
ythickness = 2


engine "pixmap"
{

	image
	{
		function	= BOX
		state		= NORMAL
		file		= "/menubar/menubar.png"
		border		= { 0 , 0 , 0 ,0}
		stretch		= TRUE
	}

	image
	{
		function	= BOX
		recolorable	= TRUE
		state		= PRELIGHT
		file		= "/menubar/menubar-item.png"
		border		= { 5 ,5 , 5 ,0}
		stretch		= TRUE
	}

	image
	{
		function	= BOX
		state		= ACTIVE
		file		= "/menubar/menubar.png"
		border		= { 2 ,2 , 2 ,2}
		stretch		= TRUE
	}

	image
	{
		function	= BOX
		state		= SELECTED
		file		= "/menubar/menubar.png"
		border		= { 2 ,2 , 2 ,2}
		stretch		= TRUE
	}

	image
	{
		function	= BOX
		state		= INSENSITIVE
		file		= "/menubar/menubar.png"
		border		= { 2 ,2 , 2 ,2}
		stretch		= TRUE
	}
}

}

style "menu" = "default"
{


xthickness = 2
ythickness = 2

fg[NORMAL] = "#000000"
fg[PRELIGHT] = "#000000"
fg[ACTIVE] = "#000000"

bg[NORMAL] = "#d9d9d9"
bg[PRELIGHT] = "#000000"
bg[SELECTED] = "#FFFFFF"

text[NORMAL] = "#000000"
text[PRELIGHT] = "#FFFFFF"
text[ACTIVE] = "#FFFFFF"


bg_pixmap[NORMAL] = "/menu/menu-bg.png"
....
"Addio amore mio". Non lo dice. Non c'è spazio per la tenerezza, non a Sparta. Non c'è posto per la debolezza. Solo i duri e i forti possono definirsi Spartani. Solo i duri. Solo i forti.
Avatar utente
Sylar
Scoppiettante Seguace
Scoppiettante Seguace
Messaggi: 974
Iscrizione: giovedì 29 novembre 2007, 11:19

Re: [Help] Modifica tema GTK

Messaggio da Sylar »

Codice: Seleziona tutto

...
engine "pixmap"
{

	image
	{
		function	= BOX
		recolorable	= TRUE
		detail		= "menu"
		file		= "/menu/menu.png"
		border		= { 28 ,2 , 2 ,2}
		stretch		= TRUE
	}

	image
	{
		function	= VLINE
		recolorable	= TRUE
		file		= "/lines/line-v.png"
		border		= {0,0,0,0}
		stretch		= TRUE
		}

	image
	{
		function	= HLINE
		recolorable	= TRUE
		file		= "/lines/line-h.png"
		border		= {0,0,0,0}
		stretch		= TRUE
		}


}
}

style "menuitem"
{
xthickness = 4
ythickness = 4

fg[NORMAL] = "#d7d7d7"
fg[PRELIGHT] = "#ffffff"
fg[ACTIVE] = "#ffffff"
fg[SELECTED] = "#ffffff"
fg[INSENSITIVE] = "#6b6b6b"

bg[NORMAL] = "#d7d7d7"
bg[SELECTED] = "#000000"

base[NORMAL] = "#ffffff"
base[PRELIGHT] = "#ffffff"

text[NORMAL] = "#ffffff"
text[PRELIGHT] = "#ffffff"
text [ACTIVE] = "#ffffff"
engine "pixmap"
{

	image
	{
		function	= BOX
		recolorable	= TRUE
		file		= "/menu/menuitem.png"
		border		= { 1 ,1 , 1 ,1}
		stretch		= TRUE
	}
	image
	{
		function	= VLINE
		recolorable	= TRUE
		file		= "/lines/line-v.png"
		border		= {0,0,0,0}
		stretch		= TRUE
		}

	image
	{
		function	= HLINE
		recolorable	= TRUE
		file		= "/lines/line-h.png"
		border		= {0,0,0,0}
		stretch		= TRUE
		}

	image
	{
		function	= ARROW
		recolorable	= TRUE
		overlay_file	= "/arrows/arrow-up-menu.png"
		overlay_border	= {2,2,2,2}
		overlay_stretch	= FALSE
		arrow_direction	= UP
	}


	image
	{
		function	= ARROW
		recolorable	= TRUE
		overlay_file	= "/arrows/arrow-down-menu.png"
		overlay_border	= {2,2,2,2}
		overlay_stretch	= FALSE
		arrow_direction	= DOWN
	}


	image
	{
		function	= ARROW
		recolorable	= TRUE
		overlay_file	= "/arrows/arrow-left-menu.png"
		overlay_border	= {2,2,2,2}
		overlay_stretch	= FALSE
		arrow_direction	= LEFT
	}


	image
	{
		function	= ARROW
		recolorable	= TRUE
		overlay_file	= "/arrows/arrow-right-menu.png"
		overlay_border	= {2,2,2,2}
		overlay_stretch	= FALSE
		arrow_direction	= RIGHT
	}



}

}




style "optionmenu" = "default"
{



xthickness = 4
ythickness = 4

engine "pixmap"
{

	image
	{
		function	= BOX
		recolorable	= TRUE
		state		= NORMAL
		file		= "/button/button-normal.png"
		border		= { 8 ,8 , 8 ,8}
		stretch		= TRUE
	}

	image
	{
		function	= BOX
		recolorable	= TRUE
		state		= PRELIGHT
		file		= "/button/button-prelight.png"
		border		= { 8 ,8 , 8 ,8}
		stretch		= TRUE
	}

	image
	{
		function	= BOX
		recolorable	= TRUE
		state		= ACTIVE
		file		= "/button/button-prelight.png"
		border		= { 8 ,8 , 8 ,8}
		stretch		= TRUE
	}

	image
	{
		function	= BOX
		recolorable	= TRUE
		state		= INSENSITIVE
		file		= "/button/button-inactive.png"
		border		= { 8 ,8 , 8 ,8}
		stretch		= TRUE
	}

	image
	{
		function	= TAB
		recolorable	= TRUE
		state		= NORMAL
		overlay_file	= "/arrows/arrow-optionmenu.png"
		overlay_stretch	= FALSE
	}

	image
	{
		function	= TAB
		recolorable	= TRUE
		state		= INSENSITIVE
		overlay_file	= "/arrows/arrow-optionmenu-disabled.png"
		overlay_stretch	= FALSE
	}

	image
	{
		function	= TAB
		recolorable	= TRUE
		state		= PRELIGHT
		overlay_file	= "/arrows/arrow-optionmenu-prelight.png"
		overlay_stretch	= FALSE
	}



}

}

style "button" = "default"
{

xthickness = 4
ythickness = 4
engine "pixmap"
{

	image
	{
		function	= BOX
		recolorable	= TRUE
		detail		= "buttondefault"
		file		= "/button/button-default.png"
		border		= { 8 ,8 , 8 ,8}
		stretch		= TRUE
	}

	image
	{
		function	= BOX
		state		= NORMAL
		recolorable	= TRUE
		file		= "/button/button-normal.png"
		border		={ 8 ,8 , 8 ,8}
		stretch		= TRUE
	}

	image
	{
		function	= BOX
		recolorable	= TRUE
		state		= PRELIGHT
		shadow		= OUT
		file		= "/button/button-prelight.png"
		border		= { 8 ,8 , 8 ,8}
		stretch		= TRUE
	}

	image
	{
		function	= BOX
		recolorable	= TRUE
		state		= PRELIGHT
		shadow		= IN
		file		= "/button/button-active-prelight.png"
		border		= { 8 ,8 , 8 ,8}
		stretch		= TRUE
	}

	image
	{
		function	= BOX
		state		= INSENSITIVE
		shadow		= OUT
		file		= "/button/button-inactive.png"
		border		= { 8 ,8 , 8 ,8}
		stretch		= TRUE
	}
	image
	{
		function	= BOX
		state		= INSENSITIVE
		shadow		= IN
		file		= "/button/button-active-disabled.png"
		border		= { 8 ,8 , 8 ,8}
		stretch		= TRUE
	}


	image
	{
		function	= BOX
		state		= ACTIVE
		file		= "/button/button-active.png"
		border		= { 8 ,8 , 8 ,8}
		stretch		= TRUE
	}


}

}

style "listheader"
{

engine "pixmap"
{

	image
	{
		function	= BOX
		state		= NORMAL
		recolorable	= TRUE
		file		= "/listheaders/list-header.png"
		border		= { 4 ,4, 4, 4}
		stretch		= TRUE
	}

	image
	{
		function	= BOX
		state		= PRELIGHT
		recolorable	= TRUE
		file		= "/listheaders/list-header-prelight.png"
		border		= { 4 ,4, 4, 4}
		stretch		= TRUE
	}

	image
	{
		function	= BOX
		state		= ACTIVE
		recolorable	= TRUE
		file		= "/listheaders/list-header-active.png"
		border		= { 4 ,4, 4, 4}
		stretch		= TRUE
	}

	image
	{
		function	= BOX
		state		= INSENSITIVE
		recolorable	= TRUE
		file		= "/listheaders/list-header.png"
		border		= { 4 ,4, 4, 4}
		stretch		= TRUE
	}

}

}

style "toolbutton" = "default"
{
xthickness = 4
ythickness = 0
engine "pixmap"
{

	image
	{
		function	= BOX
		recolorable	= TRUE
		state		= NORMAL
		file		= "/toolbar/button-toolbar-normal.png"
		border		= { 4 ,4 , 4 ,4}
		stretch		= TRUE
	}

	image
	{
		function	= BOX
		shadow		= OUT
		recolorable	= TRUE
		state		= PRELIGHT
		file		= "/toolbar/button-toolbar-prelight.png"
		border		= { 4 ,4 , 4 ,4}
		stretch		= TRUE
	}

	image
	{
		function	= BOX
		shadow		= IN
		recolorable	= TRUE
		state		= PRELIGHT
		file		= "/toolbar/button-toolbar-active-prelight.png"
		border		= { 4 ,4 , 4 ,4}
		stretch		= TRUE
	}

	image
	{
		function	= BOX
		recolorable	= TRUE
		state		= INSENSITIVE
		file		= "/toolbar/button-toolbar-inactive.png"
		border		= { 4 ,4 , 4 ,4}
		stretch		= TRUE
	}

	image
	{
		function	= BOX
		recolorable	= TRUE
		state		= ACTIVE
		file		= "/toolbar/button-toolbar-active.png"
		border		= { 4 ,4 , 4 ,4}
		stretch		= TRUE
	}

	image
	{
		function	= ARROW
		recolorable	= TRUE
		overlay_file	= "/arrows/arrow-down.png"
		overlay_border	= { 2 ,2 , 2 ,2}
		overlay_stretch	= FALSE
		arrow_direction	= DOWN
	}


}

}

style "toolmenu" = "toolbutton"
{
ythickness = 4
}


style "tabs"  = "default"
{

xthickness = 1
ythickness = 1
engine "pixmap"
{

	image
	{
		function	= EXTENSION
		state		= NORMAL
		gap_side	= BOTTOM
		file		= "/tabs/tab-top-active.png"
		stretch		= TRUE
		border		= { 6 ,6 ,6 ,0}
	}

	image
	{
		function	= EXTENSION
		state		= ACTIVE
		gap_side	= BOTTOM
		file		= "/tabs/tab-top.png"
		stretch		= TRUE
		border		= { 8 ,8 ,10 ,0}
	}



	image
	{
		function	= EXTENSION
		state		= NORMAL
		gap_side	= TOP
		file		= "/tabs/tab-bottom-active.png"
		stretch		= TRUE
		border		= { 6 ,6 ,0 ,6}
	}

	image
	{
		function	= EXTENSION
		state		= ACTIVE
		gap_side	= TOP
		file		= "/tabs/tab-bottom.png"
		stretch		= TRUE
		border		= { 8 ,8 ,0 ,10}
	}

	image
	{
		function	= EXTENSION
		state		= NORMAL
		gap_side	= LEFT
		file		= "/tabs/tab-right-active.png"
		stretch		= TRUE
		border		= { 0 ,6 ,6 ,6}
	}

	image
	{
		function	= EXTENSION
		state		= ACTIVE
		gap_side	= LEFT
		file		= "/tabs/tab-right.png"
		stretch		= TRUE
		border		= { 0 ,10 ,8 ,8}
	}

	image
	{
		function	= EXTENSION
		state		= NORMAL
		gap_side	= RIGHT
		file		= "/tabs/tab-left-active.png"
		stretch		= TRUE
		border		= { 6 ,0 ,6 ,6}
	}

	image
	{
		function	= EXTENSION
		state		= ACTIVE
		gap_side	= RIGHT
		file		= "/tabs/tab-left.png"
		stretch		= TRUE
		border		= { 10 ,0 ,8 ,8}
	}

	image
	{
		function	= BOX_GAP
		gap_side	= TOP
		file		= "/tabs/notebook_top_flat.png"
		stretch		= TRUE
		border		= { 1 ,1 ,10 ,1}
		gap_file	= "/tabs/tab-top-active-gap.png"
		gap_border	= { 1 ,1 ,2 ,1}
		gap_start_file	= "/tabs/null.png"
		gap_start_border= { 1 ,1 ,1 ,1}
		gap_end_file	= "/tabs/null.png"
		gap_end_border	= { 1 ,1 ,1 ,1}
		
	}

	image
	{
		function	= BOX_GAP
		gap_side	= BOTTOM
		file		= "/tabs/notebook_bottom_flat.png"
		stretch		= TRUE
		border		= { 1 ,1 ,1 ,10}
		gap_file	= "/tabs/tab-bottom-active-gap.png"
		gap_border	= { 1 ,1 ,1 ,2}
		gap_start_file	= "/tabs/null.png"
		gap_start_border= { 1 ,1 ,1 ,1}
		gap_end_file	= "/tabs/null.png"
		gap_end_border	= { 1 ,1 ,1 ,1}
		
	}

	image
	{
		function	= BOX_GAP
		gap_side	= LEFT
		file		= "/tabs/notebook_left_flat.png"
		stretch		= TRUE
		border		= { 10 ,1 ,1 ,1}
		gap_file	= "/tabs/tab-left-active-gap.png"
		gap_border	= { 2 ,1 ,1 ,1}
		gap_start_file	= "/tabs/null.png"
		gap_start_border= { 1 ,1 ,1 ,1}
		gap_end_file	= "/tabs/null.png"
		gap_end_border	= { 1 ,1 ,1 ,1}
		
	}

	image
	{
		function	= BOX_GAP
		gap_side	= RIGHT
		file		= "/tabs/notebook_right_flat.png"
		stretch		= TRUE
		border		= { 1 ,10 ,1 ,1}
		gap_file	= "/tabs/tab-right-active-gap.png"
		gap_border	= { 1 ,2 ,1 ,1}
		gap_start_file	= "/tabs/null.png"
		gap_start_border= { 1 ,1 ,1 ,1}
		gap_end_file	= "/tabs/null.png"
		gap_end_border	= { 1 ,1 ,1 ,1}
		
	}

	

}
}

style "combobutton" = "default"
{



engine "pixmap"
{



	image
	{
		function	= BOX
		state		= NORMAL
		file		= "/entry/entry-button-normal.png"
		border		= { 0 ,7 , 7 ,7}
		stretch		= TRUE
	}

	image
	{
		function	= BOX
		recolorable	= TRUE
		state		= PRELIGHT
		shadow		= OUT
		file		= "/entry/entry-button-prelight.png"
		border		= { 4 ,4 , 4 ,4}
		stretch		= TRUE
	}

	image
	{
		function	= BOX
		recolorable	= TRUE
		state		= PRELIGHT
		shadow		= IN
		file		= "/entry/entry-button-prelight.png"
		border		= { 4 ,4 , 4 ,4}
		stretch		= TRUE
	}

	image
	{
		function	= BOX
		state		= INSENSITIVE
		file		= "/entry/entry-button-normal.png"
		border		= { 4 ,4 , 4 ,4}
		stretch		= TRUE
	}


	image
	{
		function	= BOX
		state		= ACTIVE
		file		= "/entry/entry-button-prelight.png"
		border		= { 4 ,4 , 4 ,4}
		stretch		= TRUE
	}


}

}

style "comboentry" = "default"
{

xthickness = 2
ythickness = 2

GtkWidget::interior_focus = 1

engine "pixmap"
{

	image
	{
		function	= FOCUS
		recolorable	= TRUE
		file		= "/entry/combo-active.png"
		border		= { 2 , 2 , 2 ,2 }
		stretch		= TRUE
	}

	image
	{
		function	= BOX
		recolorable	= TRUE
		shadow		= OUT
		state		= NORMAL
		detail		= "entry"
		file		= "/entry/combo-inactive.png"
		border		= { 2 , 2 , 2 ,2 }
		stretch		= TRUE
	}

	image
	{
		function	= SHADOW
		state		= NORMAL
		recolorable	= FALSE
		shadow		= IN
		detail		= "entry"
		file		= "/entry/combo-inactive.png"
		border		= { 2 , 2 , 2 ,2 }
		stretch		= TRUE
	}




}

}


style "entry" = "default"
{

xthickness = 2
ythickness = 2

GtkWidget::interior_focus = 1

engine "pixmap"
{

	image
	{
		function	= FOCUS
		recolorable	= TRUE
		file		= "/entry/entry-active.png"
		border		= { 2 , 2 , 2 ,2 }
		stretch		= TRUE
	}

	image
	{
		function	= BOX
		recolorable	= TRUE
		shadow		= OUT
		state		= NORMAL
		detail		= "entry"
		file		= "/entry/entry-inactive.png"
		border		= { 2 , 2 , 2 ,2 }
		stretch		= TRUE
	}

	image
	{
		function	= SHADOW
		state		= NORMAL
		recolorable	= FALSE
		shadow		= IN
		detail		= "entry"
		file		= "/entry/entry-inactive.png"
		border		= { 2 , 2 , 2 ,2 }
		stretch		= TRUE
	}


	image
	{
		function	= ARROW
	}

	image
	{
		function	= BOX
		state		= NORMAL
		detail		= "spinbutton_up"
		recolorable	= TRUE
		file		= "/scrollbar/spin-up.png"
		border		= { 3 , 3 , 3 , 3 }
		stretch		= TRUE
		overlay_file	= "/scrollbar/arrow-up.png"
		overlay_stretch	= FALSE
		overlay_border	= { 0 , 0 , 0 , 0 }
	}

	image
	{
		function	= BOX
		state		= PRELIGHT
		detail		= "spinbutton_up"
		recolorable	= TRUE
		file		= "/scrollbar/spin-up.png"
		border		= { 3 , 3 , 3 , 3 }
		stretch		= TRUE
		overlay_file	= "/scrollbar/arrow-up-prelight.png"
		overlay_stretch	= FALSE
		overlay_border	= { 0 , 0 , 0 , 0 }
	}

	image
	{
		function	= BOX
		state		= ACTIVE
		detail		= "spinbutton_up"
		recolorable	= TRUE
		file		= "/scrollbar/spin-up.png"
		border		= { 3 , 3 , 3 , 3 }
		stretch		= TRUE
		overlay_file	= "/scrollbar/arrow-up-prelight.png"
		overlay_stretch	= FALSE
		overlay_border	= { 0 , 0 , 0 , 0 }
	}

	image
	{
		function	= BOX
		state		= INSENSITIVE
		detail		= "spinbutton_up"
		recolorable	= TRUE
		file		= "/scrollbar/spin-up.png"
		border		= { 3 , 3 , 3 , 3 }
		stretch		= TRUE
		overlay_file	= "/scrollbar/arrow-up-insensitive.png"
		overlay_stretch	= FALSE
		overlay_border	= { 0 , 0 , 0 , 0 }
	}



	image
	{
		function	= BOX
		state		= NORMAL
		detail		= "spinbutton_down"
		recolorable	= TRUE
		file		= "/scrollbar/spin-down.png"
		border		= { 5 , 5 , 5 , 5}
		stretch		= TRUE
		overlay_file	= "/scrollbar/arrow-down.png"
		overlay_stretch	= FALSE
		overlay_border	= { 0 , 0 , 0 , 0 }
	}

	image
	{
		function	= BOX
		state		= PRELIGHT
		detail		= "spinbutton_down"
		recolorable	= TRUE
		file		= "/scrollbar/spin-down.png"
		border		= { 5 , 5 , 5 , 5}
		stretch		= TRUE
		overlay_file	= "/scrollbar/arrow-down-prelight.png"
		overlay_stretch	= FALSE
		overlay_border	= { 0 , 0 , 0 , 0 }
	}

	image
	{
		function	= BOX
		state		= ACTIVE
		detail		= "spinbutton_down"
		recolorable	= TRUE
		file		= "/scrollbar/spin-down.png"
		border		= { 0 , 0 , 0 , 0 }
		stretch		= TRUE
		overlay_file	= "/scrollbar/arrow-down-prelight.png"
		overlay_stretch	= FALSE
		overlay_border	= { 0 , 0 , 0 , 0 }
	}

	image
	{
		function	= BOX
		state		= INSENSITIVE
		detail		= "spinbutton_down"
		recolorable	= TRUE
		file		= "/scrollbar/spin-down.png"
		border		= { 0 , 0 , 0 , 0 }
		stretch		= TRUE
		overlay_file	= "/scrollbar/arrow-down-insensitive.png"
		overlay_stretch	= FALSE
		overlay_border	= { 0 , 0 , 0 , 0 }
	}


}

}

style "toolbar"
{
xthickness = 2
ythickness = 0

fg [NORMAL] = "#000000"
fg [PRELIGHT] = "#000000"
fg [ACTIVE] = "#000000"
text [NORMAL] = "#000000"

#hardcoded toolbar icons,uncomment to use

  #stock["gtk-go-back"] = {{ "gtk-go-back.png", *, *, * }}
  #stock["gtk-go-down"] = {{ "gtk-go-down.png", *, *, * }}
  #stock["gtk-go-forward"] = {{ "gtk-go-forward.png", *, *, * }}
  #stock["gtk-go-up"] = {{ "gtk-go-up.png", *, *, * }}
  #stock["gtk-refresh"] = {{ "gtk-refresh.png", *, *, * }}
  #stock["gtk-stop"] = {{ "gtk-stop.png", *, *, * }}
  #stock["gtk-home"] = {{ "gtk-home.png", *, *, * }}
  #stock["gtk-home"] = {{ "gtk-home.png", *, *, * }}
  #stock["gtk-gnome-fs-home"] = {{ "gtk-home.png", *, *, * }}
  #stock["gtk-user-home"] = {{ "gtk-home.png", *, *, * }}
  #stock["gtk-zoom-in"] = {{ "gtk-zoom-in.png", *, *, * }}
  #stock["gtk-zoom-out"] = {{ "gtk-zoom-out.png", *, *, * }}
engine "pixmap"
{
	image
	{
		function	= BOX
		file		= "/toolbar/toolbar.png"
		border		= { 1 , 1 , 1 , 1 }
		stretch		= TRUE
	}


}

}

style "range" #= "default"
{
engine "pixmap"
{
	image
	{

		function	= FOCUS
		file		= "/range/trough-horiz-focus.png"
		border		= { 9 , 9 ,2 ,2}
		stretch		= TRUE
		orientation	= HORIZONTAL
	}

	image
	{

		function	= BOX
		#recolorable	= TRUE
		#detail		= "trough"
		file		= "/range/trough-horiz.png"
		border		= { 9 , 9 ,2 ,2}
		stretch		= TRUE
		orientation	= HORIZONTAL
	}

	image
	{

		function	= FOCUS
		file		= "/range/trough-vert-focus.png"
		border		= {2 ,2 ,9 ,9}
		stretch		= TRUE
		orientation	= VERTICAL
	}


	image
	{

		function	= BOX
		#recolorable	= TRUE
		#detail		= "trough"
		file		= "/range/trough-vert.png"
		border		= {2 ,2 ,9 ,9}
		stretch		= TRUE
		orientation	= VERTICAL
	}

	image
	{

		function	= SLIDER
		recolorable	= TRUE
		state		= NORMAL
		file		= "/range/null.png"
		border		= { 0 , 0 ,0 ,0}
		stretch		= TRUE
		overlay_file	= "/range/slider-horiz.png"
		overlay_stretch	= FALSE
		orientation	= HORIZONTAL
	}

	image
	{

		function	= SLIDER
		recolorable	= TRUE
		state		= PRELIGHT
		file		= "/range/null.png"
		border		= { 0 , 0 ,0 ,0}
		stretch		= TRUE
		overlay_file	= "/range/slider-horiz-prelight.png"
		overlay_stretch	= FALSE
		orientation	= HORIZONTAL
	}

	image
	{

		function	= SLIDER
		recolorable	= TRUE
		state		= INSENSITIVE
		file		= "/range/null.png"
		border		= { 0 , 0 ,0 ,0}
		stretch		= TRUE
		overlay_file	= "/range/slider-horiz.png"
		overlay_stretch	= FALSE
		orientation	= HORIZONTAL
	}

	image
	{

		function	= SLIDER
		recolorable	= TRUE
		state		= NORMAL
		file		= "/range/null.png"
		border		= { 0 , 0 ,0 ,0}
		stretch		= TRUE
		overlay_file	= "/range/slider-vert.png"
		overlay_stretch	= FALSE
		orientation	= VERTICAL
	}

	image
	{

		function	= SLIDER
		recolorable	= TRUE
		state		= PRELIGHT
		file		= "/range/null.png"
		border		= { 0 , 0 ,0 ,0}
		stretch		= TRUE
		overlay_file	= "/range/slider-vert-prelight.png"
		overlay_stretch	= FALSE
		orientation	= VERTICAL
	}

	image
	{

		function	= SLIDER
		recolorable	= TRUE
		state		= INSENSITIVE
		file		= "/range/null.png"
		border		= { 0 , 0 ,0 ,0}
		stretch		= TRUE
		overlay_file	= "/range/slider-vert.png"
		overlay_stretch	= FALSE
		orientation	= VERTICAL
	}

}

}

style "statusbar" = "default"
{
engine "pixmap"
{

	image
	{
		function	= RESIZE_GRIP
		recolorable	= TRUE
		detail		= "statusbar"
		overlay_file	= "/other/statusgrip.png"
		overlay_border	= { 0 , 0 , 0 , 0}
		overlay_stretch	= TRUE
	}
}

}

style "progressbar" = "default"
{
xthickness = 2
ythickness = 2

bg[PRELIGHT] = "#FFFFFF"
fg[PRELIGHT] = "#FFFFFF"



engine "pixmap"
{

	image
	{

		function	= BOX
		recolorable	= TRUE
		detail		= "trough"
		file		= "/progressbar/trough-progressbar-horiz.png"
		border		= { 4 , 4 , 4 , 4}
		stretch		= TRUE
		orientation	= HORIZONTAL
	}

	image
	{

		function	= BOX
		recolorable	= TRUE
		detail		= "bar"
		file		= "/progressbar/progressbar-horiz.png"
		border		= { 3 , 3 , 7 , 3}
		stretch		= TRUE
		orientation	= HORIZONTAL
	}

	image
	{

		function	= BOX
		recolorable	= TRUE
		detail		= "trough"
		file		= "/progressbar/trough-progressbar-vert.png"
		border		= { 4 , 4 , 4 , 4}
		stretch		= TRUE
		orientation	= VERTICAL
	}

	image
	{

		function	= BOX
		recolorable	= TRUE
		detail		= "bar"
		file		= "/progressbar/progressbar-vert.png"
		border		= { 7 , 3 , 3 , 3}
		stretch		= TRUE
		orientation	= VERTICAL
	}
}
}

style "layout"
{
engine "pixmap"
{
	image
	{
		function	= SHADOW
		detail		= "entry"
		recolorable	= FALSE
		shadow		= IN
		file		= "entry/entry-inactive.png"
		border		= {4 , 4 ,4 ,4 }
		stretch		= TRUE
	}

	image
	{
		function	= BOX
		detail		= "button"
		recolorable	= FALSE
		state		= NORMAL
		file		= "button/button-normal.png"
		border		= {4 , 4 ,4 ,4 }
		stretch		= TRUE
	}

}
}

style "nostyle" = "default"
{
engine "pixmap"
{
	image
	{
		function	= SHADOW
	}
}
}




style "cruxtext"
{
engine "mist" {

}


}



# widget styles


class "GtkWidget"      				style "default"
class "GtkButton"      				style "button"
class "GtkCombo*"       			style "optionmenu"
widget_class "*GtkCombo*"       		style "optionmenu"
class "GtkOptionMenu"       			style "optionmenu"
widget_class "*BonoboDockItem" 			style "default"
class "*BonoboDockItem" 			style "default"
class "GtkRange"       				style "range"
class "GtkFrame"       				style "default"
class "GtkMenu"        				style "menu"
#widget_class"*MenuItem*"        		style "menuitem"
widget_class"*MenuItem.*"        		style "menuitem"
widget_class"*.GtkMenuItem.*"        		style "menuitem"
widget_class"*.GtkAccelMenuItem.*"        	style "menuitem"
widget_class "*List"				style "listheader"
widget_class "*GtkCList"			style "listheader"
widget_class "*GtkTree"				style "listheader"
#widget_class "*Tree*"				style "listheader"
class "GtkMenuItem"    				style "menuitem"
class "GtkImageMenuItem"    			style "menuitem"
class "GtkTearoffMenuItem"    			style "menuitem"
class "GtkItem"    				style "menuitem"
widget_class "*.<GtkMenuItem>.*" 		style "menuitem"
class "GtkEntry"       				style "entry"
class "GtkOldEditable"				style "entry"
class "GtkNotebook"    				style "tabs"
class "GtkProgressBar" 				style "progressbar"
class "GtkTreeView"				style "default"
#class "MetaFrames"     				style "metacity-frame"
#class "GtkWindow"      				style "metacity-frame"
class "GtkWindow"      				style "MeepWindow"
class "GtkScrollbar"				style "scrollbars"
class "GtkToolBar"				style "toolbar"
class "*ToolBar"				style "toolbar"
widget_class "*ToolBar"				style"toolbar"
widget_class "*Nautilus*ToolBar*"		style "toolbar"
class "*HandleBox"				style "toolbar"
widget_class "*HandleBox"			style "toolbar"
class "GtkStatusbar"				style "statusbar"
class "*MenuBar*"				style "menubar"
widget_class "*MenuBar.*"			style "menubar"
class "*GtkTooltips*"				style "default"
widget "gtk-tooltips" 				style "default"
widget_class "*Tooltips*"			style "default"
class "GtkHandleBox"				style "default"
class "GtkPaned"				style "default"
class "GtkSpinButton" 				style "entry"
class "GtkCheckButton" 				style "checkbutton"
class "GtkCheckMenuItem" 			style "checkbutton-menu"
class "GtkRadioButton" 				style "radiobutton"
class "GtkCheckMenuItem" 			style "radiobutton-menu"
class "GtkEventBox"				style "nostyle"
widget_class "*.GtkCTree.GtkButton" 		style "listheader"
widget_class "*.GtkList.GtkButton" 		style "listheader"
widget_class "*.GtkCList.GtkButton" 		style "listheader"
class "GtkLayout"				style "layout"
widget_class "*OptionMenu*"       		style "optionmenu"
widget_class "*Combo*"       			style "optionmenu"
widget_class "*Tree*Button*"       		style "button"
widget_class "*Range*" 				style "range"
widget_class "*Entry.GtkButton"       		style "combobutton"
widget_class "*GtkComboBoxEntry*Button"       	style "combobutton"
class "GtkEntry"       				style "entry"
class "GtkOldEditable"				style "entry"
widget_class "*.GtkComboBox.GtkButton" 		style "combobutton"
widget_class "*.GtkCombo.GtkButton"    		style "combobutton"
#widget_class "*Combo*Entry*"    		style "comboentry"
widget_class "*SpinButton*" 			style:highest "entry"
widget_class "*.GtkTool*"			style:lowest "toolbar"
widget_class "*GtkToolButton*"      		style "toolbutton"
widget_class "*GtkToggleToolButton*"      	style "toolbutton"
widget_class "*GtkMenuToolButton*"      	style "toolbutton"
widget_class "*GtkToolbar*Button"		style "toolbutton"
widget_class "*GtkToolbar*OptionMenu*"		style "toolmenu"
widget_class "*GtkToolbar*Combo*"		style "toolmenu"
widget_class "*Thunar*Entry.*Button"		style "combobutton"
widget_class "*MenuItem.*ProgressBar*" 		style "progressbar"
class "*Label*"					style "cruxtext"
widget_class "*Label*"				style "cruxtext"
widget_class "*Cell*"				style "cruxtext"
widget_class "*.GtkTreeView"			style "cruxtext"
widget_class "*.GtkTreeView.GtkButton" 		style "listheader"
#widget_class "*Editor*Button*"			style "button"
widget_class "*Thunar*TreeView.GtkButton"	style "listheader"



# tooltips stuff
#widget_class "*.tooltips.*.GtkToggleButton" 	style "clearlooks-tasklist"



#widget_class "*.GtkFrame.GtkLabel" 		style "test"

# notebook stuff
#widget_class "*.GtkNotebook.*.GtkEventBox" 	style "aura"
#widget_class "*.GtkNotebook.*.GtkViewport" 	style "aura"

# these should really use base and text colors instead
#widget_class "*GtkCTree*" style "evolution-hack"
#widget_class "*GtkList*" style "evolution-hack"
#widget_class "*GtkCList*" style "treetext"
#widget_class "*.ETree.*" style "treetext"

#widget "*.nautilus-extra-view-widget" style:highest "extra-view-widgets"
Ho scritto tutto in due post, poichè superavo il limite dei 40000 caratteri.

Ora provo a fare qualche modifica...

Ho provato a cambiare questi valori:
style "menubar"
{

fg[PRELIGHT] = "#ffffff"
fg[ACTIVE] = "#ffffff"
in 000000 ma niente.

Ho provato anche a vedere l'immagine MenuBar.png, presente nella Cartella Menubar, ma questa non corrisponde al campo giusto (è già nera)... Suppongo che sia "lo sfondo" del campo dove sono presenti le voci File, Modifica, Visualizza... mentre io voglio cambiare quello dove sono presenti le icone di navigazione di Nautilus.
Ultima modifica di Sylar il venerdì 17 luglio 2009, 19:53, modificato 1 volta in totale.
"Addio amore mio". Non lo dice. Non c'è spazio per la tenerezza, non a Sparta. Non c'è posto per la debolezza. Solo i duri e i forti possono definirsi Spartani. Solo i duri. Solo i forti.
Avatar utente
Sylar
Scoppiettante Seguace
Scoppiettante Seguace
Messaggi: 974
Iscrizione: giovedì 29 novembre 2007, 11:19

Re: [Help] Modifica tema GTK

Messaggio da Sylar »

Nessuno mi da una mano?  :P
"Addio amore mio". Non lo dice. Non c'è spazio per la tenerezza, non a Sparta. Non c'è posto per la debolezza. Solo i duri e i forti possono definirsi Spartani. Solo i duri. Solo i forti.
Scrivi risposta

Ritorna a “Personalizzazione dell'ambiente desktop”

Chi c’è in linea

Visualizzano questa sezione: 0 utenti iscritti e 2 ospiti