Change: tag trending graph design
This commit is contained in:
		| @@ -465,6 +465,9 @@ input, textarea { | |||||||
| .swal2-title, .swal2-content{ | .swal2-title, .swal2-content{ | ||||||
|   color: var(--color) !important; |   color: var(--color) !important; | ||||||
| } | } | ||||||
|  | #src-contents svg{ | ||||||
|  |   margin-right: 5px; | ||||||
|  | } | ||||||
|  |  | ||||||
| /*スクロールバー*/ | /*スクロールバー*/ | ||||||
| ::-webkit-scrollbar { | ::-webkit-scrollbar { | ||||||
|   | |||||||
| @@ -241,7 +241,7 @@ function trend(){ | |||||||
| 			var one = 50 - (his[1].uses / max * 50); | 			var one = 50 - (his[1].uses / max * 50); | ||||||
| 			var zero = 50 - (his[0].uses / max * 50); | 			var zero = 50 - (his[0].uses / max * 50); | ||||||
| 			tags = '<svg version="1.1" viewbox="0 0 60 50" width="60" height="50">' + | 			tags = '<svg version="1.1" viewbox="0 0 60 50" width="60" height="50">' + | ||||||
| 				'<g><path d="M0,'+six+' L10,'+five+' 20,'+four+' 30,'+three+' 40,'+two+' 50,'+one+' 60,'+zero+'" style="stroke: #9e9e9e; stroke-width: 1;fill: none;"></path></g>'+ | 				'<g><path d="M-1,51, -1,' + six + ', 0,' + six + ' L10,' + five + ' 20,' + four + ' 30,' + three + ' 40,' + two + ' 50,' + one + ' 60,' + zero + ' 61,' + zero + ' 61,51 -1,51" style="stroke: #0f8c0c;fill: rgba(13,113,19,.25); stroke-width: 1;"></path></g>' + | ||||||
| 				'</svg><span style="font-size:200%">' + his[0].uses + '</span>toots <a onclick="tl(\'tag\',\'' + tag.name + '\',\'' + acct_id + | 				'</svg><span style="font-size:200%">' + his[0].uses + '</span>toots <a onclick="tl(\'tag\',\'' + tag.name + '\',\'' + acct_id + | ||||||
| 				'\',\'add\')" class="pointer">#' + tag.name + '</a> ' + his[0].accounts + lang.lang_src_people + "<br><br>"; | 				'\',\'add\')" class="pointer">#' + tag.name + '</a> ' + his[0].accounts + lang.lang_src_people + "<br><br>"; | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	