File tree Expand file tree Collapse file tree 2 files changed +16
-1
lines changed Expand file tree Collapse file tree 2 files changed +16
-1
lines changed Original file line number Diff line number Diff line change @@ -417,3 +417,18 @@ popupmenu css
417
417
# popupmenu ul ul > li .open ::after {
418
418
border-top-color : # 666666 ;
419
419
}
420
+
421
+ @-webkit-keyframes changeColor {
422
+ 0% { background-color : # 95c46e ; }
423
+ 50% { background-color : # 81b953 ; }
424
+ 51% { background-color : # 7ab54a ; }
425
+ 100% { background-color : # 6ea343 ; }
426
+ }
427
+
428
+ .latestVersion {
429
+ position : absolute;
430
+ z-index : 1000000 ;
431
+ -webkit-animation-name : changeColor;
432
+ -webkit-animation-iteration-count : infinite;
433
+ -webkit-animation-duration : 2s ;
434
+ }
Original file line number Diff line number Diff line change 42
42
if ( elem != "" ) {
43
43
var res = elem . split ( ":" ) ;
44
44
if ( n == ( lines . length - 2 ) ) {
45
- $ ( "#version-list" ) . prepend ( "<li><a style='font-size:100%;background-color: #7ab54a; ' href=" + "../latest/index.html" + "><span>Latest</span></a></li>" ) ;
45
+ $ ( "#version-list" ) . prepend ( "<li><a class='latestVersion' style='font-size:100%' href=" + "../latest/index.html" + "><span>Latest</span></a></li>" ) ;
46
46
}
47
47
else if ( res [ 0 ] == 'dev' ) {
48
48
$ ( "#version-list" ) . prepend ( "<li><a style='font-size: 100%;' href=" + "../" + res [ 0 ] + "/index.html" + "><span>Dev</span></a></li>" ) ;
You can’t perform that action at this time.
0 commit comments