Restyle gedit
parent
43d2e84347
commit
fbac9b5e6a
|
@ -209,59 +209,96 @@ GeditWindow .pane-separator:hover {
|
||||||
color: shade(@theme_bg_color, 0.8);
|
color: shade(@theme_bg_color, 0.8);
|
||||||
}
|
}
|
||||||
|
|
||||||
GeditPanel.title GtkLabel {
|
.gedit-document-panel {
|
||||||
padding: 4px 0;
|
background-color: @theme_bg_color;
|
||||||
|
color: mix(@theme_fg_color, @theme_bg_color, 0.1);
|
||||||
}
|
}
|
||||||
|
|
||||||
GeditPanel.vertical .title {
|
.gedit-document-panel-group-row,
|
||||||
padding: 4px 0 4px 3px;
|
.gedit-document-panel-group-row:hover {
|
||||||
border-style: none;
|
border-top: 1px solid shade(@theme_bg_color, 0.9);
|
||||||
|
background-color: @theme_bg_color;
|
||||||
}
|
}
|
||||||
|
|
||||||
GeditPanel .toolbar {
|
.gedit-document-panel-document-row:hover {
|
||||||
border-style: none;
|
background-color: shade(@theme_bg_color, 1.05);
|
||||||
|
}
|
||||||
|
|
||||||
|
.gedit-document-panel-document-row:selected,
|
||||||
|
.gedit-document-panel-document-row:selected:hover {
|
||||||
|
background-color: @theme_selected_bg_color;
|
||||||
|
color: @theme_selected_fg_color;
|
||||||
|
}
|
||||||
|
|
||||||
|
.gedit-document-panel .list-row .button {
|
||||||
|
padding: 1px;
|
||||||
|
border-image: none;
|
||||||
|
border-radius: 2px;
|
||||||
|
border-style: solid;
|
||||||
|
border-color: transparent;
|
||||||
|
border-width: 1px;
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
|
background-image: none;
|
||||||
|
color: transparent;
|
||||||
|
icon-shadow: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
GeditDocumentsPanel .view {
|
.gedit-document-panel .prelight-row .button {
|
||||||
background-color: @theme_base_color;
|
border-color: alpha(black, 0.1);
|
||||||
|
color: mix(@theme_text_color, @theme_base_color, 0.5);
|
||||||
}
|
}
|
||||||
|
|
||||||
GeditPanel.vertical .notebook {
|
.gedit-document-panel .list-row .button:hover,
|
||||||
padding: 0;
|
.gedit-document-panel .prelight-row .button:hover {
|
||||||
border-width: 1px 0;
|
color: @theme_text_color;
|
||||||
|
border-color: alpha(black, 0.1);
|
||||||
}
|
}
|
||||||
|
|
||||||
GeditPanel.horizontal .notebook {
|
.gedit-document-panel .prelight-row .button:active {
|
||||||
padding: 0;
|
color: @theme_text_color;
|
||||||
border-width: 0 1px 1px 0;
|
background-color: alpha(black, 0.08);
|
||||||
|
border-color: alpha(black, 0.2);
|
||||||
}
|
}
|
||||||
|
|
||||||
GeditWindow .notebook {
|
GeditStatusbar {
|
||||||
border-width: 1px 0;
|
border-top: 1px solid shade(@theme_bg_color, 0.8);
|
||||||
}
|
}
|
||||||
|
|
||||||
GeditPanel .notebook tab,
|
GeditStatusbar GeditSmallButton,
|
||||||
GeditWindow .notebook tab {
|
GeditStatusMenuButton {
|
||||||
border-width: 0;
|
text-shadow: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
GeditStatusbar GeditSmallButton.button,
|
||||||
|
GeditStatusbar GeditSmallButton.button:hover,
|
||||||
|
GeditStatusbar GeditSmallButton.button:active,
|
||||||
|
GeditStatusbar GeditSmallButton.button:active:hover,
|
||||||
GeditStatusMenuButton.button,
|
GeditStatusMenuButton.button,
|
||||||
GeditStatusMenuButton.button:hover,
|
GeditStatusMenuButton.button:hover,
|
||||||
GeditStatusMenuButton.button:active,
|
GeditStatusMenuButton.button:active,
|
||||||
GeditStatusMenuButton.button:active:hover {
|
GeditStatusMenuButton.button:active:hover {
|
||||||
padding: 1px 6px 2px 4px;
|
border-image: none;
|
||||||
border-style: solid;
|
border-style: solid;
|
||||||
border-width: 0 1px;
|
border-width: 0 1px;
|
||||||
border-radius: 0;
|
border-radius: 0;
|
||||||
|
padding: 1px 6px 2px 4px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
GeditStatusbar GeditSmallButton.button:hover,
|
||||||
|
GeditStatusbar GeditSmallButton.button:active,
|
||||||
|
GeditStatusbar GeditSmallButton.button:active:hover,
|
||||||
GeditStatusMenuButton.button:hover,
|
GeditStatusMenuButton.button:hover,
|
||||||
GeditStatusMenuButton.button:active,
|
GeditStatusMenuButton.button:active,
|
||||||
GeditStatusMenuButton.button:active:hover {
|
GeditStatusMenuButton.button:active:hover {
|
||||||
border-color: shade(@theme_bg_color, 0.8);
|
border-color: shade(@theme_bg_color, 0.8);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
GeditStatusbar GeditSmallButton.button:active,
|
||||||
|
GeditStatusMenuButton.button:active {
|
||||||
|
background-color: shade(@theme_bg_color, 0.95);
|
||||||
|
color: @theme_fg_color;
|
||||||
|
}
|
||||||
|
|
||||||
GeditViewFrame .gedit-search-slider {
|
GeditViewFrame .gedit-search-slider {
|
||||||
padding: 4px;
|
padding: 4px;
|
||||||
border-radius: 0 0 2px 2px;
|
border-radius: 0 0 2px 2px;
|
||||||
|
@ -289,6 +326,12 @@ GeditFileBrowserWidget .toolbar {
|
||||||
background-image: none;
|
background-image: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.gedit-search-entry-occurrences-tag {
|
||||||
|
margin: 2px;
|
||||||
|
padding: 2px;
|
||||||
|
color: mix(@theme_text_color, @theme_base_color, 0.5);
|
||||||
|
}
|
||||||
|
|
||||||
/***************
|
/***************
|
||||||
* font-viewer *
|
* font-viewer *
|
||||||
***************/
|
***************/
|
||||||
|
|
Loading…
Reference in New Issue