summaryrefslogtreecommitdiff
path: root/src/www/syntax-editor/editor.css
blob: 6a23c5bd4331ad033a61df2f5315af2b4b5c5b97 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
body.syntax-editor {
    background: #ccc url("../minibar/brushed-metal.png");
}

.hidden
{ 
  display:none;
}

.editor select#to_menu
{ 
  height: 10em;
  position: absolute;
  min-width: 5em;
  }

#import
{
  position: absolute;
  display: inline-block;
  padding: 0.3em;
  background: #EEE;
  border: 1px solid #999;
  font-size: 0.95em;
  box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  }
#import.hidden
{
  display: none;
  }
#import input[type=text]
{
  width: 20em;
  font-family: monospace;
  padding: 0.2em;
  }

#tree
{
  white-space:pre;
  font-family: monospace;
  background: rgba(238, 238, 238, 0.6);
  padding:0.5em;
  margin:0.5em 0;
  }

#tree .node
{
  margin: 0.5em 0 0.5em 0.75em;
  border-left: 1px dashed #BBB;
  padding-left: 1.25em;
  }
#tree .node.first
{
  margin-left: 0;
  border-left: none;
  }

#tree .node a
{ 
  cursor: pointer;
  }
#tree .node a:hover
{ 
  text-decoration: underline;
  }
#tree .node a.current
{ 
  font-weight: bold;
  }

#refinements
{
  /* display: inline-block; */
  /* margin-left: 0.5em; */
  margin-top: 0.3em;
  }

#linearisations
{
  /* background: rgba(170, 170, 170, 0.5); */
  /* padding:0.5em; */
  margin:0.5em 0;
  }
#linearisations div
{
  padding:0.2em;
  }
#linearisations .lang
{
  display: inline-block;
  margin-right: 0.5em;
  width: 3em;
  font-weight: bold;
  text-align: center;
  }
#linearisations .lin
{
  }

.refinement
{ 
  margin: 0.1em;
  display: inline-block;
  cursor: pointer;
  border: 1px solid;
  padding: 0.2em;
  font: 0.9em sans-serif;
  background: white;
  box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  }
.refinement.disabled
{ 
  opacity: 0.5;
  }

#debug
{
  font: 10px monospace;
  white-space: pre;
  color: #333;
  margin: 1em 0;
  border: 1px dashed #999;
  padding: 1em;
  }