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
417417# popupmenu ul ul > li .open ::after {
418418 border-top-color : # 666666 ;
419419}
420+
421+ @-webkit-keyframes changeColor {
422+ 0% { background-color : # 95c46e ; }
423+ 50% { background-color : # 81b953 ; }
424+ 51% { background-color : # 6ea343 ; }
425+ 100% { background-color : # 567f34 ; }
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 4242 if ( elem != "" ) {
4343 var res = elem . split ( ":" ) ;
4444 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>" ) ;
4646 }
4747 else if ( res [ 0 ] == 'dev' ) {
4848 $ ( "#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