From a8bb73865628f593d938d04c6621b9e95e8aaefd Mon Sep 17 00:00:00 2001 From: xushubieli Date: Thu, 28 Oct 2021 11:21:24 +0800 Subject: [PATCH] Update codemirror.css MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 调整菜单功能搜索样式 --- src/dede/css/codemirror.css | 738 ++++++++++++++++++++---------------- 1 file changed, 416 insertions(+), 322 deletions(-) diff --git a/src/dede/css/codemirror.css b/src/dede/css/codemirror.css index aec3ecee..e73fd69d 100644 --- a/src/dede/css/codemirror.css +++ b/src/dede/css/codemirror.css @@ -1,383 +1,477 @@ -.CodeMirror { - font-family:monospace; - height:460px; - color:black +* { + padding:0px; + margin:0px } -.CodeMirror-lines { - padding:4px 0 -} -.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-linenumbers { - }.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 +html,body { + width:100%; + height:100% } -.cm-fat-cursor div.CodeMirror-cursors { +body { + height:100%; + font-size:12px; + overflow:hidden; z-index:1 } -.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 -} -@-moz-keyframes blink { - 0% { - }50% { - background-color:transparent -} -100% { - } -} -@-webkit-keyframes blink { - 0% { - }50% { - background-color:transparent +body.showmenu { + background:url(../images/leftmenu_bg.gif) -11px top repeat-y } -100% { - } +body.hidemenu { + background:none } -@keyframes blink { - 0% { - }50% { - background-color:transparent +ul { + list-style:none } -100% { - } +form { + margin:0; + padding:0 } -.CodeMirror-overwrite .CodeMirror-cursor { - }.cm-tab { - display:inline-block; - text-decoration:inherit +.head { + width:100%; + height:76px; + overflow:hidden; + z-index:8; + position:relative } -.CodeMirror-rulers { - position:absolute; - left:0; - right:0; - top:-50px; - bottom:-20px; +.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 } -.CodeMirror-ruler { - border-left:1px solid #ccc; - top:0; - bottom:0; - position:absolute -} -.cm-s-default .cm-header { - color:blue -} -.cm-s-default .cm-quote { - color:#090 -} -.cm-negative { - color:#d44 -} -.cm-positive { - color:#292 -} -.cm-header,.cm-strong { - font-weight:bold -} -.cm-em { - font-style:italic -} -.cm-link { +.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 } -.cm-strikethrough { - text-decoration:line-through +.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; + overflow:hidden } -.cm-s-default .cm-keyword { - color:#708 +.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 } -.cm-s-default .cm-atom { - color:#219 +.top .top_link .quick a.ac_qucikmenu:hover { + background:url(../images/quick_bg.gif) left bottom no-repeat } -.cm-s-default .cm-number { - color:#164 +.top .top_link .quick a.ac_qucikadd { + width:19px; + background:url(../images/quick_bg.gif) right top no-repeat } -.cm-s-default .cm-def { - color:#00f +.top .top_link .quick a.ac_qucikadd:hover { + background:url(../images/quick_bg.gif) right bottom no-repeat } -.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 +.topnav { + width:100%; + height:29px; + background:url(../images/admin_top_bg.jpg) left -37px repeat-x; + overflow:hidden; + clear:both } -.cm-s-default .cm-variable-3 { - color:#085 +.topnav .menuact { + width:168px; + float:left; + padding-left:10px; + overflow:hidden; + padding-top:6px } -.cm-s-default .cm-comment { - color:#a50 +.topnav .menuact a { + overflow:hidden; + color:#999999; + padding-left:22px; + padding-right:3px; + text-decoration:none } -.cm-s-default .cm-string { - color:#a11 +.topnav .menuact a:hover { + color:#FFF; + text-decoration:none } -.cm-s-default .cm-string-2 { - color:#f50 +.topnav .menuact #togglemenu { + background:url(../images/toggle_menu.gif) 5px 0px no-repeat } -.cm-s-default .cm-meta { - color:#555 +.topnav .menuact #allmenu { + background:url(../images/allmenu.gif) 5px 0px no-repeat } -.cm-s-default .cm-qualifier { - color:#555 +.nav { + float:left; + padding-left:2px; + line-height:27px; + color:#999 } -.cm-s-default .cm-builtin { - color:#30a +.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-bracket { - color:#997 +.scroll { + padding-top:1px; + float:right; + overflow:hidden; + height:25px } -.cm-s-default .cm-tag { - color:#170 +.scroll ul { + }.scroll ul li,.sysmsg ul li a { + color:#BBB; + text-decoration:none } -.cm-s-default .cm-attribute { - color:#00c +.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-hr { - color:#999 +.scroll ul li a:hover { + text-decoration:underline } -.cm-s-default .cm-link { - color:#00c +.scroll { + padding-right:20px } -.cm-s-default .cm-error { - color:#f00 +.scroll a { + padding-left:20px; + color:#ffffff; + text-decoration:none; + margin-right:10px; + background:url(../images/ico-sysmsg.png) 3px 1px no-repeat } -.cm-invalidchar { - color:#f00 +.scroll a:hover { + text-decoration:underline } -.CodeMirror-composing { - border-bottom:2px solid +body.showmenu .left { + display:block } -div.CodeMirror span.CodeMirror-matchingbracket { - color:#0f0 +body.hidemenu .left { + display:none } -div.CodeMirror span.CodeMirror-nonmatchingbracket { - color:#f22 +body.showmenu .right { + left:212px } -.CodeMirror-matchingtag { - background:rgba(255,150,0,.3) +body.hidemenu .right { + left:0px } -.CodeMirror-activeline-background { - background:#e8f2ff +.left { + position:absolute; + top:76px; + width:212px; + left:0px; + bottom:0px; + z-index:7 } -.CodeMirror { - position:relative; - overflow:hidden; - background:white +.menu { + height:100% } -.CodeMirror-scroll { - overflow:scroll !important; - margin-bottom:-30px; - margin-right:-30px; - padding-bottom:30px; - height:100%; - outline:none; - position:relative +.top_link { + font-size:13px } -.CodeMirror-sizer { - position:relative; - border-right:30px solid transparent +.menu iframe { + height:100%; + width:99.99%; + z-index:20 } -.CodeMirror-vscrollbar,.CodeMirror-hscrollbar,.CodeMirror-scrollbar-filler,.CodeMirror-gutter-filler { +.right { position:absolute; - z-index:6; - display:none -} -.CodeMirror-vscrollbar { right:0; - top:0; - overflow-x:hidden; - overflow-y:scroll + top:76px; + bottom:0px; + z-index:7 } -.CodeMirror-hscrollbar { - bottom:0; - left:0; - overflow-y:hidden; - overflow-x:scroll +.main { + height:100% } -.CodeMirror-scrollbar-filler { - right:0; - bottom:0 -} -.CodeMirror-gutter-filler { - left:0; - bottom:0 +.main iframe { + height:100%; + width:99.99%; + z-index:20 } -.CodeMirror-gutters { +.qucikmenu { position:absolute; - left:0; - top:0; - min-height:100%; - z-index:3 + right:10px; + top:32px; + z-index:9; + display:none } -.CodeMirror-gutter { - white-space:normal; +.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%; height:100%; - display:inline-block; - vertical-align:top; - margin-bottom:-30px -} -.CodeMirror-gutter-wrapper { + background:#000; position:absolute; - z-index:4; - background:none !important; - border:none !important + z-index:100; + filter:alpha(opacity=70); + -moz-opacity:0.7; + opacity:0.7; + display:none } -.CodeMirror-gutter-background { +.iframemask { position:absolute; + z-index:80; top:0; - bottom:0; - z-index:4 -} -.CodeMirror-gutter-elt { - position:absolute; - 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 -} -.CodeMirror-linewidget { - position:relative; - z-index:2; - overflow:auto -} -.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; + background-color:#fff; + border:none; + filter:alpha(opacity=0); + -moz-opacity:0; + opacity:0; + height:100%; width:100%; - height:0; - overflow:hidden; - visibility:hidden + display:none } -.CodeMirror-cursor { +.allmenu { + width:726px; + background:#FFF; + border:4px solid #333; + z-index:999; position:absolute; - pointer-events:none -} -.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 + 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 } -@media print { - .CodeMirror div.CodeMirror-cursors { - visibility:hidden +.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 } -}.cm-tab-wrap-hack:after { - content:'' +#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; + position:absolute; + width:100%; + height:28px; + border-top:1px solid #390; + line-height:28px; + text-align:right; + padding-top:0; + padding-bottom:0 } -span.CodeMirror-selectedtext { - background:none +#help #content { + padding-right:12px; + background:url(../images/gtk-edit.png) no-repeat scroll 0px -1px; + padding-left:20px } \ No newline at end of file