diff --git a/src/dede/css/codemirror.css b/src/dede/css/codemirror.css index e73fd69d..f48349ed 100644 --- a/src/dede/css/codemirror.css +++ b/src/dede/css/codemirror.css @@ -1,477 +1,382 @@ -* { - padding:0px; - margin:0px +.CodeMirror { + font-family:monospace; + height:460px; + color:black } -html,body { - width:100%; - height:100% +.CodeMirror-lines { + padding:4px 0 } -body { - height:100%; - font-size:12px; - overflow:hidden; +.CodeMirror pre { + padding:0 4px +} +.CodeMirror-scrollbar-filler,.CodeMirror-gutter-filler { + background-color:white +} +.CodeMirror-gutters { + border-right:1px solid #ddd; + background-color:#f7f7f7; + white-space:nowrap +} +.CodeMirror-linenumber { + padding:0 3px 0 5px; + min-width:20px; + text-align:right; + color:#999; + white-space:nowrap +} +.CodeMirror-guttermarker { + color:black +} +.CodeMirror-guttermarker-subtle { + color:#999 +} +.CodeMirror-cursor { + border-left:1px solid black; + border-right:none; + width:0 +} +.CodeMirror div.CodeMirror-secondarycursor { + border-left:1px solid silver +} +.cm-fat-cursor .CodeMirror-cursor { + width:auto; + border:0 !important; + background:#7e7 +} +.cm-fat-cursor div.CodeMirror-cursors { z-index:1 } -body.showmenu { - background:url(../images/leftmenu_bg.gif) -11px top repeat-y +.cm-animate-fat-cursor { + width:auto; + border:0; + -webkit-animation:blink 1.06s steps(1) infinite; + -moz-animation:blink 1.06s steps(1) infinite; + animation:blink 1.06s steps(1) infinite; + background-color:#7e7 } -body.hidemenu { - background:none +@-moz-keyframes blink { + 0% { + }50% { + background-color:transparent } -ul { - list-style:none +100% { + } } -form { - margin:0; - padding:0 +@-webkit-keyframes blink { + 0% { + }50% { + background-color:transparent } -.head { - width:100%; - height:76px; - overflow:hidden; - z-index:8; - position:relative +100% { + } } -.top { - height:47px; - width:100%; - background-image:linear-gradient(135deg,#008E38 0%,#639709 100%); - overflow:hidden; - clear:both -} -.top .top_logo { - width:170px; - height:37px; - margin-top:5px; - float:left -} -.top .top_link { - float:right; - padding:10px 10px 0px 0px -} -.top .top_link ul { - float:left; - padding:8px 0px 0px 0px; - line-height:14px; - overflow:hidden +@keyframes blink { + 0% { + }50% { + background-color:transparent } -.top .top_link ul li.welcome { - border-right:none; - color:#A8C280; - padding-right:6px -} -.top .top_link ul li { - float:left; - color:#CBDAB3; - border-right:1px solid #61910F; - margin-right:-1px -} -.top .top_link ul li a { - color:#CBDAB3; - padding-left:11px; - padding-right:11px; - text-decoration:none -} -.top .top_link ul li a:hover { - color:#FFF; - text-decoration:underline +100% { + } } -.top .top_link .quick { - padding:3px 0px 0px 0px; - float:left -} -.top .top_link .quick a { - display:block; - text-decoration:none; - color:#C60; - float:left; - line-height:21px; - height:21px; +.CodeMirror-overwrite .CodeMirror-cursor { + }.cm-tab { + display:inline-block; + text-decoration:inherit +} +.CodeMirror-rulers { + position:absolute; + left:0; + right:0; + top:-50px; + bottom:-20px; overflow:hidden } -.top .top_link .quick a.ac_qucikmenu { - width:81px; - background:url(../images/quick_bg.gif) left top no-repeat; - letter-spacing:1px; - text-indent:8px +.CodeMirror-ruler { + border-left:1px solid #ccc; + top:0; + bottom:0; + position:absolute } -.top .top_link .quick a.ac_qucikmenu:hover { - background:url(../images/quick_bg.gif) left bottom no-repeat +.cm-s-default .cm-header { + color:blue } -.top .top_link .quick a.ac_qucikadd { - width:19px; - background:url(../images/quick_bg.gif) right top no-repeat +.cm-s-default .cm-quote { + color:#090 } -.top .top_link .quick a.ac_qucikadd:hover { - background:url(../images/quick_bg.gif) right bottom no-repeat +.cm-negative { + color:#d44 } -.topnav { - width:100%; - height:29px; - background:url(../images/admin_top_bg.jpg) left -37px repeat-x; - overflow:hidden; - clear:both +.cm-positive { + color:#292 } -.topnav .menuact { - width:168px; - float:left; - padding-left:10px; - overflow:hidden; - padding-top:6px +.cm-header,.cm-strong { + font-weight:bold } -.topnav .menuact a { - overflow:hidden; - color:#999999; - padding-left:22px; - padding-right:3px; - text-decoration:none +.cm-em { + font-style:italic } -.topnav .menuact a:hover { - color:#FFF; - text-decoration:none +.cm-link { + text-decoration:underline } -.topnav .menuact #togglemenu { - background:url(../images/toggle_menu.gif) 5px 0px no-repeat +.cm-strikethrough { + text-decoration:line-through } -.topnav .menuact #allmenu { - background:url(../images/allmenu.gif) 5px 0px no-repeat +.cm-s-default .cm-keyword { + color:#708 } -.nav { - float:left; - padding-left:2px; - line-height:27px; - color:#999 +.cm-s-default .cm-atom { + color:#219 } -.nav ul li { - float:left; - display:block; - margin-left:4px -} -.nav ul li a { - padding:0px 11px 0px 11px; - color:#FFCC00; - text-decoration:none -} -.nav ul li a:hover { - color:#FFFFFF -} -.nav ul li a.thisclass,.nav ul li a.thisclass:hover { - color:#4E8100; - display:block; - font-weight:bold; - background:#FFF; - line-height:23px; - border-top:2px solid #FFDE59; - margin-top:4px; - padding:0px 10px 0px 10px -} -.sysmsg { - height:27px; - overflow:hidden; - line-height:27px; - padding-right:10px; - float:right; - color:#999; - width:500px -} -.sysmsg h3 { - font-size:12px; - float:left; - padding-right:6px; - font-weight:normal; - color:#FC0; - display:none +.cm-s-default .cm-number { + color:#164 } -.scroll { - padding-top:1px; - float:right; - overflow:hidden; - height:25px +.cm-s-default .cm-def { + color:#00f } -.scroll ul { - }.scroll ul li,.sysmsg ul li a { - color:#BBB; - text-decoration:none +.cm-s-default .cm-variable,.cm-s-default .cm-punctuation,.cm-s-default .cm-property,.cm-s-default .cm-operator { + }.cm-s-default .cm-variable-2 { + color:#05a } -.scroll ul li { - height:27px; - overflow:hidden; - line-height:27px; - float:right; - clear:both; - padding-left:19px; - background:url(../images/ico-sysmsg.png) 5px 8px no-repeat +.cm-s-default .cm-variable-3 { + color:#085 } -.scroll ul li a:hover { - text-decoration:underline +.cm-s-default .cm-comment { + color:#a50 } -.scroll { - padding-right:20px +.cm-s-default .cm-string { + color:#a11 } -.scroll a { - padding-left:20px; - color:#ffffff; - text-decoration:none; - margin-right:10px; - background:url(../images/ico-sysmsg.png) 3px 1px no-repeat +.cm-s-default .cm-string-2 { + color:#f50 } -.scroll a:hover { - text-decoration:underline +.cm-s-default .cm-meta { + color:#555 } -body.showmenu .left { - display:block +.cm-s-default .cm-qualifier { + color:#555 } -body.hidemenu .left { - display:none +.cm-s-default .cm-builtin { + color:#30a } -body.showmenu .right { - left:212px +.cm-s-default .cm-bracket { + color:#997 } -body.hidemenu .right { - left:0px +.cm-s-default .cm-tag { + color:#170 } -.left { - position:absolute; - top:76px; - width:212px; - left:0px; - bottom:0px; - z-index:7 +.cm-s-default .cm-attribute { + color:#00c +} +.cm-s-default .cm-hr { + color:#999 +} +.cm-s-default .cm-link { + color:#00c +} +.cm-s-default .cm-error { + color:#f00 +} +.cm-invalidchar { + color:#f00 +} +.CodeMirror-composing { + border-bottom:2px solid +} +div.CodeMirror span.CodeMirror-matchingbracket { + color:#0f0 +} +div.CodeMirror span.CodeMirror-nonmatchingbracket { + color:#f22 +} +.CodeMirror-matchingtag { + background:rgba(255,150,0,.3) } -.menu { - height:100% +.CodeMirror-activeline-background { + background:#e8f2ff } -.top_link { - font-size:13px +.CodeMirror { + position:relative; + overflow:hidden; + background:white } -.menu iframe { +.CodeMirror-scroll { + overflow:scroll !important; + margin-bottom:-30px; + margin-right:-30px; + padding-bottom:30px; height:100%; - width:99.99%; - z-index:20 + outline:none; + position:relative } -.right { +.CodeMirror-sizer { + position:relative; + border-right:30px solid transparent +} +.CodeMirror-vscrollbar,.CodeMirror-hscrollbar,.CodeMirror-scrollbar-filler,.CodeMirror-gutter-filler { position:absolute; + z-index:6; + display:none +} +.CodeMirror-vscrollbar { right:0; - top:76px; - bottom:0px; - z-index:7 + top:0; + overflow-x:hidden; + overflow-y:scroll } -.main { - height:100% +.CodeMirror-hscrollbar { + bottom:0; + left:0; + overflow-y:hidden; + overflow-x:scroll } -.main iframe { - height:100%; - width:99.99%; - z-index:20 +.CodeMirror-scrollbar-filler { + right:0; + bottom:0 +} +.CodeMirror-gutter-filler { + left:0; + bottom:0 } -.qucikmenu { +.CodeMirror-gutters { position:absolute; - right:10px; - top:32px; - z-index:9; - display:none + left:0; + top:0; + min-height:100%; + z-index:3 } -.qucikmenu ul { - width:110px; - list-style:none; - border:1px solid #E7E7E7; - background:#FFF -} -.qucikmenu ul li { - display:block; - text-align:left -} -.qucikmenu ul li a { - height:29px; - line-height:29px; - display:block; - color:#666666; - padding-left:10px; - padding-right:10px; - text-decoration:none -} -.qucikmenu ul li a:hover { - text-decoration:none; - background:#F7F7F7 -} -.pagemask { - width:100%; +.CodeMirror-gutter { + white-space:normal; height:100%; - background:#000; + display:inline-block; + vertical-align:top; + margin-bottom:-30px +} +.CodeMirror-gutter-wrapper { position:absolute; - z-index:100; - filter:alpha(opacity=70); - -moz-opacity:0.7; - opacity:0.7; - display:none + z-index:4; + background:none !important; + border:none !important } -.iframemask { +.CodeMirror-gutter-background { position:absolute; - z-index:80; top:0; - left:0; - background-color:#fff; - border:none; - filter:alpha(opacity=0); - -moz-opacity:0; - opacity:0; - height:100%; - width:100%; - display:none + bottom:0; + z-index:4 } -.allmenu { - width:726px; - background:#FFF; - border:4px solid #333; - z-index:999; +.CodeMirror-gutter-elt { position:absolute; - left:50%; - top:38px; - margin-left:-350px; - display:none; - padding:5px 0px -} -.allmenu .allmenu-box { - width:720px; - margin:0px auto; - text-align:left; - overflow:hidden; - padding-left:2px + cursor:default; + z-index:4 +} +.CodeMirror-gutter-wrapper { + -webkit-user-select:none; + -moz-user-select:none; + user-select:none +} +.CodeMirror-lines { + cursor:text; + min-height:1px +} +.CodeMirror pre { + -moz-border-radius:0; + -webkit-border-radius:0; + border-radius:0; + border-width:0; + background:transparent; + font-family:inherit; + font-size:inherit; + margin:0; + white-space:pre; + word-wrap:normal; + line-height:inherit; + color:inherit; + z-index:2; + position:relative; + overflow:visible; + -webkit-tap-highlight-color:transparent; + -webkit-font-variant-ligatures:contextual; + font-variant-ligatures:contextual +} +.CodeMirror-wrap pre { + word-wrap:break-word; + white-space:pre-wrap; + word-break:normal +} +.CodeMirror-linebackground { + position:absolute; + left:0; + right:0; + top:0; + bottom:0; + z-index:0 } -.maptop { - float:left; - width:113px; - overflow:hidden; - padding-right:3px; - padding-left:3px; - border-right:1px solid #EEE; - border-left:1px solid #EEE; - margin-left:-1px -} -.maptop dt.bigitem { - padding:2px; - background:#455656; - color:#FFF; - line-height:19px; - font-weight:bold; - margin-bottom:3px; - text-indent:3px -} -.mapitem dt { - line-height:21px; - font-weight:bold; - text-indent:10px; - background:#EFF1F1 -} -.mapitem ul { - margin-top:2px; - margin-bottom:5px -} -.mapitem ul li { - text-indent:13px; - line-height:22px; - background:url(../images/arrr.gif) 4px 6px no-repeat -} -.allmenu a { - color:#5C604F; - text-decoration:none -} -.allmenu a:hover { - color:#F63 -} -#login .theme { - clear:both; - padding:10px; - width:70%; - margin-top:20px -} -#login .theme li { - margin-bottom:15px; - margin-top:5px; - overflow:hidden +.CodeMirror-linewidget { + position:relative; + z-index:2; + overflow:auto } -#login .theme span { - color:#000000; - width:150px; - display:inline-block; - float:left; - text-align:right; - height:22px; - line-height:22px -} -input { - color:#000; - font-size:12px -} -input[type="text"],input[type="password"] { - width:219px; - border-width:1px; - border-style:solid; - border-color:#707070 #CECECE #CECECE #707070; - padding:2px 4px; - height:18px; - line-height:18px; - vertical-align:middle; - background:#FFF url("../images/input.gif") 0 0 no-repeat -} -input[type="text"]:focus,input[type="password"]:focus { - border-color:#6FB1DF; - color:#333; - -moz-box-shadow:0 0 3px #A5C760; - -webkit-border-shadow:0 0 3px #A5C760; - box-shadow:0 0 3px #A5C760 -} -* html input.text { - width:223px; - border:1px solid #a7a6aa; - background:#FFF url("../images/input.gif") 0 0 no-repeat; - margin-top:-1px; - margin-right:5px; - margin-bottom:0; - margin-left:2px; - padding:3px; - line-height:12px -} -* html input.radio { - margin:-1px 0 0 -2px -} -.allsearch { - float:left; - margin-top:4px!important; - background:#FFF url("../images/input.gif") 0 0 no-repeat; - border:1px solid #a7a6aa; - padding:2px; - height:12px!important; - line-height:12px!important; - height:19px -} -.np { - width:40px; - height:18px; - line-height:18px; - border:none; - background:url(../images/search_bn.gif) #EFF7D0; - cursor:pointer; - margin-top:4px; - margin-left:2px; - margin-right:8px; - vertical-align:top -} -#help { - background:url("../images/dlgtitle.gif") repeat-x scroll 0 0 transparent; - bottom:0; - left:0; +.CodeMirror-widget { + }.CodeMirror-code { + outline:none +} +.CodeMirror-scroll,.CodeMirror-sizer,.CodeMirror-gutter,.CodeMirror-gutters,.CodeMirror-linenumber { + -moz-box-sizing:content-box; + box-sizing:content-box +} +.CodeMirror-measure { position:absolute; width:100%; - height:28px; - border-top:1px solid #390; - line-height:28px; - text-align:right; - padding-top:0; - padding-bottom:0 + height:0; + overflow:hidden; + visibility:hidden +} +.CodeMirror-cursor { + position:absolute; + pointer-events:none } -#help #content { - padding-right:12px; - background:url(../images/gtk-edit.png) no-repeat scroll 0px -1px; - padding-left:20px +.CodeMirror-measure pre { + position:static +} +div.CodeMirror-cursors { + visibility:hidden; + position:relative; + z-index:3 +} +div.CodeMirror-dragcursors { + visibility:visible +} +.CodeMirror-focused div.CodeMirror-cursors { + visibility:visible +} +.CodeMirror-selected { + background:#d9d9d9 +} +.CodeMirror-focused .CodeMirror-selected { + background:#d7d4f0 +} +.CodeMirror-crosshair { + cursor:crosshair +} +.CodeMirror-line::selection,.CodeMirror-line > span::selection,.CodeMirror-line > span > span::selection { + background:#d7d4f0 +} +.CodeMirror-line::-moz-selection,.CodeMirror-line > span::-moz-selection,.CodeMirror-line > span > span::-moz-selection { + background:#d7d4f0 +} +.cm-searching { + background:#ffa; + background:rgba(255,255,0,.4) +} +.cm-force-border { + padding-right:.1px +} +@media print { + .CodeMirror div.CodeMirror-cursors { + visibility:hidden +} +}.cm-tab-wrap-hack:after { + content:'' +} +span.CodeMirror-selectedtext { + background:none } \ No newline at end of file