~c-lobrano/ubuntu-themes/fix-focus-ring-segmented-buttons

« back to all changes in this revision

Viewing changes to Ambiance/gtk-2.0/gtkrc

  • Committer: Bileto Bot
  • Author(s): Marco Trevisan (Treviño)
  • Date: 2017-10-12 05:18:51 UTC
  • mfrom: (579.3.1 ubuntu-themes)
  • Revision ID: ci-train-bot@canonical.com-20171012051851-nxn3o74w25ux0io7
gtk2: Ambiance, Radiance: inherit style fixes from MATE themes (LP: #961679)

Show diffs side-by-side

added added

removed removed

Lines of Context:
35
35
        GtkScrollbar::slider-width = 13
36
36
        GtkScrollbar::min-slider-length = 31
37
37
 
 
38
        GtkScrolledWindow::scrollbar-spacing   = 0
 
39
        GtkScrolledWindow::scrollbars-within-bevel = 0
 
40
 
38
41
        GtkMenuBar::internal-padding = 0
39
42
        GtkMenuBar::shadow-type = GTK_SHADOW_NONE
40
43
        GtkExpander::expander-size = 11
340
343
        }
341
344
}
342
345
 
343
 
style "menu" {
 
346
style "menu" = "dark" {
344
347
        xthickness = 0
345
348
        ythickness = 0
346
349
 
528
531
        bg[NORMAL]  = mix (0.60, shade (1.05, @bg_color), @selected_bg_color)
529
532
}
530
533
 
 
534
style "caja_location" {
 
535
        bg[NORMAL]  = mix (0.60, shade (1.05, @bg_color), @selected_bg_color)
 
536
}
 
537
 
531
538
style "calendar" {
532
539
        xthickness = 0
533
540
        ythickness = 0
693
700
# ToDo: A more generic approach for all applications that have a widget like this.
694
701
widget "*.nautilus-extra-view-widget" style : highest "nautilus_location"
695
702
 
 
703
# Special case the caja-extra-view-widget
 
704
# ToDo: A more generic approach for all applications that have a widget like this.
 
705
widget "*.caja-extra-view-widget" style : highest "caja_location"
 
706
 
696
707
# Work around for http://bugzilla.gnome.org/show_bug.cgi?id=382646
697
708
# Note that this work around assumes that the combobox is _not_ in appears-as-list mode.
698
709
widget_class "*.<GtkComboBox>.<GtkCellView>" style "text_is_fg_color_workaround"
704
715
widget_class "*<GtkListItem>*" style "fg_is_text_color_workaround"
705
716
# GtkCList also uses the fg color to draw text on top of the base colors.
706
717
widget_class "*<GtkCList>" style "fg_is_text_color_workaround"
707
 
# Nautilus when renaming files, and maybe other places.
 
718
# Nautilus/Caja when renaming files, and maybe other places.
708
719
widget_class "*<EelEditableLabel>" style "fg_is_text_color_workaround"
709
720
# Work around for ubuntu's lucid sound indicator
710
721
widget "ido-offscreen-scale" style "soundfix"
714
725
# See the documentation of the style.
715
726
widget_class "EShellWindow.GtkVBox.BonoboDock.BonoboDockBand.BonoboDockItem*" style "evo_new_button_workaround"
716
727
 
 
728
# Various performance fixes if murrine textstyle is on by default in the theme.
 
729
style "performance-fix" {
 
730
 engine "murrine" {
 
731
   textstyle = 0
 
732
   contrast = 0.5
 
733
 }
 
734
}
 
735
 
 
736
widget_class "*gtkmm__GtkWindow*"  style "performance-fix" # Inkscape
 
737
widget_class "*GimpDisplayShell*"  style "performance-fix" # Gimp
 
738
widget_class "*GimpToolbox*"   style "performance-fix"
 
739
widget_class "*GimpMenuDock*"    style "performance-fix"
 
740
widget "*OOoFixed*"          style "performance-fix" # Openoffice/Libreoffice
 
741
widget_class "*MozContainer*"    style "performance-fix" # Firefox (Not sure if this one does anything though.)
 
742
 
717
743
# Includes
718
744
#include "apps/banshee.rc"
719
745
include "apps/chromium.rc"
720
746
include "apps/ff.rc"
721
747
include "apps/gnome-terminal.rc"
722
748
include "apps/nautilus.rc"
 
749
include "apps/caja.rc"
 
750
include "apps/mate-panel.rc"