|
| 1 | +/*! |
| 2 | +* Tabler v1.0.0-beta5 (https://tabler.io) |
| 3 | +* @version 1.0.0-beta5 |
| 4 | +* @link https://tabler.io |
| 5 | +* Copyright 2018-2022 The Tabler Authors |
| 6 | +* Copyright 2018-2022 codecalm.net Paweł Kuna |
| 7 | +* Licensed under MIT (https://github.com/tabler/tabler/blob/master/LICENSE) |
| 8 | +*/ |
| 9 | +pre.highlight, |
| 10 | +.highlight pre { |
| 11 | + max-height: 30rem; |
| 12 | + margin: 1.5rem 0; |
| 13 | + overflow: auto; |
| 14 | + font-size: 85.7142857%; |
| 15 | + border-radius: 4px; } |
| 16 | + pre.highlight::-webkit-scrollbar, |
| 17 | + .highlight pre::-webkit-scrollbar { |
| 18 | + width: 6px; |
| 19 | + height: 6px; |
| 20 | + -webkit-transition: background 0.3s; |
| 21 | + transition: background 0.3s; } |
| 22 | + @media (prefers-reduced-motion: reduce) { |
| 23 | + pre.highlight::-webkit-scrollbar, |
| 24 | + .highlight pre::-webkit-scrollbar { |
| 25 | + -webkit-transition: none; |
| 26 | + transition: none; } } |
| 27 | + pre.highlight::-webkit-scrollbar-thumb, |
| 28 | + .highlight pre::-webkit-scrollbar-thumb { |
| 29 | + border-radius: 5px; |
| 30 | + background: rgba(var(--tblr-body-color-rgb), 0.16); } |
| 31 | + pre.highlight::-webkit-scrollbar-track, |
| 32 | + .highlight pre::-webkit-scrollbar-track { |
| 33 | + background: rgba(var(--tblr-body-color-rgb), 0.06); } |
| 34 | + pre.highlight:hover::-webkit-scrollbar-thumb, |
| 35 | + .highlight pre:hover::-webkit-scrollbar-thumb { |
| 36 | + background: rgba(var(--tblr-body-color-rgb), 0.32); } |
| 37 | + pre.highlight::-webkit-scrollbar-corner, |
| 38 | + .highlight pre::-webkit-scrollbar-corner { |
| 39 | + background: transparent; } |
| 40 | + |
| 41 | +.highlight { |
| 42 | + margin: 0; } |
| 43 | + .highlight code > * { |
| 44 | + margin: 0 !important; |
| 45 | + padding: 0 !important; } |
| 46 | + .highlight .dl { |
| 47 | + color: #4070a0; } |
| 48 | + .highlight .c { |
| 49 | + color: #727272; } |
| 50 | + .highlight .c1 { |
| 51 | + color: #727272; } |
| 52 | + .highlight .ch { |
| 53 | + font-style: italic; |
| 54 | + color: #60a0b0; } |
| 55 | + .highlight .cm { |
| 56 | + color: #727272; } |
| 57 | + .highlight .cp { |
| 58 | + color: #008085; } |
| 59 | + .highlight .cpf { |
| 60 | + color: #007020; } |
| 61 | + .highlight .cs { |
| 62 | + color: #727272; } |
| 63 | + .highlight .gd { |
| 64 | + background-color: #fcc; |
| 65 | + border: 1px solid #c00; } |
| 66 | + .highlight .ge { |
| 67 | + font-style: italic; } |
| 68 | + .highlight .gh { |
| 69 | + color: #030; } |
| 70 | + .highlight .gi { |
| 71 | + background-color: #cfc; |
| 72 | + border: 1px solid #0c0; } |
| 73 | + .highlight .gl { |
| 74 | + text-decoration: underline; } |
| 75 | + .highlight .go { |
| 76 | + color: #aaa; } |
| 77 | + .highlight .gp { |
| 78 | + color: #009; } |
| 79 | + .highlight .gr { |
| 80 | + color: #f00; } |
| 81 | + .highlight .gs { |
| 82 | + font-weight: 700; } |
| 83 | + .highlight .gt { |
| 84 | + color: #9c6; } |
| 85 | + .highlight .gu { |
| 86 | + color: #030; } |
| 87 | + .highlight .il { |
| 88 | + color: #c24f19; } |
| 89 | + .highlight .k { |
| 90 | + color: #069; } |
| 91 | + .highlight .kc { |
| 92 | + color: #069; } |
| 93 | + .highlight .kd { |
| 94 | + color: #069; } |
| 95 | + .highlight .kn { |
| 96 | + color: #069; } |
| 97 | + .highlight .kp { |
| 98 | + color: #069; } |
| 99 | + .highlight .kr { |
| 100 | + color: #069; } |
| 101 | + .highlight .kt { |
| 102 | + color: #078; } |
| 103 | + .highlight .m { |
| 104 | + color: #c24f19; } |
| 105 | + .highlight .mf { |
| 106 | + color: #c24f19; } |
| 107 | + .highlight .mb { |
| 108 | + color: #40a070; } |
| 109 | + .highlight .mh { |
| 110 | + color: #c24f19; } |
| 111 | + .highlight .mi { |
| 112 | + color: #c24f19; } |
| 113 | + .highlight .mo { |
| 114 | + color: #c24f19; } |
| 115 | + .highlight .na { |
| 116 | + color: #006ee0; } |
| 117 | + .highlight .nb { |
| 118 | + color: #366; } |
| 119 | + .highlight .nc { |
| 120 | + color: #168174; } |
| 121 | + .highlight .nd { |
| 122 | + color: #6b62de; } |
| 123 | + .highlight .ne { |
| 124 | + color: #c00; } |
| 125 | + .highlight .nf { |
| 126 | + color: #b715f4; } |
| 127 | + .highlight .ni { |
| 128 | + color: #727272; } |
| 129 | + .highlight .nl { |
| 130 | + color: #6b62de; } |
| 131 | + .highlight .nn { |
| 132 | + color: #007ca5; } |
| 133 | + .highlight .no { |
| 134 | + color: #360; } |
| 135 | + .highlight .nt { |
| 136 | + color: #2f6f9f; } |
| 137 | + .highlight .nv { |
| 138 | + color: #033; } |
| 139 | + .highlight .o { |
| 140 | + color: #555; } |
| 141 | + .highlight .ow { |
| 142 | + color: #000; } |
| 143 | + .highlight .s { |
| 144 | + color: #d73038; } |
| 145 | + .highlight .s1 { |
| 146 | + color: #c30; } |
| 147 | + .highlight .s2 { |
| 148 | + color: #c30; } |
| 149 | + .highlight .sa { |
| 150 | + color: #4070a0; } |
| 151 | + .highlight .sb { |
| 152 | + color: #c30; } |
| 153 | + .highlight .sc { |
| 154 | + color: #c30; } |
| 155 | + .highlight .sd { |
| 156 | + font-style: italic; |
| 157 | + color: #c30; } |
| 158 | + .highlight .se { |
| 159 | + color: #c30; } |
| 160 | + .highlight .sh { |
| 161 | + color: #c30; } |
| 162 | + .highlight .si { |
| 163 | + color: #a00; } |
| 164 | + .highlight .sr { |
| 165 | + color: #337e7e; } |
| 166 | + .highlight .ss { |
| 167 | + color: #fc3; } |
| 168 | + .highlight .sx { |
| 169 | + color: #c30; } |
| 170 | + .highlight .w { |
| 171 | + color: #bbb; } |
| 172 | + .highlight .language-bash::before, .highlight .language-sh::before { |
| 173 | + color: #009; |
| 174 | + content: "$ "; |
| 175 | + -webkit-user-select: none; |
| 176 | + -moz-user-select: none; |
| 177 | + -ms-user-select: none; |
| 178 | + user-select: none; } |
| 179 | + .highlight .language-bash .m, .highlight .language-sh .m { |
| 180 | + color: inherit; } |
| 181 | + .highlight .language-powershell::before { |
| 182 | + color: #009; |
| 183 | + content: "PM> "; |
| 184 | + -webkit-user-select: none; |
| 185 | + -moz-user-select: none; |
| 186 | + -ms-user-select: none; |
| 187 | + user-select: none; } |
| 188 | + |
| 189 | +.example { |
| 190 | + padding: 2rem; |
| 191 | + margin: 1rem 0 2rem; |
| 192 | + border: 1px solid #e6e7e9; |
| 193 | + border-radius: 3px 3px 0 0; |
| 194 | + position: relative; |
| 195 | + min-height: 12rem; |
| 196 | + display: flex; |
| 197 | + align-items: center; |
| 198 | + overflow-x: auto; } |
| 199 | + |
| 200 | +.example-centered { |
| 201 | + justify-content: center; } |
| 202 | + .example-centered .example-content { |
| 203 | + flex: 0 auto; } |
| 204 | + |
| 205 | +.example-content { |
| 206 | + font-size: 0.875rem; |
| 207 | + line-height: 1.4285714; |
| 208 | + color: #1e293b; |
| 209 | + flex: 1; |
| 210 | + max-width: 100%; } |
| 211 | + .example-content .page-header { |
| 212 | + margin-bottom: 0; } |
| 213 | + |
| 214 | +.example-bg { |
| 215 | + background: #f8fafc; } |
| 216 | + |
| 217 | +.example-code { |
| 218 | + margin: 2rem 0; |
| 219 | + border: 1px solid #e6e7e9; |
| 220 | + border-top: none; } |
| 221 | + .example-code pre { |
| 222 | + margin: 0; |
| 223 | + border: 0; |
| 224 | + border-radius: 0 0 3px 3px; } |
| 225 | + .example + .example-code { |
| 226 | + margin-top: -2rem; } |
| 227 | + |
| 228 | +.example-column { |
| 229 | + margin: 0 auto; } |
| 230 | + .example-column > .card:last-of-type { |
| 231 | + margin-bottom: 0; } |
| 232 | + |
| 233 | +.example-column-1 { |
| 234 | + max-width: 26rem; } |
| 235 | + |
| 236 | +.example-column-2 { |
| 237 | + max-width: 52rem; } |
| 238 | + |
| 239 | +.example-modal-backdrop { |
| 240 | + background: #1e293b; |
| 241 | + opacity: 0.24; |
| 242 | + position: absolute; |
| 243 | + width: 100%; |
| 244 | + left: 0; |
| 245 | + top: 0; |
| 246 | + height: 100%; |
| 247 | + border-radius: 2px 2px 0 0; } |
| 248 | + |
| 249 | +@media not print { |
| 250 | + .theme-dark .example { |
| 251 | + background-color: #1b2434; |
| 252 | + border-color: #2c3c56; } |
| 253 | + .theme-dark .example-content { |
| 254 | + color: #f8fafc; } |
| 255 | + .theme-dark .example-code { |
| 256 | + border-color: #2c3c56; |
| 257 | + border-top: none; } } |
| 258 | + |
| 259 | +.card-sponsor { |
| 260 | + background: #dbe7f6 no-repeat center/100% 100%; |
| 261 | + border-color: #548ed2; |
| 262 | + min-height: 316px; } |
| 263 | + |
| 264 | +body.no-transitions * { |
| 265 | + transition: none !important; } |
| 266 | + |
| 267 | +.dropdown-menu-demo { |
| 268 | + display: inline-block; |
| 269 | + width: 100%; |
| 270 | + position: relative; |
| 271 | + top: 0; |
| 272 | + margin-bottom: 1rem; } |
| 273 | + |
| 274 | +.demo-icon-preview { |
| 275 | + position: -webkit-sticky; |
| 276 | + position: sticky; |
| 277 | + top: 0; } |
| 278 | + .demo-icon-preview svg, |
| 279 | + .demo-icon-preview i { |
| 280 | + width: 15rem; |
| 281 | + height: 15rem; |
| 282 | + font-size: 15rem; |
| 283 | + stroke-width: 1.5; |
| 284 | + margin: 0 auto; |
| 285 | + display: block; } |
| 286 | + @media (max-width: 575.98px) { |
| 287 | + .demo-icon-preview svg, |
| 288 | + .demo-icon-preview i { |
| 289 | + width: 10rem; |
| 290 | + height: 10rem; |
| 291 | + font-size: 10rem; } } |
| 292 | + |
| 293 | +.demo-icon-preview-icon pre { |
| 294 | + margin: 0; |
| 295 | + -webkit-user-select: all; |
| 296 | + -moz-user-select: all; |
| 297 | + user-select: all; } |
| 298 | + |
| 299 | +.demo-dividers > p { |
| 300 | + opacity: .2; |
| 301 | + -webkit-user-select: none; |
| 302 | + -moz-user-select: none; |
| 303 | + -ms-user-select: none; |
| 304 | + user-select: none; } |
| 305 | + |
| 306 | +.demo-icons-list { |
| 307 | + display: flex; |
| 308 | + flex-wrap: wrap; |
| 309 | + padding: 0; |
| 310 | + margin: 0 -2px -1px 0; |
| 311 | + list-style: none; } |
| 312 | + .demo-icons-list > * { |
| 313 | + flex: 1 0 7rem; } |
| 314 | + |
| 315 | +.demo-icons-list-wrap { |
| 316 | + overflow: hidden; } |
| 317 | + |
| 318 | +.demo-icons-list-item { |
| 319 | + display: flex; |
| 320 | + flex-direction: column; |
| 321 | + align-items: center; |
| 322 | + justify-content: center; |
| 323 | + height: 7rem; |
| 324 | + text-align: center; |
| 325 | + padding: .5rem; |
| 326 | + border-right: 1px solid var(--tblr-border-color); |
| 327 | + border-bottom: 1px solid var(--tblr-border-color); |
| 328 | + color: inherit; |
| 329 | + cursor: pointer; } |
| 330 | + .demo-icons-list-item .icon { |
| 331 | + width: 1.5rem; |
| 332 | + height: 1.5rem; |
| 333 | + font-size: 1.5rem; } |
| 334 | + .demo-icons-list-item:hover { |
| 335 | + text-decoration: none; } |
| 336 | + |
| 337 | +.settings-btn { |
| 338 | + position: fixed; |
| 339 | + right: -1px; |
| 340 | + top: 10rem; |
| 341 | + border-top-right-radius: 0; |
| 342 | + border-bottom-right-radius: 0; |
| 343 | + box-shadow: rgba(30, 41, 59, 0.04) 0 2px 4px 0; } |
| 344 | + |
| 345 | +.settings-scheme { |
| 346 | + display: inline-block; |
| 347 | + border-radius: 50%; |
| 348 | + height: 3rem; |
| 349 | + width: 3rem; |
| 350 | + position: relative; |
| 351 | + border: 1px solid var(--tblr-border-color); |
| 352 | + box-shadow: rgba(30, 41, 59, 0.04) 0 2px 4px 0; } |
| 353 | + .settings-scheme-light { |
| 354 | + background: linear-gradient(135deg, #ffffff 50%, #f8fafc 50%); } |
| 355 | + .settings-scheme-mixed { |
| 356 | + background-image: linear-gradient(135deg, #1e293b 50%, #fff 50%); } |
| 357 | + .settings-scheme-transparent { |
| 358 | + background: #f8fafc; } |
| 359 | + .settings-scheme-dark { |
| 360 | + background: #1e293b; } |
| 361 | + .settings-scheme-colored { |
| 362 | + background-image: linear-gradient(135deg, var(--tblr-primary) 50%, #f8fafc 50%); } |
0 commit comments