mirror of
https://github.com/tabler/tabler.git
synced 2025-12-26 11:16:12 +04:00
151 lines
3.4 KiB
CSS
151 lines
3.4 KiB
CSS
/*!
|
|
* Tabler v1.0.0-alpha.9 (https://tabler.io)
|
|
* @version 1.0.0-alpha.9
|
|
* @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%;
|
|
background: #232e3c;
|
|
border-radius: 3px;
|
|
color: #ffffff; }
|
|
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: transparent; }
|
|
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: #c4c8cf;
|
|
background: #4f5863; }
|
|
|
|
.highlight .c, .highlight .c1 {
|
|
color: #a0aec0; }
|
|
|
|
.highlight .na, .highlight .nx, .highlight .nl, .language-css .highlight .na, .language-scss .highlight .na {
|
|
color: #ffe484; }
|
|
|
|
.highlight .s, .highlight .dl, .highlight .s1, .highlight .s2, .highlight .mh {
|
|
color: #b5f4a5; }
|
|
|
|
.highlight .mi, .highlight .language-js .nb, .highlight .nc, .highlight .nd, .highlight .nt {
|
|
color: #93ddfd; }
|
|
|
|
.highlight .language-html .nt, .highlight .nb {
|
|
color: #ff8383; }
|
|
|
|
.highlight .k, .highlight .kd, .highlight .nv, .highlight .n {
|
|
color: #d9a9ff; }
|
|
|
|
.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;
|
|
flex: 1;
|
|
max-width: 100%; }
|
|
|
|
.example-bg {
|
|
background: #f1f4f8; }
|
|
|
|
.example-code {
|
|
margin: 2rem 0;
|
|
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: 20rem; }
|
|
|
|
.example-column-2 {
|
|
max-width: 40rem; }
|
|
|
|
.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; }
|
|
|
|
.toc-entry:before {
|
|
content: '- '; }
|
|
|
|
.toc-entry ul {
|
|
list-style: none;
|
|
padding-left: 1rem; }
|
|
|
|
.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; }
|