-
Notifications
You must be signed in to change notification settings - Fork 0
/
lpn.css
174 lines (144 loc) · 2.66 KB
/
lpn.css
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
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
div.source {
position: relative;
margin: 10px 2ex;
border: 1px solid #888;
background-color: #eee;
padding: 4px 8px;
border-radius: 5px;
}
/* Edited by TW. */
div.answer {
position: relative;
margin: 10px 2ex;
border: 1px solid #888;
background-color: #eee;
padding: 4px 8px;
border-radius: 5px;
}
/* End of edition */
pre.query, pre.source, pre.verbatim {
margin: 0px;
/* Enforce scrolling
* https://stackoverflow.com/questions/
* 10251369/css-max-height-and-overflow-auto-always-displays-vertical-scroll
* line-height:normal;
*/
max-height: 450px;
overflow: auto;
}
.guessed {
outline: 1px dotted green;
}
/* div.query {
* position: relative;
* width: 80%;
* display: inline-block;
* }
*/
div.open-prolog {
width: auto;
display: inline-block;
position: relative;
}
div.open-prolog.swish {
width: 80%;
}
div.open-prolog div.load {
top: -7px;
right: -37px;
}
/* div.query.swish, */
div.source.swish {
padding: 8px 8px;
}
div.source iframe, div.query iframe {
border-radius: 5px;
box-sizing: border-box;
}
pre.source, pre.query {
width: 100%;
}
div.load {
position: absolute;
top: 5px;
right: 5px;
width: 32px;
height: 32px;
background-image: url("./lpn-run.png");
background-repeat: none;
background-size: 100%;
}
div.query div.load {
top: -5px;
}
div.source.swish div.load,
div.query.swish div.load,
div.answer.swish div.load,
div.open-prolog.swish div.load {
background-image: url("./lpn-close.png");
}
div.ui-resizable-s {
}
/*******************************
* DISCLAIMER *
*******************************/
div.swish-disclaimer {
font-size: 80%;
font-family:Helvetica,sans-serif;
color: #444;
padding: 0px 5%;
}
div.github {
padding-top: 5px;
text-align: center;
margin: auto;
}
div.github > span {
}
div.github iframe {
vertical-align: top;
border: 0px;
}
div.content {
background-image: url("testing-version.png");
background-size: 50%;
}
/*******************************
* MODAL DIALOGUE *
*******************************/
#overlay {
position:fixed;
top:0;
left:0;
width:100%;
height:100%;
background:#000;
opacity:0.5;
filter:alpha(opacity=50);
}
#modal {
position:absolute;
background:url(tint20.png) 0 0 repeat;
background:rgba(0,0,0,0.2);
border-radius:14px;
padding:8px;
}
#content {
border-radius:8px;
background:#fff;
padding:20px;
}
#close {
position:absolute;
background:url("./lpn-close.png") 0 0 no-repeat;
width:24px;
height:27px;
display:block;
text-indent:-9999px;
top:-7px;
right:-7px;
}
pre.source,pre.swish {
/*display: none;*/
/*display: block;*/
}