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

@ -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;
@ -282,13 +319,19 @@ GeditViewFrame .gedit-search-slider .not-found:selected {
color: @theme_selected_fg_color; color: @theme_selected_fg_color;
} }
GeditFileBrowserWidget .toolbar { GeditFileBrowserWidget .toolbar {
padding: 2px; padding: 2px;
border-top: none; border-top: none;
background-color: @theme_bg_color; background-color: @theme_bg_color;
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 *
***************/ ***************/