mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 18:53:06 +00:00
[MIRROR] Misc fixes for statpanel (#9334)
Co-authored-by: ShadowLarkens <shadowlarkens@gmail.com>
This commit is contained in:
committed by
GitHub
parent
4e277de29c
commit
51a06b4c2d
@@ -28,7 +28,7 @@
|
|||||||
|
|
||||||
/obj/machinery/embedded_controller/Topic()
|
/obj/machinery/embedded_controller/Topic()
|
||||||
. = ..()
|
. = ..()
|
||||||
stack_trace("WARNING: Embedded controller [src] ([type]) had Topic() called unexpectedly. Please report this.")
|
// stack_trace("WARNING: Embedded controller [src] ([type]) had Topic() called unexpectedly. Please report this.") // statpanel means that topic can always be called for clicking
|
||||||
|
|
||||||
/obj/machinery/embedded_controller/tgui_act(action, params)
|
/obj/machinery/embedded_controller/tgui_act(action, params)
|
||||||
if(..())
|
if(..())
|
||||||
|
|||||||
@@ -535,8 +535,7 @@
|
|||||||
onclose(usr, "[name]")
|
onclose(usr, "[name]")
|
||||||
if(href_list["flavor_change"])
|
if(href_list["flavor_change"])
|
||||||
update_flavor_text()
|
update_flavor_text()
|
||||||
// ..()
|
return ..()
|
||||||
return
|
|
||||||
|
|
||||||
|
|
||||||
/mob/proc/pull_damage()
|
/mob/proc/pull_damage()
|
||||||
|
|||||||
@@ -237,3 +237,44 @@ body.dark {
|
|||||||
.dark .grid-item:active .grid-item-text {
|
.dark .grid-item:active .grid-item-text {
|
||||||
background-color: #313131;
|
background-color: #313131;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* required for alt click menu */
|
||||||
|
.link {
|
||||||
|
display: inline;
|
||||||
|
background: none;
|
||||||
|
border: none;
|
||||||
|
padding: 7px 14px;
|
||||||
|
color: black;
|
||||||
|
text-decoration: none;
|
||||||
|
cursor: pointer;
|
||||||
|
font-size: 13px;
|
||||||
|
margin: 2px 2px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.linkelem {
|
||||||
|
display: inline;
|
||||||
|
background: none;
|
||||||
|
border: none;
|
||||||
|
padding: 0px 14px;
|
||||||
|
color: black;
|
||||||
|
text-decoration: none;
|
||||||
|
cursor: pointer;
|
||||||
|
font-size: 13px;
|
||||||
|
margin: 2px 2px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.dark .link {
|
||||||
|
color: #abc6ec;
|
||||||
|
}
|
||||||
|
|
||||||
|
.dark .linkelem {
|
||||||
|
color: #abc6ec;
|
||||||
|
}
|
||||||
|
|
||||||
|
.link:hover {
|
||||||
|
text-decoration: underline;
|
||||||
|
}
|
||||||
|
|
||||||
|
.linkelem:hover {
|
||||||
|
text-decoration: underline;
|
||||||
|
}
|
||||||
|
|||||||
@@ -500,7 +500,7 @@ function draw_listedturf() {
|
|||||||
table.appendChild(b);
|
table.appendChild(b);
|
||||||
table.appendChild(document.createElement("br"));
|
table.appendChild(document.createElement("br"));
|
||||||
}
|
}
|
||||||
document.getElementById("statcontent").appendChild(table);
|
statcontentdiv.appendChild(table);
|
||||||
}
|
}
|
||||||
|
|
||||||
function remove_listedturf() {
|
function remove_listedturf() {
|
||||||
|
|||||||
Reference in New Issue
Block a user