File: common.tex

package info (click to toggle)
pg-auto-failover 2.2-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 5,368 kB
  • sloc: ansic: 58,369; python: 5,515; sql: 3,177; makefile: 629; sh: 35
file content (50 lines) | stat: -rw-r--r-- 1,802 bytes parent folder | download | duplicates (3)
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
\definecolor{pbox}{HTML}{0078D4} % MS blue
\definecolor{ptxt}{HTML}{FFFFFF} % white

\definecolor{sbox}{HTML}{50E6FF} % MS cyan
\definecolor{stxt}{HTML}{2F2F2F} % off-black

\definecolor{mbox}{HTML}{9BF00B} % MS light green
\definecolor{mtxt}{HTML}{2F2F2F} % off-black

\definecolor{apbox}{HTML}{0078D4} % MS blue
\definecolor{aptxt}{HTML}{2F2F2F} % off-black

\definecolor{async}{HTML}{EBEFF5} % very light grey

\tikzstyle{app}=[circle,thick,
	text=aptxt,draw=apbox,fill=white,
	line width=0.25em,minimum size=4cm]

\tikzstyle{node}=[rectangle,minimum height=2.5cm,minimum width=4cm]

\tikzstyle{mpnode}=[rectangle split,rectangle split parts=3,
	align=center,
	rectangle split part align={center, center, left},
	minimum height=2.5cm,minimum width=4cm,inner sep=0.5cm]

\tikzstyle{primary}=[mpnode,text=ptxt,draw=white,
  	rectangle split part fill={pbox,pbox,white}]

\tikzstyle{standby}=[mpnode,text=stxt,draw=white,
	rectangle split part fill={sbox,sbox,white}]

\tikzstyle{monitor}=[node,text=mtxt,draw=mbox,fill=mbox]

\tikzstyle{citusnode}=[rectangle split,rectangle split parts=2,
	align=center,
	rectangle split part align={center, center},
	minimum height=2.5cm,minimum width=4cm,inner sep=0.5cm]

\tikzstyle{cprimary}=[citusnode,text=ptxt,draw=white,
  	rectangle split part fill={pbox,pbox,white}]

\tikzstyle{cstandby}=[citusnode,text=stxt,draw=white,
	rectangle split part fill={sbox,sbox,white}]

\tikzstyle{sql}=[->,color=pbox,text=stxt,line width=0.15em]
\tikzstyle{sqlf}=[->,color=sbox,text=stxt,line width=0.15em,loosely dashed]
\tikzstyle{sr}=[>->,color=stxt,text=stxt,line width=0.15em]
\tikzstyle{hc}=[<->,color=mbox,text=mtxt,line width=0.15em,dotted]
\tikzstyle{hcmid}=[color=mbox,text=mtxt,line width=0.15em,dotted]
\tikzstyle{cw}=[<->,color=stxt,text=stxt,line width=0.1em]