atlas_assets 0.5.8 → 0.5.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +8 -8
- data/Gemfile.lock +4 -4
- data/docs/_posts/2013-05-17-buttons.md +5 -0
- data/docs/_posts/2013-05-17-icons.md +5 -0
- data/lib/assets/stylesheets/atlas_assets/_buttons.scss +14 -5
- data/lib/assets/stylesheets/atlas_assets/_icons.scss +52 -1
- data/lib/atlas_assets/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
ZWVjZjI1ZDhmYjVjMjM0ZDUzNWU1YzJiOTUzZDRhNmQ1Y2EwYjg5MA==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
NTA1OGM3NzEwZGEyYjJiMmI3MDc3ZjQ4ZTgxMTZjNzVhMGQxYjlhYg==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
NDFmOGE3ZWFmMWVhY2NhOTQwYjQ5MjI1MWViMzg0MjJhOWEwNDE4ODdlZWNl
|
10
|
+
MTk1ZTI3NGUzYTAxYzE5ODVmNGMyZjk2Y2NiZTEyODY2YmIwYzE3YmQ5Mjg4
|
11
|
+
M2UzZDkxYmU1ZGM0YTM3NDk0NzYxYjEzMGFhNDljNzNlMWIxODk=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
ZTliYzNlZjA5MWEwZjVlMmUzNzgyZjY4ZDM5ZjcxM2Y2MzMxNjhjNDY1OTI3
|
14
|
+
ODU0Zjk4YjYxNTAzOTQxNDZiYTcyMjAzODM1NjdiODAzZTdjODkyN2Y0ZjU0
|
15
|
+
NzJjMDNkNTZjMThhNWFlNTQ5N2ViNjBhZTBiY2I0MjY3MmFhZTQ=
|
data/Gemfile.lock
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
GIT
|
2
2
|
remote: git://github.com/ixti/jekyll-assets.git
|
3
|
-
revision:
|
3
|
+
revision: e4035fff6e9469437d7f4d4f3b94735472635eff
|
4
4
|
specs:
|
5
|
-
jekyll-assets (0.7.
|
5
|
+
jekyll-assets (0.7.5)
|
6
6
|
jekyll (~> 1.0)
|
7
7
|
sprockets (~> 2.10)
|
8
8
|
|
9
9
|
PATH
|
10
10
|
remote: .
|
11
11
|
specs:
|
12
|
-
atlas_assets (0.5.
|
12
|
+
atlas_assets (0.5.9)
|
13
13
|
handlebars_assets (~> 0.12.2)
|
14
14
|
|
15
15
|
GEM
|
@@ -23,7 +23,7 @@ GEM
|
|
23
23
|
execjs
|
24
24
|
coffee-script-source (1.7.0)
|
25
25
|
colorator (0.1)
|
26
|
-
commander (4.1.
|
26
|
+
commander (4.1.6)
|
27
27
|
highline (~> 1.6.11)
|
28
28
|
directory_watcher (1.4.1)
|
29
29
|
execjs (2.0.2)
|
@@ -30,17 +30,22 @@ Variations
|
|
30
30
|
----------
|
31
31
|
|
32
32
|
<p><a href="#" class="btn btn-info">Info</a></p>
|
33
|
+
<p><a href="#" class="btn working">Working...</a></p>
|
33
34
|
<p><a href="#" class="btn btn-success">Success</a></p>
|
34
35
|
<p><a href="#" class="btn btn-warning">Warning</a></p>
|
35
36
|
<p><a href="#" class="btn btn-error">Error</a></p>
|
36
37
|
<p><a href="#" class="btn btn-disabled">Disabled</a></p>
|
38
|
+
<a href="#" class="btn info">Info without btn-prefix in class</a>
|
39
|
+
|
37
40
|
|
38
41
|
~~~html
|
39
42
|
<a href="#" class="btn btn-info">Info</a>
|
43
|
+
<a href="#" class="btn btn-working">Working...</a>
|
40
44
|
<a href="#" class="btn btn-success">Success</a>
|
41
45
|
<a href="#" class="btn btn-warning">Warning</a>
|
42
46
|
<a href="#" class="btn btn-error">Error</a>
|
43
47
|
<a href="#" class="btn btn-disabled">Disabled</a>
|
48
|
+
<a href="#" class="btn info">Info without btn-prefix in class</a>
|
44
49
|
~~~
|
45
50
|
|
46
51
|
|
@@ -46,6 +46,8 @@ This is a normal <i class="ICONCLASS"></i> icon.
|
|
46
46
|
<i class="icn-round icn-small icn-warning ICONCLASS"></i>
|
47
47
|
~~~
|
48
48
|
|
49
|
+
Jump to <a href="#font-awesome">Font Awesome</a>
|
50
|
+
|
49
51
|
Glyphicons
|
50
52
|
----------
|
51
53
|
|
@@ -529,6 +531,9 @@ Font Awesome
|
|
529
531
|
|
530
532
|
This gem also includes icons as a font, png and svg from [Font Awesome](http://fortawesome.github.io/Font-Awesome/). Insert an icon using this syntax: `<i class="ICON_NAME"></i>`. You can change the size of the icon by setting the `font-size`.
|
531
533
|
|
534
|
+
You can also animate the Font Awesome icons, causing them to spin by adding `.spin-me` and `.icn-round` to one of the icons below like so:
|
535
|
+
<span class="box1"><i class='icon-refresh icn-round spin-me'></i> Spinning <i class='icon-glass icn-round spin-me'></i></span>
|
536
|
+
|
532
537
|
<span class="box1"><i class="icon-glass"></i> icon-glass</span>
|
533
538
|
<span class="box1"><i class="icon-music"></i> icon-music</span>
|
534
539
|
<span class="box1"><i class="icon-search"></i> icon-search</span>
|
@@ -44,7 +44,7 @@ _________________________________________________________________ */
|
|
44
44
|
/* Variations
|
45
45
|
_________________________________________________________________ */
|
46
46
|
|
47
|
-
.btn.btn-info {
|
47
|
+
.btn.btn-info, .btn.info {
|
48
48
|
border-color: $darker_blue;
|
49
49
|
background-color: $blue;
|
50
50
|
color: white;
|
@@ -53,7 +53,16 @@ _________________________________________________________________ */
|
|
53
53
|
}
|
54
54
|
}
|
55
55
|
|
56
|
-
.btn.btn-
|
56
|
+
.btn.btn-working, .btn.working {
|
57
|
+
border-color: $blue;
|
58
|
+
background-color: $darker_blue;
|
59
|
+
color: white;
|
60
|
+
&:hover {
|
61
|
+
cursor: wait;
|
62
|
+
}
|
63
|
+
}
|
64
|
+
|
65
|
+
.btn.btn-error, .btn.error {
|
57
66
|
border-color: $darker_red;
|
58
67
|
background-color: $red;
|
59
68
|
color: white;
|
@@ -62,7 +71,7 @@ _________________________________________________________________ */
|
|
62
71
|
}
|
63
72
|
}
|
64
73
|
|
65
|
-
.btn.btn-success {
|
74
|
+
.btn.btn-success, .btn.success {
|
66
75
|
border-color: $darker_green;
|
67
76
|
background-color: $green;
|
68
77
|
color: white;
|
@@ -71,7 +80,7 @@ _________________________________________________________________ */
|
|
71
80
|
}
|
72
81
|
}
|
73
82
|
|
74
|
-
.btn.btn-warning {
|
83
|
+
.btn.btn-warning, .btn.warning {
|
75
84
|
border-color: $darker_yellow;
|
76
85
|
background-color: $yellow;
|
77
86
|
color: white;
|
@@ -80,7 +89,7 @@ _________________________________________________________________ */
|
|
80
89
|
}
|
81
90
|
}
|
82
91
|
|
83
|
-
.btn.btn-disabled {
|
92
|
+
.btn.btn-disabled, .btn.disabled {
|
84
93
|
cursor: not-allowed;
|
85
94
|
color: $mid_gray;
|
86
95
|
|
@@ -40,7 +40,7 @@ _________________________________________________________________ */
|
|
40
40
|
/* Small icons
|
41
41
|
_________________________________________________________________ */
|
42
42
|
|
43
|
-
.icn-round.icn-small,
|
43
|
+
.icn-round.icn-small,
|
44
44
|
.icn-round.icn-small.glyphicons {
|
45
45
|
font-size: 15px;
|
46
46
|
height: 15px;
|
@@ -55,4 +55,55 @@ _________________________________________________________________ */
|
|
55
55
|
font-size: 10px;
|
56
56
|
display: inline;
|
57
57
|
vertical-align: middle;
|
58
|
+
}
|
59
|
+
|
60
|
+
|
61
|
+
|
62
|
+
|
63
|
+
.spin-me {
|
64
|
+
-webkit-animation: spin 2s infinite linear;
|
65
|
+
-moz-animation: spin 2s infinite linear;
|
66
|
+
-o-animation: spin 2s infinite linear;
|
67
|
+
animation: spin 2s infinite linear;
|
68
|
+
}
|
69
|
+
|
70
|
+
@-moz-keyframes spin {
|
71
|
+
0% {
|
72
|
+
-moz-transform: rotate(0deg);
|
73
|
+
}
|
74
|
+
100% {
|
75
|
+
-moz-transform: rotate(359deg);
|
76
|
+
}
|
77
|
+
}
|
78
|
+
@-webkit-keyframes spin {
|
79
|
+
0% {
|
80
|
+
-webkit-transform: rotate(0deg);
|
81
|
+
}
|
82
|
+
100% {
|
83
|
+
-webkit-transform: rotate(359deg);
|
84
|
+
}
|
85
|
+
}
|
86
|
+
@-o-keyframes spin {
|
87
|
+
0% {
|
88
|
+
-o-transform: rotate(0deg);
|
89
|
+
}
|
90
|
+
100% {
|
91
|
+
-o-transform: rotate(359deg);
|
92
|
+
}
|
93
|
+
}
|
94
|
+
@-ms-keyframes spin {
|
95
|
+
0% {
|
96
|
+
-ms-transform: rotate(0deg);
|
97
|
+
}
|
98
|
+
100% {
|
99
|
+
-ms-transform: rotate(359deg);
|
100
|
+
}
|
101
|
+
}
|
102
|
+
@keyframes spin {
|
103
|
+
0% {
|
104
|
+
transform: rotate(0deg);
|
105
|
+
}
|
106
|
+
100% {
|
107
|
+
transform: rotate(359deg);
|
108
|
+
}
|
58
109
|
}
|
data/lib/atlas_assets/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: atlas_assets
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Rune Skjoldborg Madsen
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-02-
|
11
|
+
date: 2014-02-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: handlebars_assets
|