Skip to content

Commit

Permalink
Dropped GTK 3.12 specific changes
Browse files Browse the repository at this point in the history
  • Loading branch information
satya164 committed May 4, 2014
1 parent d294095 commit 3160668
Showing 1 changed file with 15 additions and 62 deletions.
77 changes: 15 additions & 62 deletions gtk-3.0/gtk-widgets.css
Original file line number Diff line number Diff line change
Expand Up @@ -1137,7 +1137,7 @@ GtkModelButton.button:selected {
************/
.notebook {
padding: 0;
border-width: 1px 0 0 0;
border-width: 1px;
border-style: solid;
border-color: shade(@theme_base_color, 0.7);
border-radius: 0;
Expand Down Expand Up @@ -1185,101 +1185,67 @@ GtkModelButton.button:selected {
}

.notebook tab {
padding: 4px 6px;
border-style: solid;
border-width: 1px;
border-color: transparent;
background-color: transparent;
padding: 4px;
border-style: none;
background-color: shade(@theme_base_color, 0.85);
background-image: none;
}

.notebook tab:hover {
background-color: shade(@theme_base_color, 0.95);
background-image: none;
}

.notebook tab:active {
background-color: transparent;
background-color: shade(@theme_base_color, 0.85);
background-image: none;
}

.notebook tab.top {
border-bottom-width: 2px;
border-bottom-right-radius: 0;
border-bottom-left-radius: 0;
}

.notebook tab.top:hover {
border-bottom-color: alpha(@theme_selected_bg_color, 0.3);
}

.notebook tab.top:active {
border-bottom-color: @theme_selected_bg_color;
box-shadow:inset 0 -2px @theme_selected_bg_color;
}

.notebook tab.right {
border-left-width: 2px;
border-bottom-left-radius: 0;
border-top-left-radius: 0;
}

.notebook tab.right:hover {
border-left-color: alpha(@theme_selected_bg_color, 0.3);
}

.notebook tab.right:active {
border-left-color: @theme_selected_bg_color;
box-shadow:inset 2px 0 @theme_selected_bg_color;
}

.notebook tab.bottom {
border-top-width: 2px;
border-top-right-radius: 0;
border-top-left-radius: 0;
}

.notebook tab.bottom:hover {
border-top-color: alpha(@theme_selected_bg_color, 0.3);
}

.notebook tab.bottom:active {
border-top-color: @theme_selected_bg_color;
box-shadow:inset 0 2px @theme_selected_bg_color;
}

.notebook tab.left {
border-right-width: 2px;
border-top-right-radius: 0;
border-bottom-right-radius: 0;
}

.notebook tab.left:hover {
border-right-color: alpha(@theme_selected_bg_color, 0.3);
}

.notebook tab.left:active {
border-right-color: @theme_selected_bg_color;
box-shadow:inset -2px 0 @theme_selected_bg_color;
}

.notebook tab GtkLabel {
color: mix(@theme_text_color, @theme_base_color, 0.3);
}

.notebook .prelight-page,
.notebook .prelight-page GtkLabel {
color: mix (@theme_text_color, @theme_base_color, 0.15);
}

.notebook .active-page,
.notebook .active-page GtkLabel {
.notebook tab .active-page GtkLabel {
color: @theme_text_color;
}

.notebook tab.reorderable-page:hover {
background-color: shade(@theme_base_color, 0.85);
border-left: 1px solid shade(@theme_base_color, 0.7);
border-right: 1px solid shade(@theme_base_color, 0.7);
}

.notebook tab.reorderable-page:active {
background-color: shade(@theme_base_color, 0.90);
border-left: 1px solid shade(@theme_base_color, 0.75);
border-right: 1px solid shade(@theme_base_color, 0.75);
}

/* close button styling */
.notebook tab .button,
.notebook tab .button:active,
Expand Down Expand Up @@ -2981,19 +2947,6 @@ GtkViewport.frame {
padding: 4px;
}

/***********
* dialogs *
***********/
GtkMessageDialog,
.prompt {
-GtkDialog-content-area-border: 0;
-GtkDialog-action-area-border: 0;
-GtkDialog-button-spacing: 0;

margin: 0;
padding: 0;
}

/********************
* various choosers *
********************/
Expand Down

0 comments on commit 3160668

Please sign in to comment.