storys 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/app/css/app.css +14 -22
- data/app/css/lib/bootstrap.css +6057 -0
- data/app/css/views.index.css +3 -3
- data/app/css/views.show.css +1 -1
- data/app/fonts/lib/glyphicons-halflings-regular.eot +0 -0
- data/app/fonts/lib/glyphicons-halflings-regular.svg +229 -0
- data/app/fonts/lib/glyphicons-halflings-regular.ttf +0 -0
- data/app/fonts/lib/glyphicons-halflings-regular.woff +0 -0
- data/app/index.html +21 -14
- data/app/js/app.js +0 -5
- data/app/js/controllers.index.js +24 -7
- data/app/js/jquery.twoup.js +45 -20
- data/app/js/lib/bootstrap.js +1992 -0
- data/bin/storys +3 -13
- data/lib/storys/package.rb +69 -0
- data/lib/storys/story.rb +33 -10
- data/lib/storys/update.rb +16 -7
- data/lib/storys/version.rb +1 -1
- data/lib/storys.rb +2 -4
- data/storys.gemspec +0 -1
- metadata +9 -20
- data/lib/storys/storys.rb +0 -18
- data/lib/storys/storys_package.rb +0 -57
- data/lib/storys/template_helper.rb +0 -5
- data/lib/storys/templates/show.html.haml +0 -17
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
MDUzYzg1MDc5MjJiNzE4ZGU5OTA5ODcyNWYyODYxMmMzYjc0YjA5YQ==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
MWE4MTUyMmNhMGEwODQ3ZWNkNDA3NmNhYWQzZDliYmE1YjkxMTgyMQ==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
OWVjYWZlYWM2OTM0NzFiYWJiMzEzMGNkNzY1NjljNDE1ZGUxMTFmZWE4YmY1
|
10
|
+
YjNmMGY0ZDhkZjQ4MWEwZDM3OGEyN2E4ODgxNzE5NTRlMjdmNDk4MjY0Yzgw
|
11
|
+
OWY2NjVhMGZhMDczYmVjOGM5ZTk3ZGY1Njg4Zjk4MjI2NDVkYWY=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
YWQwOWY4MGZlMThhMTg2MzJkNTQ4ODU4NDlhNWFmM2I5MzJmYjllNDI4OWEw
|
14
|
+
YTY0Yzk5YmU4OThiNmM5YTA5Nzk5OWQyZThjOTBlMzIzYWE4MjIwOGY0NTUz
|
15
|
+
NzdkYmY2ZGZmZDdjYjQ1ZjFjZDljZjEzYmE0ZDM4ZTBlZGUyZWQ=
|
data/app/css/app.css
CHANGED
@@ -1,32 +1,24 @@
|
|
1
|
-
|
2
|
-
|
1
|
+
body, div, a, img {
|
2
|
+
-webkit-user-select: none;
|
3
|
+
-moz-user-select: none;
|
4
|
+
-khtml-user-select: none;
|
5
|
+
-ms-user-select: none;
|
6
|
+
user-select: none;
|
7
|
+
}
|
8
|
+
|
3
9
|
html, body { height: 100%; }
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
ul { margin-left: 30px; }
|
10
|
-
h1 { font-size: 40px; margin-bottom: 0.6em; text-align: left; font-weight: bold; }
|
11
|
-
h2 { font-size: 30px; margin-bottom: 0.6em; text-align: left; font-weight: bold; }
|
12
|
-
h3 { font-size: 24px; margin-bottom: 0.6em; text-align: left; font-weight: bold; }
|
13
|
-
h4 { font-size: 20px; margin-bottom: 0.6em; text-align: left; font-weight: bold; }
|
10
|
+
h1, p, ul { margin-top: 0; margin-bottom: 1.2em; }
|
11
|
+
h1 { margin-top: 0; margin-bottom: 0.6em; text-align: left; }
|
12
|
+
h2 { margin-top: 0; margin-bottom: 0.6em; text-align: left; }
|
13
|
+
h3 { margin-top: 0; margin-bottom: 0.6em; text-align: left; }
|
14
|
+
h4 { margin-top: 0; margin-bottom: 0.6em; text-align: left; }
|
14
15
|
|
15
16
|
.clear { clear: both; }
|
16
17
|
|
17
18
|
#wrapper {
|
18
|
-
margin: 0 auto;
|
19
19
|
padding: 40px;
|
20
20
|
}
|
21
21
|
|
22
|
-
#wrapper, #wrapper div {
|
23
|
-
-webkit-user-select: none;
|
24
|
-
-moz-user-select: none;
|
25
|
-
-khtml-user-select: none;
|
26
|
-
-ms-user-select: none;
|
27
|
-
user-select: none;
|
28
|
-
}
|
29
|
-
|
30
22
|
.paginator {
|
31
23
|
position: fixed;
|
32
24
|
width: 100px;
|
@@ -59,7 +51,7 @@ h4 { font-size: 20px; margin-bottom: 0.6em; text-align: left; font-weight: bold;
|
|
59
51
|
box-align: center;
|
60
52
|
}
|
61
53
|
|
62
|
-
.paginator:active
|
54
|
+
.paginator:active {
|
63
55
|
background-color: #000000;
|
64
56
|
opacity: 0.4;
|
65
57
|
}
|