281 lines
3.7 KiB
CSS
281 lines
3.7 KiB
CSS
* {
|
|
-webkit-box-sizing: border-box;
|
|
-moz-box-sizing: border-box;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
html, body {
|
|
height: 100%;
|
|
width: 100%;
|
|
}
|
|
|
|
a {
|
|
text-decoration: none;
|
|
color: rgb(61, 146, 201);
|
|
}
|
|
|
|
a:hover,
|
|
a:focus {
|
|
text-decoration: none;
|
|
}
|
|
|
|
#loading {
|
|
position: absolute;
|
|
left: 0;
|
|
top: 0;
|
|
z-index: 9999999;
|
|
background: #fff;
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
#loading img {
|
|
position: absolute;
|
|
top: 50%;
|
|
left: 50%;
|
|
width: 16px;
|
|
margin-top: -4px;
|
|
margin-left: -4px;
|
|
}
|
|
|
|
.pure-menu-selected .pure-menu-link, .pure-menu-selected .pure-menu-link:visited {
|
|
background-color: #373C5A;
|
|
color: #adbdad;
|
|
}
|
|
|
|
.pure-menu-heading {
|
|
color: #d7d9dc;
|
|
}
|
|
|
|
.pure-menu-link {
|
|
color: #adbdad;
|
|
}
|
|
|
|
h3 {
|
|
font-weight: 100;
|
|
}
|
|
|
|
/* LAYOUT CSS */
|
|
.pure-img-responsive {
|
|
max-width: 100%;
|
|
height: auto;
|
|
}
|
|
|
|
#layout {
|
|
padding: 0;
|
|
}
|
|
|
|
.header {
|
|
top: auto;
|
|
padding: 0.5em 1em;
|
|
margin: 0 0;
|
|
position: relative;
|
|
text-align: left;
|
|
background-color: #252A3A;
|
|
}
|
|
|
|
.header .pure-menu {
|
|
border-bottom-color: black;
|
|
border-radius: 0;
|
|
}
|
|
|
|
.userinfo {
|
|
position: absolute;
|
|
top: 0;
|
|
right: 50px;
|
|
}
|
|
|
|
#leftPane {
|
|
padding: 10px;
|
|
}
|
|
|
|
#rightPane {
|
|
padding: 10px;
|
|
height: 100%;
|
|
}
|
|
|
|
#avator img {
|
|
margin-top: 5px;
|
|
width: 40px;
|
|
border-radius: 50%;
|
|
}
|
|
|
|
#logout {
|
|
position: absolute;
|
|
right: 10px;
|
|
top: 1em;
|
|
}
|
|
|
|
#avator {
|
|
float: right;
|
|
}
|
|
|
|
#nickname {
|
|
color: #888;
|
|
line-height: 50px;
|
|
float: right;
|
|
margin-right: 10px;
|
|
}
|
|
|
|
#realname {
|
|
color: #888;
|
|
line-height: 50px;
|
|
float: right;
|
|
margin-right: 5px;
|
|
}
|
|
|
|
#container {
|
|
width: 100%;
|
|
min-height: 300px;
|
|
min-width: 300px;
|
|
border: 1px solid #eeeeee;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.footer {
|
|
padding: 1em 0;
|
|
text-align: center;
|
|
}
|
|
|
|
.footer a {
|
|
color: #ccc;
|
|
font-size: 80%;
|
|
}
|
|
|
|
.footer .pure-menu a:hover,
|
|
.footer .pure-menu a:focus {
|
|
background: none;
|
|
}
|
|
|
|
#out {
|
|
margin-top: 0;
|
|
border: 1px solid #eeeeee;
|
|
width: 100%;
|
|
height: 100%;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
#run {
|
|
margin-top: 10px;
|
|
float: right;
|
|
}
|
|
|
|
#testRun {
|
|
margin-top: 10px;
|
|
float: right;
|
|
margin-right: 10px;
|
|
}
|
|
|
|
.auto {
|
|
line-height: 60px;
|
|
margin-top: 10px;
|
|
}
|
|
|
|
iframe {
|
|
border: 0;
|
|
background: #fff;
|
|
flex: 1 1 auto;
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
#rightPane code {
|
|
color: #888;
|
|
padding: 0 6px;
|
|
}
|
|
|
|
/* index.php */
|
|
|
|
.index-main {
|
|
padding: 10px;
|
|
}
|
|
|
|
.index-main-table {
|
|
width: 100%;
|
|
}
|
|
|
|
.horizontal {
|
|
list-style: none outside none;
|
|
margin: 15px 0;
|
|
height: 30px;
|
|
}
|
|
|
|
.horizontal li {
|
|
float: left;
|
|
margin-right: 10px;
|
|
}
|
|
|
|
.horizontal .active .pure-button {
|
|
box-shadow: 0 0 0 1px rgba(0, 0, 0, .15) inset, 0 0 6px rgba(0, 0, 0, .2) inset;
|
|
}
|
|
|
|
.admin {
|
|
display: none;
|
|
}
|
|
|
|
#describeView, #answerView, #resultView {
|
|
height: 100%;
|
|
padding-bottom: 110px;
|
|
}
|
|
|
|
#describeView .cont, #answerView .cont {
|
|
border: 1px solid #eeeeee;
|
|
height: 100%;
|
|
padding: 10px;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
#resultView .cont {
|
|
height: 100%;
|
|
padding: 10px;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.testCase {
|
|
min-height: 50px;
|
|
}
|
|
|
|
.testCaseContent, .expectedResultContent {
|
|
border: 1px solid #eeeeee;
|
|
padding: 5px 10px;
|
|
width: 100%;
|
|
}
|
|
|
|
.expectedResult {
|
|
min-height: 60px;
|
|
}
|
|
|
|
.resultContent {
|
|
height: 100%;
|
|
border: 1px solid #eeeeee;
|
|
}
|
|
|
|
#rightPane .cont pre code {
|
|
padding: 10px;
|
|
}
|
|
|
|
.dataTable td {
|
|
text-align: center;
|
|
}
|
|
|
|
.dataTable .table-pname {
|
|
text-align: left;
|
|
}
|
|
|
|
.myCredit {
|
|
position: absolute;
|
|
right: 50px;
|
|
top: 63px;
|
|
line-height: 38px;
|
|
}
|
|
|
|
.myRecord {
|
|
position: absolute;
|
|
right: 150px;
|
|
top: 63px;
|
|
line-height: 38px;
|
|
}
|
|
|
|
.dataTable .table-is-pass {
|
|
text-align: right;
|
|
} |