diff options
Diffstat (limited to 'language-web/src/main/css/index.scss')
-rw-r--r-- | language-web/src/main/css/index.scss | 105 |
1 files changed, 105 insertions, 0 deletions
diff --git a/language-web/src/main/css/index.scss b/language-web/src/main/css/index.scss new file mode 100644 index 00000000..e788bbd1 --- /dev/null +++ b/language-web/src/main/css/index.scss | |||
@@ -0,0 +1,105 @@ | |||
1 | @import 'codemirror/lib/codemirror'; | ||
2 | @import 'codemirror/addon/hint/show-hint'; | ||
3 | |||
4 | @import 'xtext/xtext-codemirror'; | ||
5 | |||
6 | body { | ||
7 | width: 100%; | ||
8 | height: 100%; | ||
9 | overflow: hidden; | ||
10 | font: 16px Helvetica,sans-serif; | ||
11 | } | ||
12 | |||
13 | a { | ||
14 | color: #22a; | ||
15 | text-decoration: none; | ||
16 | } | ||
17 | |||
18 | a:hover { | ||
19 | text-decoration: underline; | ||
20 | } | ||
21 | |||
22 | .container { | ||
23 | display: block; | ||
24 | position: absolute; | ||
25 | top: 0; | ||
26 | bottom: 0; | ||
27 | left: 0; | ||
28 | right: 0; | ||
29 | margin: 24px 24px 36px 24px; | ||
30 | } | ||
31 | |||
32 | .header { | ||
33 | display: block; | ||
34 | position: absolute; | ||
35 | top: 0; | ||
36 | left: 0; | ||
37 | right: 0; | ||
38 | padding: 16px; | ||
39 | background: #dbdbdb; | ||
40 | border-radius: 16px; | ||
41 | color: #383838; | ||
42 | } | ||
43 | |||
44 | .header h1 { | ||
45 | font-size: 36px; | ||
46 | margin: 0; | ||
47 | } | ||
48 | |||
49 | .content { | ||
50 | display: block; | ||
51 | position: absolute; | ||
52 | top: 108px; | ||
53 | bottom: 0; | ||
54 | left: 0; | ||
55 | width: 100%; | ||
56 | box-shadow: 0 0 8px rgba(80, 10, 98, .25), 0 10px 24px rgba(80, 10, 98, .35); | ||
57 | border-radius: 16px; | ||
58 | } | ||
59 | |||
60 | .xtext-editor { | ||
61 | display: block; | ||
62 | position: absolute; | ||
63 | top: 16px; | ||
64 | bottom: 16px; | ||
65 | left: 16px; | ||
66 | right: 16px; | ||
67 | border: 1px solid #999; | ||
68 | } | ||
69 | |||
70 | .problem-class { | ||
71 | color: #005032; | ||
72 | } | ||
73 | |||
74 | .problem-abstract { | ||
75 | color: #8b8816; | ||
76 | } | ||
77 | |||
78 | .problem-enum { | ||
79 | color: #644632; | ||
80 | } | ||
81 | |||
82 | .problem-reference { | ||
83 | color: #0000c0; | ||
84 | } | ||
85 | |||
86 | .problem-containment { | ||
87 | font-weight: bold; | ||
88 | } | ||
89 | |||
90 | .CodeMirror .cm-quoted-name, .problem-enum-node { | ||
91 | color: #1a1a1a !important; | ||
92 | font-weight: bold; | ||
93 | } | ||
94 | |||
95 | .problem-new-node { | ||
96 | font-style: italic; | ||
97 | } | ||
98 | |||
99 | .problem-variable { | ||
100 | color: #6a3e3e; | ||
101 | } | ||
102 | |||
103 | .problem-singleton-variable { | ||
104 | color: #a1706f; | ||
105 | } | ||