2015-09-24 05:48:12 +00:00
|
|
|
|
html, body {
|
|
|
|
|
height: 100%;
|
|
|
|
|
}
|
|
|
|
|
body {
|
2015-05-04 07:53:29 +00:00
|
|
|
|
margin: 0;
|
|
|
|
|
padding: 0;
|
|
|
|
|
max-width: inherit;
|
|
|
|
|
min-width: 200px;
|
|
|
|
|
/*margin-right: 15px;*/
|
2015-09-24 05:48:12 +00:00
|
|
|
|
padding-top: 51px;
|
2015-05-04 07:53:29 +00:00
|
|
|
|
/*overflow: hidden;*/
|
|
|
|
|
}
|
|
|
|
|
.CodeMirror {
|
2016-02-16 01:13:17 +00:00
|
|
|
|
font-family: "Source Code Pro", Consolas, monaco, monospace;
|
2015-09-24 05:48:12 +00:00
|
|
|
|
letter-spacing: 0.025em;
|
|
|
|
|
line-height: 1.25;
|
|
|
|
|
font-size: 18px;
|
2015-05-04 07:53:29 +00:00
|
|
|
|
min-height: 100%;
|
|
|
|
|
overflow-y: hidden !important;
|
|
|
|
|
-webkit-overflow-scrolling: touch;
|
|
|
|
|
}
|
2016-02-16 01:13:17 +00:00
|
|
|
|
/* support japanese font */
|
|
|
|
|
.CodeMirror[lang^="ja"] {
|
|
|
|
|
font-family: "Source Code Pro", Consolas, monaco, Meiryo, "MS ゴシック", "MS Gothic", monospace;
|
|
|
|
|
}
|
|
|
|
|
/* support zh-tw font */
|
|
|
|
|
.CodeMirror[lang="zh-tw"] {
|
|
|
|
|
font-family: "Source Code Pro", Consolas, monaco, "Microsoft JhengHei", "微軟正黑", monospace;
|
|
|
|
|
}
|
|
|
|
|
/* support zh-cn font */
|
|
|
|
|
.CodeMirror[lang="zh-cn"] {
|
|
|
|
|
font-family: "Source Code Pro", Consolas, monaco, "Microsoft YaHei", "微软雅黑", monospace;
|
|
|
|
|
}
|
2016-01-17 15:56:36 +00:00
|
|
|
|
.CodeMirror-placeholder {
|
|
|
|
|
color: #777 !important;
|
|
|
|
|
}
|
2015-05-04 07:53:29 +00:00
|
|
|
|
.CodeMirror-scroll {
|
|
|
|
|
overflow-x: hidden !important;
|
|
|
|
|
overflow-y: auto !important;
|
|
|
|
|
}
|
|
|
|
|
.CodeMirror-code {
|
2015-09-25 11:03:04 +00:00
|
|
|
|
/*padding-bottom: 36px;*/
|
|
|
|
|
}
|
|
|
|
|
.CodeMirror-gutter-elt {
|
|
|
|
|
text-align: center;
|
2015-05-04 07:53:29 +00:00
|
|
|
|
}
|
|
|
|
|
.CodeMirror-linenumber {
|
2015-09-25 11:03:04 +00:00
|
|
|
|
/* opacity: 0.5;*/
|
|
|
|
|
min-width: 1.5em;
|
|
|
|
|
text-align: right;
|
2015-05-04 07:53:29 +00:00
|
|
|
|
}
|
|
|
|
|
.CodeMirror-matchingtag {
|
|
|
|
|
background: rgba(255, 255, 255, .1);
|
|
|
|
|
line-height: 1em;
|
|
|
|
|
}
|
|
|
|
|
.CodeMirror-foldmarker {
|
|
|
|
|
color: #d0d0d0;
|
|
|
|
|
text-shadow: none;
|
2015-05-15 04:58:13 +00:00
|
|
|
|
font-family: Arial;
|
2015-09-25 11:03:04 +00:00
|
|
|
|
font-size: 1em;
|
2015-05-04 07:53:29 +00:00
|
|
|
|
line-height: .3;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
margin: 2px;
|
2015-09-25 11:03:04 +00:00
|
|
|
|
padding-bottom: 2px;
|
|
|
|
|
}
|
|
|
|
|
.CodeMirror-foldgutter {
|
|
|
|
|
/*width: 1em;*/
|
|
|
|
|
cursor: default;
|
|
|
|
|
line-height: 100%;
|
|
|
|
|
}
|
|
|
|
|
.CodeMirror-foldgutter-open,
|
|
|
|
|
.CodeMirror-foldgutter-folded {
|
|
|
|
|
line-height: 1em;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
}
|
|
|
|
|
.CodeMirror-foldgutter-open {
|
|
|
|
|
padding-top: 1px;
|
|
|
|
|
}
|
|
|
|
|
.CodeMirror-foldgutter-folded {
|
|
|
|
|
padding-top: 2px;
|
|
|
|
|
}
|
|
|
|
|
.CodeMirror-foldgutter-open:after {
|
|
|
|
|
content: "⌵";
|
|
|
|
|
font-size: 1em;
|
|
|
|
|
/* opacity: 0.5;*/
|
|
|
|
|
}
|
|
|
|
|
.CodeMirror-foldgutter-folded:after {
|
|
|
|
|
content: "+";
|
|
|
|
|
font-size: 1em;
|
|
|
|
|
font-weight: 700;
|
|
|
|
|
}
|
|
|
|
|
.CodeMirror-foldmarker, .CodeMirror-foldgutter-folded:after {
|
|
|
|
|
color: #78B2F2 !important;
|
|
|
|
|
}
|
|
|
|
|
.CodeMirror-sizer {
|
|
|
|
|
margin-bottom: 0px !important;
|
2015-05-04 07:53:29 +00:00
|
|
|
|
}
|
2015-09-25 10:46:08 +00:00
|
|
|
|
.ui-content {
|
|
|
|
|
height: 100%;
|
2015-05-04 07:53:29 +00:00
|
|
|
|
margin-left: 0;
|
|
|
|
|
margin-right: 0;
|
|
|
|
|
}
|
|
|
|
|
.ui-edit-area {
|
2015-09-25 10:46:08 +00:00
|
|
|
|
height: 100%;
|
2015-05-04 07:53:29 +00:00
|
|
|
|
/*padding-left: 15px;*/
|
|
|
|
|
padding-left: 0 !important;
|
|
|
|
|
padding-right: 0 !important;
|
|
|
|
|
}
|
2015-09-25 10:46:08 +00:00
|
|
|
|
.ui-edit-area .ui-resizable-handle.ui-resizable-e {
|
|
|
|
|
cursor: col-resize;
|
|
|
|
|
width: 5px;
|
|
|
|
|
background-color: white;
|
|
|
|
|
box-shadow: 5px 0px 10px #e7e7e7;
|
|
|
|
|
}
|
2015-05-04 07:53:29 +00:00
|
|
|
|
.ui-view-area {
|
|
|
|
|
/*overflow-y: scroll;*/
|
|
|
|
|
-webkit-overflow-scrolling: touch;
|
|
|
|
|
}
|
2015-09-25 10:52:06 +00:00
|
|
|
|
@media (min-width: 768px) {
|
|
|
|
|
.ui-view-area {
|
|
|
|
|
padding-left: 15px;
|
|
|
|
|
padding-right: 15px;
|
|
|
|
|
}
|
|
|
|
|
}
|
2015-05-04 07:53:29 +00:00
|
|
|
|
.ui-scrollable {
|
|
|
|
|
height: 100%;
|
|
|
|
|
overflow-x: hidden;
|
|
|
|
|
overflow-y: auto;
|
|
|
|
|
}
|
|
|
|
|
.ui-status * {
|
|
|
|
|
font-size: 16px;
|
|
|
|
|
}
|
2015-09-25 10:58:49 +00:00
|
|
|
|
.navbar-brand {
|
|
|
|
|
font-weight: bold;
|
|
|
|
|
}
|
2015-05-04 07:53:29 +00:00
|
|
|
|
.nav-status .ui-status * {
|
|
|
|
|
font-size: 14px;
|
|
|
|
|
}
|
|
|
|
|
.nav-mobile {
|
2015-06-01 10:04:25 +00:00
|
|
|
|
position: inherit;
|
2015-05-04 07:53:29 +00:00
|
|
|
|
margin-top: 8px;
|
|
|
|
|
margin-bottom: 8px;
|
|
|
|
|
}
|
2015-06-01 10:04:25 +00:00
|
|
|
|
.nav-mobile .dropdown-menu {
|
|
|
|
|
left: 40%;
|
|
|
|
|
right: 6px;
|
|
|
|
|
top: 42px;
|
|
|
|
|
}
|
2015-05-04 07:53:29 +00:00
|
|
|
|
.nav-status {
|
|
|
|
|
float: right !important;
|
|
|
|
|
padding: 7px 8px;
|
|
|
|
|
}
|
|
|
|
|
.ui-status {
|
2015-06-01 10:04:25 +00:00
|
|
|
|
cursor: auto !important;
|
2015-05-04 07:53:29 +00:00
|
|
|
|
min-width: 120px;
|
2015-06-01 10:04:25 +00:00
|
|
|
|
background-color: transparent !important;
|
|
|
|
|
}
|
|
|
|
|
.ui-status span {
|
|
|
|
|
cursor: pointer;
|
2015-05-04 07:53:29 +00:00
|
|
|
|
}
|
|
|
|
|
.ui-short-status {
|
2015-06-01 10:04:25 +00:00
|
|
|
|
cursor: pointer;
|
2015-05-04 07:53:29 +00:00
|
|
|
|
min-width: 40px;
|
|
|
|
|
}
|
2015-06-01 10:04:25 +00:00
|
|
|
|
.ui-short-status:hover {
|
|
|
|
|
text-decoration: none;
|
|
|
|
|
}
|
|
|
|
|
.ui-user-item {
|
|
|
|
|
/*na*/
|
|
|
|
|
}
|
|
|
|
|
.ui-user-name {
|
|
|
|
|
margin-top: 2px;
|
|
|
|
|
}
|
2016-01-12 14:01:42 +00:00
|
|
|
|
|
2015-06-01 10:04:25 +00:00
|
|
|
|
.ui-user-status {
|
|
|
|
|
margin-top: 5px;
|
|
|
|
|
}
|
|
|
|
|
.ui-user-status-online {
|
|
|
|
|
color: rgb(92,184,92);
|
|
|
|
|
}
|
|
|
|
|
.ui-user-status-idle {
|
|
|
|
|
color: rgb(240,173,78);
|
|
|
|
|
}
|
|
|
|
|
.ui-user-status-offline {
|
|
|
|
|
color: rgb(119,119,119);
|
|
|
|
|
}
|
|
|
|
|
.list > li > a {
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
|
}
|
|
|
|
|
#short-online-user-list .list .name {
|
|
|
|
|
max-width: 65%;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
|
float: left;
|
|
|
|
|
}
|
|
|
|
|
#online-user-list .list .name {
|
|
|
|
|
max-width: 110px;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
|
float: left;
|
|
|
|
|
}
|
2015-05-04 07:53:29 +00:00
|
|
|
|
.navbar-right {
|
|
|
|
|
margin-right: 0;
|
|
|
|
|
}
|
2015-06-01 10:04:25 +00:00
|
|
|
|
.navbar-nav > li > a {
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
}
|
|
|
|
|
.dropdown-menu > li > a {
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
}
|
2015-05-04 07:53:29 +00:00
|
|
|
|
.other-cursors {
|
|
|
|
|
position:relative;
|
|
|
|
|
z-index:3;
|
|
|
|
|
}
|
|
|
|
|
.other-cursor {
|
|
|
|
|
width: 0px;
|
|
|
|
|
position: absolute;
|
|
|
|
|
border-right: none;
|
2015-09-25 10:58:49 +00:00
|
|
|
|
}
|
|
|
|
|
.dropdown-menu.other-cursor {
|
|
|
|
|
transition: none;
|
2015-05-04 07:53:29 +00:00
|
|
|
|
}
|
2015-06-01 10:04:25 +00:00
|
|
|
|
.cursortag {
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
background: black;
|
|
|
|
|
position: absolute;
|
|
|
|
|
padding: 2px 7px 2px 8px;
|
|
|
|
|
font-size: 12px;
|
|
|
|
|
max-width: 150px;
|
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
font-family: inherit;
|
|
|
|
|
border-radius: .25em;
|
|
|
|
|
white-space: nowrap;
|
2015-09-25 10:58:49 +00:00
|
|
|
|
transition: left 0.1s ease-in-out, top 0.1s ease-in-out;
|
2015-06-01 10:04:25 +00:00
|
|
|
|
}
|
2015-05-04 07:53:29 +00:00
|
|
|
|
.fixfixed .navbar-fixed-top {
|
|
|
|
|
position: absolute !important;
|
|
|
|
|
}
|
|
|
|
|
div[contenteditable]:empty:not(:focus):before{
|
|
|
|
|
content:attr(data-ph);
|
|
|
|
|
color: gray;
|
2015-06-01 10:04:25 +00:00
|
|
|
|
}
|
2015-07-01 16:10:20 +00:00
|
|
|
|
.dropdown-menu.list {
|
2015-06-01 10:04:25 +00:00
|
|
|
|
max-height: 80vh;
|
|
|
|
|
overflow: auto;
|
|
|
|
|
}
|
2016-01-12 14:01:42 +00:00
|
|
|
|
.dropdown-menu.list.small {
|
|
|
|
|
max-height: 40vh;
|
|
|
|
|
overflow: auto;
|
|
|
|
|
}
|
2015-07-01 16:10:20 +00:00
|
|
|
|
.dropdown-menu.list::-webkit-scrollbar {
|
2015-06-01 10:04:25 +00:00
|
|
|
|
display: none;
|
|
|
|
|
}
|
|
|
|
|
.dropdown-menu .emoji {
|
|
|
|
|
margin-bottom: 0 !important;
|
|
|
|
|
}
|
|
|
|
|
.dropdown-menu.other-cursor {
|
2015-09-25 10:58:49 +00:00
|
|
|
|
max-height: 50vh;
|
2015-06-01 10:04:25 +00:00
|
|
|
|
width: auto !important;
|
2015-09-25 10:58:49 +00:00
|
|
|
|
overflow: auto;
|
|
|
|
|
margin-bottom: 30px;
|
2015-06-01 10:04:25 +00:00
|
|
|
|
}
|
|
|
|
|
.CodeMirror-scrollbar-filler {
|
|
|
|
|
background: inherit;
|
|
|
|
|
}
|
|
|
|
|
|
2015-07-01 16:10:20 +00:00
|
|
|
|
.btn-file {
|
|
|
|
|
position: relative;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
}
|
|
|
|
|
.btn-file input[type=file] {
|
|
|
|
|
position: absolute;
|
|
|
|
|
top: 0;
|
|
|
|
|
right: 0;
|
|
|
|
|
min-width: 100%;
|
|
|
|
|
min-height: 100%;
|
|
|
|
|
font-size: 100px;
|
|
|
|
|
text-align: right;
|
|
|
|
|
filter: alpha(opacity=0);
|
|
|
|
|
opacity: 0;
|
|
|
|
|
outline: none;
|
|
|
|
|
background: white;
|
|
|
|
|
cursor: inherit;
|
|
|
|
|
display: block;
|
|
|
|
|
}
|
|
|
|
|
|
2016-01-12 14:01:42 +00:00
|
|
|
|
.info-label {
|
|
|
|
|
width: 36%;
|
|
|
|
|
text-align: right;
|
|
|
|
|
position: relative;
|
|
|
|
|
display: inline-block;
|
|
|
|
|
margin-right: 6px;
|
|
|
|
|
}
|
|
|
|
|
.popover {
|
|
|
|
|
width: 100%;
|
|
|
|
|
font-family: inherit !important;
|
|
|
|
|
line-height: 25px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.text-ellipsis {
|
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
white-space: nowrap;
|
|
|
|
|
}
|
|
|
|
|
|
2015-06-01 10:04:25 +00:00
|
|
|
|
.cm-trailing-space-a:before,
|
|
|
|
|
.cm-trailing-space-b:before,
|
|
|
|
|
.cm-trailing-space-new-line:before {
|
|
|
|
|
font-weight: bold;
|
|
|
|
|
color: hsl(30, 100%, 50%); /* a dark orange */
|
|
|
|
|
position: absolute;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.cm-trailing-space-a:before,
|
|
|
|
|
.cm-trailing-space-b:before {
|
|
|
|
|
content: '·';
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.cm-trailing-space-new-line:before {
|
|
|
|
|
content: '↵';
|
2015-09-25 11:03:04 +00:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.cm-matchhighlight {
|
|
|
|
|
/* border-radius: 5px;*/
|
|
|
|
|
/* box-shadow: 0 1px 0 0 #ccc;*/
|
|
|
|
|
border-bottom: 1px solid #ccc;
|
|
|
|
|
}
|
2015-09-24 06:59:45 +00:00
|
|
|
|
|
|
|
|
|
.status-bar {
|
|
|
|
|
background: #1c1c1e;
|
|
|
|
|
border-top: 1px solid #343434;
|
|
|
|
|
color: #ccc;
|
|
|
|
|
position: relative;
|
|
|
|
|
display: block;
|
|
|
|
|
box-sizing: border-box;
|
|
|
|
|
font-size: 11px;
|
|
|
|
|
line-height: 25px;
|
|
|
|
|
height: 26px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.status-bar .status-info {
|
|
|
|
|
color: #ccc;
|
|
|
|
|
left: 10px;
|
|
|
|
|
position: absolute;
|
|
|
|
|
white-space: nowrap;
|
|
|
|
|
max-width: 65%;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.status-bar .status-info div {
|
|
|
|
|
display: inline;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.status-bar .status-file {
|
|
|
|
|
color: #9a9a9a;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.status-bar .status-indicators {
|
|
|
|
|
background: #1c1c1e;
|
|
|
|
|
color: #ccc;
|
|
|
|
|
position: absolute;
|
2016-02-09 05:07:55 +00:00
|
|
|
|
right: 0;
|
2015-09-24 06:59:45 +00:00
|
|
|
|
text-align: right;
|
|
|
|
|
white-space: nowrap;
|
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
|
}
|
2015-09-25 10:55:56 +00:00
|
|
|
|
|
2016-02-09 04:51:07 +00:00
|
|
|
|
.status-bar .status-indicators > div {
|
2016-02-09 05:07:55 +00:00
|
|
|
|
float: right;
|
|
|
|
|
padding: 0 10px;
|
|
|
|
|
border-left: 1px solid #343434;
|
2016-02-09 04:51:07 +00:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.status-bar .status-indicators .status-keymap > a {
|
2016-02-09 05:07:55 +00:00
|
|
|
|
color: inherit;
|
2016-02-09 04:51:07 +00:00
|
|
|
|
text-decoration: none;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.status-bar .indent-type, .status-bar .indent-width-label {
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
/* margin-right: 3px;*/
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.status-bar .indent-width-input {
|
|
|
|
|
font-size: 12px;
|
|
|
|
|
font-weight: 500;
|
|
|
|
|
height: 18px;
|
|
|
|
|
line-height: 1;
|
|
|
|
|
vertical-align: middle;
|
|
|
|
|
color: #ccc;
|
|
|
|
|
margin: 0;
|
|
|
|
|
padding: 0 0 2px;
|
|
|
|
|
position: relative;
|
|
|
|
|
left: 0;
|
|
|
|
|
top: -1px;
|
|
|
|
|
width: 18px;
|
|
|
|
|
transition: .1s linear all;
|
|
|
|
|
background-color: #555;
|
|
|
|
|
border: 1px solid #202020;
|
|
|
|
|
color: #fff;
|
|
|
|
|
box-shadow: inset 0 1px 0 rgba(0,0,0,0.06);
|
|
|
|
|
border-radius: 3px;
|
|
|
|
|
text-align: center;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.status-bar .indent-width-input:focus {
|
|
|
|
|
border: 1px solid #2893ef;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.status-bar .indent-width-input::-webkit-inner-spin-button,
|
|
|
|
|
.status-bar .indent-width-input::-webkit-outer-spin-button {
|
|
|
|
|
-webkit-appearance: none;
|
|
|
|
|
margin: 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.status-bar .status-indent > * {
|
|
|
|
|
display: inline-block;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.status-bar .status-indent > *.hidden {
|
|
|
|
|
display: none;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.status-bar .status-overwrite:hover, .status-bar .indent-type:hover, .status-bar .indent-width-label:hover {
|
|
|
|
|
text-decoration: underline;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.status-bar .dropdown-menu {
|
|
|
|
|
background-color: #000;
|
|
|
|
|
color: #fff;
|
|
|
|
|
border: 1px solid rgba(255,255,255,0.09) !important;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.status-bar .dropdown-menu .divider {
|
|
|
|
|
background-color: #343434;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.status-bar .dropdown-menu > li > a {
|
|
|
|
|
color: #ccc;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.status-bar .dropdown-menu > li > a:focus, .status-bar .dropdown-menu > li > a:hover {
|
|
|
|
|
background-color: #212121;
|
|
|
|
|
}
|
|
|
|
|
|
2015-09-25 10:55:56 +00:00
|
|
|
|
@media print {
|
|
|
|
|
body {
|
|
|
|
|
padding-top: 0 !important;
|
|
|
|
|
}
|
|
|
|
|
.CodeMirror {
|
|
|
|
|
height: auto !important;
|
|
|
|
|
}
|
2015-05-04 07:53:29 +00:00
|
|
|
|
}
|