2015-01-01 05:06:33 +03:00
|
|
|
/*
|
2019-05-17 06:28:50 +03:00
|
|
|
* Copyright (c) 2014-present, b3log.org
|
2015-01-01 05:06:33 +03:00
|
|
|
*
|
2014-11-12 18:13:14 +03:00
|
|
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
* you may not use this file except in compliance with the License.
|
|
|
|
* You may obtain a copy of the License at
|
2015-01-01 05:06:33 +03:00
|
|
|
*
|
2018-03-12 07:28:33 +03:00
|
|
|
* https://www.apache.org/licenses/LICENSE-2.0
|
2015-01-01 05:06:33 +03:00
|
|
|
*
|
2014-11-12 18:13:14 +03:00
|
|
|
* Unless required by applicable law or agreed to in writing, software
|
|
|
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
2014-12-20 15:39:45 +03:00
|
|
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
2014-11-12 18:13:14 +03:00
|
|
|
* See the License for the specific language governing permissions and
|
|
|
|
* limitations under the License.
|
2015-01-01 05:06:33 +03:00
|
|
|
*/
|
2014-11-12 18:13:14 +03:00
|
|
|
|
2015-12-05 19:27:15 +03:00
|
|
|
/*
|
|
|
|
* themes for wide.
|
|
|
|
*
|
|
|
|
* @author <a href="http://vanessa.b3log.org">Liyuan Li</a>
|
2015-12-14 16:21:45 +03:00
|
|
|
* @version 0.1.0.1, Dec 15, 2015
|
2015-12-05 19:27:15 +03:00
|
|
|
*/
|
2014-10-10 12:04:59 +04:00
|
|
|
/* start frame */
|
|
|
|
.frame {
|
|
|
|
position: absolute;
|
|
|
|
width: 320px;
|
|
|
|
z-index: 21;
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.frame li {
|
|
|
|
padding: 0 5px;
|
|
|
|
line-height: 25px;
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
2014-12-13 15:08:35 +03:00
|
|
|
.frame li.disabled,
|
|
|
|
.frame li.disabled .font-ico,
|
|
|
|
.frame li.disabled:hover .font-ico {
|
2014-10-13 13:01:44 +04:00
|
|
|
color: #999;
|
|
|
|
}
|
|
|
|
|
2014-10-10 12:04:59 +04:00
|
|
|
.frame a {
|
|
|
|
color: #000;
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.frame li:hover a,
|
|
|
|
.frame a:hover {
|
|
|
|
color: #FFF;
|
|
|
|
}
|
2014-12-13 15:08:35 +03:00
|
|
|
|
|
|
|
.frame .space {
|
|
|
|
display: inline-block;
|
|
|
|
width: 20px;
|
|
|
|
height: 15px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.frame .font-ico {
|
|
|
|
margin-right: 5px;
|
|
|
|
width: 15px;
|
|
|
|
display: inline-block;
|
|
|
|
text-align: center;
|
|
|
|
}
|
2014-10-10 12:04:59 +04:00
|
|
|
/* end frame */
|
|
|
|
|
|
|
|
/* start tabs */
|
|
|
|
.tabs {
|
2014-11-29 16:49:57 +03:00
|
|
|
height: 21px;
|
2014-10-10 12:04:59 +04:00
|
|
|
overflow: hidden;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tabs > div {
|
|
|
|
float: left;
|
2014-11-29 16:49:57 +03:00
|
|
|
line-height: 20px;
|
|
|
|
height: 20px;
|
2014-10-10 12:04:59 +04:00
|
|
|
padding: 0 5px;
|
|
|
|
cursor: pointer;
|
2014-12-01 10:05:48 +03:00
|
|
|
|
2014-10-10 12:04:59 +04:00
|
|
|
}
|
|
|
|
|
2014-11-29 16:49:57 +03:00
|
|
|
.tabs > div > span.changed {
|
|
|
|
font-weight: bold;
|
2014-10-10 12:04:59 +04:00
|
|
|
}
|
2015-12-05 19:27:15 +03:00
|
|
|
|
|
|
|
|
|
|
|
.tabs-panel {
|
|
|
|
overflow: auto;
|
|
|
|
flex: 1;
|
2015-12-14 16:21:45 +03:00
|
|
|
height: 100%;
|
2015-12-05 19:27:15 +03:00
|
|
|
}
|
2014-10-10 12:04:59 +04:00
|
|
|
/* end tabs */
|
|
|
|
|
|
|
|
/* start menu */
|
2015-12-05 19:27:15 +03:00
|
|
|
.menu {
|
|
|
|
display: block !important;
|
|
|
|
}
|
|
|
|
|
2014-10-10 12:04:59 +04:00
|
|
|
.menu > ul > li {
|
|
|
|
float: left;
|
|
|
|
}
|
|
|
|
|
|
|
|
.menu > ul > li > span {
|
|
|
|
font-size: 12px;
|
2014-11-29 16:49:57 +03:00
|
|
|
line-height: 21px;
|
2014-10-13 12:18:45 +04:00
|
|
|
cursor: pointer;
|
2014-11-29 16:49:57 +03:00
|
|
|
padding: 4px 7px;
|
2014-10-10 12:04:59 +04:00
|
|
|
}
|
2014-12-13 17:58:43 +03:00
|
|
|
|
|
|
|
.menu .split {
|
|
|
|
float: left;
|
|
|
|
border-left: 1px solid #919191;
|
|
|
|
height: 21px;
|
|
|
|
margin: 0 5px 0 0px
|
|
|
|
}
|
|
|
|
|
2014-12-14 07:20:39 +03:00
|
|
|
.menu img.gravatar {
|
|
|
|
float: left;
|
|
|
|
margin: 2px 8px;
|
2014-12-14 11:40:45 +03:00
|
|
|
height: 17px;
|
|
|
|
width: 17px;
|
2015-01-16 12:20:31 +03:00
|
|
|
border-radius: 9px;
|
2014-12-14 07:20:39 +03:00
|
|
|
}
|
|
|
|
|
2014-12-13 17:58:43 +03:00
|
|
|
#buildRun {
|
|
|
|
color: #6DB14C;
|
2014-12-14 16:58:49 +03:00
|
|
|
font-size: 19px;
|
2014-12-13 17:58:43 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
#buildRun.ico-stop {
|
|
|
|
color: #9d0000;
|
2014-12-14 16:58:49 +03:00
|
|
|
font-size: 16px;
|
2014-12-13 17:58:43 +03:00
|
|
|
}
|
2014-12-14 07:20:39 +03:00
|
|
|
|
|
|
|
.share-panel {
|
|
|
|
position: absolute;
|
|
|
|
z-index: 20;
|
|
|
|
width: 226px;
|
|
|
|
padding: 5px 0;
|
|
|
|
right: 0px;
|
2015-12-05 19:27:15 +03:00
|
|
|
top: 21px;
|
2014-12-14 07:20:39 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.share-panel .font-ico {
|
|
|
|
font-size: 20px;
|
|
|
|
transition:all .2s ease-out 0s;
|
|
|
|
margin: 0 5px;
|
|
|
|
width: 24px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.share-panel .font-ico:hover {
|
|
|
|
transform:rotate(360deg);
|
|
|
|
}
|
2014-10-10 12:04:59 +04:00
|
|
|
/* end menu */
|
|
|
|
|
|
|
|
/* start editor */
|
|
|
|
.edit-panel {
|
|
|
|
position: absolute;
|
|
|
|
left: 20%;
|
2015-01-01 17:15:54 +03:00
|
|
|
width: 60%;
|
2014-10-10 12:04:59 +04:00
|
|
|
height: 70%;
|
|
|
|
overflow: hidden;
|
2015-12-05 19:27:15 +03:00
|
|
|
flex-flow: column;
|
|
|
|
display: flex;
|
2014-10-10 12:04:59 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
.toolbars {
|
|
|
|
position: absolute;
|
|
|
|
right: 5px;
|
|
|
|
top: 1px;
|
|
|
|
}
|
|
|
|
|
2015-01-02 18:14:41 +03:00
|
|
|
.ico {
|
2014-10-10 12:04:59 +04:00
|
|
|
background-image: url("../images/ico-file.png");
|
|
|
|
float: left;
|
|
|
|
height: 16px;
|
|
|
|
margin: 2px 0 0 -2px;
|
|
|
|
width: 16px;
|
|
|
|
}
|
|
|
|
|
2014-11-05 04:42:09 +03:00
|
|
|
/* 统一为 static/js/lib/codemirror-x.x/addon/hint/show-hint.css 中的.CodeMirror-hints */
|
2014-10-10 14:04:03 +04:00
|
|
|
.edit-exprinfo {
|
|
|
|
position: absolute;
|
|
|
|
z-index: 10;
|
|
|
|
overflow: hidden;
|
|
|
|
list-style: none;
|
|
|
|
|
|
|
|
margin: 0;
|
|
|
|
padding: 2px;
|
|
|
|
|
|
|
|
-webkit-box-shadow: 2px 3px 5px rgba(0,0,0,.2);
|
|
|
|
-moz-box-shadow: 2px 3px 5px rgba(0,0,0,.2);
|
|
|
|
box-shadow: 2px 3px 5px rgba(0,0,0,.2);
|
|
|
|
border-radius: 3px;
|
|
|
|
border: 1px solid silver;
|
|
|
|
|
|
|
|
background: white;
|
|
|
|
font-size: 90%;
|
|
|
|
|
|
|
|
max-height: 20em;
|
|
|
|
overflow-y: auto;
|
|
|
|
}
|
|
|
|
|
2014-10-21 13:29:11 +04:00
|
|
|
.CodeMirror,
|
|
|
|
.CodeMirror-hints {
|
2015-04-01 06:40:28 +03:00
|
|
|
font-family: Consolas, 'Courier New', monospace;
|
2014-10-21 12:46:09 +04:00
|
|
|
}
|
|
|
|
|
2015-01-02 18:14:41 +03:00
|
|
|
.CodeMirror-hints .ico {
|
|
|
|
margin: -1px 2px 0 -1px;
|
|
|
|
}
|
|
|
|
|
2014-10-10 12:04:59 +04:00
|
|
|
.CodeMirror-focused .cm-matchhighlight {
|
|
|
|
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAIAAAACCAYAAABytg0kAAAAFklEQVQI12NgYGBgkKzc8x9CMDAwAAAmhwSbidEoSQAAAABJRU5ErkJggg==);
|
|
|
|
background-position: bottom;
|
|
|
|
background-repeat: repeat-x;
|
|
|
|
}
|
|
|
|
|
|
|
|
.CodeMirror-hint {
|
|
|
|
padding-right: 18px;
|
|
|
|
max-width: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.CodeMirror-hint:hover {
|
|
|
|
background: #08f;
|
|
|
|
color: white;
|
|
|
|
}
|
2014-11-13 16:37:31 +03:00
|
|
|
|
|
|
|
.CodeMirror div.CodeMirror-cursor {
|
|
|
|
border-left: 2px solid #333;
|
|
|
|
}
|
2015-01-04 06:28:56 +03:00
|
|
|
|
|
|
|
.CodeMirror-scrollbar-filler,
|
|
|
|
.CodeMirror-gutter-filler {
|
|
|
|
background-color: transparent;
|
|
|
|
}
|
2014-10-10 12:04:59 +04:00
|
|
|
/* end editor */
|
|
|
|
|
|
|
|
/* start bottom-window-group */
|
|
|
|
.bottom-window-group {
|
|
|
|
background-color: #fff;
|
2015-12-05 19:27:15 +03:00
|
|
|
flex-flow: column;
|
2014-10-10 12:04:59 +04:00
|
|
|
}
|
|
|
|
|
2014-10-24 06:46:30 +04:00
|
|
|
.bottom-window-group .output {
|
2014-10-27 18:58:10 +03:00
|
|
|
font-family: Consolas, Courier New, monospace;
|
2014-10-24 08:57:53 +04:00
|
|
|
padding: 0 5px;
|
2014-10-24 06:46:30 +04:00
|
|
|
line-height: 16px;
|
|
|
|
font-size: 12px;
|
2015-01-14 09:19:31 +03:00
|
|
|
overflow-x: scroll;
|
2015-12-14 16:21:45 +03:00
|
|
|
outline: 0;
|
2014-10-24 06:46:30 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
.bottom-window-group .output pre {
|
|
|
|
margin: 0;
|
2014-11-28 13:03:23 +03:00
|
|
|
font-family: Consolas, 'Courier New', monospace
|
2014-10-10 12:04:59 +04:00
|
|
|
}
|
|
|
|
|
2014-10-24 06:46:30 +04:00
|
|
|
.bottom-window-group .output .start-build,
|
2014-12-31 13:02:04 +03:00
|
|
|
.bottom-window-group .output .start-test, .start-vet,
|
2014-10-24 06:46:30 +04:00
|
|
|
.bottom-window-group .output .start-install,
|
|
|
|
.bottom-window-group .output .start-get {
|
2014-10-23 13:55:53 +04:00
|
|
|
color: #999;
|
|
|
|
}
|
|
|
|
|
2014-10-27 18:02:15 +03:00
|
|
|
.bottom-window-group .output .build-succ,
|
2014-12-31 13:02:04 +03:00
|
|
|
.bottom-window-group .output .test-succ, .vet-succ,
|
2014-10-24 06:46:30 +04:00
|
|
|
.bottom-window-group .output .install-succ,
|
|
|
|
.bottom-window-group .output .get-succ {
|
2014-10-23 13:55:53 +04:00
|
|
|
color: rgb(0,153,0);
|
|
|
|
}
|
|
|
|
|
2014-10-27 18:58:10 +03:00
|
|
|
.bottom-window-group .output .build-error,
|
2014-12-31 13:02:04 +03:00
|
|
|
.bottom-window-group .output .test-error, .vet-error,
|
2014-10-27 18:58:10 +03:00
|
|
|
.bottom-window-group .output .install-error,
|
|
|
|
.bottom-window-group .output .get-error {
|
2014-11-06 10:47:05 +03:00
|
|
|
color: #9d0000;
|
2014-10-23 13:55:53 +04:00
|
|
|
}
|
|
|
|
|
2014-11-28 10:02:32 +03:00
|
|
|
.bottom-window-group .output .stderr {
|
|
|
|
color: gray;
|
2014-11-28 13:02:34 +03:00
|
|
|
font-style: italic;
|
2014-11-28 10:02:32 +03:00
|
|
|
}
|
|
|
|
|
2014-12-03 10:34:56 +03:00
|
|
|
.bottom-window-group .output .path {
|
|
|
|
text-decoration: underline;
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
2014-10-24 06:46:30 +04:00
|
|
|
.bottom-window-group table {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
2014-10-12 08:15:51 +04:00
|
|
|
.bottom-window-group td {
|
2014-12-01 11:54:22 +03:00
|
|
|
border-bottom: 1px solid #919191;
|
|
|
|
font-size: 12px;
|
|
|
|
line-height: 19px;
|
2014-10-10 12:04:59 +04:00
|
|
|
}
|
|
|
|
|
2015-12-14 16:21:45 +03:00
|
|
|
.bottom-window-group .notification {
|
|
|
|
outline: 0;
|
|
|
|
}
|
|
|
|
|
2014-10-10 12:04:59 +04:00
|
|
|
.bottom-window-group .notification .type,
|
|
|
|
.bottom-window-group .notification .severity {
|
|
|
|
width: 50px;
|
|
|
|
padding: 0 5px;
|
|
|
|
}
|
2015-12-05 19:27:15 +03:00
|
|
|
|
|
|
|
.bottom-window-group .search {
|
|
|
|
display: flex;
|
|
|
|
flex-flow: column;
|
2015-12-14 16:21:45 +03:00
|
|
|
outline: 0;
|
2015-12-05 19:27:15 +03:00
|
|
|
}
|
2014-10-10 12:04:59 +04:00
|
|
|
/* end bottom-window-group */
|
|
|
|
|
|
|
|
/* start footer */
|
|
|
|
.footer {
|
2014-11-29 16:49:57 +03:00
|
|
|
box-shadow: 0 1px 0 0 rgba(255, 255, 255, 0.06) inset;
|
2014-10-10 12:04:59 +04:00
|
|
|
padding-left: 5px;
|
|
|
|
line-height: 18px;
|
2015-12-05 19:27:15 +03:00
|
|
|
display: block !important;
|
2014-10-10 12:04:59 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
.footer .cursor {
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
|
|
|
.notification-count {
|
|
|
|
float: right;
|
|
|
|
display: none;
|
|
|
|
cursor: pointer;
|
2014-11-06 10:47:05 +03:00
|
|
|
background-color: #9d0000;
|
2014-10-24 08:57:53 +04:00
|
|
|
color: #FFF;
|
|
|
|
margin: 1px 5px;
|
|
|
|
padding: 0 2px;
|
|
|
|
border-radius: 3px;
|
|
|
|
line-height: 16px;
|
2014-10-10 12:04:59 +04:00
|
|
|
}
|
|
|
|
/* end footer */
|