1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782 |
- # vim:set ft=gtkrc ts=2 sw=2 sts=2 ai et:
- #
- # This is the main theme file, handling all the default widgets and theme
- # properties. Since GTK+ 2 is old, we need to overcome some of its limitations,
- # which is also mostly done in this file. Sadly not all of them can be overcome
- # so there will always be a visible difference between the GTK+ 2 and 3 theme.
- style "default" {
- xthickness = 1
- ythickness = 1
- ####################
- # Style Properties #
- ####################
- GtkWidget::focus-padding = 0
- GtkWidget::focus-line-width = 2
- GtkWidget::focus-line-pattern = "\2\1"
- GtkToolbar::space-size = 5 # 1 + 2*2 (separator + margins)
- GtkToolbar::internal-padding = 2
- GtkToolButton::icon-spacing = 4
- GtkWidget::tooltip-radius = 6
- GtkWidget::tooltip-alpha = 230
- GtkWidget::new-tooltip-style = 1 #for compatibility
- GtkWidget::link-color = @link_color
- GtkWidget::visited-link-color = @visited_link_color
- GnomeHRef::link_color = @link_color
- GtkHTML::link-color = @link_color
- GtkHTML::vlink-color = @visited_link_color
- GtkIMHtml::hyperlink-color = @link_color
- GtkIMHtml::hyperlink-visited-color = @visited_link_color
- GtkSeparatorMenuItem::horizontal-padding = 0
- GtkSeparatorMenuItem::wide-separators = 1
- GtkSeparatorMenuItem::separator-height = 2
- GtkButton::child-displacement-y = 0
- GtkButton::default-border = {0, 0, 0, 0}
- GtkButton::default-outside-border = {0, 0, 0, 0}
- GtkButton::inner-border = {4, 4, 4, 4}
- GtkEntry::state-hint = 1
- GtkEntry::inner-border = {4, 4, 4, 4}
- GtkPaned::handle-size = 8
- GtkHPaned::handle-size = 8
- GtkVPaned::handle-size = 8
- GtkScrollbar::trough-border = 0
- GtkRange::trough-border = 0
- GtkRange::slider-width = 17
- GtkRange::stepper-size = 0
- GtkRange::activate-slider = 1
- GtkScrollbar::activate-slider = 1
- GtkScrollbar::stepper-size = 0
- GtkScrollbar::has-backward-stepper = 0
- GtkScrollbar::has-forward-stepper = 0
- GtkScrollbar::min-slider-length = 32 # 24 + 2*4 (margins)
- GtkScrolledWindow::scrollbar-spacing = 0
- GtkScrolledWindow::scrollbars-within-bevel = 1
- GtkScale::slider_length = 24
- GtkScale::slider_width = 24
- GtkScale::trough-side-details = 1
- GtkProgressBar::min-horizontal-bar-height = 4
- GtkProgressBar::min-vertical-bar-width = 4
- GtkProgressBar::xspacing = 4
- GtkProgressBar::yspacing = 4
- GtkStatusbar::shadow_type = GTK_SHADOW_NONE
- GtkSpinButton::shadow_type = GTK_SHADOW_NONE
- GtkMenuBar::shadow-type = GTK_SHADOW_NONE
- GtkToolbar::shadow-type = GTK_SHADOW_NONE
- # TODO: find out what this comment means:
- # ( every window is misaligned for the sake of menus ):
- GtkMenuBar::internal-padding = 0
- GtkMenu::horizontal-padding = 0
- GtkMenu::vertical-padding = 2
- GtkMenu::double-arrows = 0
- GtkMenuItem::arrow-scaling = 1
- GtkMenuItem::toggle-spacing = 12
- GtkCheckButton::indicator-size = 24
- GtkCheckButton::indicator_spacing = 2
- GtkOptionMenu::indicator_spacing = {10, 10, 6, 6}
- GtkTreeView::expander-size = 16
- GtkTreeView::vertical-separator = 0
- GtkTreeView::horizontal-separator = 4
- GtkTreeView::allow-rules = 0
- # Set this because some apps read it
- GtkTreeView::odd-row-color = @base_color
- GtkTreeView::even-row-color = @base_color
- GtkExpander::expander-size = 16
- GtkNotebook::tab-overlap = 0
- ##########
- # Colors #
- ##########
- bg[NORMAL] = @bg_color
- bg[PRELIGHT] = @bg_color
- bg[SELECTED] = mix (0.32, @selected_bg_color, @bg_color)
- bg[INSENSITIVE] = @bg_color
- bg[ACTIVE] = @bg_color
- fg[NORMAL] = @fg_color
- fg[PRELIGHT] = @fg_color
- fg[SELECTED] = @fg_color
- fg[INSENSITIVE] = mix (0.4, @fg_color, @bg_color)
- fg[ACTIVE] = @fg_color
- text[NORMAL] = @text_color
- text[PRELIGHT] = @text_color
- text[SELECTED] = @text_color
- text[INSENSITIVE] = mix (0.4, @text_color, @base_color)
- text[ACTIVE] = @text_color
- base[NORMAL] = @base_color
- base[PRELIGHT] = mix (0.05, @text_color, @base_color)
- base[SELECTED] = mix (0.32, @selected_bg_color, @base_color)
- base[INSENSITIVE] = mix (0.5, @base_color, @bg_color)
- base[ACTIVE] = mix (0.32, @selected_bg_color, @base_color)
- # For succinctness, all reasonable pixmap options remain here
- # Draw frame around menu in a non-compositied environment
- # This needs to go before pixmap because we need to override some stuff
- engine "adwaita" {}
- engine "pixmap" {
- #################
- # Check Buttons #
- #################
- image {
- function = CHECK
- state = NORMAL
- shadow = OUT
- overlay_file = "assets/checkbox-unchecked.png"
- overlay_stretch = FALSE
- }
- image {
- function = CHECK
- state = PRELIGHT
- shadow = OUT
- overlay_file = "assets/checkbox-unchecked-hover.png"
- overlay_stretch = FALSE
- }
- image {
- function = CHECK
- state = ACTIVE
- shadow = OUT
- overlay_file = "assets/checkbox-unchecked-active.png"
- overlay_stretch = FALSE
- }
- image {
- function = CHECK
- state = SELECTED
- shadow = OUT
- overlay_file = "assets/checkbox-unchecked.png"
- overlay_stretch = FALSE
- }
- image {
- function = CHECK
- state = INSENSITIVE
- shadow = OUT
- overlay_file = "assets/checkbox-unchecked-disabled.png"
- overlay_stretch = FALSE
- }
- image {
- function = CHECK
- state = NORMAL
- shadow = IN
- overlay_file = "assets/checkbox-checked.png"
- overlay_stretch = FALSE
- }
- image {
- function = CHECK
- state = PRELIGHT
- shadow = IN
- overlay_file = "assets/checkbox-checked-hover.png"
- overlay_stretch = FALSE
- }
- image {
- function = CHECK
- state = ACTIVE
- shadow = IN
- overlay_file = "assets/checkbox-checked-active.png"
- overlay_stretch = FALSE
- }
- image {
- function = CHECK
- state = SELECTED
- shadow = IN
- overlay_file = "assets/checkbox-checked.png"
- overlay_stretch = FALSE
- }
- image {
- function = CHECK
- state = INSENSITIVE
- shadow = IN
- overlay_file = "assets/checkbox-checked-disabled.png"
- overlay_stretch = FALSE
- }
- image {
- function = CHECK
- state = NORMAL
- shadow = ETCHED_IN
- overlay_file = "assets/checkbox-mixed.png"
- overlay_stretch = FALSE
- }
- image {
- function = CHECK
- state = PRELIGHT
- shadow = ETCHED_IN
- overlay_file = "assets/checkbox-mixed-hover.png"
- overlay_stretch = FALSE
- }
- image {
- function = CHECK
- state = ACTIVE
- shadow = ETCHED_IN
- overlay_file = "assets/checkbox-mixed-active.png"
- overlay_stretch = FALSE
- }
- image {
- function = CHECK
- state = SELECTED
- shadow = ETCHED_IN
- overlay_file = "assets/checkbox-mixed.png"
- overlay_stretch = FALSE
- }
- image {
- function = CHECK
- state = INSENSITIVE
- shadow = ETCHED_IN
- overlay_file = "assets/checkbox-mixed-disabled.png"
- overlay_stretch = FALSE
- }
- #################
- # Radio Buttons #
- #################
- image {
- function = OPTION
- state = NORMAL
- shadow = OUT
- overlay_file = "assets/radio-unchecked.png"
- overlay_stretch = FALSE
- }
- image {
- function = OPTION
- state = PRELIGHT
- shadow = OUT
- overlay_file = "assets/radio-unchecked-hover.png"
- overlay_stretch = FALSE
- }
- image {
- function = OPTION
- state = ACTIVE
- shadow = OUT
- overlay_file = "assets/radio-unchecked-active.png"
- overlay_stretch = FALSE
- }
- image {
- function = OPTION
- state = SELECTED
- shadow = OUT
- overlay_file = "assets/radio-unchecked.png"
- overlay_stretch = FALSE
- }
- image {
- function = OPTION
- state = INSENSITIVE
- shadow = OUT
- overlay_file = "assets/radio-unchecked-disabled.png"
- overlay_stretch = FALSE
- }
- image {
- function = OPTION
- state = NORMAL
- shadow = IN
- overlay_file = "assets/radio-checked.png"
- overlay_stretch = FALSE
- }
- image {
- function = OPTION
- state = PRELIGHT
- shadow = IN
- overlay_file = "assets/radio-checked-hover.png"
- overlay_stretch = FALSE
- }
- image {
- function = OPTION
- state = ACTIVE
- shadow = IN
- overlay_file = "assets/radio-checked-active.png"
- overlay_stretch = FALSE
- }
- image {
- function = OPTION
- state = SELECTED
- shadow = IN
- overlay_file = "assets/radio-checked.png"
- overlay_stretch = FALSE
- }
- image {
- function = OPTION
- state = INSENSITIVE
- shadow = IN
- overlay_file = "assets/radio-checked-disabled.png"
- overlay_stretch = FALSE
- }
- image {
- function = OPTION
- state = NORMAL
- shadow = ETCHED_IN
- overlay_file = "assets/radio-mixed.png"
- overlay_stretch = FALSE
- }
- image {
- function = OPTION
- state = PRELIGHT
- shadow = ETCHED_IN
- overlay_file = "assets/radio-mixed-hover.png"
- overlay_stretch = FALSE
- }
- image {
- function = OPTION
- state = ACTIVE
- shadow = ETCHED_IN
- overlay_file = "assets/radio-mixed-active.png"
- overlay_stretch = FALSE
- }
- image {
- function = OPTION
- state = SELECTED
- shadow = ETCHED_IN
- overlay_file = "assets/radio-mixed.png"
- overlay_stretch = FALSE
- }
- image {
- function = OPTION
- state = INSENSITIVE
- shadow = ETCHED_IN
- overlay_file = "assets/radio-mixed-disabled.png"
- overlay_stretch = FALSE
- }
- ##########
- # Arrows #
- ##########
- # Overrides
- # Disable arrows in spinbuttons
- image {
- function = ARROW
- detail = "spinbutton"
- }
- # Disable arrows for qt in scrollbars
- image {
- function = ARROW
- detail = "vscrollbar"
- }
- image {
- function = ARROW
- detail = "hscrollbar"
- }
- # Menu arrows
- image {
- function = ARROW
- state = NORMAL
- detail = "menuitem"
- overlay_file = "assets/pan-left.png"
- overlay_stretch = FALSE
- arrow_direction = LEFT
- }
- image {
- function = ARROW
- state = PRELIGHT
- detail = "menuitem"
- overlay_file = "assets/pan-left.png"
- overlay_stretch = FALSE
- arrow_direction = LEFT
- }
- image {
- function = ARROW
- state = INSENSITIVE
- detail = "menuitem"
- overlay_file = "assets/pan-left-disabled.png"
- overlay_stretch = FALSE
- arrow_direction = LEFT
- }
- image {
- function = ARROW
- state = NORMAL
- detail = "menuitem"
- overlay_file = "assets/pan-right.png"
- overlay_stretch = FALSE
- arrow_direction = RIGHT
- }
- image {
- function = ARROW
- state = PRELIGHT
- detail = "menuitem"
- overlay_file = "assets/pan-right.png"
- overlay_stretch = FALSE
- arrow_direction = RIGHT
- }
- image {
- function = ARROW
- state = INSENSITIVE
- detail = "menuitem"
- overlay_file = "assets/pan-right-disabled.png"
- overlay_stretch = FALSE
- arrow_direction = RIGHT
- }
- image {
- function = ARROW
- state = INSENSITIVE
- detail = "menu_scroll_arrow_up"
- overlay_file = "assets/pan-up-disabled.png"
- overlay_stretch = FALSE
- }
- image {
- function = ARROW
- detail = "menu_scroll_arrow_up"
- overlay_file = "assets/pan-up.png"
- overlay_stretch = FALSE
- }
- image {
- function = ARROW
- state = INSENSITIVE
- detail = "menu_scroll_arrow_down"
- overlay_file = "assets/pan-down-disabled.png"
- overlay_stretch = FALSE
- }
- image {
- function = ARROW
- detail = "menu_scroll_arrow_down"
- overlay_file = "assets/pan-down.png"
- overlay_stretch = FALSE
- }
- # Regular arrows
- image {
- function = ARROW
- state = NORMAL
- overlay_file = "assets/pan-up-alt.png"
- overlay_stretch = FALSE
- arrow_direction = UP
- }
- image {
- function = ARROW
- state = PRELIGHT
- overlay_file = "assets/pan-up.png"
- overlay_stretch = FALSE
- arrow_direction = UP
- }
- image {
- function = ARROW
- state = ACTIVE
- overlay_file = "assets/pan-up.png"
- overlay_stretch = FALSE
- arrow_direction = UP
- }
- image {
- function = ARROW
- state = INSENSITIVE
- overlay_file = "assets/pan-up-alt-disabled.png"
- overlay_stretch = FALSE
- arrow_direction = UP
- }
- image {
- function = ARROW
- state = NORMAL
- overlay_file = "assets/pan-down-alt.png"
- overlay_stretch = FALSE
- arrow_direction = DOWN
- }
- image {
- function = ARROW
- state = PRELIGHT
- overlay_file = "assets/pan-down.png"
- overlay_stretch = FALSE
- arrow_direction = DOWN
- }
- image {
- function = ARROW
- state = ACTIVE
- overlay_file = "assets/pan-down.png"
- overlay_stretch = FALSE
- arrow_direction = DOWN
- }
- image {
- function = ARROW
- state = INSENSITIVE
- overlay_file = "assets/pan-down-alt-disabled.png"
- overlay_stretch = FALSE
- arrow_direction = DOWN
- }
- image {
- function = ARROW
- state = NORMAL
- overlay_file = "assets/pan-left-alt.png"
- overlay_stretch = FALSE
- arrow_direction = LEFT
- }
- image {
- function = ARROW
- state = PRELIGHT
- overlay_file = "assets/pan-left.png"
- overlay_stretch = FALSE
- arrow_direction = LEFT
- }
- image {
- function = ARROW
- state = ACTIVE
- overlay_file = "assets/pan-left.png"
- overlay_stretch = FALSE
- arrow_direction = LEFT
- }
- image {
- function = ARROW
- state = INSENSITIVE
- overlay_file = "assets/pan-left-alt-disabled.png"
- overlay_stretch = FALSE
- arrow_direction = LEFT
- }
- image {
- function = ARROW
- state = NORMAL
- overlay_file = "assets/pan-right-alt.png"
- overlay_stretch = FALSE
- arrow_direction = RIGHT
- }
- image {
- function = ARROW
- state = PRELIGHT
- overlay_file = "assets/pan-right.png"
- overlay_stretch = FALSE
- arrow_direction = RIGHT
- }
- image {
- function = ARROW
- state = ACTIVE
- overlay_file = "assets/pan-right.png"
- overlay_stretch = FALSE
- arrow_direction = RIGHT
- }
- image {
- function = ARROW
- state = INSENSITIVE
- overlay_file = "assets/pan-right-alt-disabled.png"
- overlay_stretch = FALSE
- arrow_direction = RIGHT
- }
- ######################
- # Option Menu Arrows #
- ######################
- image {
- function = TAB
- state = NORMAL
- overlay_file = "assets/pan-down-alt.png"
- overlay_stretch = FALSE
- }
- image {
- function = TAB
- state = PRELIGHT
- overlay_file = "assets/pan-down.png"
- overlay_stretch = FALSE
- }
- image {
- function = TAB
- state = ACTIVE
- overlay_file = "assets/pan-down.png"
- overlay_stretch = FALSE
- }
- image {
- function = TAB
- state = INSENSITIVE
- overlay_file = "assets/pan-down-alt-disabled.png"
- overlay_stretch = FALSE
- }
- #########
- # Lines #
- #########
- image {
- function = VLINE
- file = "assets/border.png"
- border = {1, 0, 0, 0}
- }
- image {
- function = HLINE
- file = "assets/border.png"
- border = {0, 0, 1, 0}
- }
- #########
- # Focus #
- #########
- image {
- function = FOCUS
- file = "assets/focus.png"
- border = {5, 5, 5, 5} # Super strange, {4, 4, 4, 4} does not work properly...
- stretch = TRUE
- }
- ###########
- # Handles #
- ###########
- image {
- function = HANDLE
- detail = "handlebox"
- overlay_file = "assets/handle-vert.png"
- overlay_stretch = FALSE
- }
- image {
- function = HANDLE
- state = NORMAL
- overlay_file = "assets/handle-horz.png"
- overlay_stretch = FALSE
- orientation = HORIZONTAL
- }
- image {
- function = HANDLE
- state = PRELIGHT
- overlay_file = "assets/handle-horz-hover.png"
- overlay_stretch = FALSE
- orientation = HORIZONTAL
- }
- image {
- function = HANDLE
- state = ACTIVE
- overlay_file = "assets/handle-horz-active.png"
- overlay_stretch = FALSE
- orientation = HORIZONTAL
- }
- image {
- function = HANDLE
- state = NORMAL
- overlay_file = "assets/handle-vert.png"
- overlay_stretch = FALSE
- orientation = VERTICAL
- }
- image {
- function = HANDLE
- state = PRELIGHT
- overlay_file = "assets/handle-vert-hover.png"
- overlay_stretch = FALSE
- orientation = VERTICAL
- }
- image {
- function = HANDLE
- state = ACTIVE
- overlay_file = "assets/handle-vert-active.png"
- overlay_stretch = FALSE
- orientation = VERTICAL
- }
- image {
- function = RESIZE_GRIP
- }
- #############
- # Expanders #
- #############
- image {
- function = EXPANDER
- expander_style = EXPANDED
- state = NORMAL
- file = "assets/pan-down-alt.png"
- }
- image {
- function = EXPANDER
- expander_style = EXPANDED
- state = PRELIGHT
- file = "assets/pan-down.png"
- }
- image {
- function = EXPANDER
- expander_style = EXPANDED
- state = ACTIVE
- file = "assets/pan-down.png"
- }
- image {
- function = EXPANDER
- expander_style = EXPANDED
- state = INSENSITIVE
- file = "assets/pan-down-alt-disabled.png"
- }
- # LTR
- image {
- function = EXPANDER
- expander_style = COLLAPSED
- state = NORMAL
- file = "assets/pan-right-alt.png"
- direction = LTR
- }
- image {
- function = EXPANDER
- expander_style = COLLAPSED
- state = PRELIGHT
- file = "assets/pan-right.png"
- direction = LTR
- }
- image {
- function = EXPANDER
- expander_style = COLLAPSED
- state = ACTIVE
- file = "assets/pan-right.png"
- direction = LTR
- }
- image {
- function = EXPANDER
- expander_style = COLLAPSED
- state = INSENSITIVE
- file = "assets/pan-right-alt-disabled.png"
- direction = LTR
- }
- image {
- function = EXPANDER
- expander_style = SEMI_COLLAPSED
- file = "assets/pan-right-semi.png"
- direction = LTR
- }
- image {
- function = EXPANDER
- expander_style = SEMI_EXPANDED
- file = "assets/pan-right-semi.png"
- direction = LTR
- }
- # RTL
- image {
- function = EXPANDER
- expander_style = COLLAPSED
- state = NORMAL
- file = "assets/pan-left-alt.png"
- direction = RTL
- }
- image {
- function = EXPANDER
- expander_style = COLLAPSED
- state = PRELIGHT
- file = "assets/pan-left.png"
- direction = RTL
- }
- image {
- function = EXPANDER
- expander_style = COLLAPSED
- state = ACTIVE
- file = "assets/pan-left.png"
- direction = RTL
- }
- image {
- function = EXPANDER
- expander_style = COLLAPSED
- state = INSENSITIVE
- file = "assets/pan-left-alt-disabled.png"
- direction = RTL
- }
- image {
- function = EXPANDER
- expander_style = SEMI_COLLAPSED
- file = "assets/pan-left-semi.png"
- direction = RTL
- }
- image {
- function = EXPANDER
- expander_style = SEMI_EXPANDED
- file = "assets/pan-left-semi.png"
- direction = RTL
- }
- #############
- # Notebooks #
- #############
- # Left
- image {
- function = EXTENSION
- state = NORMAL
- file = "assets/tab.png"
- border = {0, 1, 0, 0}
- stretch = TRUE
- gap_side = RIGHT
- }
- image {
- function = EXTENSION
- gap_side = RIGHT
- }
- # Right
- image {
- function = EXTENSION
- state = NORMAL
- file = "assets/tab.png"
- border = {1, 0, 0, 0}
- stretch = TRUE
- gap_side = LEFT
- }
- image {
- function = EXTENSION
- gap_side = LEFT
- }
- # Up
- image {
- function = EXTENSION
- state = NORMAL
- file = "assets/tab.png"
- border = {0, 0, 0, 1}
- stretch = TRUE
- gap_side = BOTTOM
- }
- image {
- function = EXTENSION
- gap_side = BOTTOM
- }
- # Down
- image {
- function = EXTENSION
- state = NORMAL
- file = "assets/tab.png"
- border = {0, 0, 1, 0}
- stretch = TRUE
- gap_side = TOP
- }
- image {
- function = EXTENSION
- gap_side = TOP
- }
- # Inner frame
- image {
- function = BOX_GAP
- detail = "notebook"
- file = "assets/frame-notebook.png"
- border = {1, 1, 1, 1}
- stretch = TRUE
- gap_file = "assets/tab.png"
- gap_border = {1, 0, 0, 0}
- gap_side = LEFT
- }
- image {
- function = BOX_GAP
- detail = "notebook"
- file = "assets/frame-notebook.png"
- border = {1, 1, 1, 1}
- stretch = TRUE
- gap_file = "assets/tab.png"
- gap_border = {0, 1, 0, 0}
- gap_side = RIGHT
- }
- image {
- function = BOX_GAP
- detail = "notebook"
- file = "assets/frame-notebook.png"
- border = {1, 1, 1, 1}
- stretch = TRUE
- gap_file = "assets/tab.png"
- gap_border = {0, 0, 1, 0}
- gap_side = TOP
- }
- image {
- function = BOX_GAP
- detail = "notebook"
- file = "assets/frame-notebook.png"
- border = {1, 1, 1, 1}
- stretch = TRUE
- gap_file = "assets/tab.png"
- gap_border = {0, 0, 0, 1}
- gap_side = BOTTOM
- }
- # Standalone frame
- image {
- function = BOX
- detail = "notebook"
- file = "assets/frame-notebook.png"
- border = {1, 1, 1, 1}
- stretch = TRUE
- }
- ##############
- # Scrollbars #
- ##############
- image {
- function = BOX
- detail = "trough"
- file = "assets/scrollbar-horz-trough.png"
- border = {0, 0, 1, 0}
- orientation = HORIZONTAL
- }
- image {
- function = BOX
- detail = "trough"
- file = "assets/scrollbar-vert-ltr-trough.png"
- border = {1, 0, 0, 0}
- orientation = VERTICAL
- direction = LTR
- }
- image {
- function = BOX
- detail = "trough"
- file = "assets/scrollbar-vert-rtl-trough.png"
- border = {0, 1, 0, 0}
- orientation = VERTICAL
- direction = RTL
- }
- # Horizontal sliders
- image {
- function = SLIDER
- state = NORMAL
- detail = "slider"
- file = "assets/scrollbar-horz-slider.png"
- border = {8, 8, 9, 8 }
- stretch = TRUE
- orientation = HORIZONTAL
- }
- image {
- function = SLIDER
- state = PRELIGHT
- detail = "slider"
- file = "assets/scrollbar-horz-slider-hover.png"
- border = {8, 8, 9, 8 }
- stretch = TRUE
- orientation = HORIZONTAL
- }
- image {
- function = SLIDER
- state = ACTIVE
- detail = "slider"
- file = "assets/scrollbar-horz-slider-active.png"
- border = {8, 8, 9, 8 }
- stretch = TRUE
- orientation = HORIZONTAL
- }
- image {
- function = SLIDER
- state = INSENSITIVE
- detail = "slider"
- file = "assets/scrollbar-horz-slider-disabled.png"
- border = {8, 8, 9, 8 }
- stretch = TRUE
- orientation = HORIZONTAL
- }
- # Vertical sliders
- image {
- function = SLIDER
- state = NORMAL
- detail = "slider"
- file = "assets/scrollbar-vert-ltr-slider.png"
- border = {9, 8, 8, 8}
- stretch = TRUE
- orientation = VERTICAL
- direction = LTR
- }
- image {
- function = SLIDER
- state = PRELIGHT
- detail = "slider"
- file = "assets/scrollbar-vert-ltr-slider-hover.png"
- border = {9, 8, 8, 8}
- stretch = TRUE
- orientation = VERTICAL
- direction = LTR
- }
- image {
- function = SLIDER
- state = ACTIVE
- detail = "slider"
- file = "assets/scrollbar-vert-ltr-slider-active.png"
- border = {9, 8, 8, 8}
- stretch = TRUE
- orientation = VERTICAL
- direction = LTR
- }
- image {
- function = SLIDER
- state = INSENSITIVE
- detail = "slider"
- file = "assets/scrollbar-vert-ltr-slider-disabled.png"
- border = {9, 8, 8, 8}
- stretch = TRUE
- orientation = VERTICAL
- direction = LTR
- }
- # RTL
- image {
- function = SLIDER
- state = NORMAL
- detail = "slider"
- file = "assets/scrollbar-vert-rtl-slider.png"
- border = {8, 9, 8, 8}
- stretch = TRUE
- orientation = VERTICAL
- direction = RTL
- }
- image {
- function = SLIDER
- state = PRELIGHT
- detail = "slider"
- file = "assets/scrollbar-vert-rtl-slider-hover.png"
- border = {8, 9, 8, 8}
- stretch = TRUE
- orientation = VERTICAL
- direction = RTL
- }
- image {
- function = SLIDER
- state = ACTIVE
- detail = "slider"
- file = "assets/scrollbar-vert-rtl-slider-active.png"
- border = {8, 9, 8, 8}
- stretch = TRUE
- orientation = VERTICAL
- direction = RTL
- }
- image {
- function = SLIDER
- state = INSENSITIVE
- detail = "slider"
- file = "assets/scrollbar-vert-rtl-slider-disabled.png"
- border = {8, 9, 8, 8}
- stretch = TRUE
- orientation = VERTICAL
- direction = RTL
- }
- ##########
- # Scales #
- ##########
- # Troughs, overrided later on. We set them here too because some widgets
- # don't specify their orientation.
- image {
- function = BOX
- detail = "trough-upper"
- file = "assets/scale-horz-trough.png"
- border = {6, 6, 0, 0}
- stretch = TRUE
- orientation = HORIZONTAL
- }
- image {
- function = BOX
- state = INSENSITIVE
- detail = "trough-upper"
- file = "assets/scale-horz-trough-disabled.png"
- border = {6, 6, 0, 0}
- stretch = TRUE
- orientation = HORIZONTAL
- }
- image {
- function = BOX
- detail = "trough-lower"
- file = "assets/scale-horz-trough-active.png"
- border = {6, 6, 0, 0}
- stretch = TRUE
- orientation = HORIZONTAL
- }
- image {
- function = BOX
- state = INSENSITIVE
- detail = "trough-lower"
- file = "assets/scale-horz-trough-disabled.png"
- border = {6, 6, 0, 0}
- stretch = TRUE
- orientation = HORIZONTAL
- }
- image {
- function = BOX
- detail = "trough-upper"
- file = "assets/scale-vert-trough.png"
- border = {0, 0, 6, 6}
- stretch = TRUE
- orientation = VERTICAL
- }
- image {
- function = BOX
- state = INSENSITIVE
- detail = "trough-upper"
- file = "assets/scale-vert-trough-disabled.png"
- border = {0, 0, 6, 6}
- stretch = TRUE
- orientation = VERTICAL
- }
- image {
- function = BOX
- detail = "trough-lower"
- file = "assets/scale-vert-trough-active.png"
- border = {0, 0, 6, 6}
- stretch = TRUE
- orientation = VERTICAL
- }
- image {
- function = BOX
- state = INSENSITIVE
- detail = "trough-lower"
- file = "assets/scale-vert-trough-disabled.png"
- border = {0, 0, 6, 6}
- stretch = TRUE
- orientation = VERTICAL
- }
- # Sliders
- image {
- function = SLIDER
- state = NORMAL
- detail = "hscale"
- file = "assets/scale-slider.png"
- }
- image {
- function = SLIDER
- state = PRELIGHT
- detail = "hscale"
- file = "assets/scale-slider-hover.png"
- }
- image {
- function = SLIDER
- state = ACTIVE
- detail = "hscale"
- file = "assets/scale-slider-active.png"
- }
- image {
- function = SLIDER
- state = INSENSITIVE
- detail = "hscale"
- file = "assets/scale-slider-disabled.png"
- }
- image {
- function = SLIDER
- state = NORMAL
- detail = "vscale"
- file = "assets/scale-slider.png"
- }
- image {
- function = SLIDER
- state = PRELIGHT
- detail = "vscale"
- file = "assets/scale-slider-hover.png"
- }
- image {
- function = SLIDER
- state = ACTIVE
- detail = "vscale"
- file = "assets/scale-slider-active.png"
- }
- image {
- function = SLIDER
- state = INSENSITIVE
- detail = "vscale"
- file = "assets/scale-slider-disabled.png"
- }
- ###########
- # Menubar #
- ###########
- # image {
- # function = BOX
- # detail = "menubar"
- # file = "assets/border.png"
- # border = {0, 0, 0, 1}
- # }
- #########
- # Menus #
- #########
- image {
- function = BOX
- state = PRELIGHT
- detail = "menu_scroll_arrow_up"
- file = "assets/border.png"
- }
- image {
- function = BOX
- detail = "menu_scroll_arrow_up"
- file = "assets/border.png"
- border = {0, 0, 0, 1}
- }
- image {
- function = BOX
- state = PRELIGHT
- detail = "menu_scroll_arrow_down"
- file = "assets/border.png"
- }
- image {
- function = BOX
- detail = "menu_scroll_arrow_down"
- file = "assets/border.png"
- border = {0, 0, 1, 0}
- }
- ###########
- # Entries #
- ###########
- image {
- function = SHADOW
- state = ACTIVE
- detail = "entry"
- file = "assets/entry-active.png"
- border = {8, 8, 8, 8}
- stretch = TRUE
- }
- image {
- function = SHADOW
- state = INSENSITIVE
- detail = "entry"
- file = "assets/entry-disabled.png"
- border = {8, 8, 8, 8}
- stretch = TRUE
- }
- image {
- function = SHADOW
- detail = "entry"
- file = "assets/entry.png"
- border = {8, 8, 8, 8}
- stretch = TRUE
- }
- image {
- function = FLAT_BOX
- state = ACTIVE
- detail = "entry_bg"
- file = "assets/entry-background.png"
- }
- image {
- function = FLAT_BOX
- state = INSENSITIVE
- detail = "entry_bg"
- file = "assets/entry-background-disabled.png"
- }
- image {
- function = FLAT_BOX
- detail = "entry_bg"
- file = "assets/entry-background.png"
- }
- #########
- # Spins #
- #########
- # Spin-Up LTR
- image {
- function = BOX
- state = NORMAL
- detail = "spinbutton_up"
- file = "assets/spin-ltr-up.png"
- border = {0, 8, 8, 0}
- stretch = TRUE
- overlay_file = "assets/pan-up-alt.png"
- overlay_stretch = FALSE
- direction = LTR
- }
- image {
- function = BOX
- state = PRELIGHT
- detail = "spinbutton_up"
- file = "assets/spin-ltr-up-hover.png"
- border = {0, 8, 8, 0}
- stretch = TRUE
- overlay_file = "assets/pan-up.png"
- overlay_stretch = FALSE
- direction = LTR
- }
- image {
- function = BOX
- state = ACTIVE
- detail = "spinbutton_up"
- file = "assets/spin-ltr-up-active.png"
- border = {0, 8, 8, 0}
- stretch = TRUE
- overlay_file = "assets/pan-up.png"
- overlay_stretch = FALSE
- direction = LTR
- }
- image {
- function = BOX
- state = INSENSITIVE
- detail = "spinbutton_up"
- file = "assets/spin-ltr-up-disabled.png"
- border = {0, 8, 8, 0}
- stretch = TRUE
- overlay_file = "assets/pan-up-alt-disabled.png"
- overlay_stretch = FALSE
- direction = LTR
- }
- # Spin-Up RTL
- image {
- function = BOX
- state = NORMAL
- detail = "spinbutton_up"
- file = "assets/spin-rtl-up.png"
- border = {8, 0, 8, 0}
- stretch = TRUE
- overlay_file = "assets/pan-up-alt.png"
- overlay_stretch = FALSE
- direction = RTL
- }
- image {
- function = BOX
- state = PRELIGHT
- detail = "spinbutton_up"
- file = "assets/spin-rtl-up-hover.png"
- border = {8, 0, 8, 0}
- stretch = TRUE
- overlay_file = "assets/pan-up.png"
- overlay_stretch = FALSE
- direction = RTL
- }
- image {
- function = BOX
- state = ACTIVE
- detail = "spinbutton_up"
- file = "assets/spin-rtl-up-hover.png"
- border = {8, 0, 8, 0}
- stretch = TRUE
- overlay_file = "assets/pan-up.png"
- overlay_stretch = FALSE
- direction = RTL
- }
- image {
- function = BOX
- state = INSENSITIVE
- detail = "spinbutton_up"
- file = "assets/spin-rtl-up-disabled.png"
- border = {8, 0, 8, 0}
- stretch = TRUE
- overlay_file = "assets/pan-up-alt-disabled.png"
- overlay_stretch = FALSE
- direction = RTL
- }
- # Spin-Down LTR
- image {
- function = BOX
- state = NORMAL
- detail = "spinbutton_down"
- file = "assets/spin-ltr-down.png"
- border = {0, 8, 0, 8}
- stretch = TRUE
- overlay_file = "assets/pan-down-alt.png"
- overlay_stretch = FALSE
- direction = LTR
- }
- image {
- function = BOX
- state = PRELIGHT
- detail = "spinbutton_down"
- file = "assets/spin-ltr-down-hover.png"
- border = {0, 8, 0, 8}
- stretch = TRUE
- overlay_file = "assets/pan-down.png"
- overlay_stretch = FALSE
- direction = LTR
- }
- image {
- function = BOX
- state = ACTIVE
- detail = "spinbutton_down"
- file = "assets/spin-ltr-down-active.png"
- border = {0, 8, 0, 8}
- stretch = TRUE
- overlay_file = "assets/pan-down.png"
- overlay_stretch = FALSE
- direction = LTR
- }
- image {
- function = BOX
- state = INSENSITIVE
- detail = "spinbutton_down"
- file = "assets/spin-ltr-down-disabled.png"
- border = {0, 8, 0, 8}
- stretch = TRUE
- overlay_file = "assets/pan-down-alt-disabled.png"
- overlay_stretch = FALSE
- direction = LTR
- }
- # Spin-Down RTL
- image {
- function = BOX
- state = NORMAL
- detail = "spinbutton_down"
- file = "assets/spin-rtl-down.png"
- border = {8, 0, 0, 8}
- stretch = TRUE
- overlay_file = "assets/pan-down-alt.png"
- overlay_stretch = FALSE
- direction = RTL
- }
- image {
- function = BOX
- state = PRELIGHT
- detail = "spinbutton_down"
- file = "assets/spin-rtl-down-hover.png"
- border = {8, 0, 0, 8}
- stretch = TRUE
- overlay_file = "assets/pan-down.png"
- overlay_stretch = FALSE
- direction = RTL
- }
- image {
- function = BOX
- state = ACTIVE
- detail = "spinbutton_down"
- file = "assets/spin-rtl-down-active.png"
- border = {8, 0, 0, 8}
- stretch = TRUE
- overlay_file = "assets/pan-down.png"
- overlay_stretch = FALSE
- direction = RTL
- }
- image {
- function = BOX
- state = INSENSITIVE
- detail = "spinbutton_down"
- file = "assets/spin-rtl-down-disabled.png"
- border = {8, 0, 0, 8}
- stretch = TRUE
- overlay_file = "assets/pan-down-alt-disabled.png"
- overlay_stretch = FALSE
- direction = RTL
- }
- ##############
- # Scrollbars #
- ##############
- image {
- function = BOX
- detail = "bar"
- file = "assets/progressbar-progress.png"
- stretch = TRUE
- border = {0, 0, 0, 0}
- orientation = HORIZONTAL
- }
- image {
- function = BOX
- detail = "bar"
- file = "assets/progressbar-progress.png"
- stretch = TRUE
- border = {0, 0, 0, 0}
- orientation = VERTICAL
- }
- #############
- # Treeviews #
- #############
- # Disable active the column highlight
- # We need to match specific cells or we break stuff
- # Looking at you deadbeef
- image {
- function = FLAT_BOX
- detail = "cell_even_sorted"
- state = NORMAL
- }
- image {
- function = FLAT_BOX
- detail = "cell_odd_sorted"
- state = NORMAL
- }
- # Disable all the other shadows
- # This prevents the Raleigh effect
- image {
- function = SHADOW
- }
- }
- }
- style "menubar" {
- bg[NORMAL] = @titlebar_bg_color
- fg[NORMAL] = mix(0.7, @titlebar_fg_color, @titlebar_bg_color)
- fg[PRELIGHT] = @titlebar_fg_color
- fg[INSENSITIVE] = mix(0.3, @titlebar_fg_color, @titlebar_bg_color)
- # Needed to fix Firefox's menubar text
- bg[SELECTED] = mix(0.15, @titlebar_fg_color, @titlebar_bg_color)
- fg[SELECTED] = @titlebar_fg_color
- }
- style "menubar_item" {
- xthickness = 3
- ythickness = 4
- fg[NORMAL] = mix(0.7, @titlebar_fg_color, @titlebar_bg_color)
- bg[PRELIGHT] = mix(0.15, @titlebar_fg_color, @titlebar_bg_color)
- fg[PRELIGHT] = @titlebar_fg_color
- fg[INSENSITIVE] = mix(0.3, @titlebar_fg_color, @titlebar_bg_color)
- }
- style "menu" {
- xthickness = 0
- ythickness = 0
- bg[NORMAL] = @base_color
- bg[INSENSITIVE] = @base_color
- bg[PRELIGHT] = @base_color
- bg[SELECTED] = mix(0.15, @fg_color, @base_color)
- }
- style "menu_item" {
- xthickness = 4
- ythickness = 4
- bg[PRELIGHT] = mix(0.15, @fg_color, @base_color)
- fg[PRELIGHT] = @fg_color
- # Chromium uses this setting
- bg[SELECTED] = mix(0.15, @fg_color, @base_color)
- text[SELECTED] = @fg_color
- # Some widgets use text, we need to handle that
- text[NORMAL] = @fg_color
- text[PRELIGHT] = @fg_color
- # Unfortunately we can't tell regular and menu checks/radios apart
- # Without the heirarchy
- engine "pixmap" {
- #################
- # Check Buttons #
- #################
- image {
- function = CHECK
- state = NORMAL
- shadow = OUT
- overlay_file = "assets/menu-checkbox-unchecked.png"
- overlay_stretch = FALSE
- }
- image {
- function = CHECK
- state = PRELIGHT
- shadow = OUT
- overlay_file = "assets/menu-checkbox-unchecked.png"
- overlay_stretch = FALSE
- }
- image {
- function = CHECK
- state = ACTIVE
- shadow = OUT
- overlay_file = "assets/menu-checkbox-unchecked.png"
- overlay_stretch = FALSE
- }
- image {
- function = CHECK
- state = INSENSITIVE
- shadow = OUT
- overlay_file = "assets/menu-checkbox-unchecked-disabled.png"
- overlay_stretch = FALSE
- }
- image {
- function = CHECK
- state = NORMAL
- shadow = IN
- overlay_file = "assets/menu-checkbox-checked.png"
- overlay_stretch = FALSE
- }
- image {
- function = CHECK
- state = PRELIGHT
- shadow = IN
- overlay_file = "assets/menu-checkbox-checked.png"
- overlay_stretch = FALSE
- }
- image {
- function = CHECK
- state = ACTIVE
- shadow = IN
- overlay_file = "assets/menu-checkbox-checked.png"
- overlay_stretch = FALSE
- }
- image {
- function = CHECK
- state = INSENSITIVE
- shadow = IN
- overlay_file = "assets/menu-checkbox-checked-disabled.png"
- overlay_stretch = FALSE
- }
- image {
- function = CHECK
- state = NORMAL
- shadow = ETCHED_IN
- overlay_file = "assets/menu-checkbox-mixed.png"
- overlay_stretch = FALSE
- }
- image {
- function = CHECK
- state = PRELIGHT
- shadow = ETCHED_IN
- overlay_file = "assets/menu-checkbox-mixed.png"
- overlay_stretch = FALSE
- }
- image {
- function = CHECK
- state = ACTIVE
- shadow = ETCHED_IN
- overlay_file = "assets/menu-checkbox-mixed.png"
- overlay_stretch = FALSE
- }
- image {
- function = CHECK
- state = INSENSITIVE
- shadow = ETCHED_IN
- overlay_file = "assets/menu-checkbox-mixed-disabled.png"
- overlay_stretch = FALSE
- }
- #################
- # Radio Buttons #
- #################
- image {
- function = OPTION
- state = NORMAL
- shadow = OUT
- overlay_file = "assets/menu-radio-unchecked.png"
- overlay_stretch = FALSE
- }
- image {
- function = OPTION
- state = PRELIGHT
- shadow = OUT
- overlay_file = "assets/menu-radio-unchecked.png"
- overlay_stretch = FALSE
- }
- image {
- function = OPTION
- state = ACTIVE
- shadow = OUT
- overlay_file = "assets/menu-radio-unchecked.png"
- overlay_stretch = FALSE
- }
- image {
- function = OPTION
- state = INSENSITIVE
- shadow = OUT
- overlay_file = "assets/menu-radio-unchecked-disabled.png"
- overlay_stretch = FALSE
- }
- image {
- function = OPTION
- state = NORMAL
- shadow = IN
- overlay_file = "assets/menu-radio-checked.png"
- overlay_stretch = FALSE
- }
- image {
- function = OPTION
- state = PRELIGHT
- shadow = IN
- overlay_file = "assets/menu-radio-checked.png"
- overlay_stretch = FALSE
- }
- image {
- function = OPTION
- state = ACTIVE
- shadow = IN
- overlay_file = "assets/menu-radio-checked.png"
- overlay_stretch = FALSE
- }
- image {
- function = OPTION
- state = INSENSITIVE
- shadow = IN
- overlay_file = "assets/menu-radio-checked-disabled.png"
- overlay_stretch = FALSE
- }
- image {
- function = OPTION
- state = NORMAL
- shadow = ETCHED_IN
- overlay_file = "assets/menu-radio-mixed.png"
- overlay_stretch = FALSE
- }
- image {
- function = OPTION
- state = PRELIGHT
- shadow = ETCHED_IN
- overlay_file = "assets/menu-radio-mixed.png"
- overlay_stretch = FALSE
- }
- image {
- function = OPTION
- state = ACTIVE
- shadow = ETCHED_IN
- overlay_file = "assets/menu-radio-mixed.png"
- overlay_stretch = FALSE
- }
- image {
- function = OPTION
- state = INSENSITIVE
- shadow = ETCHED_IN
- overlay_file = "assets/menu-radio-mixed-disabled.png"
- overlay_stretch = FALSE
- }
- }
- }
- style "separator_menu_item" {
- xthickness = 0
- ythickness = 2
- engine "pixmap" {
- image {
- function = BOX
- file = "assets/border.png"
- border = {0, 0, 0, 1}
- }
- }
- }
- style "button_label" {
- fg[NORMAL] = mix(0.75, @fg_color, @bg_color)
- # fg[INSENSITIVE] = mix(0.3, @fg_color, @bg_color)
- font_name = "Medium"
- }
- style "checkbutton_label" {
- fg[NORMAL] = @fg_color
- # fg[INSENSITIVE] = mix(0.4, @fg_color, @bg_color)
- font_name = "Regular"
- }
- style "button" {
- xthickness = 4
- ythickness = 4
- # For the sake of sanity style buttons this way
- engine "pixmap" {
- ###########
- # Buttons #
- ###########
- image {
- function = BOX
- state = NORMAL
- file = "assets/button.png"
- border = {8, 8, 8, 8}
- stretch = TRUE
- }
- image {
- function = BOX
- state = PRELIGHT
- shadow = OUT
- file = "assets/button-hover.png"
- border = {8, 8, 8, 8}
- stretch = TRUE
- }
- # Don't add hover effect on pressed buttons
- image {
- function = BOX
- state = PRELIGHT
- shadow = IN
- file = "assets/button-active.png"
- border = {8, 8, 8, 8}
- stretch = TRUE
- }
- image {
- function = BOX
- state = ACTIVE
- file = "assets/button-active.png"
- border = {8, 8, 8, 8}
- stretch = TRUE
- }
- image {
- function = BOX
- state = INSENSITIVE
- file = "assets/button-disabled.png"
- border = {8, 8, 8, 8}
- stretch = TRUE
- }
- }
- }
- style "link_button" {
- # Disable the button effect, leave just the link
- engine "pixmap" {
- image {
- function = BOX
- }
- }
- }
- style "entry" {
- # We set this same as the border of the border of the entry
- # This way there's no overlap
- xthickness = 6
- ythickness = 6
- }
- style "combobox" {
- xthickness = 6
- ythickness = 6
- # This affects only the button beside an entry
- GtkButton::inner-border = {0, 0, 0, 0}
- }
- style "combobox_cellview" {
- text[NORMAL] = mix(0.75, @fg_color, @bg_color)
- # text[INSENSITIVE] = mix(0.3, @fg_color, @bg_color)
- font_name = "Medium"
- }
- style "combobox_entry" {
- # Since one side of the button is missing, we need to shift the arrow a little to the right
- GtkButton::inner-border = {0, 2, 0, 0}
- engine "pixmap" {
- #############
- # LTR entry #
- #############
- image {
- function = SHADOW
- state = NORMAL
- detail = "entry"
- file = "assets/combo-ltr-entry.png"
- border = {8, 0, 8, 8}
- stretch = TRUE
- direction = LTR
- }
- image {
- function = SHADOW
- state = ACTIVE
- detail = "entry"
- file = "assets/combo-ltr-entry-active.png"
- border = {8, 0, 8, 8}
- stretch = TRUE
- direction = LTR
- }
- image {
- function = SHADOW
- state = INSENSITIVE
- detail = "entry"
- file = "assets/combo-ltr-entry-disabled.png"
- border = {8, 0, 8, 8}
- stretch = TRUE
- direction = LTR
- }
- #############
- # RTL entry #
- #############
- image {
- function = SHADOW
- state = NORMAL
- detail = "entry"
- file = "assets/combo-rtl-entry.png"
- border = {0, 8, 8, 8}
- stretch = TRUE
- direction = RTL
- }
- image {
- function = SHADOW
- state = ACTIVE
- detail = "entry"
- file = "assets/combo-rtl-entry-active.png"
- border = {0, 8, 8, 8}
- stretch = TRUE
- direction = RTL
- }
- image {
- function = SHADOW
- state = INSENSITIVE
- detail = "entry"
- file = "assets/combo-rtl-entry-disabled.png"
- border = {0, 8, 8, 8}
- stretch = TRUE
- direction = RTL
- }
- ##############
- # LTR button #
- ##############
- image {
- function = BOX
- state = NORMAL
- detail = "button"
- file = "assets/combo-ltr-button.png"
- border = {0, 8, 8, 8}
- stretch = TRUE
- direction = LTR
- }
- image {
- function = BOX
- state = PRELIGHT
- detail = "button"
- file = "assets/combo-ltr-button-hover.png"
- border = {0, 8, 8, 8}
- stretch = TRUE
- direction = LTR
- }
- image {
- function = BOX
- state = ACTIVE
- detail = "button"
- file = "assets/combo-ltr-button-active.png"
- border = {0, 8, 8, 8}
- stretch = TRUE
- direction = LTR
- }
- image {
- function = BOX
- state = INSENSITIVE
- detail = "button"
- file = "assets/combo-ltr-button-disabled.png"
- border = {0, 8, 8, 8}
- stretch = TRUE
- direction = LTR
- }
- ##############
- # RTL button #
- ##############
- image {
- function = BOX
- state = NORMAL
- detail = "button"
- file = "assets/combo-rtl-button.png"
- border = {8, 0, 8, 8}
- stretch = TRUE
- direction = RTL
- }
- image {
- function = BOX
- state = PRELIGHT
- detail = "button"
- file = "assets/combo-rtl-button-hover.png"
- border = {8, 0, 8, 8}
- stretch = TRUE
- direction = RTL
- }
- image {
- function = BOX
- state = ACTIVE
- detail = "button"
- file = "assets/combo-rtl-button-active.png"
- border = {8, 0, 8, 8}
- stretch = TRUE
- direction = RTL
- }
- image {
- function = BOX
- state = INSENSITIVE
- detail = "button"
- file = "assets/combo-rtl-button-disabled.png"
- border = {8, 0, 8, 8}
- stretch = TRUE
- direction = RTL
- }
- }
- }
- style "combo_button_padding" {
- # Since one side of the button is missing, we need to shift the arrow a
- # little to the right.
- # This is the same thing we've done above but the combo, unlike the combobox,
- # uses padding the same way as a button.
- GtkButton::inner-border = {3, 6, 3, 3}
- }
- style "notebook" {
- xthickness = 3
- ythickness = 3
- }
- style "notebook_tab_label" {
- fg[ACTIVE] = mix(0.75, @fg_color, @bg_color)
- font_name = "Medium"
- }
- style "notebook_viewport" {
- bg[NORMAL] = @base_color
- }
- style "notebook_bg" {
- bg[NORMAL] = @base_color
- bg[PRELIGHT] = @base_color
- bg[INSENSITIVE] = @base_color
- }
- style "notebook_entry" {
- engine "pixmap" {
- image {
- function = SHADOW
- state = ACTIVE
- detail = "entry"
- file = "assets/notebook-entry-active.png"
- border = {8, 8, 8, 8}
- stretch = TRUE
- }
- image {
- function = SHADOW
- state = INSENSITIVE
- detail = "entry"
- file = "assets/notebook-entry-disabled.png"
- border = {8, 8, 8, 8}
- stretch = TRUE
- }
- image {
- function = SHADOW
- detail = "entry"
- file = "assets/notebook-entry.png"
- border = {8, 8, 8, 8}
- stretch = TRUE
- }
- }
- }
- style "normal_bg" {
- bg[NORMAL] = @bg_color
- bg[PRELIGHT] = @bg_color
- bg[INSENSITIVE] = @bg_color
- }
- style "normal_entry" {
- engine "pixmap" {
- image {
- function = SHADOW
- state = ACTIVE
- detail = "entry"
- file = "assets/entry-active.png"
- border = {8, 8, 8, 8}
- stretch = TRUE
- }
- image {
- function = SHADOW
- state = INSENSITIVE
- detail = "entry"
- file = "assets/entry-disabled.png"
- border = {8, 8, 8, 8}
- stretch = TRUE
- }
- image {
- function = SHADOW
- detail = "entry"
- file = "assets/entry.png"
- border = {8, 8, 8, 8}
- stretch = TRUE
- }
- }
- }
- style "notebook_combo" {
- engine "pixmap" {
- #############
- # LTR entry #
- #############
- image {
- function = SHADOW
- state = NORMAL
- detail = "entry"
- file = "assets/notebook-combo-ltr-entry.png"
- border = {8, 8, 8, 8}
- stretch = TRUE
- direction = LTR
- }
- image {
- function = SHADOW
- state = ACTIVE
- detail = "entry"
- file = "assets/notebook-combo-ltr-entry-active.png"
- border = {8, 8, 8, 8}
- stretch = TRUE
- direction = LTR
- }
- image {
- function = SHADOW
- state = INSENSITIVE
- detail = "entry"
- file = "assets/notebook-combo-ltr-entry-disabled.png"
- border = {8, 8, 8, 8}
- stretch = TRUE
- direction = LTR
- }
- #############
- # RTL entry #
- #############
- image {
- function = SHADOW
- state = NORMAL
- detail = "entry"
- file = "assets/notebook-combo-rtl-entry.png"
- border = {8, 8, 8, 8}
- stretch = TRUE
- direction = RTL
- }
- image {
- function = SHADOW
- state = ACTIVE
- detail = "entry"
- file = "assets/notebook-combo-rtl-entry-active.png"
- border = {8, 8, 8, 8}
- stretch = TRUE
- direction = RTL
- }
- image {
- function = SHADOW
- state = INSENSITIVE
- detail = "entry"
- file = "assets/notebook-combo-rtl-entry-disabled.png"
- border = {8, 8, 8, 8}
- stretch = TRUE
- direction = RTL
- }
- }
- }
- style "textview" {
- bg[NORMAL] = @base_color
- }
- style "scale_horz" {
- engine "pixmap" {
- image {
- function = BOX
- detail = "trough-upper"
- file = "assets/scale-horz-trough.png"
- border = {6, 6, 0, 0}
- stretch = TRUE
- }
- image {
- function = BOX
- detail = "trough-lower"
- file = "assets/scale-horz-trough-active.png"
- border = {6, 6, 0, 0}
- stretch = TRUE
- }
- }
- }
- style "scale_vert" {
- engine "pixmap" {
- image {
- function = BOX
- detail = "trough-upper"
- file = "assets/scale-vert-trough.png"
- border = {0, 0, 6, 6}
- stretch = TRUE
- }
- image {
- function = BOX
- detail = "trough-lower"
- file = "assets/scale-vert-trough-active.png"
- border = {0, 0, 6, 6}
- stretch = TRUE
- }
- }
- }
- style "progressbar" {
- xthickness = 0
- ythickness = 0
- fg[PRELIGHT] = @selected_fg_color
- engine "pixmap" {
- image {
- function = BOX
- detail = "trough"
- file = "assets/progressbar-trough.png"
- border = {0, 0, 0, 0}
- stretch = TRUE
- orientation = HORIZONTAL
- }
- image {
- function = BOX
- detail = "trough"
- file = "assets/progressbar-trough.png"
- border = {0, 0, 0, 0}
- stretch = TRUE
- orientation = VERTICAL
- }
- }
- }
- style "treeview_header" {
- xthickness = 2
- ythickness = 2
- fg[NORMAL] = mix(0.75, @fg_color, @base_color)
- fg[PRELIGHT] = @fg_color
- font_name = "Medium"
- GtkButton::inner-border = {4, 4, 0, 2}
- engine "pixmap" {
- image {
- function = BOX
- state = NORMAL
- file = "assets/treeview-ltr-button.png"
- border = {0, 1, 0, 1}
- stretch = TRUE
- direction = LTR
- }
- image {
- function = BOX
- state = PRELIGHT
- file = "assets/treeview-ltr-button-hover.png"
- border = {0, 1, 0, 1}
- stretch = TRUE
- direction = LTR
- }
- image {
- function = BOX
- state = ACTIVE
- file = "assets/treeview-ltr-button-active.png"
- border = {0, 1, 0, 1}
- stretch = TRUE
- direction = LTR
- }
- image {
- function = BOX
- state = NORMAL
- file = "assets/treeview-rtl-button.png"
- border = {1, 0, 0, 1}
- stretch = TRUE
- direction = RTL
- }
- image {
- function = BOX
- state = PRELIGHT
- file = "assets/treeview-rtl-button-hover.png"
- border = {1, 0, 0, 1}
- stretch = TRUE
- direction = RTL
- }
- image {
- function = BOX
- state = ACTIVE
- file = "assets/treeview-rtl-button-active.png"
- border = {1, 0, 0, 1}
- stretch = TRUE
- direction = RTL
- }
- image {
- function = ARROW
- state = NORMAL
- overlay_file = "assets/pan-up-alt.png"
- overlay_stretch = FALSE
- arrow_direction = UP
- }
- image {
- function = ARROW
- state = PRELIGHT
- overlay_file = "assets/pan-up.png"
- overlay_stretch = FALSE
- arrow_direction = UP
- }
- image {
- function = ARROW
- state = ACTIVE
- overlay_file = "assets/pan-up.png"
- overlay_stretch = FALSE
- arrow_direction = UP
- }
- image {
- function = ARROW
- state = NORMAL
- overlay_file = "assets/pan-down-alt.png"
- overlay_stretch = FALSE
- arrow_direction = DOWN
- }
- image {
- function = ARROW
- state = PRELIGHT
- overlay_file = "assets/pan-down.png"
- overlay_stretch = FALSE
- arrow_direction = DOWN
- }
- image {
- function = ARROW
- state = ACTIVE
- overlay_file = "assets/pan-down.png"
- overlay_stretch = FALSE
- arrow_direction = DOWN
- }
- }
- }
- style "scrolled_window" {
- engine "pixmap" {
- image {
- function = SHADOW
- file = "assets/frame.png"
- border = {1, 1, 1, 1}
- stretch = TRUE
- }
- }
- }
- style "frame" {
- engine "pixmap" {
- image {
- function = SHADOW
- shadow = NONE
- }
- image {
- function = SHADOW
- file = "assets/frame.png"
- border = {1, 1, 1, 1}
- stretch = TRUE
- }
- image {
- function = SHADOW_GAP
- file = "assets/frame.png"
- border = {1, 1, 1, 1}
- stretch = TRUE
- gap_start_file = "assets/border.png"
- gap_end_file = "assets/border.png"
- }
- }
- }
- style "tool_button" {
- GtkButton::inner-border = {2, 2, 2, 2}
- # For the sake of sanity style buttons this way
- engine "pixmap" {
- image {
- function = BOX
- state = NORMAL
- file = "assets/flat-button.png"
- border = {8, 8, 8, 8}
- stretch = TRUE
- }
- image {
- function = BOX
- state = PRELIGHT
- shadow = OUT
- file = "assets/flat-button-hover.png"
- border = {8, 8, 8, 8}
- stretch = TRUE
- }
- # Don't add hover effect on pressed buttons
- image {
- function = BOX
- state = PRELIGHT
- shadow = IN
- file = "assets/flat-button-active.png"
- border = {8, 8, 8, 8}
- stretch = TRUE
- }
- image {
- function = BOX
- state = ACTIVE
- file = "assets/flat-button-active.png"
- border = {8, 8, 8, 8}
- stretch = TRUE
- }
- image {
- function = BOX
- state = INSENSITIVE
- shadow = OUT
- file = "assets/flat-button-disabled.png"
- border = {8, 8, 8, 8}
- stretch = TRUE
- }
- image {
- function = BOX
- state = INSENSITIVE
- shadow = IN
- file = "assets/button-disabled.png"
- border = {8, 8, 8, 8}
- stretch = TRUE
- }
- }
- }
- style "toolbar_separator" {
- GtkWidget::wide-separators = 1
- GtkWidget::separator-width = 1
- GtkWidget::separator-height = 1
- engine "pixmap" {
- image {
- function = BOX
- file = "assets/border.png"
- }
- }
- }
- style "inline_toolbar" {
- # GtkToolbar::button-relief = GTK_RELIEF_NORMAL
- engine "pixmap" {
- image {
- function = BOX
- file = "assets/frame-inline.png"
- border = {1, 1, 0, 1}
- stretch = TRUE
- }
- }
- }
- style "tooltip" {
- xthickness = 8
- ythickness = 8
- bg[NORMAL] = @tooltip_bg_color
- fg[NORMAL] = @tooltip_fg_color
- bg[SELECTED] = @tooltip_bg_color
- }
- style "disable_text_shadow" {
- engine "murrine" {
- textstyle = 0
- }
- }
- style "disable_separator" {
- xthickness = 0
- ythickness = 0
- GtkWidget::wide-separators = 1
- }
- # Default style, containing theme properties and trying to match every widget as
- # much as possible, which is not only faster than trying to match every widget
- # by its own but also less bug-prune and more consistent. However there is some
- # widget specific stuff that needs to be taken care of, which is the point of
- # every other style below.
- class "GtkWidget" style "default"
- ######################################
- # Override padding, style and colour #
- ######################################
- class "GtkButton" style "button"
- class "GtkLinkButton" style "link_button"
- class "GtkEntry" style "entry"
- class "GtkOldEditable" style "entry"
- class "GtkNotebook" style "notebook"
- class "GtkHScale" style "scale_horz"
- class "GtkVScale" style "scale_vert"
- class "GtkProgressBar" style "progressbar"
- class "GtkScrolledWindow" style "scrolled_window"
- class "GtkFrame" style "frame"
- class "GtkSeparatorToolItem" style "toolbar_separator"
- class "GtkMenuBar" style "menubar"
- class "GtkMenu" style "menu"
- class "GtkTextView" style "textview"
- # Menu and menubar items
- widget_class "*<GtkMenuItem>*" style "menu_item"
- widget_class "*<GtkMenuBar>.<GtkMenuItem>*" style "menubar_item"
- widget_class "*<GtkSeparatorMenuItem>*" style "separator_menu_item"
- # Treeview buttons
- widget_class "*<GtkTreeView>*<GtkButton>*" style "treeview_header"
- # Give the file chooser toolbar a border
- widget_class "*<GtkFileChooserDefault>*<GtkToolbar>" style "inline_toolbar"
- # Fix padding on regular comboboxes
- widget_class "*<GtkComboBox>.<GtkButton>" style "combobox"
- # And disable separators on them
- widget_class "*<GtkComboBox>.<GtkButton>*<GtkSeparator>" style "disable_separator"
- widget_class "*<GtkFontButton>*<GtkSeparator>" style "disable_separator"
- widget_class "*<GtkFileChooserButton>*<GtkSeparator>" style "disable_separator"
- # Join together the ComboBoxEntry entry and button
- widget_class "*<GtkComboBoxEntry>*" style "combobox_entry"
- # Join the Combo entry and button
- widget_class "*<GtkCombo>*" style "combobox_entry"
- # Tweak the padding on the button a little bit because it
- # uses it a bit differently
- widget_class "*<GtkCombo>.<GtkButton>" style "combo_button_padding"
- # Alas we cannot do the same for ComboBoxText because there
- # isn't a way to apply the style to only the comboboxes that
- # have an entry inside
- # Tool buttons have different styles
- widget_class "*<GtkToolButton>*<GtkButton>" style "tool_button"
- widget_class "*<GtkVBox>*<GtkEventBox>.<GtkToolbar>*<GtkButton>" style "tool_button"
- # Notebooks
- widget_class "*<GtkNotebook>.<GtkLabel>" style "notebook_tab_label"
- widget_class "*<GtkNotebook>.<GtkHBox>.<GtkLabel>" style "notebook_tab_label"
- # Notebooks are white, act accordingly
- widget_class "*<GtkNotebook>*<GtkEntry>" style "notebook_entry"
- widget_class "*<GtkNotebook>*<GtkProgressBar>" style "notebook_bg"
- widget_class "*<GtkNotebook>*<GtkSpinButton>" style "notebook_bg"
- widget_class "*<GtkNotebook>*<GtkScrolledWindow>*<GtkViewport>" style "notebook_bg"
- widget_class "*<GtkNotebook>*<GimpRuler>" style "notebook_bg"
- widget_class "*<GtkNotebook>.<GimpDisplayShell>*<GtkEventBox>" style "notebook_bg"
- widget_class "*<GtkNotebook>*<GtkComboBoxEntry>*" style "notebook_combo"
- widget_class "*<GtkNotebook>*<GtkCombo>*" style "notebook_combo"
- # However, stuff inside eventboxes inside notebooks is grey
- # again, react
- widget_class "*<GtkNotebook>*<GtkEventBox>*<GtkEntry>" style "normal_entry"
- widget_class "*<GtkNotebook>*<GtkEventBox>*<GtkProgressBar>" style "normal_bg"
- widget_class "*<GtkNotebook>*<GtkEventBox>*<GtkSpinButton>" style "normal_bg"
- widget_class "*<GtkNotebook>*<GtkEventBox>*<GtkComboBoxEntry>*" style "combobox_entry"
- widget_class "*<GtkNotebook>*<GtkEventBox>*<GtkCombo>*" style "combobox_entry"
- widget_class "*<GtkNotebook>*<GtkEventBox>*<GtkCombo>.<GtkButton>" style "combo_button_padding"
- # Button labels
- widget_class "*<GtkButton>*<GtkLabel>" style "button_label"
- # Checkbutton labels
- widget_class "*<GtkCheckButton>.<GtkLabel>" style "checkbutton_label"
- # ComboBoxes tend to draw the button label with text[]
- # instead of fg[], we need to fix that
- widget_class "*<GtkComboBox>*<GtkCellView>" style "combobox_cellview"
- # Disable white text shadows
- widget_class "*<GtkLabel>" style "disable_text_shadow"
- widget_class "*<GtkCellView>" style "disable_text_shadow"
- # GTK tooltips
- widget "gtk-tooltip*" style "tooltip"
|