File tree Expand file tree Collapse file tree 2 files changed +52
-5
lines changed Expand file tree Collapse file tree 2 files changed +52
-5
lines changed Original file line number Diff line number Diff line change 345
345
display : flex;
346
346
justify-content : center;
347
347
align-items : center;
348
- padding : 12 px ;
348
+ padding : 14 px ;
349
349
background : var (--black );
350
350
color : # fff ;
351
351
font-size : 1.45rem ;
352
352
z-index : 30 ;
353
353
}
354
354
355
355
.gh-update-banner a {
356
- font-weight : 700 ;
356
+ font-weight : 500 ;
357
357
color : var (--green-l2 );
358
358
}
359
+
360
+ .gh-update-banner .gh-60 a .whatsnew {
361
+ position : relative;
362
+ color : # fff ;
363
+ text-decoration : underline;
364
+ }
365
+
366
+ .gh-update-banner .gh-60 {
367
+ display : flex;
368
+ align-items : center;
369
+ justify-content : center;
370
+ gap : 12px ;
371
+ font-weight : 500 ;
372
+ }
373
+
374
+ .gh-update-banner .gh-60 .button {
375
+ margin-left : 8px ;
376
+ height : 32px ;
377
+ font-weight : 600 ;
378
+ display : flex;
379
+ align-items : center;
380
+ justify-content : center;
381
+ padding : 4px 12px ;
382
+ border-radius : 5px ;
383
+ font-size : 14px ;
384
+ text-decoration : none;
385
+ white-space : nowrap;
386
+ }
387
+
388
+ .gh-update-banner .gh-60 {
389
+ background : linear-gradient (45deg , # 122220 0% , # 172E2C 100% );
390
+ }
391
+
392
+ .gh-update-banner .gh-60 .button {
393
+ background : linear-gradient (45deg , # 317B9B 0% , # 319B99 100% );
394
+ color : # fff ;
395
+ }
396
+
397
+ .gh-update-banner .gh-60 .button : hover {
398
+ opacity : 0.9 ;
399
+ }
400
+
401
+ .gh-update-banner .gh-60 .gh-alert-content {
402
+ font-size : 1.45rem ;
403
+ }
Original file line number Diff line number Diff line change 9
9
{{ /if }}
10
10
11
11
{{ #if (and this.session.user.isAdmin this.showUpdateBanner )}}
12
- <aside class =" gh-update-banner" >
12
+ <aside class =" gh-update-banner gh-60 " >
13
13
{{ #if this.session.user.isOwnerOnly }}
14
14
<div class =" gh-alert-content" >
15
- A new major version of Ghost is available!
15
+ A new major version of Ghost is available! < a href = " https://ghost.org/6 " target = " _blank " rel = " noopener noreferrer " class = " whatsnew " >See what's new</ a >
16
16
</div >
17
- <a href =" #" {{ on " click" this.openUpdateTab }} >Update to Ghost 6.0 → </a >
17
+ <button class =" button" type =" button" {{ on " click" this.openUpdateTab }} >
18
+ Update to Ghost 6.0 →
19
+ </button >
18
20
{{ else }}
19
21
<div class =" gh-alert-content" >
20
22
Your Ghost install is ready for a major update!
You can’t perform that action at this time.
0 commit comments