Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/phabricator
Path: blob/master/webroot/rsrc/css/diviner/diviner-shared.css
12241 views
1
/**
2
* @provides diviner-shared-css
3
*/
4
5
.diviner-monospace {
6
font-family: monospace;
7
font-size: 13px;
8
}
9
10
.diviner-table-view {
11
margin: 0 0 24px;
12
}
13
14
.device-phone .diviner-table-view {
15
margin: 0 8px 16px;
16
}
17
18
.diviner-table-header {
19
padding: 4px 16px;
20
background-color: {$greybackground};
21
border-left: 1px solid {$lightblueborder};
22
border-right: 1px solid {$lightblueborder};
23
border-top: 1px solid {$lightblueborder};
24
display: inline-block;
25
border-top-left-radius: 3px;
26
border-top-right-radius: 3px;
27
font-weight: bold;
28
color: {$bluetext};
29
}
30
31
.diviner-return-table-view,
32
.diviner-parameter-table-view {
33
width: 100%;
34
background: {$lightgreybackground};
35
border: 1px solid {$lightblueborder};
36
}
37
38
.diviner-return-table-type,
39
.diviner-parameter-table-type {
40
padding: 6px 8px 6px 12px;
41
white-space: nowrap;
42
text-align: right;
43
color: {$bluetext};
44
width: 20%;
45
}
46
47
.diviner-parameter-table-name {
48
padding: 6px 8px;
49
white-space: nowrap;
50
font-weight: bold;
51
}
52
53
.diviner-return-table-docs,
54
.diviner-parameter-table-docs {
55
padding: 6px 12px 6px 8px;
56
width: 80%;
57
background-color: #fff;
58
}
59
60
.diviner-document-section {
61
padding: 0 0 16px 0;
62
}
63
64
.device-phone .diviner-document-section {
65
padding: 0 8px 16px 0;
66
}
67
68
.phui-header-shell.diviner-section-header .phui-header-header {
69
color: {$blacktext};
70
font-size: 20px;
71
}
72
73
body .diviner-view .diviner-document-section
74
.phui-header-shell.diviner-section-header {
75
padding: 0 24px 8px 0;
76
border-bottom: 1px solid {$thinblueborder};
77
margin: 32px 0 16px;
78
}
79
80
body .diviner-document-section .phui-header-shell.phui-bleed-header {
81
padding: 16px 0 0 0;
82
border-bottom: none;
83
}
84
85
body .diviner-view .diviner-section-content .phui-header-shell {
86
margin: 24px 0 8px;
87
padding: 0;
88
border: none;
89
}
90
91
.diviner-message-not-documented {
92
color: {$lightgreytext};
93
font-style: italic;
94
margin: 12px 0 32px;
95
font-size: {$biggerfontsize};
96
}
97
98
.diviner-document-section .diviner-message-not-documented {
99
margin-left: 0;
100
margin-right: 0;
101
}
102
103
.phui-document-content .phabricator-remarkup.diviner-remarkup-section {
104
padding: 16px 0 32px 0;
105
}
106
107
.diviner-atom-signature-name {
108
font-weight: bold;
109
color: {$violet};
110
}
111
112
.diviner-atom-signature {
113
font-weight: normal;
114
color: #000;
115
}
116
117
.phui-header-view .phui-header-header a.diviner-atom-signature-name {
118
color: {$violet};
119
}
120
121
.phui-header-view .phui-header-header a.diviner-atom-signature-name:hover {
122
text-decoration: underline !important;
123
}
124
125
.diviner-list .diviner-atom-signature {
126
margin-left: -16px;
127
}
128
129
.diviner-list a {
130
font-weight: bold;
131
}
132
133
.diviner-method-implementation-header {
134
color: {$greytext};
135
margin-bottom: -8px;
136
}
137
138
.diviner-method-implementation-inherited {
139
color: {$darkgreytext};
140
}
141
142
.diviner-method-implementation-inherited .diviner-method-implementation-header {
143
color: {$lightgreytext};
144
}
145
146
/**
147
* Fix excessive padding between method headers and method documentation for
148
* methods with no inherited context.
149
*/
150
.diviner-document-section .phui-header-shell + .phabricator-remarkup {
151
padding-top: 0;
152
}
153
154
.diviner-list {
155
padding-left: 17px;
156
}
157
158
.diviner-list li {
159
line-height: 20px;
160
padding-bottom: 12px;
161
}
162
163
/* - Book Index ----------------------------------------------------------------
164
165
How big lists of book indexes get displayed
166
167
*/
168
169
.diviner-book-item {
170
display: block;
171
padding: 6px 16px;
172
margin: 4px -16px;
173
}
174
175
a.diviner-book-item:hover {
176
text-decoration: none;
177
}
178
179
.device-desktop .diviner-book-item:hover .diviner-book-item-title {
180
color: {$violet};
181
}
182
183
.diviner-book-item-title {
184
font-weight: bold;
185
font-size: 15px;
186
color: {$darkbluetext};
187
}
188
189
.diviner-book-item-type {
190
color: {$lightgreytext};
191
padding-left: 8px
192
}
193
194
.diviner-book-item-subtitle {
195
display: block;
196
line-height: 20px;
197
color: {$lightgreytext};
198
}
199
200