Skip to content

Commit

Permalink
Fix windows border problem with smaller radius box-shadow
Browse files Browse the repository at this point in the history
  • Loading branch information
jaccokrijnen committed Sep 16, 2016
1 parent f122f50 commit 92ba63f
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
2 changes: 1 addition & 1 deletion win32/etc/gtk-3.0/settings.ini
Expand Up @@ -10,4 +10,4 @@ gtk-xft-rgba=rgb


gtk-theme-name=Windows10
gtk-font-name=Segoe UI Normal 9
gtk-font-name=Segoe UI Normal 9
8 changes: 5 additions & 3 deletions win32/share/themes/Windows10/gtk-3.0/gtk-contained.css
Expand Up @@ -784,7 +784,7 @@ menubar,
background-color: transparent; }
menubar > menuitem,
.menubar > menuitem {
padding: 2px 4px;
padding: 2px 8px 2px 8px;
border: 1px solid transparent; }
menubar > menuitem:hover,
.menubar > menuitem:hover
Expand All @@ -801,14 +801,16 @@ menu,
.menu {
padding: 0px;
background-color: @theme_bg_color;
border: 1px solid @borders;
}
menu menuitem,
.menu menuitem {
padding: 4px;
border: 1px solid transparent;
}
menu menuitem:hover,
.menu menuitem:hover {
border: 1px solid @menubaritem_border;
border: 1px solid @menubaritem_border;
background-color: @menubaritem_bg_color;
color: @theme_fg_color;}
menu menuitem:disabled,
Expand Down Expand Up @@ -1849,7 +1851,7 @@ GtkColorChooserWidget #add-color-button {
*********************/
decoration {
/*border-radius: 7px 7px 0 0;*/
border: 1px solid @borders;
box-shadow: 0 1 2 1 rgba(0,0,0,0.2);
/* this is used for the resize cursor area */
margin: 10px; }
decoration.tiled {
Expand Down
4 changes: 2 additions & 2 deletions win32/share/themes/Windows10/gtk-3.0/gtk-dark.css
Expand Up @@ -10,7 +10,7 @@
@define-color theme_fg_color #c0c0c0;
@define-color theme_text_color @theme_fg_color;
@define-color theme_selected_bg_color #0079cb;
@define-color theme_selected_fg_color #e9e9e9;
@define-color theme_selected_fg_color #e9e9e9;

/* dark visualstudio 2013
@define-color
Expand All @@ -24,7 +24,7 @@
@define-color borders shade(@theme_bg_color, 0.68); /* #ACACAC; */

@define-color insensitive_bg_color shade (@theme_bg_color, 0.99);
@define-color insensitive_fg_color shade (@theme_bg_color, 0.72);
@define-color insensitive_fg_color shade (@theme_fg_color, 0.72);
@define-color insensitive_borders shade (@theme_bg_color, 0.84); /* #bbbbbb; */


Expand Down

0 comments on commit 92ba63f

Please sign in to comment.