Restyle gedit

pull/94/merge
Satyajit Sahoo 2014-02-19 02:48:22 +05:30
parent 43d2e84347
commit fbac9b5e6a
1 changed files with 66 additions and 23 deletions

View File

@ -200,7 +200,7 @@ TerminalWindow .scrollbar.slider.vertical:active {
/*********
* gedit *
*********/
GeditWindow .pane-separator,
GeditWindow .pane-separator,
GeditWindow .pane-separator:hover {
border-width: 0 1px 1px 1px;
border-style: solid;
@ -209,59 +209,96 @@ GeditWindow .pane-separator:hover {
color: shade(@theme_bg_color, 0.8);
}
GeditPanel.title GtkLabel {
padding: 4px 0;
.gedit-document-panel {
background-color: @theme_bg_color;
color: mix(@theme_fg_color, @theme_bg_color, 0.1);
}
GeditPanel.vertical .title {
padding: 4px 0 4px 3px;
border-style: none;
.gedit-document-panel-group-row,
.gedit-document-panel-group-row:hover {
border-top: 1px solid shade(@theme_bg_color, 0.9);
background-color: @theme_bg_color;
}
GeditPanel .toolbar {
border-style: none;
.gedit-document-panel-document-row:hover {
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-image: none;
color: transparent;
icon-shadow: none;
}
GeditDocumentsPanel .view {
background-color: @theme_base_color;
.gedit-document-panel .prelight-row .button {
border-color: alpha(black, 0.1);
color: mix(@theme_text_color, @theme_base_color, 0.5);
}
GeditPanel.vertical .notebook {
padding: 0;
border-width: 1px 0;
.gedit-document-panel .list-row .button:hover,
.gedit-document-panel .prelight-row .button:hover {
color: @theme_text_color;
border-color: alpha(black, 0.1);
}
GeditPanel.horizontal .notebook {
padding: 0;
border-width: 0 1px 1px 0;
.gedit-document-panel .prelight-row .button:active {
color: @theme_text_color;
background-color: alpha(black, 0.08);
border-color: alpha(black, 0.2);
}
GeditWindow .notebook {
border-width: 1px 0;
GeditStatusbar {
border-top: 1px solid shade(@theme_bg_color, 0.8);
}
GeditPanel .notebook tab,
GeditWindow .notebook tab {
border-width: 0;
GeditStatusbar GeditSmallButton,
GeditStatusMenuButton {
text-shadow: none;
}
GeditStatusbar GeditSmallButton.button,
GeditStatusbar GeditSmallButton.button:hover,
GeditStatusbar GeditSmallButton.button:active,
GeditStatusbar GeditSmallButton.button:active:hover,
GeditStatusMenuButton.button,
GeditStatusMenuButton.button:hover,
GeditStatusMenuButton.button:active,
GeditStatusMenuButton.button:active:hover {
padding: 1px 6px 2px 4px;
border-image: none;
border-style: solid;
border-width: 0 1px;
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:active,
GeditStatusMenuButton.button:active:hover {
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 {
padding: 4px;
border-radius: 0 0 2px 2px;
@ -282,13 +319,19 @@ GeditViewFrame .gedit-search-slider .not-found:selected {
color: @theme_selected_fg_color;
}
GeditFileBrowserWidget .toolbar {
GeditFileBrowserWidget .toolbar {
padding: 2px;
border-top: none;
background-color: @theme_bg_color;
background-image: none;
}
.gedit-search-entry-occurrences-tag {
margin: 2px;
padding: 2px;
color: mix(@theme_text_color, @theme_base_color, 0.5);
}
/***************
* font-viewer *
***************/