-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathnotebook_style.css
80 lines (64 loc) · 1.68 KB
/
notebook_style.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
/*
* This is an exmaple notebook_style file for VTerm tab bar.
* This is not to be used directly.
*/
@define-color tab_bg_color #28282B;
@define-color checked_tab_bg_color #005880;
@define-color fg_color #fcfcfc;
notebook header{
/* No wasted space */
padding: 0 0 0 0;
margin: 0 0 0 0;
min-height: 0;
min-width: 0;
/* No borders for header */
border: 0 ;
/* header background */
background-color: @tab_bg_color;
}
notebook arrow {
/* No wasted space */
margin: 0 0 0 0;
padding: 0 0 0 0;
min-height: 0;
min-width: 0;
background-color: @tab_bg_color;
color: @fg_color;
}
notebook arrow:disabled{
color: darker(darker(@fg_color));
}
notebook > header > tabs > arrow.down{
/* this is to snap arrow buttons to the edgs */
margin-left: -8px;
-gtk-icon-source: -gtk-icontheme("pan-start-symbolic");
}
notebook > header > tabs > arrow.up{
/* this is to snap arrow buttons to the edgs */
margin-right: -8px;
-gtk-icon-source: -gtk-icontheme("pan-end-symbolic");
/* this is to hide the right border of the leftmost tab */
margin-left: -1px;
border-width: 0px 0px 0 1px;
border-style: solid;
border-color: @tab_bg_color;
}
/* Style all tabs */
notebook tab {
/* negative left margin to overlab borders */;
margin: 0px 0 0 -1px;
padding: 2px 5px 2px 5px;
min-height: 0;
min-width: 0;
background-color: @tab_bg_color;
border-image: none;
border-width: 0px 1px 0 1px;
border-style: solid;
border-color: @fg_color;
color: @fg_color;
font: 12px Hack;
}
/* Style active tab */
notebook tab:checked {
background-color: @checked_tab_bg_color;
}