summary refs log tree commit diff
path: root/.config/treestyletab.css
blob: 8e62f48eaf5200cfc14ed944e76ac3fabd43f2d7 (plain) (blame)
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
/* Show title of unread tabs with red and italic font */
:root.sidebar tab-item.unread .label-content {
  font-style: italic !important;
}

/* Less visible tab dividers. 
   A black border with a very low alpha slightly darkens any color. */
tab-item {
  border: solid 1px #0000008e; 
}

/* Change styling of pending (unloaded) tabs */
tab-item.discarded {
  opacity: 0.5;
}

tab-item.discarded .label-content {
  opacity: 0.5;
}

:root.right tab-item tab-twisty {
  order: -1;
}
:root.right tab-item tab-closebox {
  order: 10000;
}

/* "#tabbar" is required for TST 3.4.0 and later! */
#tabbar tab-item:not(:hover) tab-closebox {
  display: none;
}

/* As little space before the tab name as possible.
   The fold/unfold icon is not affected. */
tab-item:not(.pinned) {
  padding-left: 6px !important;
}
tab-item:not(.pinned) .label-content {
  padding-left: 2px;
}

tab-item tab-twisty {
  margin-right: -1em;
  opacity: 0 !important;
  position: relative;
  z-index: 10000;
}

:root[theme="photon"], #background {
  background-color: #2a2a2e;
}