-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgtk-notebook.css
120 lines (90 loc) · 2.87 KB
/
gtk-notebook.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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
/* Notebook and tabs */
notebook {
padding: 0; }
/* Did not move notebook frame references to frame css file because
the references are tied so closely to the settings below: */
/* Adjust tab positions */
notebook.frame {
margin-top: 2px;
border-color: @borders; }
notebook.frame > header {
margin: -1px; }
notebook.frame > header.top {
border:none;
margin-left: 0px;
margin-right: 1px;
margin-bottom: 0px; }
notebook.frame > header.bottom {
margin-left: 0px;
margin-right: 1px;
margin-top: 0px; }
notebook.frame > header.left {
margin-top: 1px;
margin-right: 0px; }
notebook.frame > header.right {
margin-top: 0px;
margin-left: 0px; }
notebook.frame > header.top, notebook.frame > header.bottom {
padding-left: 0;
padding-right: 0; }
notebook.frame > header.left, notebook.frame > header.right {
padding-top: 0;
padding-bottom: 0; }
notebook > stack:not(:only-child) {
margin: 0px;
border: 1px solid @borders;
border-top: 1px solid @light_shadow;
border-left: 1px solid @light_shadow;
padding: 2px;
background-color: @notebook_bg_color;
box-shadow: inset -1px -1px @dark_shadow ; }
/* Tab colors and border images */
notebook tab {
border-style: solid;
border-radius: 0;
border-color: transparent;
color: @theme_fg_color;
background-color: @notebook_bg_color;
outline-width: 0; }
notebook tab:checked {
color: @theme_fg_color;
border-color: @borders;
background-color: @notebook_bg_color; }
notebook > header {
background-color: @theme_bg_color; }
/* Top tabs */
notebook > header.top > tabs > tab {
border-width: 5px 5px 2px 5px;
border-image: url("assets/tab_top_checked.png");
border-image-slice: 5 5 2 5; }
notebook > header.top > tabs > tab:checked {
margin-bottom: -1px;
border-image: url("assets/tab_top.png");
border-image-slice: 5 5 2 5; }
/* Bottom tabs */
notebook > header.bottom > tabs > tab {
border-width: 2px 5px 5px 5px;
border-image: url("assets/tab_bottom_checked.png");
border-image-slice: 2 5 5 5; }
notebook > header.bottom > tabs > tab:checked {
margin-top: -2px;
border-image: url("assets/tab_bottom.png");
border-image-slice: 2 5 5 5; }
/* Right side tabs */
notebook > header.right > tabs > tab {
border-width: 4px 8px 6px 0px;
border-image: url("assets/tab_right_checked.png");
border-image-slice: 4 8 6 0; }
notebook > header.right > tabs > tab:checked {
margin-left: -2px;
border-image: url("assets/tab_right.png");
border-image-slice: 4 8 6 0; }
/* Left side tabs */
notebook > header.left > tabs > tab {
border-width: 4px 0 6px 8px;
border-image: url("assets/tab_left_checked.png");
border-image-slice: 4 0 6 8; }
notebook > header.left > tabs > tab:checked {
margin-right: -1px;
border-image: url("assets/tab_left.png");
border-image-slice: 4 0 6 8; }