mirror of
https://github.com/tabler/tabler.git
synced 2025-12-21 17:34:25 +04:00
279 lines
5.9 KiB
CSS
279 lines
5.9 KiB
CSS
/*!
|
|
* Tabler v1.0.0-alpha.11 (https://tabler.io)
|
|
* @version 1.0.0-alpha.11
|
|
* @link https://tabler.io
|
|
* Copyright 2018-2020 The Tabler Authors
|
|
* Copyright 2018-2020 codecalm.net Paweł Kuna
|
|
* Licensed under MIT (https://github.com/tabler/tabler/blob/master/LICENSE)
|
|
*/
|
|
pre.highlight,
|
|
.highlight pre {
|
|
max-height: 30rem;
|
|
margin: 1.5rem 0;
|
|
overflow: auto;
|
|
font-size: 85.7142857%;
|
|
border-radius: 3px; }
|
|
pre.highlight::-webkit-scrollbar,
|
|
.highlight pre::-webkit-scrollbar {
|
|
width: 6px;
|
|
height: 6px;
|
|
-webkit-transition: .3s background;
|
|
transition: .3s background; }
|
|
pre.highlight::-webkit-scrollbar-thumb,
|
|
.highlight pre::-webkit-scrollbar-thumb {
|
|
border-radius: 5px;
|
|
background: #dbdee3; }
|
|
pre.highlight::-webkit-scrollbar-corner,
|
|
.highlight pre::-webkit-scrollbar-corner {
|
|
background: transparent; }
|
|
pre.highlight:hover::-webkit-scrollbar-thumb,
|
|
.highlight pre:hover::-webkit-scrollbar-thumb {
|
|
background: #c6cad0;
|
|
background: #c6cad0; }
|
|
|
|
.highlight {
|
|
margin: 0; }
|
|
.highlight .dl {
|
|
color: #4070a0; }
|
|
.highlight .c {
|
|
color: #727272; }
|
|
.highlight .c1 {
|
|
color: #727272; }
|
|
.highlight .ch {
|
|
font-style: italic;
|
|
color: #60a0b0; }
|
|
.highlight .cm {
|
|
color: #727272; }
|
|
.highlight .cp {
|
|
color: #008085; }
|
|
.highlight .cpf {
|
|
color: #007020; }
|
|
.highlight .cs {
|
|
color: #727272; }
|
|
.highlight .gd {
|
|
background-color: #fcc;
|
|
border: 1px solid #c00; }
|
|
.highlight .ge {
|
|
font-style: italic; }
|
|
.highlight .gh {
|
|
color: #030; }
|
|
.highlight .gi {
|
|
background-color: #cfc;
|
|
border: 1px solid #0c0; }
|
|
.highlight .gl {
|
|
text-decoration: underline; }
|
|
.highlight .go {
|
|
color: #aaa; }
|
|
.highlight .gp {
|
|
color: #009; }
|
|
.highlight .gr {
|
|
color: #f00; }
|
|
.highlight .gs {
|
|
font-weight: 700; }
|
|
.highlight .gt {
|
|
color: #9c6; }
|
|
.highlight .gu {
|
|
color: #030; }
|
|
.highlight .il {
|
|
color: #c24f19; }
|
|
.highlight .k {
|
|
color: #069; }
|
|
.highlight .kc {
|
|
color: #069; }
|
|
.highlight .kd {
|
|
color: #069; }
|
|
.highlight .kn {
|
|
color: #069; }
|
|
.highlight .kp {
|
|
color: #069; }
|
|
.highlight .kr {
|
|
color: #069; }
|
|
.highlight .kt {
|
|
color: #078; }
|
|
.highlight .m {
|
|
color: #c24f19; }
|
|
.highlight .mf {
|
|
color: #c24f19; }
|
|
.highlight .mb {
|
|
color: #40a070; }
|
|
.highlight .mh {
|
|
color: #c24f19; }
|
|
.highlight .mi {
|
|
color: #c24f19; }
|
|
.highlight .mo {
|
|
color: #c24f19; }
|
|
.highlight .na {
|
|
color: #006ee0; }
|
|
.highlight .nb {
|
|
color: #366; }
|
|
.highlight .nc {
|
|
color: #168174; }
|
|
.highlight .nd {
|
|
color: #6b62de; }
|
|
.highlight .ne {
|
|
color: #c00; }
|
|
.highlight .nf {
|
|
color: #b715f4; }
|
|
.highlight .ni {
|
|
color: #727272; }
|
|
.highlight .nl {
|
|
color: #6b62de; }
|
|
.highlight .nn {
|
|
color: #007ca5; }
|
|
.highlight .no {
|
|
color: #360; }
|
|
.highlight .nt {
|
|
color: #2f6f9f; }
|
|
.highlight .nv {
|
|
color: #033; }
|
|
.highlight .o {
|
|
color: #555; }
|
|
.highlight .ow {
|
|
color: #000; }
|
|
.highlight .s {
|
|
color: #d73038; }
|
|
.highlight .s1 {
|
|
color: #c30; }
|
|
.highlight .s2 {
|
|
color: #c30; }
|
|
.highlight .sa {
|
|
color: #4070a0; }
|
|
.highlight .sb {
|
|
color: #c30; }
|
|
.highlight .sc {
|
|
color: #c30; }
|
|
.highlight .sd {
|
|
font-style: italic;
|
|
color: #c30; }
|
|
.highlight .se {
|
|
color: #c30; }
|
|
.highlight .sh {
|
|
color: #c30; }
|
|
.highlight .si {
|
|
color: #a00; }
|
|
.highlight .sr {
|
|
color: #337e7e; }
|
|
.highlight .ss {
|
|
color: #fc3; }
|
|
.highlight .sx {
|
|
color: #c30; }
|
|
.highlight .w {
|
|
color: #bbb; }
|
|
.highlight .language-bash::before, .highlight .language-sh::before {
|
|
color: #009;
|
|
content: "$ ";
|
|
-webkit-user-select: none;
|
|
-moz-user-select: none;
|
|
-ms-user-select: none;
|
|
user-select: none; }
|
|
.highlight .language-bash .m, .highlight .language-sh .m {
|
|
color: inherit; }
|
|
.highlight .language-powershell::before {
|
|
color: #009;
|
|
content: "PM> ";
|
|
-webkit-user-select: none;
|
|
-moz-user-select: none;
|
|
-ms-user-select: none;
|
|
user-select: none; }
|
|
|
|
.example {
|
|
padding: 2rem;
|
|
margin: 2rem 0;
|
|
border: 1px solid #e8e9ea;
|
|
border-radius: 3px 3px 0 0;
|
|
position: relative;
|
|
min-height: 12rem;
|
|
display: flex;
|
|
align-items: center;
|
|
overflow-x: auto; }
|
|
|
|
.example-centered {
|
|
justify-content: center; }
|
|
.example-centered .example-content {
|
|
flex: 0 auto; }
|
|
|
|
.example-content {
|
|
font-size: 0.875rem;
|
|
line-height: 1.4285714;
|
|
color: #232e3c;
|
|
flex: 1;
|
|
max-width: 100%; }
|
|
|
|
.example-bg {
|
|
background: #f4f6fa; }
|
|
|
|
.example-code {
|
|
margin: 2rem 0;
|
|
border: 1px solid #e8e9ea;
|
|
border-top: none; }
|
|
.example-code pre {
|
|
margin: 0;
|
|
border-radius: 0 0 3px 3px; }
|
|
.example + .example-code {
|
|
margin-top: -2rem; }
|
|
|
|
.example-column {
|
|
margin: 0 auto; }
|
|
.example-column > .card:last-of-type {
|
|
margin-bottom: 0; }
|
|
|
|
.example-column-1 {
|
|
max-width: 26rem; }
|
|
|
|
.example-column-2 {
|
|
max-width: 52rem; }
|
|
|
|
.example-modal-backdrop {
|
|
background: #232e3c;
|
|
opacity: 0.24;
|
|
position: absolute;
|
|
width: 100%;
|
|
left: 0;
|
|
top: 0;
|
|
height: 100%;
|
|
border-radius: 2px 2px 0 0; }
|
|
|
|
@media not print {
|
|
.theme-dark .example-code {
|
|
border: 1px solid #e8e9ea;
|
|
border-top: none; } }
|
|
|
|
@media not print and (prefers-color-scheme: dark) {
|
|
.theme-dark-auto .example-code {
|
|
border: 1px solid #e8e9ea;
|
|
border-top: none; } }
|
|
|
|
.card-sponsor {
|
|
background: #dbe7f6 no-repeat center/100% 100%;
|
|
border-color: #548ed2;
|
|
min-height: 316px; }
|
|
|
|
body.no-transitions * {
|
|
transition: none !important; }
|
|
|
|
.dropdown-menu-demo {
|
|
display: inline-block;
|
|
width: 100%;
|
|
position: relative;
|
|
top: 0;
|
|
margin-bottom: 1rem; }
|
|
|
|
.demo-icon-preview {
|
|
position: -webkit-sticky;
|
|
position: sticky;
|
|
top: 0; }
|
|
.demo-icon-preview svg {
|
|
width: 100%;
|
|
height: auto;
|
|
stroke-width: 1.5;
|
|
max-width: 15rem;
|
|
margin: 0 auto;
|
|
display: block; }
|
|
|
|
.demo-dividers > p {
|
|
opacity: .2;
|
|
-webkit-user-select: none;
|
|
-moz-user-select: none;
|
|
-ms-user-select: none;
|
|
user-select: none; }
|