|
| 1 | +/* |
| 2 | +* demo.css |
| 3 | +* File include item demo only specific css only |
| 4 | +******************************************************************************/ |
| 5 | + |
| 6 | +.menu .app-brand.demo { |
| 7 | + height: 64px; |
| 8 | +} |
| 9 | + |
| 10 | +.dark-style .menu .app-brand.demo { |
| 11 | + height: 64px; |
| 12 | +} |
| 13 | + |
| 14 | +.app-brand-logo.demo svg { |
| 15 | + width: 30px; |
| 16 | + height: 24px; |
| 17 | +} |
| 18 | + |
| 19 | +.app-brand-text.demo { |
| 20 | + font-size: 1.25rem; |
| 21 | +} |
| 22 | + |
| 23 | +/* ! For .layout-navbar-fixed added fix padding top tpo .layout-page */ |
| 24 | +.layout-navbar-fixed .layout-wrapper:not(.layout-without-menu) .layout-page { |
| 25 | + padding-top: 64px !important; |
| 26 | +} |
| 27 | + |
| 28 | +/* Navbar page z-index issue solution */ |
| 29 | +.content-wrapper .navbar { |
| 30 | + z-index: auto; |
| 31 | +} |
| 32 | + |
| 33 | +/* |
| 34 | +* Content |
| 35 | +******************************************************************************/ |
| 36 | + |
| 37 | +.demo-blocks > * { |
| 38 | + display: block !important; |
| 39 | +} |
| 40 | + |
| 41 | +.demo-inline-spacing > * { |
| 42 | + margin: 1rem 0.375rem 0 0 !important; |
| 43 | +} |
| 44 | + |
| 45 | +/* ? .demo-vertical-spacing class is used to have vertical margins between elements. To remove margin-top from the first-child, use .demo-only-element class with .demo-vertical-spacing class. For example, we have used this class in forms-input-groups.html file. */ |
| 46 | +.demo-vertical-spacing > * { |
| 47 | + margin-top: 1.25rem !important; |
| 48 | + margin-bottom: 0 !important; |
| 49 | +} |
| 50 | +.demo-vertical-spacing.demo-only-element > :first-child { |
| 51 | + margin-top: 0 !important; |
| 52 | +} |
| 53 | + |
| 54 | +.demo-vertical-spacing-lg > * { |
| 55 | + margin-top: 1.875rem !important; |
| 56 | + margin-bottom: 0 !important; |
| 57 | +} |
| 58 | +.demo-vertical-spacing-lg.demo-only-element > :first-child { |
| 59 | + margin-top: 0 !important; |
| 60 | +} |
| 61 | + |
| 62 | +.demo-vertical-spacing-xl > * { |
| 63 | + margin-top: 5rem !important; |
| 64 | + margin-bottom: 0 !important; |
| 65 | +} |
| 66 | +.demo-vertical-spacing-xl.demo-only-element > :first-child { |
| 67 | + margin-top: 0 !important; |
| 68 | +} |
| 69 | + |
| 70 | +.rtl-only { |
| 71 | + display: none !important; |
| 72 | + text-align: left !important; |
| 73 | + direction: ltr !important; |
| 74 | +} |
| 75 | + |
| 76 | +[dir='rtl'] .rtl-only { |
| 77 | + display: block !important; |
| 78 | +} |
| 79 | + |
| 80 | +/* Dropdown buttons going out of small screens */ |
| 81 | +@media (max-width: 576px) { |
| 82 | + #dropdown-variation-demo .btn-group .text-truncate { |
| 83 | + width: 300px; |
| 84 | + position: relative; |
| 85 | + } |
| 86 | + #dropdown-variation-demo .btn-group .text-truncate::after { |
| 87 | + position: absolute; |
| 88 | + top: 45%; |
| 89 | + right: 0.65rem; |
| 90 | + } |
| 91 | +} |
| 92 | +/* |
| 93 | +* Layout demo |
| 94 | +******************************************************************************/ |
| 95 | + |
| 96 | +.layout-demo-wrapper { |
| 97 | + display: -webkit-box; |
| 98 | + display: -ms-flexbox; |
| 99 | + display: flex; |
| 100 | + -webkit-box-align: center; |
| 101 | + -ms-flex-align: center; |
| 102 | + align-items: center; |
| 103 | + -webkit-box-orient: vertical; |
| 104 | + -webkit-box-direction: normal; |
| 105 | + -ms-flex-direction: column; |
| 106 | + flex-direction: column; |
| 107 | + margin-top: 1.25rem; |
| 108 | +} |
| 109 | +.layout-demo-placeholder img { |
| 110 | + width: 900px; |
| 111 | +} |
| 112 | +.layout-demo-info { |
| 113 | + text-align: center; |
| 114 | + margin-top: 1.25rem; |
| 115 | +} |
0 commit comments