|
| 1 | +@import '_content/BlazorColorPicker/BlazorColorPicker.bundle.scp.css'; |
| 2 | +@import '_content/KristofferStrube.Blazor.SVGEditor/KristofferStrube.Blazor.SVGEditor.bundle.scp.css'; |
| 3 | + |
| 4 | +/* /Shared/MainLayout.razor.rz.scp.css */ |
| 5 | +.page[b-92fdr6lqr8] { |
| 6 | + position: relative; |
| 7 | + display: flex; |
| 8 | + flex-direction: column; |
| 9 | +} |
| 10 | + |
| 11 | +main[b-92fdr6lqr8] { |
| 12 | + flex: 1; |
| 13 | +} |
| 14 | + |
| 15 | +.sidebar[b-92fdr6lqr8] { |
| 16 | + background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%); |
| 17 | +} |
| 18 | + |
| 19 | +.top-row[b-92fdr6lqr8] { |
| 20 | + background-color: #f7f7f7; |
| 21 | + border-bottom: 1px solid #d6d5d5; |
| 22 | + justify-content: flex-end; |
| 23 | + height: 3.5rem; |
| 24 | + display: flex; |
| 25 | + align-items: center; |
| 26 | +} |
| 27 | + |
| 28 | + .top-row[b-92fdr6lqr8] a, .top-row[b-92fdr6lqr8] .btn-link { |
| 29 | + white-space: nowrap; |
| 30 | + margin-left: 1.5rem; |
| 31 | + text-decoration: none; |
| 32 | + } |
| 33 | + |
| 34 | + .top-row[b-92fdr6lqr8] a:hover, .top-row[b-92fdr6lqr8] .btn-link:hover { |
| 35 | + text-decoration: underline; |
| 36 | + } |
| 37 | + |
| 38 | + .top-row[b-92fdr6lqr8] a:first-child { |
| 39 | + overflow: hidden; |
| 40 | + text-overflow: ellipsis; |
| 41 | + } |
| 42 | + |
| 43 | +@media (max-width: 640.98px) { |
| 44 | + .top-row:not(.auth)[b-92fdr6lqr8] { |
| 45 | + display: none; |
| 46 | + } |
| 47 | + |
| 48 | + .top-row.auth[b-92fdr6lqr8] { |
| 49 | + justify-content: space-between; |
| 50 | + } |
| 51 | + |
| 52 | + .top-row[b-92fdr6lqr8] a, .top-row[b-92fdr6lqr8] .btn-link { |
| 53 | + margin-left: 0; |
| 54 | + } |
| 55 | +} |
| 56 | + |
| 57 | +@media (min-width: 641px) { |
| 58 | + .page[b-92fdr6lqr8] { |
| 59 | + flex-direction: row; |
| 60 | + } |
| 61 | + |
| 62 | + .sidebar[b-92fdr6lqr8] { |
| 63 | + width: 250px; |
| 64 | + height: 100vh; |
| 65 | + position: sticky; |
| 66 | + top: 0; |
| 67 | + } |
| 68 | + |
| 69 | + .top-row[b-92fdr6lqr8] { |
| 70 | + position: sticky; |
| 71 | + top: 0; |
| 72 | + z-index: 1; |
| 73 | + } |
| 74 | + |
| 75 | + .top-row.auth[b-92fdr6lqr8] a:first-child { |
| 76 | + flex: 1; |
| 77 | + text-align: right; |
| 78 | + width: 0; |
| 79 | + } |
| 80 | + |
| 81 | + .top-row[b-92fdr6lqr8], article[b-92fdr6lqr8] { |
| 82 | + padding-left: 2rem !important; |
| 83 | + padding-right: 1.5rem !important; |
| 84 | + } |
| 85 | +} |
| 86 | +/* /Shared/NavMenu.razor.rz.scp.css */ |
| 87 | +.navbar-toggler[b-2gnyt5467l] { |
| 88 | + background-color: rgba(255, 255, 255, 0.1); |
| 89 | +} |
| 90 | + |
| 91 | +.top-row[b-2gnyt5467l] { |
| 92 | + height: 3.5rem; |
| 93 | + background-color: rgba(0,0,0,0.4); |
| 94 | +} |
| 95 | + |
| 96 | +.navbar-brand[b-2gnyt5467l] { |
| 97 | + font-size: 1.1rem; |
| 98 | +} |
| 99 | + |
| 100 | +.oi[b-2gnyt5467l] { |
| 101 | + width: 2rem; |
| 102 | + font-size: 1.1rem; |
| 103 | + vertical-align: text-top; |
| 104 | + top: -2px; |
| 105 | +} |
| 106 | + |
| 107 | +.bi[b-2gnyt5467l] { |
| 108 | + display: inline-block; |
| 109 | + position: relative; |
| 110 | + width: 1.25rem; |
| 111 | + height: 1.25rem; |
| 112 | + margin-right: 0.75rem; |
| 113 | + top: -1px; |
| 114 | + background-size: cover; |
| 115 | +} |
| 116 | + |
| 117 | +.nav-item[b-2gnyt5467l] { |
| 118 | + font-size: 0.9rem; |
| 119 | + padding-bottom: 0.5rem; |
| 120 | +} |
| 121 | + |
| 122 | + .nav-item:first-of-type[b-2gnyt5467l] { |
| 123 | + padding-top: 1rem; |
| 124 | + } |
| 125 | + |
| 126 | + .nav-item:last-of-type[b-2gnyt5467l] { |
| 127 | + padding-bottom: 1rem; |
| 128 | + } |
| 129 | + |
| 130 | + .nav-item[b-2gnyt5467l] a { |
| 131 | + color: #d7d7d7; |
| 132 | + border-radius: 4px; |
| 133 | + height: 3rem; |
| 134 | + display: flex; |
| 135 | + align-items: center; |
| 136 | + line-height: 3rem; |
| 137 | + } |
| 138 | + |
| 139 | +.nav-item[b-2gnyt5467l] a.active { |
| 140 | + background-color: rgba(255,255,255,0.25); |
| 141 | + color: white; |
| 142 | +} |
| 143 | + |
| 144 | +.nav-item[b-2gnyt5467l] a:hover { |
| 145 | + background-color: rgba(255,255,255,0.1); |
| 146 | + color: white; |
| 147 | +} |
| 148 | + |
| 149 | +@media (min-width: 641px) { |
| 150 | + .navbar-toggler[b-2gnyt5467l] { |
| 151 | + display: none; |
| 152 | + } |
| 153 | + |
| 154 | + .collapse[b-2gnyt5467l] { |
| 155 | + /* Never collapse the sidebar for wide screens */ |
| 156 | + display: block; |
| 157 | + } |
| 158 | + |
| 159 | + .nav-scrollable[b-2gnyt5467l] { |
| 160 | + /* Allow sidebar to scroll for tall menus */ |
| 161 | + height: calc(100vh - 3.5rem); |
| 162 | + overflow-y: auto; |
| 163 | + } |
| 164 | +} |
0 commit comments