@@ -1137,7 +1137,7 @@ GtkModelButton.button:selected {
1137
1137
************/
1138
1138
.notebook {
1139
1139
padding : 0 ;
1140
- border-width : 1px 0 0 0 ;
1140
+ border-width : 1px ;
1141
1141
border-style : solid;
1142
1142
border-color : shade (@theme_base_color , 0.7 );
1143
1143
border-radius : 0 ;
@@ -1185,101 +1185,67 @@ GtkModelButton.button:selected {
1185
1185
}
1186
1186
1187
1187
.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 );
1193
1196
background-image : none;
1194
1197
}
1195
1198
1196
1199
.notebook tab : active {
1197
- background-color : transparent ;
1200
+ background-color : shade ( @theme_base_color , 0.85 ) ;
1198
1201
background-image : none;
1199
1202
}
1200
1203
1201
1204
.notebook tab .top {
1202
- border-bottom-width : 2px ;
1203
1205
border-bottom-right-radius : 0 ;
1204
1206
border-bottom-left-radius : 0 ;
1205
1207
}
1206
1208
1207
- .notebook tab .top : hover {
1208
- border-bottom-color : alpha (@theme_selected_bg_color , 0.3 );
1209
- }
1210
-
1211
1209
.notebook tab .top : active {
1212
- border-bottom-color : @theme_selected_bg_color ;
1210
+ box-shadow : inset 0 -2 px @theme_selected_bg_color ;
1213
1211
}
1214
1212
1215
1213
.notebook tab .right {
1216
- border-left-width : 2px ;
1217
1214
border-bottom-left-radius : 0 ;
1218
1215
border-top-left-radius : 0 ;
1219
1216
}
1220
1217
1221
- .notebook tab .right : hover {
1222
- border-left-color : alpha (@theme_selected_bg_color , 0.3 );
1223
- }
1224
-
1225
1218
.notebook tab .right : active {
1226
- border-left-color : @theme_selected_bg_color ;
1219
+ box-shadow : inset 2 px 0 @theme_selected_bg_color ;
1227
1220
}
1228
1221
1229
1222
.notebook tab .bottom {
1230
- border-top-width : 2px ;
1231
1223
border-top-right-radius : 0 ;
1232
1224
border-top-left-radius : 0 ;
1233
1225
}
1234
1226
1235
- .notebook tab .bottom : hover {
1236
- border-top-color : alpha (@theme_selected_bg_color , 0.3 );
1237
- }
1238
-
1239
1227
.notebook tab .bottom : active {
1240
- border-top-color : @theme_selected_bg_color ;
1228
+ box-shadow : inset 0 2 px @theme_selected_bg_color ;
1241
1229
}
1242
1230
1243
1231
.notebook tab .left {
1244
- border-right-width : 2px ;
1245
1232
border-top-right-radius : 0 ;
1246
1233
border-bottom-right-radius : 0 ;
1247
1234
}
1248
1235
1249
- .notebook tab .left : hover {
1250
- border-right-color : alpha (@theme_selected_bg_color , 0.3 );
1251
- }
1252
-
1253
1236
.notebook tab .left : active {
1254
- border-right-color : @theme_selected_bg_color ;
1237
+ box-shadow : inset -2 px 0 @theme_selected_bg_color ;
1255
1238
}
1256
1239
1257
1240
.notebook tab GtkLabel {
1258
1241
color : mix (@theme_text_color , @theme_base_color , 0.3 );
1259
1242
}
1260
1243
1261
- .notebook .prelight-page ,
1262
- .notebook .prelight-page GtkLabel {
1263
- color : mix (@theme_text_color , @theme_base_color , 0.15 );
1264
- }
1265
-
1266
1244
.notebook .active-page ,
1267
- .notebook .active-page GtkLabel {
1245
+ .notebook tab .active-page GtkLabel {
1268
1246
color: @theme_text_color ;
1269
1247
}
1270
1248
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
-
1283
1249
/* close button styling */
1284
1250
.notebook tab .button ,
1285
1251
.notebook tab .button : active ,
@@ -2981,19 +2947,6 @@ GtkViewport.frame {
2981
2947
padding : 4px ;
2982
2948
}
2983
2949
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
-
2997
2950
/********************
2998
2951
* various choosers *
2999
2952
********************/
0 commit comments