summaryrefslogtreecommitdiff
path: root/demos/gtk-demo/cssview.css
blob: c4fe5eeb5ac66261db9f60a0ba8e5e79a40dfa79 (plain)
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
/* Make the text editor has a nice style */
.view {
  color: #2e3436;
  font-family: Monospace;
  background-color: alpha(white, 0.30);
}

.view:selected {
  color: white;
  background-color: #4a90d9;
}

scrollbar trough,
.scrollbars-junction {
  background-color: alpha(white, 0.80);
}

scrollbar slider {
  border-width: 3px;
  border-style: solid;
  border-radius: 10px;
  border-color: transparent;
  background-clip: padding-box;
  background-color: #999;
}

scrollbar slider:hover {
  background-color: #555;
}

paned separator {
  background-color: alpha(white, 0.80);
  background-image: linear-gradient(transparent, transparent 1px, #999 1px, #999 4px, transparent 4px);
  background-size: 40px auto;
  background-repeat: no-repeat;
  background-position: center;
}

paned separator:hover {
  background-image: linear-gradient(transparent, transparent 1px, #555 1px, #555 4px, transparent 4px);
}