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