init
This commit is contained in:
281
css/common.css
Normal file
281
css/common.css
Normal file
@ -0,0 +1,281 @@
|
||||
* {
|
||||
-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;
|
||||
}
|
82
css/jquery.splitter.css
Normal file
82
css/jquery.splitter.css
Normal file
@ -0,0 +1,82 @@
|
||||
/*!
|
||||
* StyleSheet for JQuery splitter Plugin version 0.27.1
|
||||
* Copyright (C) 2010-2018 Jakub T. Jankiewicz <https://jcubic.pl/me>
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU Lesser General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
.splitter_panel {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.splitter_panel .vsplitter {
|
||||
background-color: #f5f5f5;
|
||||
cursor: col-resize;
|
||||
z-index: 900;
|
||||
width: 7px;
|
||||
}
|
||||
|
||||
.splitter_panel .vsplitter:hover {
|
||||
background-color: #dddddd;
|
||||
}
|
||||
|
||||
.splitter_panel .hsplitter {
|
||||
background-color: #5F5F5F;
|
||||
cursor: row-resize;
|
||||
z-index: 800;
|
||||
height: 7px;
|
||||
}
|
||||
|
||||
.splitter_panel .vsplitter.splitter-invisible,
|
||||
.splitter_panel .hsplitter.splitter-invisible {
|
||||
background: none;
|
||||
}
|
||||
|
||||
.splitter_panel .vsplitter, .splitter_panel .left_panel, .splitter_panel .right_panel,
|
||||
.splitter_panel .hsplitter, .splitter_panel .top_panel, .splitter_panel .bottom_panel {
|
||||
position: absolute;
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
.splitter_panel .vsplitter, .splitter_panel .left_panel, .splitter_panel .right_panel {
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.splitter_panel .hsplitter, .splitter_panel .top_panel, .splitter_panel .bottom_panel {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.splitter_panel .top_panel, .splitter_panel .left_panel, .splitter_panel .vsplitter {
|
||||
top: 0;
|
||||
}
|
||||
|
||||
.splitter_panel .top_panel, .splitter_panel .bottom_panel, .splitter_panel .left_panel, .splitter_panel .hsplitter {
|
||||
left: 0;
|
||||
}
|
||||
|
||||
.splitter_panel .bottom_panel {
|
||||
bottom: 0;
|
||||
}
|
||||
|
||||
.splitter_panel .right_panel {
|
||||
right: 0;
|
||||
}
|
||||
|
||||
.splitterMask {
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
z-index: 1000;
|
||||
}
|
Reference in New Issue
Block a user