-
Notifications
You must be signed in to change notification settings - Fork 77
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix header separator spacing and port new window button styling from …
…3.14
- Loading branch information
Showing
30 changed files
with
485 additions
and
1,138 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+204 Bytes
Vertex-gtk/gtk-3.0/assets/header-separator-selectionmode-left-dark.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+256 Bytes
Vertex-gtk/gtk-3.0/assets/header-separator-selectionmode-left-dark@2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+238 Bytes
Vertex-gtk/gtk-3.0/assets/header-separator-selectionmode-left@2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,137 @@ | ||
/* | ||
Set correct layout with | ||
gsettings set org.gnome.settings-daemon.plugins.xsettings overrides "{'Gtk/DecorationLayout': <':minimize,maximize,close'>}" for buttons on the right | ||
or | ||
gsettings set org.gnome.settings-daemon.plugins.xsettings overrides "{'Gtk/DecorationLayout': <'close,maximize,minimize:'>}" | ||
for buttons on the left | ||
*/ | ||
|
||
.header-bar .button.titlebutton, | ||
.titlebar .button.titlebutton, | ||
GtkCalendar.header .button.titlebutton, | ||
.header-bar .button.titlebutton:hover, | ||
.titlebar .button.titlebutton:hover, | ||
GtkCalendar.header .button.titlebutton:hover, | ||
.header-bar .button.titlebutton:active, | ||
.titlebar .button.titlebutton:active, | ||
GtkCalendar.header .button.titlebutton:active { | ||
background: none; | ||
border-width: 1px 0px 2px 0px; | ||
border-color: transparent; | ||
border-style: solid; | ||
border-image: none; | ||
icon-shadow: none; | ||
box-shadow: none; } | ||
|
||
.header-bar .right .button.titlebutton, | ||
.titlebar .right .button.titlebutton, | ||
GtkCalendar .right .header .button.titlebutton { | ||
padding-left: 0px; | ||
padding-right: 1px; } | ||
|
||
.header-bar .left .button.titlebutton, | ||
.titlebar .left .button.titlebutton, | ||
GtkCalendar .left .header .button.titlebutton { | ||
padding-left: 1px; | ||
padding-right: 0px; } | ||
|
||
.titlebar .right .titlebutton, | ||
.titlebar .left .titlebutton, | ||
.titlebar .right .titlebutton:hover, | ||
.titlebar .left .titlebutton:hover, | ||
.titlebar .right .titlebutton:active:hover, | ||
.titlebar .left .titlebutton:active:hover, | ||
.titlebar .right .titlebutton:backdrop, | ||
.titlebar .left .titlebutton:backdrop { | ||
color: transparent; | ||
background-position: center; | ||
background-repeat: no-repeat; | ||
} | ||
|
||
/* Generic titlebutton */ | ||
.titlebar .right .titlebutton, | ||
.titlebar .left .titlebutton { | ||
background-image: url('window-controls/titlebutton.svg'); | ||
} | ||
|
||
.titlebar .right .titlebutton:backdrop, | ||
.titlebar .left .titlebutton:backdrop { | ||
background-image: url('window-controls/titlebutton_unfocused.svg'); | ||
} | ||
|
||
/* :hover and :active states */ | ||
|
||
/* Minimize */ | ||
.titlebar .right .titlebutton:nth-last-child(3):hover, | ||
.titlebar .right:dir(rtl) .titlebutton:nth-child(3):hover, | ||
.titlebar .left .titlebutton:nth-child(3):hover, | ||
.titlebar .left:dir(rtl) .titlebutton:nth-last-child(3):hover { | ||
background-image: url('window-controls/min_prelight.svg'); | ||
} | ||
|
||
/* Maximize */ | ||
.titlebar .right .titlebutton:nth-last-child(2):hover, | ||
.titlebar .right:dir(rtl) .titlebutton:nth-child(2):hover, | ||
.titlebar .left .titlebutton:nth-child(2):hover, | ||
.titlebar .left:dir(rtl) .titlebutton:nth-last-child(2):hover { | ||
background-image: url('window-controls/max_prelight.svg'); | ||
} | ||
|
||
/* Close */ | ||
.titlebar .right .titlebutton:last-child:hover, | ||
.titlebar .right:dir(rtl) .titlebutton:first-child:hover, | ||
.titlebar .left .titlebutton:first-child:hover, | ||
.titlebar .left:dir(rtl) .titlebutton:last-child:hover { | ||
background-image: url('window-controls/close_prelight.svg'); | ||
} | ||
|
||
.titlebar .right .titlebutton:active:hover, | ||
.titlebar .left .titlebutton:active:hover { | ||
background-image: url('window-controls/titlebutton_pressed.svg'); | ||
} | ||
|
||
/*GtkMenuButton*/ | ||
.titlebar .left GtkMenuButton.titlebutton:first-child, | ||
.titlebar .left GtkMenuButton.titlebutton:first-child:hover, | ||
.titlebar .left GtkMenuButton.titlebutton:first-child:active, | ||
.titlebar .right GtkMenuButton.titlebutton:last-child, | ||
.titlebar .right GtkMenuButton.titlebutton:last-child:hover, | ||
.titlebar .right GtkMenuButton.titlebutton:last-child:active { | ||
background-image: none; | ||
border-width: 1px 1px 2px 1px; | ||
padding-left: 4px; | ||
padding-right: 4px; | ||
icon-shadow: none; | ||
} | ||
|
||
.titlebar .left GtkMenuButton.titlebutton:first-child, | ||
.titlebar .right GtkMenuButton.titlebutton:last-child { | ||
color: @wm_title; | ||
} | ||
|
||
.titlebar .left GtkMenuButton.titlebutton:first-child:hover, | ||
.titlebar .right GtkMenuButton.titlebutton:last-child:hover { | ||
color: @theme_fg_color; | ||
background-image: linear-gradient(to bottom, | ||
@button_hover_gradient_color_a, | ||
@button_hover_gradient_color_b); | ||
text-shadow: 0 -1px alpha(black, 0.7); | ||
icon-shadow: 0 -1px alpha(black, 0.7); | ||
-gtk-image-effect: highlight; | ||
border-image: -gtk-scaled(url("borders/button-border-dark.png"),url("borders/button-border-dark@2.png")) 2 2 3 2 / 2px 2px 3px 2px stretch; | ||
border-radius: 2px; | ||
border-style: solid; | ||
border-color: transparent; } | ||
|
||
.titlebar .left GtkMenuButton.titlebutton:first-child:active, | ||
.titlebar .right GtkMenuButton.titlebutton:last-child:active { | ||
color: @button_active_text; | ||
background-image: linear-gradient(to bottom, | ||
@button_active_gradient_color_a, | ||
@button_active_gradient_color_b); | ||
text-shadow: 0 -1px alpha(black, 0.7); | ||
icon-shadow: 0 -1px alpha(black, 0.7); | ||
box-shadow: inset 0 1px 2px alpha(black, 0.2); | ||
transition-duration: 50ms; | ||
outline-color: alpha(@button_active_text, 0.3); | ||
border-image: -gtk-scaled(url("borders/button-active-border-dark.png"),url("borders/button-active-border-dark@2.png")) 2 2 3 2 / 2px 2px 3px 2px stretch; } |
Oops, something went wrong.