|
| 1 | +html, body { |
| 2 | + font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; |
| 3 | +} |
| 4 | + |
| 5 | +app { |
| 6 | + position: relative; |
| 7 | + display: flex; |
| 8 | + flex-direction: column; |
| 9 | +} |
| 10 | + |
| 11 | +.top-row { |
| 12 | + height: 3.5rem; |
| 13 | + display: flex; |
| 14 | + align-items: center; |
| 15 | +} |
| 16 | + |
| 17 | +.main { |
| 18 | + flex: 1; |
| 19 | +} |
| 20 | + |
| 21 | + .main .top-row { |
| 22 | + background-color: #e6e6e6; |
| 23 | + border-bottom: 1px solid #d6d5d5; |
| 24 | + } |
| 25 | + |
| 26 | +.sidebar { |
| 27 | + background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%); |
| 28 | +} |
| 29 | + |
| 30 | + .sidebar .top-row { |
| 31 | + background-color: rgba(0,0,0,0.4); |
| 32 | + } |
| 33 | + |
| 34 | + .sidebar .navbar-brand { |
| 35 | + font-size: 1.1rem; |
| 36 | + } |
| 37 | + |
| 38 | + .sidebar .oi { |
| 39 | + width: 2rem; |
| 40 | + font-size: 1.1rem; |
| 41 | + vertical-align: text-top; |
| 42 | + top: -2px; |
| 43 | + } |
| 44 | + |
| 45 | +.nav-item { |
| 46 | + font-size: 0.9rem; |
| 47 | + padding-bottom: 0.5rem; |
| 48 | +} |
| 49 | + |
| 50 | + .nav-item:first-of-type { |
| 51 | + padding-top: 1rem; |
| 52 | + } |
| 53 | + |
| 54 | + .nav-item:last-of-type { |
| 55 | + padding-bottom: 1rem; |
| 56 | + } |
| 57 | + |
| 58 | + .nav-item a { |
| 59 | + color: #d7d7d7; |
| 60 | + border-radius: 4px; |
| 61 | + height: 3rem; |
| 62 | + display: flex; |
| 63 | + align-items: center; |
| 64 | + line-height: 3rem; |
| 65 | + } |
| 66 | + |
| 67 | + .nav-item a.active { |
| 68 | + background-color: rgba(255,255,255,0.25); |
| 69 | + color: white; |
| 70 | + } |
| 71 | + |
| 72 | + .nav-item a:hover { |
| 73 | + background-color: rgba(255,255,255,0.1); |
| 74 | + color: white; |
| 75 | + } |
| 76 | + |
| 77 | +.content { |
| 78 | + padding-top: 1.1rem; |
| 79 | +} |
| 80 | + |
| 81 | +.navbar-toggler { |
| 82 | + background-color: rgba(255, 255, 255, 0.1); |
| 83 | +} |
| 84 | + |
| 85 | +.valid.modified:not([type=checkbox]) { |
| 86 | + outline: 1px solid #26b050; |
| 87 | +} |
| 88 | + |
| 89 | +.invalid { |
| 90 | + outline: 1px solid red; |
| 91 | +} |
| 92 | + |
| 93 | +.validation-message { |
| 94 | + color: red; |
| 95 | +} |
| 96 | + |
| 97 | +@media (max-width: 767.98px) { |
| 98 | + .main .top-row { |
| 99 | + display: none; |
| 100 | + } |
| 101 | +} |
| 102 | + |
| 103 | +@media (min-width: 768px) { |
| 104 | + app { |
| 105 | + flex-direction: row; |
| 106 | + } |
| 107 | + |
| 108 | + .sidebar { |
| 109 | + width: 250px; |
| 110 | + height: 100vh; |
| 111 | + position: sticky; |
| 112 | + top: 0; |
| 113 | + } |
| 114 | + |
| 115 | + .main .top-row { |
| 116 | + position: sticky; |
| 117 | + top: 0; |
| 118 | + } |
| 119 | + |
| 120 | + .main > div { |
| 121 | + padding-left: 2rem !important; |
| 122 | + padding-right: 1.5rem !important; |
| 123 | + } |
| 124 | + |
| 125 | + .navbar-toggler { |
| 126 | + display: none; |
| 127 | + } |
| 128 | + |
| 129 | + .sidebar .collapse { |
| 130 | + /* Never collapse the sidebar for wide screens */ |
| 131 | + display: block; |
| 132 | + } |
| 133 | +} |
0 commit comments