File: pydata_sphinx_theme.css

package info (click to toggle)
sphinx-needs 5.1.0%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 11,924 kB
  • sloc: python: 21,132; javascript: 187; makefile: 89; sh: 29; xml: 10
file content (109 lines) | stat: -rw-r--r-- 3,069 bytes parent folder | download
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
/* Styling for the https://pydata-sphinx-theme.readthedocs.io theme */

/* doc config start */
body {
    --sn-color-datatable-label: var(--pst-color-text-muted);
    --sn-color-datatable-btn-border: var(--pst-color-text-muted);
}

html[data-theme="light"] {
    --sn-color-bg-gray: #eee;
    --sn-color-bg-lightgray: rgba(0, 0, 0, 0.004);
    --sn-color-bg-green: #05c46b;
    --sn-color-bg-red: #ff3f34;
    --sn-color-bg-yellow: #ffc048;
    --sn-color-bg-blue: #0fbcf9;

    --sn-color-border-lightgray: rgba(0, 0, 0, 0.05);
    --sn-color-border-green: #05c46b;
    --sn-color-border-red: #ff3f34;
    --sn-color-border-yellow: #ffc048;
    --sn-color-border-blue: #0fbcf9;

    --sn-color-bar-green: #05c46b;
    --sn-color-bar-red: #ff3f34;
    --sn-color-bar-yellow: #ffc048;
    --sn-color-bar-orange: #e67e22;
    --sn-color-bar-blue: #0fbcf9;

    --sn-color-need-border: #555;
    --sn-color-need-row-border: hsla(232, 75%, 95%, 0.12);
    --sn-color-need-bg: #eee;
    --sn-color-need-bg-head: rgba(0, 0, 0, 0.1);

    --sn-color-complete-bg-head: rgba(0, 0, 0, 0.1);
    --sn-color-complete-bg-foot: rgba(0, 0, 0, 0.1);

    --sn-color-datatable-body-bg: transparent;

    --sn-color-debug-btn-border: #333;
    --sn-color-debug-btn-on-text: #f43333;
    --sn-color-debug-btn-off-text: #096285;

    --sn-color-forbidden-dead-link: #dc3545;
}

html[data-theme="dark"] {
    --sn-color-bg-gray: #333;
    --sn-color-bg-lightgray: rgba(255, 255, 255, 0.1);
    --sn-color-bg-green: #04723c;
    --sn-color-bg-red: #81201b;
    --sn-color-bg-yellow: #a97c32;
    --sn-color-bg-blue: #096285;

    --sn-color-border-lightgray: rgba(255, 255, 255, 0.2);
    --sn-color-border-green: #04723c;
    --sn-color-border-red: #81201b;
    --sn-color-border-yellow: #a97c32;
    --sn-color-border-blue: #096285;

    --sn-color-bar-green: #05c46b;
    --sn-color-bar-red: #ff3f34;
    --sn-color-bar-yellow: #ffc048;
    --sn-color-bar-orange: #e67e22;
    --sn-color-bar-blue: #0fbcf9;

    --sn-color-need-border: #888;
    --sn-color-need-row-border: hsla(232, 75%, 95%, 0.12);
    --sn-color-need-bg: #333;
    --sn-color-need-bg-head: rgba(0, 0, 0, 0.1);

    --sn-color-complete-bg-head: rgba(0, 0, 0, 0.1);
    --sn-color-complete-bg-foot: rgba(0, 0, 0, 0.1);

    --sn-color-datatable-body-bg: transparent;

    --sn-color-debug-btn-border: #888;
    --sn-color-debug-btn-on-text: #ff3f34;
    --sn-color-debug-btn-off-text: #0fbcf9;

    --sn-color-forbidden-dead-link: #dc3545;
}

/* override */
table.need.need.need> :not(caption)>*>* {
    color: var(--pst-color-text-base)
}
/* doc config end */

html[data-theme="light"] {
    --sn-architecture-bg: url(../architecture_bg-light.png);
}

html[data-theme="dark"] {
    --sn-architecture-bg: url(../architecture_bg-dark.png);
}

/** styling for the flowchart diagram on the landing page **/
svg.sn-flow-chart path.text {
    fill: var(--pst-color-text-base);
}

svg.sn-flow-chart rect.box {
    stroke: var(--pst-color-text-muted);
}

svg.sn-flow-chart path.arrow {
    fill: var(--pst-color-text-base);
}