summaryrefslogtreecommitdiff
path: root/www/css/filters.svg
blob: e0d7e89ff0d075ec2a7e3f1a975d28e7b9219716 (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
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
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
  "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg xmlns="http://www.w3.org/2000/svg"
     version="1.1"
     baseProfile="full">
  <filter id="night">
    <feColorMatrix values="0.6 0   0   0 0
                               0   0.6 0   0 0
                               0   0   0.7 0 0
                               0   0   0   1 0"/>
    <feColorMatrix type="saturate" values="0.6"/>
  </filter>
    
  <filter id="sp_night">
    <feColorMatrix values="0.9 0    0 0 0
                               0   0.92 0 0 0
                               0   0    1 0 0
                               0   0    0 1 0"/>
    <feComponentTransfer>
         <feFuncR type="linear" intercept="-0.05" slope="1"/>
         <feFuncG type="linear" intercept="-0.05" slope="1"/>
         <feFuncB type="linear" intercept="-0.05" slope="1"/>
    </feComponentTransfer>
  </filter>

  <filter id="sunset">
    <feColorMatrix values="1.1 0    0    0 0
                               0   0.95 0    0 0
                               0   0    0.85 0 0
                               0   0    0    1 0"/>
    <feComponentTransfer>
         <feFuncR type="linear" intercept="0.1" slope="1"/>
         <feFuncG type="linear" intercept="0.1" slope="1"/>
         <feFuncB type="linear" intercept="0.1" slope="1"/>
    </feComponentTransfer>
  </filter>

  <filter id="sp_sunset">
    <feColorMatrix values="1.02 0    0   0 0
                               0    0.95 0   0 0
                               0    0    0.9 0 0
                               0    0    0   1 0"/>
    <feComponentTransfer>
         <feFuncR type="linear" intercept="0.05" slope="1"/>
         <feFuncG type="linear" intercept="0.05" slope="1"/>
         <feFuncB type="linear" intercept="0.05" slope="1"/>
    </feComponentTransfer>
  </filter>

  <filter id="past">
    <feColorMatrix type="saturate" values="0.15"/>
    <feColorMatrix values="1.0  0    0    0 0
                               0    0.94 0    0 0
                               0    0    0.76 0 0
                               0    0    0    1 0"/>
  </filter>

  <filter id="rain">
    <feColorMatrix type="saturate" values="0.4"/>
    <feColorMatrix values="0.95 0    0 0 0
                               0    0.95 0 0 0
                               0    0    1 0 0
                               0    0    0 1 0"/>
    <feComponentTransfer>
         <feFuncR type="linear" intercept="-0.1" slope="1"/>
         <feFuncG type="linear" intercept="-0.1" slope="1"/>
         <feFuncB type="linear" intercept="-0.1" slope="1"/>
    </feComponentTransfer>
  </filter>

  <filter id="sp_rain">
    <feColorMatrix type="saturate" values="0.6"/>
    <feColorMatrix values="0.96 0    0 0 0
                               0    0.96 0 0 0
                               0    0    1 0 0
                               0    0    0 1 0"/>
    <feComponentTransfer>
         <feFuncR type="linear" intercept="-0.05" slope="1"/>
         <feFuncG type="linear" intercept="-0.05" slope="1"/>
         <feFuncB type="linear" intercept="-0.05" slope="1"/>
    </feComponentTransfer>
  </filter>

  <filter id="past_night">
    <feColorMatrix values="0.6 0    0   0 0
                               0   0.6  0   0 0
                               0   0    0.7 0 0
                               0   0    0   1 0"/>
    <feColorMatrix type="saturate" values="0.6"/>
    <feColorMatrix type="saturate" values="0.15"/>
    <feColorMatrix values="1 0    0    0 0
                               0 0.94 0    0 0
                               0 0    0.76 0 0
                               0 0    0    1 0"/>
  </filter>

  <filter id="shadowalpha">
    <feComponentTransfer>
      <feFuncA type="linear" intercept="0.7" slope="0"/>
    </feComponentTransfer>
  </filter>
</svg>