Skip to content

Commit 16d2d12

Browse files
committed
Revert "Merge pull request ocaml-sf#261 from beobillly/placement_toplevel_buttons"
This reverts commit 3972fe1, reversing changes made to d5c078c.
1 parent ff9f091 commit 16d2d12

File tree

3 files changed

+11
-12
lines changed

3 files changed

+11
-12
lines changed

static/css/learnocaml_exercise.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@ body {
306306
/* -------------------- toplevel tab ------------------------------ */
307307
#learnocaml-exo-tab-toplevel > .toplevel-pane {
308308
position: absolute;
309-
left: 0; top: 0; bottom: 0px; width: 100%;
309+
left: 0; top: 0; bottom: 40px; width: 100%;
310310
z-index: 1002;
311311
margin: 5px 0 0 0;
312312
}
@@ -318,7 +318,7 @@ body {
318318
}
319319
#learnocaml-exo-tab-toplevel > .buttons {
320320
position: absolute;
321-
right: 1%; top: 5px; width: 49%; height: 40px;
321+
left: 0; bottom: 0px; width: 100%; height: 40px;
322322
background: linear-gradient(to bottom, #fff 0px, #ddd 10px, #aaa 60px);
323323
color: #fff;
324324
line-height: 40px;

static/css/learnocaml_main.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -335,11 +335,11 @@ body {
335335
}
336336
#learnocaml-main-toplevel > .toplevel-pane {
337337
position: absolute;
338-
left: 0px; top: 0; right: 0; bottom: 0px;
338+
left: 0px; top: 0; right: 0; bottom: 40px;
339339
}
340340
#learnocaml-main-toplevel > .buttons {
341341
position: absolute;
342-
top: 13px; right: 1%; bottom: 5px; width: 49%; height: 40px;
342+
left: 0; bottom: 0px; width: 100%; height: 40px;
343343
background: linear-gradient(to bottom, #fff 0px, #ddd 10px, #aaa 60px);
344344
color: #fff;
345345
line-height: 40px;

static/exercise.html

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,13 @@
9999
<!-- <iframe src="/standalone-descr.html"></iframe> -->
100100
</div>
101101
<div id="learnocaml-exo-tab-toplevel" class="front-tab">
102+
<div id="learnocaml-exo-toplevel-pane" class="toplevel-pane">
103+
<!-- <pre class="output"></pre> -->
104+
<!-- <pre class="input"> -->
105+
<!-- <code id="sharp" class="sharp"></code> -->
106+
<!-- <textarea class="console" style="height: 28px">saucisse</textarea> -->
107+
<!-- </pre> -->
108+
</div>
102109
<div id="learnocaml-exo-toplevel-toolbar" class="buttons">
103110
<!-- Any button can be added.
104111
Structure: button>img, button>span.label. -->
@@ -115,14 +122,6 @@
115122
<!-- <span class="label">Download</span> -->
116123
<!-- </button> -->
117124
</div>
118-
<div id="learnocaml-exo-toplevel-pane" class="toplevel-pane">
119-
<!-- <pre class="output"></pre> -->
120-
<!-- <pre class="input"> -->
121-
<!-- <code id="sharp" class="sharp"></code> -->
122-
<!-- <textarea class="console" style="height: 28px">saucisse</textarea> -->
123-
<!-- </pre> -->
124-
</div>
125-
126125
</div>
127126
<div id="learnocaml-exo-tab-report">
128127
<!-- Using an iframe is the easiest way to isolate the CSSs. -->

0 commit comments

Comments
 (0)