|
| 1 | +/* ------------------------------------------------------------------------- */ |
| 2 | +/* SIDEBAR ADJUSTMENTS */ |
| 3 | +/* ------------------------------------------------------------------------- */ |
| 4 | + |
| 5 | +.wy-nav-side { |
| 6 | + background: #F4F6F9; |
| 7 | + border-right: 1px solid #D8DDE6; |
| 8 | + box-shadow: inset 0 2px 2px #D8DDE6; |
| 9 | + /* width: 260px; matches ContraxSuite*/ |
| 10 | +} |
| 11 | + |
| 12 | +.wy-nav-content-wrap { |
| 13 | + /* background: #FFF; */ |
| 14 | + background: #F4F6F9; |
| 15 | +} |
| 16 | + |
| 17 | +.wy-nav-content { |
| 18 | + background: #FFF; |
| 19 | + border-right: 1px solid #D8DDE6; |
| 20 | + box-shadow: 0px 0px 2px #D8DDE6; |
| 21 | +} |
| 22 | + |
| 23 | +.wy-menu-vertical header, |
| 24 | +.wy-menu-vertical p.caption { |
| 25 | + color: #1589EE; |
| 26 | +} |
| 27 | + |
| 28 | +.wy-nav-top { |
| 29 | + background: #1589EE; |
| 30 | + color: #fff; |
| 31 | +} |
| 32 | + |
| 33 | +.wy-menu-vertical li.current>a, |
| 34 | +.wy-menu-vertical li.on a { |
| 35 | + color: #334c70; |
| 36 | +} |
| 37 | + |
| 38 | +/* ------------------------------------------------------------------------- */ |
| 39 | +/* TYPEFACE ADJUSTMENTS */ |
| 40 | +/* ------------------------------------------------------------------------- */ |
| 41 | + |
| 42 | +body, h1, h2, h3, h4, h5, h6 { |
| 43 | + font-family: "Source Sans Pro", Arial, Helvetica, sans-serif; |
| 44 | +} |
| 45 | + |
| 46 | +p.caption { |
| 47 | + letter-spacing: 0.07em; |
| 48 | +} |
| 49 | + |
| 50 | +a { |
| 51 | + color: #1688EE; |
| 52 | +} |
| 53 | + |
| 54 | +/* ------------------------------------------------------------------------- */ |
| 55 | +/* PREVIOUS, NEXT BUTTONS */ |
| 56 | +/* ------------------------------------------------------------------------- */ |
| 57 | + |
| 58 | +/* button shape */ |
| 59 | +.btn { |
| 60 | + display: flex; |
| 61 | + justify-content: center; |
| 62 | + margin-top: 20px; |
| 63 | + height: 30px; |
| 64 | + align-items: center; |
| 65 | + line-height: 15px; |
| 66 | + border: none; |
| 67 | + border-radius: 3px; |
| 68 | + padding: 0 15px; |
| 69 | + font-size: 14px; |
| 70 | + box-shadow: none; |
| 71 | +} |
| 72 | + |
| 73 | +/* button coloring */ |
| 74 | +.btn-neutral { |
| 75 | + background-color: #F4F6F9 !important; |
| 76 | + transition-duration: 0.2s; |
| 77 | +} |
| 78 | + |
| 79 | +/* button set blue on hover */ |
| 80 | +.btn:hover { |
| 81 | + background-color: rgba(21, 137, 238, 0.1) !important; |
| 82 | + color: #1589EE !important; |
| 83 | +} |
| 84 | + |
| 85 | +/* button - remove press animation */ |
| 86 | +.btn:active { |
| 87 | + box-shadow: none; |
| 88 | + padding: 0 15px; |
| 89 | +} |
| 90 | + |
| 91 | +/* button - remove FontAwesome arrow icon */ |
| 92 | +.fa-arrow-circle-right:before, .icon-circle-arrow-right:before, |
| 93 | +.fa-arrow-circle-left:before, .icon-circle-arrow-left:before { |
| 94 | + content: ""; |
| 95 | +} |
| 96 | + |
| 97 | +/* ------------------------------------------------------------------------- */ |
| 98 | +/* SEARCH BAR */ |
| 99 | +/* ------------------------------------------------------------------------- */ |
| 100 | + |
| 101 | +.wy-side-nav-search input[type=text] { |
| 102 | + width: 100%; |
| 103 | + background-color: #FFF; |
| 104 | + padding: 7px 15px; |
| 105 | + border-radius: 3px; |
| 106 | + box-shadow: none; |
| 107 | + font-size: 14px; |
| 108 | + height: 30px; |
| 109 | + justify-content: space-between; |
| 110 | + align-items: center; |
| 111 | + line-height: 18px; |
| 112 | + border-color: #6DB5F4; |
| 113 | +} |
| 114 | + |
| 115 | +.wy-menu-vertical a { |
| 116 | + color: #16325C; |
| 117 | +} |
| 118 | + |
| 119 | +.wy-menu-vertical a:hover { |
| 120 | + background-color: #6DB5F4; |
| 121 | + color: #FFF; |
| 122 | + cursor: pointer; |
| 123 | +} |
| 124 | + |
| 125 | +.wy-menu-vertical li.toctree-l1.current>a { |
| 126 | + box-shadow: inset 0 0 2px #D8DDE6; |
| 127 | + background: #FFF; |
| 128 | +} |
| 129 | + |
| 130 | +/* ------------------------------------------------------------------------- */ |
| 131 | +/* ADMONITIONS */ |
| 132 | + |
| 133 | +/* These are incomplete. warning, caution, important, tip, |
| 134 | +and the generic admonition all require color adjustments. */ |
| 135 | +/* ------------------------------------------------------------------------- */ |
| 136 | + |
| 137 | +.rst-content .danger .admonition-title { |
| 138 | + background-color: rgba(255, 0, 0, 0.55); |
| 139 | +} |
| 140 | + |
| 141 | +.rst-content .error .admonition-title { |
| 142 | + background-color: rgba(255, 0, 0, 0.55); |
| 143 | +} |
| 144 | + |
| 145 | +.rst-content .note .admonition-title { |
| 146 | + background-color: #1589EE; |
| 147 | +} |
| 148 | + |
| 149 | +/* ------------------------------------------------------------------------- */ |
| 150 | +/* AUTODOC ELEMENTS */ |
| 151 | +/* ------------------------------------------------------------------------- */ |
| 152 | + |
| 153 | +/* class block */ |
| 154 | +dl.class { |
| 155 | + border: 1px solid #D8DDE6; |
| 156 | + border-radius: 3px; |
| 157 | + box-shadow: 0 1px 4px 0 rgba(0,0,0,0.05); |
| 158 | + padding: 15px; |
| 159 | +} |
| 160 | + |
| 161 | +/* class header */ |
| 162 | +html.writer-html4 .rst-content dl:not(.docutils) > dt, |
| 163 | +html.writer-html5 .rst-content dl[class]:not(.option-list):not(.field-list):not(.footnote):not(.glossary):not(.simple) > dt { |
| 164 | + width: 100%; |
| 165 | + background: #FFF; |
| 166 | + border-top: #FFF; |
| 167 | + color: #6DB5F4; |
| 168 | + border-bottom: 1px solid #D8DDE6; |
| 169 | + font-size: 16px; |
| 170 | +} |
| 171 | + |
| 172 | +/* module name, model/function name, function parentheses */ |
| 173 | +code.sig-prename.descclassname, |
| 174 | +code.sig-name.descname, |
| 175 | +span.sig-paren { |
| 176 | + color: #16325C; |
| 177 | + font-family: 'Source Sans Pro'; |
| 178 | +} |
| 179 | + |
| 180 | +/* "class" and class parameters */ |
| 181 | +em.property, |
| 182 | +em.sig-param { |
| 183 | + color: #1589EE; |
| 184 | + font-style: normal; |
| 185 | +} |
| 186 | + |
| 187 | +/* return type hint */ |
| 188 | +html.writer-html4 .rst-content dl:not(.docutils) dl:not(.field-list) > dt, |
| 189 | +html.writer-html5 .rst-content dl[class]:not(.option-list):not(.field-list):not(.footnote):not(.glossary):not(.simple) dl:not(.field-list) > dt { |
| 190 | + color: #16325C; |
| 191 | +} |
| 192 | + |
| 193 | +/* methods, properties, and exceptions */ |
| 194 | +html.writer-html4 .rst-content dl:not(.docutils) dl:not(.field-list) > dt, |
| 195 | +html.writer-html5 .rst-content dl[class]:not(.option-list):not(.field-list):not(.footnote):not(.glossary):not(.simple) dl:not(.field-list) > dt { |
| 196 | + background-color: #F4F6F9; |
| 197 | + border: 1px solid #D8DDE6; |
| 198 | + border-radius: 3px; |
| 199 | + box-shadow: 0 1px 4px 0 rgba(0,0,0,0.05); |
| 200 | + padding: 15px; |
| 201 | +} |
| 202 | + |
| 203 | +/* dividing line between methods and properties */ |
| 204 | +.rst-content dl { |
| 205 | + /*TODO: exempt dl.exception class and only draw this on the last one*/ |
| 206 | + border-bottom: 1px solid #D8DDE6; |
| 207 | +} |
| 208 | + |
| 209 | +td > dl.simple[class]:not(.field-list) { |
| 210 | + border-bottom: none; |
| 211 | +} |
| 212 | + |
| 213 | +/* parameter list positioning */ |
| 214 | +html.writer-html5 .rst-content dl.field-list > dt.field-odd { |
| 215 | + padding-left: 0; |
| 216 | +} |
| 217 | + |
| 218 | +/* "Parameters" */ |
| 219 | +dl > dt.field-odd { |
| 220 | + color: #16325C; |
| 221 | + font-size: 14px; |
| 222 | +} |
| 223 | + |
| 224 | +/* parameter name color */ |
| 225 | +dd > ul.simple > li > p > strong { |
| 226 | + color: #1589EE; |
| 227 | + font-weight: 400; |
| 228 | +} |
| 229 | + |
| 230 | +/* parameter dividers */ |
| 231 | +dl.field-list.simple dd.field-odd > ul.simple > li { |
| 232 | + border-bottom: 1px solid #f1f2f3; |
| 233 | + padding-bottom: 5px; |
| 234 | + margin-bottom: 3px; |
| 235 | +} |
| 236 | + |
| 237 | +/* method docstrings */ |
| 238 | +dl.method > dd { |
| 239 | + margin-left: 15px; |
| 240 | +} |
0 commit comments