Make notebook tabs pointed

pull/63/head
Satyajit Sahoo 2013-09-08 22:34:53 +05:30
parent 5d29357cc9
commit b96e67fccf
2 changed files with 26 additions and 27 deletions

View File

@ -24,7 +24,7 @@
.dynamic-notebook .notebook tab { .dynamic-notebook .notebook tab {
padding: 3px; padding: 3px;
border-color: shade(@theme_bg_color, 0.85); border-color: shade(@theme_bg_color, 0.85);
border-radius: 2px; border-radius: 0;
background-color: shade(@theme_bg_color, 0.9); background-color: shade(@theme_bg_color, 0.9);
background-image: none; background-image: none;
} }
@ -37,7 +37,6 @@
border-width: 1px; border-width: 1px;
border-color: shade(@theme_bg_color, 0.8); border-color: shade(@theme_bg_color, 0.8);
border-top-color: @theme_selected_bg_color; border-top-color: @theme_selected_bg_color;
border-radius: 0;
background-color: shade(@theme_bg_color, 1.08); background-color: shade(@theme_bg_color, 1.08);
color: @theme_fg_color; color: @theme_fg_color;
} }

View File

@ -147,6 +147,7 @@ GtkClutterOffscreen {
inset 0 -1px alpha(@dark_shadow, 0.05); inset 0 -1px alpha(@dark_shadow, 0.05);
} }
/* disable inset shadow */
.button:active:insensitive, .button:active:insensitive,
.primary-toolbar .button:active:insensitive, .primary-toolbar .button:active:insensitive,
.toolbar .button:active:insensitive, .toolbar .button:active:insensitive,
@ -529,8 +530,8 @@ GtkIconView.view.cell:selected:focus {
border-color: shade(@theme_selected_bg_color, 0.9); border-color: shade(@theme_selected_bg_color, 0.9);
border-radius: 2px; border-radius: 2px;
background-image: -gtk-gradient(linear, left top, left bottom, background-image: -gtk-gradient(linear, left top, left bottom,
from (@theme_selected_bg_color), from (@theme_selected_bg_color),
to (@theme_selected_bg_color)); to (@theme_selected_bg_color));
color: @theme_selected_fg_color; color: @theme_selected_fg_color;
} }
@ -586,16 +587,16 @@ GtkInfoBar {
.info .button.close:hover { .info .button.close:hover {
background-image: linear-gradient(to bottom, background-image: linear-gradient(to bottom,
alpha(white, 0.3), alpha(white, 0.3),
alpha(white, 0.2) 30%, alpha(white, 0.2) 30%,
alpha(black, 0.02)); alpha(black, 0.02));
} }
.info .button.close:active { .info .button.close:active {
color: @info_fg_color; color: @info_fg_color;
background-image: linear-gradient(to bottom, background-image: linear-gradient(to bottom,
alpha(black, 0.1), alpha(black, 0.1),
transparent); transparent);
} }
.warning { .warning {
@ -613,16 +614,16 @@ GtkInfoBar {
.warning .button.close:hover { .warning .button.close:hover {
background-image: linear-gradient(to bottom, background-image: linear-gradient(to bottom,
alpha(white, 0.3), alpha(white, 0.3),
alpha(white, 0.2) 30%, alpha(white, 0.2) 30%,
alpha(black, 0.02)); alpha(black, 0.02));
} }
.warning .button.close:active { .warning .button.close:active {
color: @warning_fg_color; color: @warning_fg_color;
background-image: linear-gradient(to bottom, background-image: linear-gradient(to bottom,
alpha(black, 0.1), alpha(black, 0.1),
transparent); transparent);
} }
.question { .question {
@ -640,16 +641,16 @@ GtkInfoBar {
.question .button.close:hover { .question .button.close:hover {
background-image: linear-gradient(to bottom, background-image: linear-gradient(to bottom,
alpha(white, 0.3), alpha(white, 0.3),
alpha(white, 0.2) 30%, alpha(white, 0.2) 30%,
alpha(black, 0.02)); alpha(black, 0.02));
} }
.question .button.close:active { .question .button.close:active {
color: @question_fg_color; color: @question_fg_color;
background-image: linear-gradient(to bottom, background-image: linear-gradient(to bottom,
alpha(black, 0.1), alpha(black, 0.1),
transparent); transparent);
} }
.error { .error {
@ -667,16 +668,16 @@ GtkInfoBar {
.error .button.close:hover { .error .button.close:hover {
background-image: linear-gradient(to bottom, background-image: linear-gradient(to bottom,
alpha(white, 0.3), alpha(white, 0.3),
alpha(white, 0.2) 30%, alpha(white, 0.2) 30%,
alpha(black, 0.02)); alpha(black, 0.02));
} }
.error .button.close:active { .error .button.close:active {
color: @error_fg_color; color: @error_fg_color;
background-image: linear-gradient(to bottom, background-image: linear-gradient(to bottom,
alpha(black, 0.1), alpha(black, 0.1),
transparent); transparent);
} }
/******************* /*******************
@ -963,7 +964,7 @@ GtkModelMenuItem GtkBox GtkImage {
border-width: 1px; border-width: 1px;
border-style: solid; border-style: solid;
border-color: shade(@theme_base_color, 0.7); border-color: shade(@theme_base_color, 0.7);
border-radius: 2px; border-radius: 0;
background-color: @theme_base_color; background-color: @theme_base_color;
background-image: none; background-image: none;
background-clip: border-box; background-clip: border-box;
@ -977,14 +978,13 @@ GtkModelMenuItem GtkBox GtkImage {
.notebook tab { .notebook tab {
padding: 3px; padding: 3px;
border-color: shade(@theme_base_color, 0.75); border-color: shade(@theme_base_color, 0.75);
border-radius: 2px; border-radius: 0;
background-color: shade(@theme_base_color, 0.85); background-color: shade(@theme_base_color, 0.85);
background-image: none; background-image: none;
} }
.notebook tab:active { .notebook tab:active {
border-color: shade(@theme_base_color, 0.7); border-color: shade(@theme_base_color, 0.7);
border-radius: 0;
background-color: @theme_base_color; background-color: @theme_base_color;
background-image: none; background-image: none;
} }