Skip to content

Commit 5875bd3

Browse files
committed
add
1 parent 58fa7bc commit 5875bd3

File tree

505 files changed

+138644
-251
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

505 files changed

+138644
-251
lines changed

static/css/app/codeview/neo.css

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
/* neo theme for codemirror */
2+
3+
/* Color scheme */
4+
5+
.cm-s-neo .CodeMirror {
6+
background: #272822;
7+
color: #ddd;
8+
line-height:1.4375;
9+
font-family: 'Source Sans Pro', Helvetica, Arial, sans-serif;
10+
letter-spacing: 0.05em;
11+
}
12+
.cm-s-neo .cm-comment {color:#75787b}
13+
.cm-s-neo .cm-keyword, .cm-s-neo .cm-property {color:#66D9EF;}
14+
.cm-s-neo .cm-atom,.cm-s-neo .cm-number {color:#AE81FF;}
15+
.cm-s-neo .cm-node,.cm-s-neo .cm-tag {color:#F9263E;}
16+
.cm-s-neo .cm-string {color: #E6DB67;}
17+
.cm-s-neo .cm-variable,.cm-s-neo .cm-qualifier {color:#A6E22E;}
18+
.cm-tag.cm-bracket {color:#eee;}
19+
20+
21+
/* Editor styling */
22+
23+
.cm-s-neo pre {
24+
padding:0;
25+
}
26+
27+
.cm-s-neo .CodeMirror-gutters {
28+
border:none;
29+
background: #555;
30+
border-right:10px solid transparent;
31+
background-color:transparent;
32+
}
33+
34+
.CodeMirror-gutter-wrapper {
35+
background: #272822;
36+
}
37+
38+
.cm-s-neo .CodeMirror-linenumber {
39+
padding: 0;
40+
color: #8F908A;
41+
}
42+
43+
.cm-s-neo .CodeMirror-guttermarker { color: #1d75b3; }
44+
.cm-s-neo .CodeMirror-guttermarker-subtle { color: #e0e2e5; }
45+
46+
.cm-s-neo div.CodeMirror-cursor {
47+
width: auto;
48+
border: 0;
49+
background: rgba(155,157,162,0.37);
50+
z-index: 1;
51+
}

static/css/app/codeview/solarized.css

Lines changed: 165 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,165 @@
1+
/*
2+
Solarized theme for code-mirror
3+
http://ethanschoonover.com/solarized
4+
*/
5+
6+
/*
7+
Solarized color pallet
8+
http://ethanschoonover.com/solarized/img/solarized-palette.png
9+
*/
10+
11+
.solarized.base03 { color: #002b36; }
12+
.solarized.base02 { color: #073642; }
13+
.solarized.base01 { color: #586e75; }
14+
.solarized.base00 { color: #657b83; }
15+
.solarized.base0 { color: #839496; }
16+
.solarized.base1 { color: #93a1a1; }
17+
.solarized.base2 { color: #eee8d5; }
18+
.solarized.base3 { color: #fdf6e3; }
19+
.solarized.solar-yellow { color: #b58900; }
20+
.solarized.solar-orange { color: #cb4b16; }
21+
.solarized.solar-red { color: #dc322f; }
22+
.solarized.solar-magenta { color: #d33682; }
23+
.solarized.solar-violet { color: #6c71c4; }
24+
.solarized.solar-blue { color: #268bd2; }
25+
.solarized.solar-cyan { color: #2aa198; }
26+
.solarized.solar-green { color: #859900; }
27+
28+
/* Color scheme for code-mirror */
29+
30+
.cm-s-solarized {
31+
line-height: 1.45em;
32+
color-profile: sRGB;
33+
rendering-intent: auto;
34+
}
35+
.cm-s-solarized.cm-s-dark {
36+
color: #839496;
37+
background-color: #002b36;
38+
text-shadow: #002b36 0 1px;
39+
}
40+
.cm-s-solarized.cm-s-light {
41+
background-color: #fdf6e3;
42+
color: #657b83;
43+
text-shadow: #eee8d5 0 1px;
44+
}
45+
46+
.cm-s-solarized .CodeMirror-widget {
47+
text-shadow: none;
48+
}
49+
50+
51+
.cm-s-solarized .cm-keyword { color: #cb4b16 }
52+
.cm-s-solarized .cm-atom { color: #d33682; }
53+
.cm-s-solarized .cm-number { color: #d33682; }
54+
.cm-s-solarized .cm-def { color: #2aa198; }
55+
56+
.cm-s-solarized .cm-variable { color: #268bd2; }
57+
.cm-s-solarized .cm-variable-2 { color: #b58900; }
58+
.cm-s-solarized .cm-variable-3 { color: #6c71c4; }
59+
60+
.cm-s-solarized .cm-property { color: #2aa198; }
61+
.cm-s-solarized .cm-operator {color: #6c71c4;}
62+
63+
.cm-s-solarized .cm-comment { color: #586e75; font-style:italic; }
64+
65+
.cm-s-solarized .cm-string { color: #859900; }
66+
.cm-s-solarized .cm-string-2 { color: #b58900; }
67+
68+
.cm-s-solarized .cm-meta { color: #859900; }
69+
.cm-s-solarized .cm-qualifier { color: #b58900; }
70+
.cm-s-solarized .cm-builtin { color: #d33682; }
71+
.cm-s-solarized .cm-bracket { color: #cb4b16; }
72+
.cm-s-solarized .CodeMirror-matchingbracket { color: #859900; }
73+
.cm-s-solarized .CodeMirror-nonmatchingbracket { color: #dc322f; }
74+
.cm-s-solarized .cm-tag { color: #93a1a1 }
75+
.cm-s-solarized .cm-attribute { color: #2aa198; }
76+
.cm-s-solarized .cm-header { color: #586e75; }
77+
.cm-s-solarized .cm-quote { color: #93a1a1; }
78+
.cm-s-solarized .cm-hr {
79+
color: transparent;
80+
border-top: 1px solid #586e75;
81+
display: block;
82+
}
83+
.cm-s-solarized .cm-link { color: #93a1a1; cursor: pointer; }
84+
.cm-s-solarized .cm-special { color: #6c71c4; }
85+
.cm-s-solarized .cm-em {
86+
color: #999;
87+
text-decoration: underline;
88+
text-decoration-style: dotted;
89+
}
90+
.cm-s-solarized .cm-strong { color: #eee; }
91+
.cm-s-solarized .cm-error,
92+
.cm-s-solarized .cm-invalidchar {
93+
color: #586e75;
94+
border-bottom: 1px dotted #dc322f;
95+
}
96+
97+
.cm-s-solarized.cm-s-dark .CodeMirror-selected {
98+
background: #073642;
99+
}
100+
101+
.cm-s-solarized.cm-s-light .CodeMirror-selected {
102+
background: #eee8d5;
103+
}
104+
105+
/* Editor styling */
106+
107+
108+
109+
/* Little shadow on the view-port of the buffer view */
110+
.cm-s-solarized.CodeMirror {
111+
-moz-box-shadow: inset 7px 0 12px -6px #000;
112+
-webkit-box-shadow: inset 7px 0 12px -6px #000;
113+
box-shadow: inset 7px 0 12px -6px #000;
114+
}
115+
116+
/* Gutter border and some shadow from it */
117+
.cm-s-solarized .CodeMirror-gutters {
118+
border-right: 1px solid;
119+
}
120+
121+
/* Gutter colors and line number styling based of color scheme (dark / light) */
122+
123+
/* Dark */
124+
.cm-s-solarized.cm-s-dark .CodeMirror-gutters {
125+
background-color: #002b36;
126+
border-color: #00232c;
127+
}
128+
129+
.cm-s-solarized.cm-s-dark .CodeMirror-linenumber {
130+
text-shadow: #021014 0 -1px;
131+
}
132+
133+
/* Light */
134+
.cm-s-solarized.cm-s-light .CodeMirror-gutters {
135+
background-color: #fdf6e3;
136+
border-color: #eee8d5;
137+
}
138+
139+
/* Common */
140+
.cm-s-solarized .CodeMirror-linenumber {
141+
color: #586e75;
142+
padding: 0 5px;
143+
}
144+
.cm-s-solarized .CodeMirror-guttermarker-subtle { color: #586e75; }
145+
.cm-s-solarized.cm-s-dark .CodeMirror-guttermarker { color: #ddd; }
146+
.cm-s-solarized.cm-s-light .CodeMirror-guttermarker { color: #cb4b16; }
147+
148+
.cm-s-solarized .CodeMirror-gutter .CodeMirror-gutter-text {
149+
color: #586e75;
150+
}
151+
152+
.cm-s-solarized .CodeMirror-lines .CodeMirror-cursor {
153+
border-left: 1px solid #819090;
154+
}
155+
156+
/*
157+
Active line. Negative margin compensates left padding of the text in the
158+
view-port
159+
*/
160+
.cm-s-solarized.cm-s-dark .CodeMirror-activeline-background {
161+
background: rgba(255, 255, 255, 0.10);
162+
}
163+
.cm-s-solarized.cm-s-light .CodeMirror-activeline-background {
164+
background: rgba(0, 0, 0, 0.10);
165+
}

static/css/app/detail.css

Lines changed: 109 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,109 @@
1+
body {
2+
background: #e6decb;
3+
padding: 20px 0;
4+
font-size: 14px;
5+
padding-bottom: 200px;
6+
overflow-x: hidden;
7+
overflow-y: hidden;
8+
}
9+
10+
.wrap {
11+
width: 920px;
12+
margin: 0 auto;
13+
}
14+
15+
.detail-title {
16+
height: 30px;
17+
line-height: 30px;
18+
padding-left: 20px;
19+
font-size: 20px;
20+
letter-spacing: .04em;
21+
color: #b75024;
22+
}
23+
24+
.detail-subtitle {
25+
padding-left: 20px;
26+
height: 30px;
27+
font-size: 18px;
28+
border-bottom: 1px solid #999;
29+
}
30+
31+
.detail-titlebtn {
32+
float: right;
33+
line-height: 30px;
34+
margin-right: 20px;
35+
font-size: 14px;
36+
color: #2175CF;
37+
}
38+
39+
.detail-attr, .detail-demo {
40+
margin: 20px 120px 20px 50px;
41+
}
42+
43+
.detail-blockname {
44+
font-size: 18px;
45+
margin: 20px 0 10px 0;
46+
color: #b75024;
47+
}
48+
49+
.desc {
50+
margin-top: 5px;
51+
text-indent: 2em;
52+
}
53+
54+
.detail-groupname {
55+
height: 30px;
56+
line-height: 30px;
57+
font-size: 16px;
58+
color: #C93A00;
59+
}
60+
61+
.detail-ct {
62+
padding-left: 20px;
63+
}
64+
65+
.detail-require, .detail-version {
66+
background: #E7D9B7;
67+
border: 1px solid #EBCB83;
68+
padding: 10px 20px;
69+
margin: 10px 0 20px 0;
70+
}
71+
72+
.detail-code {
73+
display: none;
74+
}
75+
76+
.detail-demoview {
77+
background: #CBCFDB;
78+
border: 1px solid #91B7E0;
79+
padding: 10px 20px;
80+
margin: 10px 0 20px 0;
81+
}
82+
83+
.detail-require a, .detail-version a {
84+
margin: 0 20px;
85+
}
86+
87+
.detail-nowVersion {
88+
color: #f00;
89+
font-weight: bolder;
90+
}
91+
92+
em {
93+
color: #2175CF;
94+
margin: 0 2px;
95+
}
96+
97+
.detail-ct .CodeMirror {
98+
height: auto;
99+
background: #E7D9B7;
100+
border: 1px solid #EBCB83;
101+
padding: 10px 20px;
102+
margin: 10px 0 20px 0;
103+
color: #555;
104+
font: 14px/1.5 Tahoma,Helvetica,Arial,'Microsoft YaHei',sans-serif;
105+
}
106+
107+
.detail-codetpl {
108+
display: none;
109+
}

0 commit comments

Comments
 (0)