|
55 | 55 | ========================================================================== */ |
56 | 56 |
|
57 | 57 | .top-bar { |
58 | | - background: linear-gradient( |
59 | | - to bottom, |
60 | | - rgb(104 145 196 / 100%) 0%, |
61 | | - rgb(69 114 181 / 100%) 50%, |
62 | | - rgb(65 90 149 / 100%) 100% |
63 | | - ); |
64 | | - background-color: #5070a6; |
65 | | - box-shadow: 0 4px 10px rgb(100 100 100 / 40%); |
66 | | - border-bottom: 1px solid #fff; |
67 | | - |
68 | | - @media (--viewport-medium) { |
69 | | - position: fixed; |
70 | | - width: 100%; |
71 | | - z-index: 2; |
72 | | - top: 0; |
73 | | - } |
| 58 | + background: linear-gradient(to bottom, rgb(104 145 196 / 100%) 0%, rgb(69 114 181 / 100%) 50%, rgb(65 90 149 / 100%) 100%); |
| 59 | + background-color: #5070a6; |
| 60 | + box-shadow: 0 4px 10px rgb(100 100 100 / 40%); |
| 61 | + border-bottom: 1px solid #fff; |
| 62 | + position: fixed; |
| 63 | + width: 100%; |
| 64 | + z-index: 2; |
| 65 | + top: 0; |
74 | 66 | } |
75 | 67 |
|
76 | 68 | .top-bar-inner { |
77 | | - padding-top: 10px; |
78 | | - |
79 | | - @media (--viewport-medium) { |
80 | | - display: flex; |
81 | | - padding-top: 0; |
82 | | - padding-left: 20px; |
83 | | - padding-right: 20px; |
84 | | - justify-content: space-between; |
85 | | - } |
| 69 | + display: flex; |
| 70 | + height: 40px; |
| 71 | + padding-left: 20px; |
| 72 | + padding-right: 20px; |
| 73 | + justify-content: space-between; |
86 | 74 |
|
87 | 75 | @media (--viewport-large) { |
88 | 76 | padding-left: 0; |
|
91 | 79 | } |
92 | 80 |
|
93 | 81 | .top-bar-left { |
94 | | - @media (--viewport-medium) { |
95 | | - display: flex; |
96 | | - align-items: center; |
97 | | - } |
| 82 | + display: flex; |
| 83 | + align-items: center; |
98 | 84 | } |
99 | 85 |
|
100 | 86 | .top-bar-logo { |
101 | | - display: block; |
102 | | - width: 54px; |
103 | | - margin-left: auto; |
104 | | - margin-right: auto; |
| 87 | + display: block; |
| 88 | + width: 54px; |
| 89 | + margin-right: 30px; |
| 90 | +} |
105 | 91 |
|
106 | | - @media (--viewport-medium) { |
107 | | - margin-right: 16px; |
108 | | - } |
| 92 | +.top-bar-usage { |
| 93 | + display: none; |
| 94 | + |
| 95 | + @media (--viewport-small) { |
| 96 | + display: block; |
| 97 | + } |
109 | 98 | } |
110 | 99 |
|
111 | | -.top-bar-nav { |
112 | | - margin-top: 10px; |
| 100 | +.top-bar-usage-inner { |
| 101 | + display: flex; |
| 102 | + color: #fff; |
| 103 | + text-shadow: 1px 1px rgb(0 0 0 / 25%); |
| 104 | + font-weight: 500; |
| 105 | +} |
113 | 106 |
|
114 | | - @media (--viewport-medium) { |
115 | | - margin-top: 0; |
116 | | - display: flex; |
117 | | - align-self: stretch; |
118 | | - } |
| 107 | +.top-bar-usage-item { |
| 108 | + margin-right: 11px; |
| 109 | + |
| 110 | + &:last-child { |
| 111 | + margin-right: 0; |
| 112 | + } |
| 113 | + |
| 114 | + & .fas { |
| 115 | + margin-right: 3px; |
| 116 | + } |
| 117 | +} |
| 118 | + |
| 119 | +.top-bar-right { |
| 120 | + display: flex; |
| 121 | +} |
| 122 | + |
| 123 | +.top-bar-notifications { |
| 124 | + display: flex; |
| 125 | + position: relative; |
| 126 | +} |
| 127 | + |
| 128 | +.top-bar-nav { |
| 129 | + display: flex; |
| 130 | + position: relative; |
119 | 131 | } |
120 | 132 |
|
121 | 133 | .top-bar-nav-list { |
122 | | - display: flex; |
| 134 | + display: none; |
| 135 | + background-color: #4673b6; |
| 136 | + box-shadow: 0 3px 20px 0 rgb(0 0 0 / 40%); |
| 137 | + position: absolute; |
| 138 | + top: 100%; |
| 139 | + right: 0; |
| 140 | + |
| 141 | + @media (--viewport-medium) { |
| 142 | + display: flex !important; /* NOTE: Overrides inline style set by JS */ |
| 143 | + background-color: transparent; |
| 144 | + box-shadow: none; |
| 145 | + position: static; |
| 146 | + } |
123 | 147 | } |
124 | 148 |
|
125 | 149 | .top-bar-nav-item { |
126 | | - display: flex; |
127 | | - position: relative; |
128 | | - flex-grow: 1; |
| 150 | + @media (--viewport-medium) { |
| 151 | + display: flex; |
| 152 | + } |
129 | 153 | } |
130 | 154 |
|
131 | 155 | .top-bar-nav-link { |
132 | | - color: #f7f7f7; |
133 | | - display: flex; |
134 | | - flex-grow: 1; |
135 | | - align-items: center; |
136 | | - justify-content: center; |
137 | | - font-size: 0.8rem; |
138 | | - font-weight: 600; |
139 | | - text-shadow: 1px 1px rgb(0 0 0 / 25%); |
140 | | - border-left: 1px solid transparent; |
141 | | - border-right: 1px solid transparent; |
142 | | - padding: 10px; |
| 156 | + color: #f7f7f7; |
| 157 | + display: flex; |
| 158 | + align-items: center; |
| 159 | + font-size: 0.8rem; |
| 160 | + font-weight: 600; |
| 161 | + text-shadow: 1px 1px rgb(0 0 0 / 25%); |
| 162 | + background-color: transparent; |
| 163 | + border: 0; |
| 164 | + border-left: 1px solid transparent; |
| 165 | + border-right: 1px solid transparent; |
| 166 | + padding: 10px; |
143 | 167 |
|
144 | 168 | &:hover { |
145 | 169 | box-shadow: inset 0 0 6px rgb(255 255 255 / 60%); |
|
194 | 218 | } |
195 | 219 |
|
196 | 220 | .top-bar-nav-link-label { |
197 | | - margin-left: 6px; |
198 | | -} |
199 | | - |
200 | | -.top-bar-right { |
201 | | - @media (--viewport-medium) { |
202 | | - display: flex; |
203 | | - align-items: center; |
204 | | - } |
205 | | -} |
| 221 | + margin-left: 6px; |
| 222 | + white-space: nowrap; |
206 | 223 |
|
207 | | -.top-bar-usage { |
208 | | - display: flex; |
209 | | - justify-content: center; |
210 | | - margin-top: 10px; |
211 | | - |
212 | | - @media (--viewport-medium) { |
213 | | - margin-top: 0; |
214 | | - margin-right: 10px; |
215 | | - } |
216 | | -} |
217 | | - |
218 | | -.top-bar-usage-inner { |
219 | | - display: flex; |
220 | | - border-radius: 12px; |
221 | | - font-size: 0.75rem; |
222 | | - font-weight: 500; |
223 | | - line-height: 0.75rem; |
224 | | - padding: 4px 8px; |
225 | | - color: #30659d; |
226 | | - box-shadow: 0 1px 1px rgb(0 0 0 / 20%), inset 0 1px 0 rgb(0 0 0 / 8%); |
227 | | - background-color: rgb(255 255 255 / 75%); |
228 | | - border: 1px solid rgb(255 255 255 / 75%); |
229 | | - text-shadow: 0 1px 1px rgb(255 255 255 / 60%); |
230 | | -} |
231 | | - |
232 | | -.top-bar-usage-item { |
233 | | - margin-right: 11px; |
234 | | - |
235 | | - &:last-child { |
236 | | - margin-right: 0; |
237 | | - } |
238 | | - |
239 | | - & .fas { |
240 | | - margin-right: 3px; |
241 | | - } |
| 224 | + @media (--viewport-medium) { |
| 225 | + display: none; |
| 226 | + } |
242 | 227 | } |
243 | 228 |
|
244 | 229 | .l-center { |
|
248 | 233 | } |
249 | 234 |
|
250 | 235 | .notification-container { |
251 | | - background-color: #fff; |
252 | | - box-shadow: 0 3px 20px 0 rgb(0 0 0 / 40%); |
253 | | - max-height: 500px; |
254 | | - overflow-y: auto; |
255 | | - position: absolute; |
256 | | - top: 100%; |
257 | | - left: 10px; |
258 | | - width: 330px; |
259 | | - z-index: 1; |
260 | | - font-size: 0.8rem; |
261 | | - color: #6f6f6f; |
262 | | - border-bottom-left-radius: 6px; |
263 | | - border-bottom-right-radius: 6px; |
264 | | - border: 1px solid #fff; |
265 | | - border-top: none; |
266 | | - |
267 | | - @media (--viewport-medium) { |
268 | | - left: auto; |
269 | | - right: 0; |
270 | | - width: 390px; |
271 | | - } |
| 236 | + background-color: #fff; |
| 237 | + box-shadow: 0 3px 20px 0 rgb(0 0 0 / 40%); |
| 238 | + max-height: 500px; |
| 239 | + overflow-y: auto; |
| 240 | + position: absolute; |
| 241 | + top: 100%; |
| 242 | + right: 0; |
| 243 | + width: 300px; |
| 244 | + z-index: 1; |
| 245 | + font-size: 0.8rem; |
| 246 | + color: #6f6f6f; |
| 247 | + border-bottom-left-radius: 6px; |
| 248 | + border-bottom-right-radius: 6px; |
| 249 | + border: 1px solid #fff; |
| 250 | + border-top: none; |
| 251 | + |
| 252 | + @media (--viewport-medium) { |
| 253 | + width: 400px; |
| 254 | + } |
272 | 255 | } |
273 | 256 |
|
274 | 257 | .notification-container .empty { |
@@ -2153,9 +2136,7 @@ body.mobile .l-unit-toolbar__col--right { |
2153 | 2136 | } |
2154 | 2137 |
|
2155 | 2138 | .l-content { |
2156 | | - @media (--viewport-medium) { |
2157 | | - padding-top: 40px; |
2158 | | - } |
| 2139 | + padding-top: 40px; |
2159 | 2140 | } |
2160 | 2141 |
|
2161 | 2142 | .console-output { |
|
0 commit comments