Skip to content
This repository was archived by the owner on Sep 8, 2020. It is now read-only.

Commit c0d045f

Browse files
committed
refactoring ui-scrollpoint structure
- rebuilt ui-scrollpoint using extendable controller - redesigned demo - replaced ui-scrollpoint-bottom with configurable ui-scrollpoint-edge added element.ready(function({ })) wrappers in unit tests
1 parent 083037f commit c0d045f

File tree

6 files changed

+818
-469
lines changed

6 files changed

+818
-469
lines changed

demo/index.html

+168-242
Large diffs are not rendered by default.

demo/style.css

+70
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
1+
body {
2+
min-height: 1500px;
3+
}
4+
div.spacer {
5+
height: 750px;
6+
border: 1px dashed black;
7+
background-color: #EFF;
8+
}
9+
div.spacer.small {
10+
height: 100px;
11+
}
12+
div.spacer.medium {
13+
height: 500px;
14+
}
15+
16+
div.demo {
17+
display: block;
18+
float: left;
19+
margin: 5px;
20+
border: 1px solid black;
21+
width: 250px;
22+
height: 100px;
23+
padding: 5px;
24+
font-style: italic;
25+
}
26+
27+
.top-bar {
28+
position: fixed;
29+
top: 0;
30+
right: 0;
31+
}
32+
.top-bar > * {
33+
display: inline-block;
34+
}
35+
36+
.top-bar div.input,
37+
ul.view-trackers li {
38+
display: inline-block;
39+
margin: 0px 5px;
40+
padding: 2px 6px;
41+
background-color: #FFF;
42+
border: 1px solid #BBB;
43+
}
44+
ul.view-trackers li.in {
45+
background-color: #EFE;
46+
}
47+
ul.view-trackers li:not(.in) {
48+
background-color: #FEE;
49+
}
50+
ul.view-trackers {
51+
padding-left: 0px;
52+
}
53+
54+
div.scrollpoint-target {
55+
margin: 50px 0px;
56+
padding: 10px;
57+
width: 100%;
58+
height: 300px;
59+
overflow-y: scroll;
60+
border: 1px solid #BBB;
61+
}
62+
63+
div.spacerToggle {
64+
float: right;
65+
clear: both;
66+
}
67+
68+
div h2 {
69+
margin-top: 0px;
70+
}

0 commit comments

Comments
 (0)