diff --git a/css/style.css b/css/style.css index 506a69a..88d5be0 100644 --- a/css/style.css +++ b/css/style.css @@ -300,7 +300,7 @@ bento:before { .editor .file-window { padding: 10px 10px 10px 46px; position: relative; - min-height: 432px; + min-height: 335px; } .editor .css-view { @@ -1192,7 +1192,7 @@ plate orange:nth-last-child(4) width: 30px; display: inline-block; opacity: .25; - transition: opacity .2s .ease-out; + transition: opacity .2s ease-out; } .level-nav a:hover { diff --git a/index.html b/index.html index df4809a..9c9e5ca 100644 --- a/index.html +++ b/index.html @@ -89,7 +89,7 @@

Exhibit 1 - A CSS Rule

- 1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20 + 1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
+
enter
@@ -112,7 +112,7 @@

Exhibit 1 - A CSS Rule

HTML Viewer
-
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
+
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
diff --git a/js/restaurant.js b/js/restaurant.js index 1fa2fbf..3b0d06a 100644 --- a/js/restaurant.js +++ b/js/restaurant.js @@ -132,10 +132,10 @@ $(document).ready(function(){ }); //Shows the tooltip on the table - $(".markup").on("mouseover","div *",function(e){ + $(".markup").on("mouseover","*",function(e){ el = $(this); var markupElements = $(".markup *"); - var index = markupElements.index(el) -1; + var index = markupElements.index(el); showTooltip($(".table *").eq(index)); e.stopPropagation(); }); @@ -254,7 +254,7 @@ function showTooltip(el){ var tableElements = $(".table *"); var index = tableElements.index(el); var that = el; - $(".markup > div *").eq(index).addClass("enhance").find("*").addClass("enhance"); + $(".markup *").eq(index).addClass("enhance").find("*").addClass("enhance"); var helper = $(".helper"); @@ -547,7 +547,7 @@ function getMarkup(el){ $(el.children).each(function(i,el){ wrapperEl.append(getMarkup(el)); }); - wrapperEl.append("<" + elName + "/>"); + wrapperEl.append("</" + elName + ">"); } else { wrapperEl.text("<" + elName + attributeSpace + attributeString + "/>"); } @@ -578,7 +578,7 @@ function loadBoard(){ $(".table *").addClass("pop"); - $(".markup").html('
<div class="table">' + markupHolder.html() + '</div>
'); + $(".markup").html(markupHolder.html()); } // Adds nametags to the items on the table