GTK3 theme: Add Gedit custom widget styles
This commit is contained in:
parent
2ad509a325
commit
35282b8ad6
@ -0,0 +1,61 @@
|
||||
.gedit-document-panel {
|
||||
background-color: @sidebar_bg;
|
||||
}
|
||||
|
||||
.gedit-document-panel:backdrop {
|
||||
color: #b0b2b2;
|
||||
}
|
||||
|
||||
.gedit-document-panel row:selected:backdrop {
|
||||
background-color: #8b8e8f;
|
||||
}
|
||||
|
||||
.gedit-document-panel-group-row,
|
||||
.gedit-document-panel-group-row:hover {
|
||||
border-top: 1px solid alpha(currentColor, 0.3);
|
||||
}
|
||||
|
||||
.gedit-document-panel-group-row:first-child,
|
||||
.gedit-document-panel-group-row:first-child:hover {
|
||||
border-top: 0px;
|
||||
}
|
||||
|
||||
/* Try to look as the notebook tab close button */
|
||||
.gedit-document-panel row button.flat {
|
||||
padding: 0;
|
||||
margin-top: 8px;
|
||||
margin-bottom: 8px;
|
||||
min-width: 18px;
|
||||
min-height: 18px;
|
||||
color: alpha(currentColor,0.3);
|
||||
}
|
||||
|
||||
.gedit-document-panel row:hover button.flat {
|
||||
color: alpha(currentColor,0.5);
|
||||
}
|
||||
|
||||
.gedit-document-panel row button.flat:hover {
|
||||
color: @theme_fg_color;
|
||||
}
|
||||
|
||||
statusbar {
|
||||
border-top: 1px solid @borders;
|
||||
}
|
||||
|
||||
.gedit-search-slider {
|
||||
background-color: @theme_base_color;
|
||||
padding: 6px;
|
||||
border-color: @borders;
|
||||
border-radius: 0 0 3px 3px;
|
||||
border-width: 0 1px 1px 1px;
|
||||
border-style: solid;
|
||||
}
|
||||
|
||||
.gedit-search-entry-occurrences-tag {
|
||||
background-color: @theme_base_color;
|
||||
background-image: none;
|
||||
color: shade (@theme_unfocused_fg_color, 0.8);
|
||||
border: 0px;
|
||||
margin: 2px;
|
||||
padding: 2px;
|
||||
}
|
||||
@ -2,6 +2,7 @@
|
||||
* Check and Radio buttons *
|
||||
***************************/
|
||||
@import url("applications/nautilus/Adwaita.css");
|
||||
@import url("applications/gedit/Adwaita.css");
|
||||
* {
|
||||
padding: 0;
|
||||
-GtkToolButton-icon-spacing: 4;
|
||||
@ -5030,6 +5031,7 @@ decoration {
|
||||
.xfce4-panel.vertical button:not(#whiskermenu-button):checked, .xfce4-panel.vertical button:not(#whiskermenu-button):active {
|
||||
box-shadow: inset 4px 0 0 #2777ff; }
|
||||
|
||||
/* Gedit */
|
||||
/* XFCE4 panel action buttons */
|
||||
#XfcePanelWindowWrapper > widget > box > #xfce-panel-button > image {
|
||||
-gtk-icon-style: symbolic;
|
||||
|
||||
@ -0,0 +1,61 @@
|
||||
.gedit-document-panel {
|
||||
background-color: @sidebar_bg;
|
||||
}
|
||||
|
||||
.gedit-document-panel:backdrop {
|
||||
color: #b0b2b2;
|
||||
}
|
||||
|
||||
.gedit-document-panel row:selected:backdrop {
|
||||
background-color: #8b8e8f;
|
||||
}
|
||||
|
||||
.gedit-document-panel-group-row,
|
||||
.gedit-document-panel-group-row:hover {
|
||||
border-top: 1px solid alpha(currentColor, 0.3);
|
||||
}
|
||||
|
||||
.gedit-document-panel-group-row:first-child,
|
||||
.gedit-document-panel-group-row:first-child:hover {
|
||||
border-top: 0px;
|
||||
}
|
||||
|
||||
/* Try to look as the notebook tab close button */
|
||||
.gedit-document-panel row button.flat {
|
||||
padding: 0;
|
||||
margin-top: 8px;
|
||||
margin-bottom: 8px;
|
||||
min-width: 18px;
|
||||
min-height: 18px;
|
||||
color: alpha(currentColor,0.3);
|
||||
}
|
||||
|
||||
.gedit-document-panel row:hover button.flat {
|
||||
color: alpha(currentColor,0.5);
|
||||
}
|
||||
|
||||
.gedit-document-panel row button.flat:hover {
|
||||
color: @theme_fg_color;
|
||||
}
|
||||
|
||||
statusbar {
|
||||
border-top: 1px solid @borders;
|
||||
}
|
||||
|
||||
.gedit-search-slider {
|
||||
background-color: @theme_base_color;
|
||||
padding: 6px;
|
||||
border-color: @borders;
|
||||
border-radius: 0 0 3px 3px;
|
||||
border-width: 0 1px 1px 1px;
|
||||
border-style: solid;
|
||||
}
|
||||
|
||||
.gedit-search-entry-occurrences-tag {
|
||||
background-color: @theme_base_color;
|
||||
background-image: none;
|
||||
color: shade (@theme_unfocused_fg_color, 0.8);
|
||||
border: 0px;
|
||||
margin: 2px;
|
||||
padding: 2px;
|
||||
}
|
||||
@ -2,6 +2,7 @@
|
||||
* Check and Radio buttons *
|
||||
***************************/
|
||||
@import url("applications/nautilus/Adwaita.css");
|
||||
@import url("applications/gedit/Adwaita.css");
|
||||
* {
|
||||
padding: 0;
|
||||
-GtkToolButton-icon-spacing: 4;
|
||||
@ -5030,6 +5031,7 @@ decoration {
|
||||
.xfce4-panel.vertical button:not(#whiskermenu-button):checked, .xfce4-panel.vertical button:not(#whiskermenu-button):active {
|
||||
box-shadow: inset 4px 0 0 #2777ff; }
|
||||
|
||||
/* Gedit */
|
||||
/* XFCE4 panel action buttons */
|
||||
#XfcePanelWindowWrapper > widget > box > #xfce-panel-button > image {
|
||||
-gtk-icon-style: symbolic;
|
||||
|
||||
@ -2,6 +2,7 @@
|
||||
* Check and Radio buttons *
|
||||
***************************/
|
||||
@import url("applications/nautilus/Adwaita.css");
|
||||
@import url("applications/gedit/Adwaita.css");
|
||||
* {
|
||||
padding: 0;
|
||||
-GtkToolButton-icon-spacing: 4;
|
||||
@ -5051,6 +5052,7 @@ decoration {
|
||||
.xfce4-panel.vertical button:not(#whiskermenu-button):checked, .xfce4-panel.vertical button:not(#whiskermenu-button):active {
|
||||
box-shadow: inset 4px 0 0 #2777ff; }
|
||||
|
||||
/* Gedit */
|
||||
/* XFCE4 panel action buttons */
|
||||
#XfcePanelWindowWrapper > widget > box > #xfce-panel-button > image {
|
||||
-gtk-icon-style: symbolic;
|
||||
|
||||
@ -39,6 +39,9 @@
|
||||
}
|
||||
}
|
||||
|
||||
/* Gedit */
|
||||
@import url('applications/gedit/Adwaita.css');
|
||||
|
||||
/* XFCE4 panel action buttons */
|
||||
#XfcePanelWindowWrapper > widget > box > #xfce-panel-button > image {
|
||||
-gtk-icon-style: symbolic;
|
||||
|
||||
4
src/themes/Kali/sass/gtk-sass/applications/gedit/sync.sh
Executable file
4
src/themes/Kali/sass/gtk-sass/applications/gedit/sync.sh
Executable file
@ -0,0 +1,4 @@
|
||||
#!/bin/sh
|
||||
|
||||
wget https://gitlab.gnome.org/GNOME/gedit/raw/master/gedit/resources/css/gedit.adwaita.css -O Adwaita.css
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
#!/bin/sh
|
||||
|
||||
wget https://gitlab.gnome.org/GNOME/nautilus/raw/master/src/resources/css/Adwaita.css --timestamping
|
||||
wget https://gitlab.gnome.org/GNOME/nautilus/raw/master/src/resources/css/Adwaita.css -O Adwaita.css
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user