Skip to content

Commit 3160668

Browse files
committed
Dropped GTK 3.12 specific changes
1 parent d294095 commit 3160668

File tree

1 file changed

+15
-62
lines changed

1 file changed

+15
-62
lines changed

gtk-3.0/gtk-widgets.css

Lines changed: 15 additions & 62 deletions
Original file line numberDiff line numberDiff line change
@@ -1137,7 +1137,7 @@ GtkModelButton.button:selected {
11371137
************/
11381138
.notebook {
11391139
padding: 0;
1140-
border-width: 1px 0 0 0;
1140+
border-width: 1px;
11411141
border-style: solid;
11421142
border-color: shade(@theme_base_color, 0.7);
11431143
border-radius: 0;
@@ -1185,101 +1185,67 @@ GtkModelButton.button:selected {
11851185
}
11861186

11871187
.notebook tab {
1188-
padding: 4px 6px;
1189-
border-style: solid;
1190-
border-width: 1px;
1191-
border-color: transparent;
1192-
background-color: transparent;
1188+
padding: 4px;
1189+
border-style: none;
1190+
background-color: shade(@theme_base_color, 0.85);
1191+
background-image: none;
1192+
}
1193+
1194+
.notebook tab:hover {
1195+
background-color: shade(@theme_base_color, 0.95);
11931196
background-image: none;
11941197
}
11951198

11961199
.notebook tab:active {
1197-
background-color: transparent;
1200+
background-color: shade(@theme_base_color, 0.85);
11981201
background-image: none;
11991202
}
12001203

12011204
.notebook tab.top {
1202-
border-bottom-width: 2px;
12031205
border-bottom-right-radius: 0;
12041206
border-bottom-left-radius: 0;
12051207
}
12061208

1207-
.notebook tab.top:hover {
1208-
border-bottom-color: alpha(@theme_selected_bg_color, 0.3);
1209-
}
1210-
12111209
.notebook tab.top:active {
1212-
border-bottom-color: @theme_selected_bg_color;
1210+
box-shadow:inset 0 -2px @theme_selected_bg_color;
12131211
}
12141212

12151213
.notebook tab.right {
1216-
border-left-width: 2px;
12171214
border-bottom-left-radius: 0;
12181215
border-top-left-radius: 0;
12191216
}
12201217

1221-
.notebook tab.right:hover {
1222-
border-left-color: alpha(@theme_selected_bg_color, 0.3);
1223-
}
1224-
12251218
.notebook tab.right:active {
1226-
border-left-color: @theme_selected_bg_color;
1219+
box-shadow:inset 2px 0 @theme_selected_bg_color;
12271220
}
12281221

12291222
.notebook tab.bottom {
1230-
border-top-width: 2px;
12311223
border-top-right-radius: 0;
12321224
border-top-left-radius: 0;
12331225
}
12341226

1235-
.notebook tab.bottom:hover {
1236-
border-top-color: alpha(@theme_selected_bg_color, 0.3);
1237-
}
1238-
12391227
.notebook tab.bottom:active {
1240-
border-top-color: @theme_selected_bg_color;
1228+
box-shadow:inset 0 2px @theme_selected_bg_color;
12411229
}
12421230

12431231
.notebook tab.left {
1244-
border-right-width: 2px;
12451232
border-top-right-radius: 0;
12461233
border-bottom-right-radius: 0;
12471234
}
12481235

1249-
.notebook tab.left:hover {
1250-
border-right-color: alpha(@theme_selected_bg_color, 0.3);
1251-
}
1252-
12531236
.notebook tab.left:active {
1254-
border-right-color: @theme_selected_bg_color;
1237+
box-shadow:inset -2px 0 @theme_selected_bg_color;
12551238
}
12561239

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

1261-
.notebook .prelight-page,
1262-
.notebook .prelight-page GtkLabel {
1263-
color: mix (@theme_text_color, @theme_base_color, 0.15);
1264-
}
1265-
12661244
.notebook .active-page,
1267-
.notebook .active-page GtkLabel {
1245+
.notebook tab .active-page GtkLabel {
12681246
color: @theme_text_color;
12691247
}
12701248

1271-
.notebook tab.reorderable-page:hover {
1272-
background-color: shade(@theme_base_color, 0.85);
1273-
border-left: 1px solid shade(@theme_base_color, 0.7);
1274-
border-right: 1px solid shade(@theme_base_color, 0.7);
1275-
}
1276-
1277-
.notebook tab.reorderable-page:active {
1278-
background-color: shade(@theme_base_color, 0.90);
1279-
border-left: 1px solid shade(@theme_base_color, 0.75);
1280-
border-right: 1px solid shade(@theme_base_color, 0.75);
1281-
}
1282-
12831249
/* close button styling */
12841250
.notebook tab .button,
12851251
.notebook tab .button:active,
@@ -2981,19 +2947,6 @@ GtkViewport.frame {
29812947
padding: 4px;
29822948
}
29832949

2984-
/***********
2985-
* dialogs *
2986-
***********/
2987-
GtkMessageDialog,
2988-
.prompt {
2989-
-GtkDialog-content-area-border: 0;
2990-
-GtkDialog-action-area-border: 0;
2991-
-GtkDialog-button-spacing: 0;
2992-
2993-
margin: 0;
2994-
padding: 0;
2995-
}
2996-
29972950
/********************
29982951
* various choosers *
29992952
********************/

0 commit comments

Comments
 (0)