| 1 |
@import 'theme.css'; |
| 2 |
/*! minified with http://css-minify.online-domain-tools.com/ - all comments |
| 3 |
* must have ! to preserve during minifying with that tool */ |
| 4 |
/*! Fix for read the docs theme: |
| 5 |
* https://rackerlabs.github.io/docs-rackspace/tools/rtd-tables.html |
| 6 |
*/ |
| 7 |
/*! override table width restrictions */ |
| 8 |
@media screen and (min-width: 767px) { |
| 9 |
/*! If we ever publish to read the docs, we need to use !important for |
| 10 |
* these two styles as read the docs itself loads their theme in a way that |
| 11 |
* we can't otherwise override it. |
| 12 |
*/ |
| 13 |
.wy-table-responsive table td { |
| 14 |
white-space: normal; |
| 15 |
} |
| 16 |
.wy-table-responsive { |
| 17 |
overflow: visible; |
| 18 |
} |
| 19 |
} |
| 20 |
/*! |
| 21 |
* We use the class documentation-table for attribute tables where the first |
| 22 |
* column is the name of an attribute and the second column is the description. |
| 23 |
*/ |
| 24 |
/*! These tables look like this: |
| 25 |
* |
| 26 |
* Attribute Name Description |
| 27 |
* -------------- ----------- |
| 28 |
* **NAME** This is a multi-line description |
| 29 |
* str/required that can span multiple lines |
| 30 |
* added in x.y |
| 31 |
* With multiple paragraphs |
| 32 |
* -------------- ----------- |
| 33 |
* |
| 34 |
* **NAME** is given the class .value-name |
| 35 |
* str is given the class .value-type |
| 36 |
* / is given the class .value-separator |
| 37 |
* required is given the class .value-required |
| 38 |
* added in x.y is given the class .value-added-in |
| 39 |
*/ |
| 40 |
/*! The extra .rst-content is so this will override rtd theme */ |
| 41 |
.rst-content table.documentation-table td { |
| 42 |
vertical-align: top; |
| 43 |
} |
| 44 |
table.documentation-table td:first-child { |
| 45 |
white-space: nowrap; |
| 46 |
vertical-align: top; |
| 47 |
} |
| 48 |
table.documentation-table td:first-child p:first-child { |
| 49 |
font-weight: 700; |
| 50 |
display: inline; |
| 51 |
} |
| 52 |
/*! This is now redundant with above position-based styling */ |
| 53 |
/*! |
| 54 |
table.documentation-table .value-name { |
| 55 |
font-weight: bold; |
| 56 |
display: inline; |
| 57 |
} |
| 58 |
*/ |
| 59 |
table.documentation-table .value-type { |
| 60 |
font-size: x-small; |
| 61 |
color: purple; |
| 62 |
display: inline; |
| 63 |
} |
| 64 |
table.documentation-table .value-separator { |
| 65 |
font-size: x-small; |
| 66 |
display: inline; |
| 67 |
} |
| 68 |
table.documentation-table .value-required { |
| 69 |
font-size: x-small; |
| 70 |
color: red; |
| 71 |
display: inline; |
| 72 |
} |
| 73 |
.value-added-in { |
| 74 |
font-size: x-small; |
| 75 |
font-style: italic; |
| 76 |
color: green; |
| 77 |
display: inline; |
| 78 |
} |
| 79 |
/*! Ansible-specific CSS pulled out of rtd theme for 2.9 */ |
| 80 |
.DocSiteProduct-header { |
| 81 |
flex: 1; |
| 82 |
-webkit-flex: 1; |
| 83 |
padding: 10px 20px 20px; |
| 84 |
display: flex; |
| 85 |
display: -webkit-flex; |
| 86 |
flex-direction: column; |
| 87 |
-webkit-flex-direction: column; |
| 88 |
align-items: center; |
| 89 |
-webkit-align-items: center; |
| 90 |
justify-content: flex-start; |
| 91 |
-webkit-justify-content: flex-start; |
| 92 |
margin-left: 20px; |
| 93 |
margin-right: 20px; |
| 94 |
text-decoration: none; |
| 95 |
font-weight: 400; |
| 96 |
font-family: "Open Sans", sans-serif; |
| 97 |
} |
| 98 |
.DocSiteProduct-header:active, |
| 99 |
.DocSiteProduct-header:focus, |
| 100 |
.DocSiteProduct-header:visited { |
| 101 |
color: #fff; |
| 102 |
} |
| 103 |
.DocSiteProduct-header--core { |
| 104 |
font-size: 25px; |
| 105 |
background-color: #5bbdbf; |
| 106 |
border: 2px solid #5bbdbf; |
| 107 |
border-top-left-radius: 4px; |
| 108 |
border-top-right-radius: 4px; |
| 109 |
color: #fff; |
| 110 |
padding-left: 2px; |
| 111 |
margin-left: 2px; |
| 112 |
} |
| 113 |
.DocSiteProduct-headerAlign { |
| 114 |
width: 100%; |
| 115 |
} |
| 116 |
.DocSiteProduct-logo { |
| 117 |
width: 60px; |
| 118 |
height: 60px; |
| 119 |
margin-bottom: -9px; |
| 120 |
} |
| 121 |
.DocSiteProduct-logoText { |
| 122 |
margin-top: 6px; |
| 123 |
font-size: 25px; |
| 124 |
text-align: left; |
| 125 |
} |
| 126 |
.DocSiteProduct-CheckVersionPara { |
| 127 |
margin-left: 2px; |
| 128 |
padding-bottom: 4px; |
| 129 |
margin-right: 2px; |
| 130 |
margin-bottom: 10px; |
| 131 |
} |
| 132 |
/*! Ansible color scheme */ |
| 133 |
.wy-nav-top, |
| 134 |
.wy-side-nav-search { |
| 135 |
background-color: #5bbdbf; |
| 136 |
} |
| 137 |
.wy-menu-vertical header, |
| 138 |
.wy-menu-vertical p.caption { |
| 139 |
color: #5bbdbf; |
| 140 |
} |
| 141 |
.wy-menu-vertical a { |
| 142 |
padding: 0; |
| 143 |
} |
| 144 |
.wy-menu-vertical a.reference.internal { |
| 145 |
padding: 0.4045em 1.618em; |
| 146 |
} |
| 147 |
/* Fix truncation when extranav is hidden */ |
| 148 |
.wy-menu-vertical:not(:has(.sideBanner)) { |
| 149 |
padding-bottom: 2rem; |
| 150 |
} |
| 151 |
/*! Override sphinx rtd theme max-with of 800px */ |
| 152 |
.wy-nav-content { |
| 153 |
max-width: 100%; |
| 154 |
} |
| 155 |
/*! |
| 156 |
* Override sphinx_rtd_theme - keeps left-nav from overwriting |
| 157 |
* Documentation title |
| 158 |
**/ |
| 159 |
.wy-nav-side { |
| 160 |
top: 45px; |
| 161 |
} |
| 162 |
/*! |
| 163 |
* Ansible - changed absolute to relative to remove extraneous side scroll bar |
| 164 |
**/ |
| 165 |
.wy-grid-for-nav { |
| 166 |
position: relative; |
| 167 |
} |
| 168 |
/*! Ansible narrow the search box */ |
| 169 |
.wy-side-nav-search input[type="text"] { |
| 170 |
width: 90%; |
| 171 |
padding-left: 24px; |
| 172 |
} |
| 173 |
/*! Ansible - remove so highlight indenting is correct */ |
| 174 |
.rst-content .highlighted { |
| 175 |
padding: 0; |
| 176 |
} |
| 177 |
.DocSiteBanner { |
| 178 |
display: flex; |
| 179 |
display: -webkit-flex; |
| 180 |
justify-content: center; |
| 181 |
-webkit-justify-content: center; |
| 182 |
flex-wrap: wrap; |
| 183 |
-webkit-flex-wrap: wrap; |
| 184 |
margin-bottom: 25px; |
| 185 |
} |
| 186 |
.DocSiteBanner-imgWrapper { |
| 187 |
max-width: 100%; |
| 188 |
} |
| 189 |
td, |
| 190 |
th { |
| 191 |
min-width: 100px; |
| 192 |
} |
| 193 |
table { |
| 194 |
overflow-x: auto; |
| 195 |
max-width: 100%; |
| 196 |
} |
| 197 |
.documentation-table td, |
| 198 |
.documentation-table th { |
| 199 |
padding: 4px; |
| 200 |
border-left: 1px solid #000; |
| 201 |
border-top: 1px solid #000; |
| 202 |
} |
| 203 |
.documentation-table { |
| 204 |
border-right: 1px solid #000; |
| 205 |
border-bottom: 1px solid #000; |
| 206 |
} |
| 207 |
@media print { |
| 208 |
* { |
| 209 |
background: 0 0 !important; |
| 210 |
color: #000 !important; |
| 211 |
text-shadow: none !important; |
| 212 |
filter: none !important; |
| 213 |
-ms-filter: none !important; |
| 214 |
} |
| 215 |
#nav, |
| 216 |
a, |
| 217 |
a:visited { |
| 218 |
text-decoration: underline; |
| 219 |
} |
| 220 |
a[href]:after { |
| 221 |
content: " (" attr(href) ")"; |
| 222 |
} |
| 223 |
abbr[title]:after { |
| 224 |
content: " (" attr(title) ")"; |
| 225 |
} |
| 226 |
.ir a:after, |
| 227 |
a[href^="javascript:"]:after, |
| 228 |
a[href^="#"]:after { |
| 229 |
content: ""; |
| 230 |
} |
| 231 |
/*! Don't show links for images, or javascript/internal links */ |
| 232 |
pre, |
| 233 |
blockquote { |
| 234 |
border: 0 solid #999; |
| 235 |
page-break-inside: avoid; |
| 236 |
} |
| 237 |
thead { |
| 238 |
display: table-header-group; |
| 239 |
} |
| 240 |
/*! h5bp.com/t */ |
| 241 |
tr, |
| 242 |
img { |
| 243 |
page-break-inside: avoid; |
| 244 |
} |
| 245 |
img { |
| 246 |
max-width: 100% !important; |
| 247 |
} |
| 248 |
@page { |
| 249 |
margin: 0.5cm; |
| 250 |
} |
| 251 |
h2, |
| 252 |
h3, |
| 253 |
p { |
| 254 |
orphans: 3; |
| 255 |
widows: 3; |
| 256 |
} |
| 257 |
h2, |
| 258 |
h3 { |
| 259 |
page-break-after: avoid; |
| 260 |
} |
| 261 |
#google_image_div, |
| 262 |
.DocSiteBanner { |
| 263 |
display: none !important; |
| 264 |
} |
| 265 |
} |
| 266 |
#sideBanner, |
| 267 |
.DocSite-globalNav { |
| 268 |
display: none; |
| 269 |
} |
| 270 |
.DocSite-sideNav { |
| 271 |
display: block; |
| 272 |
margin-bottom: 40px; |
| 273 |
} |
| 274 |
.DocSite-nav { |
| 275 |
display: none; |
| 276 |
} |
| 277 |
.ansibleNav { |
| 278 |
background: #000; |
| 279 |
padding: 0 20px; |
| 280 |
width: auto; |
| 281 |
border-bottom: 1px solid #444; |
| 282 |
font-size: 14px; |
| 283 |
z-index: 1; |
| 284 |
} |
| 285 |
.ansibleNav ul { |
| 286 |
list-style: none; |
| 287 |
padding-left: 0; |
| 288 |
margin-top: 0; |
| 289 |
} |
| 290 |
.ansibleNav ul li { |
| 291 |
padding: 7px 0; |
| 292 |
border-bottom: 1px solid #444; |
| 293 |
} |
| 294 |
.ansibleNav ul li:last-child { |
| 295 |
border: none; |
| 296 |
} |
| 297 |
.ansibleNav ul li a { |
| 298 |
color: #fff; |
| 299 |
text-decoration: none; |
| 300 |
text-transform: uppercase; |
| 301 |
padding: 6px 0; |
| 302 |
} |
| 303 |
.ansibleNav ul li a:hover { |
| 304 |
color: #5bbdbf; |
| 305 |
background: 0 0; |
| 306 |
} |
| 307 |
h4 { |
| 308 |
font-size: 105%; |
| 309 |
} |
| 310 |
h5 { |
| 311 |
font-size: 90%; |
| 312 |
} |
| 313 |
h6 { |
| 314 |
font-size: 80%; |
| 315 |
} |
| 316 |
@media screen and (min-width: 768px) { |
| 317 |
.DocSite-globalNav { |
| 318 |
display: block; |
| 319 |
position: fixed; |
| 320 |
} |
| 321 |
#sideBanner { |
| 322 |
display: block; |
| 323 |
} |
| 324 |
.DocSite-sideNav { |
| 325 |
display: none; |
| 326 |
} |
| 327 |
.DocSite-nav { |
| 328 |
flex: initial; |
| 329 |
-webkit-flex: initial; |
| 330 |
display: flex; |
| 331 |
display: -webkit-flex; |
| 332 |
flex-direction: row; |
| 333 |
-webkit-flex-direction: row; |
| 334 |
justify-content: flex-start; |
| 335 |
-webkit-justify-content: flex-start; |
| 336 |
padding: 15px; |
| 337 |
background-color: #000; |
| 338 |
text-decoration: none; |
| 339 |
font-family: "Open Sans", sans-serif; |
| 340 |
} |
| 341 |
.DocSiteNav-logo { |
| 342 |
width: 28px; |
| 343 |
height: 28px; |
| 344 |
margin-right: 8px; |
| 345 |
margin-top: -6px; |
| 346 |
position: fixed; |
| 347 |
z-index: 1; |
| 348 |
} |
| 349 |
.DocSiteNav-title { |
| 350 |
color: #fff; |
| 351 |
font-size: 20px; |
| 352 |
position: fixed; |
| 353 |
margin-left: 40px; |
| 354 |
margin-top: -4px; |
| 355 |
z-index: 1; |
| 356 |
} |
| 357 |
.ansibleNav { |
| 358 |
height: 45px; |
| 359 |
width: 100%; |
| 360 |
font-size: 13px; |
| 361 |
padding: 0 60px 0 0; |
| 362 |
} |
| 363 |
.ansibleNav ul { |
| 364 |
float: right; |
| 365 |
display: flex; |
| 366 |
flex-wrap: nowrap; |
| 367 |
margin-top: 13px; |
| 368 |
} |
| 369 |
.ansibleNav ul li { |
| 370 |
padding: 0; |
| 371 |
border-bottom: none; |
| 372 |
} |
| 373 |
.ansibleNav ul li a { |
| 374 |
color: #fff; |
| 375 |
text-decoration: none; |
| 376 |
text-transform: uppercase; |
| 377 |
padding: 8px 13px; |
| 378 |
} |
| 379 |
h4 { |
| 380 |
font-size: 105%; |
| 381 |
} |
| 382 |
h5 { |
| 383 |
font-size: 90%; |
| 384 |
} |
| 385 |
h6 { |
| 386 |
font-size: 80%; |
| 387 |
} |
| 388 |
} |
| 389 |
@media screen and (min-width: 768px) { |
| 390 |
#sideBanner, |
| 391 |
.DocSite-globalNav { |
| 392 |
display: block; |
| 393 |
} |
| 394 |
.DocSite-sideNav { |
| 395 |
display: none; |
| 396 |
} |
| 397 |
.DocSite-nav { |
| 398 |
flex: initial; |
| 399 |
-webkit-flex: initial; |
| 400 |
display: flex; |
| 401 |
display: -webkit-flex; |
| 402 |
flex-direction: row; |
| 403 |
-webkit-flex-direction: row; |
| 404 |
justify-content: flex-start; |
| 405 |
-webkit-justify-content: flex-start; |
| 406 |
padding: 15px; |
| 407 |
background-color: #000; |
| 408 |
text-decoration: none; |
| 409 |
font-family: "Open Sans", sans-serif; |
| 410 |
} |
| 411 |
.DocSiteNav-logo { |
| 412 |
width: 28px; |
| 413 |
height: 28px; |
| 414 |
margin-right: 8px; |
| 415 |
margin-top: -6px; |
| 416 |
position: fixed; |
| 417 |
} |
| 418 |
.DocSiteNav-title { |
| 419 |
color: #fff; |
| 420 |
font-size: 20px; |
| 421 |
position: fixed; |
| 422 |
margin-left: 40px; |
| 423 |
margin-top: -4px; |
| 424 |
} |
| 425 |
.ansibleNav { |
| 426 |
height: 45px; |
| 427 |
font-size: 13px; |
| 428 |
padding: 0 60px 0 0; |
| 429 |
} |
| 430 |
.ansibleNav ul { |
| 431 |
float: right; |
| 432 |
display: flex; |
| 433 |
flex-wrap: nowrap; |
| 434 |
margin-top: 13px; |
| 435 |
} |
| 436 |
.ansibleNav ul li { |
| 437 |
padding: 0; |
| 438 |
border-bottom: none; |
| 439 |
} |
| 440 |
.ansibleNav ul li a { |
| 441 |
color: #fff; |
| 442 |
text-decoration: none; |
| 443 |
text-transform: uppercase; |
| 444 |
padding: 8px 13px; |
| 445 |
} |
| 446 |
h4 { |
| 447 |
font-size: 105%; |
| 448 |
} |
| 449 |
h5 { |
| 450 |
font-size: 90%; |
| 451 |
} |
| 452 |
h6 { |
| 453 |
font-size: 80%; |
| 454 |
} |
| 455 |
} |
| 456 |
/* ansibleOptionLink is adapted from h1 .headerlink in sphinx_rtd_theme */ |
| 457 |
/* This definition lives in the antsibull Sphinx extension; we update it here to use the icon from FontAwesome */ |
| 458 |
/* https://github.com/ansible-community/antsibull-docs/blob/main/src/sphinx_antsibull_ext/css/antsibull-minimal.scss */ |
| 459 |
tr .ansibleOptionLink::after { |
| 460 |
content: "" !important; |
| 461 |
font-family: FontAwesome; |
| 462 |
} |
| 463 |
tr .ansibleOptionLink { |
| 464 |
font: normal normal normal 14px/1 FontAwesome; |
| 465 |
text-rendering: auto; |
| 466 |
-webkit-font-smoothing: antialiased; |
| 467 |
-moz-osx-font-smoothing: grayscale; |
| 468 |
} |
| 469 |
|
| 470 |
@media screen and (min-width: 767px) { |
| 471 |
/* Move anchors a bit up so that they aren't hidden by the header bar */ |
| 472 |
section [id] { |
| 473 |
padding-top: 45px; |
| 474 |
margin-top: -45px; |
| 475 |
} |
| 476 |
/* |
| 477 |
* Without this, |
| 478 |
* for example most links in the page's TOC aren't usable anymore, and tables |
| 479 |
* sometimes overlap the text above |
| 480 |
* */ |
| 481 |
section a[id], section table[id] { |
| 482 |
padding-top: 0; |
| 483 |
margin-top: 0; |
| 484 |
} |
| 485 |
} |
| 486 |
|
| 487 |
/* Assure reading examples does not require horizontal scrolling */ |
| 488 |
.rst-content div[class^="highlight"] pre { |
| 489 |
white-space: pre-wrap; |
| 490 |
} |
| 491 |
|
| 492 |
.rst-content dl dt { margin-bottom: 0; } |
| 493 |
|
| 494 |
/*! Make sure that environment variable links are blue */ |
| 495 |
.rst-content code.xref.std-envvar { color: #2980b9; } |