More notebook styling

pull/70/head
Satyajit Sahoo 2013-10-23 22:10:44 +05:30
parent 388c1a5c16
commit 03efb235fc
1 changed files with 65 additions and 5 deletions

View File

@ -191,9 +191,9 @@ GtkAssistant .sidebar {
padding: 3px; padding: 3px;
border-width: 1px; border-width: 1px;
border-radius: 2px;
border-style: solid; border-style: solid;
border-color: shade(@theme_bg_color, 0.8); border-color: shade(@theme_bg_color, 0.8);
border-radius: 2px;
background-color: shade(@theme_bg_color, 1.08); background-color: shade(@theme_bg_color, 1.08);
background-image: none; background-image: none;
color: @theme_fg_color; color: @theme_fg_color;
@ -968,7 +968,37 @@ GtkModelMenuItem GtkBox GtkImage {
background-clip: border-box; background-clip: border-box;
} }
.notebook.frame {
border-width: 1px;
}
.notebook.header {
border-width: 0;
background-color: shade(@theme_base_color, 0.95);
}
.notebook.header.frame {
border-color: shade(@theme_base_color, 0.75);
}
.notebook.header.frame.top {
border-width: 1px 1px 0 1px;
}
.notebook.header.frame.right {
border-width: 1px 1px 1px 0;
}
.notebook.header.frame.bottom {
border-width: 0 1px 1px 1px;
}
.notebook.header.frame.left {
border-width: 1px 0 1px 1px;
}
.notebook GtkViewport { .notebook GtkViewport {
border-width: 0;
background-color: @theme_base_color; background-color: @theme_base_color;
color: @theme_text_color; color: @theme_text_color;
} }
@ -987,10 +1017,6 @@ GtkModelMenuItem GtkBox GtkImage {
background-image: none; background-image: none;
} }
.notebook tab GtkLabel {
color: @theme_text_color;
}
.notebook tab.top { .notebook tab.top {
border-width: 1px 1px 0 1px; border-width: 1px 1px 0 1px;
border-bottom-right-radius: 0; border-bottom-right-radius: 0;
@ -1031,6 +1057,40 @@ GtkModelMenuItem GtkBox GtkImage {
border-left-color: @theme_selected_bg_color; border-left-color: @theme_selected_bg_color;
} }
.notebook tab GtkLabel {
color: mix(@theme_text_color, @theme_base_color, 0.3);
}
.notebook .active-page,
.notebook tab .active-page GtkLabel {
color: @theme_text_color;
}
/* close button styling */
.notebook tab .button,
.notebook tab .button:active,
.notebook tab .button:hover {
padding: 1px;
border-width: 1px;
border-radius: 2px;
border-style: solid;
border-color: transparent;
background-image: none;
background-color: transparent;
color: mix(@theme_text_color, @theme_base_color, 0.5);
}
.notebook tab .button:hover {
color: @theme_text_color;
border-color: shade(@theme_base_color, 0.8);
}
.notebook tab .button:active,
.notebook tab .button:active:hover {
border-color: shade(@theme_base_color, 0.7);
background-color: shade(@theme_base_color, 0.95);
}
/****************** /******************
* pane separator * * pane separator *
******************/ ******************/