diff --git a/static/style.css b/static/style.css index 0501eb7..aea2f3d 100644 --- a/static/style.css +++ b/static/style.css @@ -27,27 +27,47 @@ th { /* status color */ -.status.accepted { +/* +.accordion .status_detail { + transition: color .1s ease; +} +*/ + +:not(.status_detail).status.accepted, +.title:hover .status_detail.status.accepted, +.title.active .status_detail.status.accepted { color: forestgreen; } -.status.wrong_answer { +:not(.status_detail).status.wrong_answer, +.title:hover .status_detail.status.wrong_answer, +.title.active .status_detail.status.wrong_answer { color: red; } -.status.runtime_error { +:not(.status_detail).status.runtime_error, +.title:hover .status_detail.status.runtime_error, +.title.active .status_detail.status.runtime_error { color: darkorchid; } -.status.memory_limit_exceed, .status.time_limit_exceed, .status.output_limit_exceed { +:not(.status_detail).status.memory_limit_exceed, +.title:hover .status_detail.status.memory_limit_exceed, +.title.active .status_detail.status.memory_limit_exceed, +:not(.status_detail).status.time_limit_exceed, +.title:hover .status_detail.status.time_limit_exceed, +.title.active .status_detail.status.time_limit_exceed, +:not(.status_detail).status.output_limit_exceed, +.title:hover .status_detail.status.output_limit_exceed, +.title.active .status_detail.status.output_limit_exceed { color: sandybrown; } -.status.waiting, .status.system_error { +:not(.status_detail).status.waiting, :not(.status_detail).status.system_error { color: grey; } -.status.compile_error { +:not(.status_detail).status.compile_error { color: rgb(0, 68, 136); } diff --git a/views/edit_user.ejs b/views/edit_user.ejs index b45fff8..27c1c78 100644 --- a/views/edit_user.ejs +++ b/views/edit_user.ejs @@ -38,6 +38,7 @@ + 返回个人资料 diff --git a/views/header.ejs b/views/header.ejs index c8b3f84..9fbf11f 100644 --- a/views/header.ejs +++ b/views/header.ejs @@ -22,11 +22,10 @@ 讨论