spina-template 0.2.13 → 0.2.14

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9ca3870f8e381ec3b765748341b5ac05ca00a5d3
4
- data.tar.gz: 944baaa409c9eb71485030cb533f4b647ddb8b71
3
+ metadata.gz: f6e5e5ec59d72cbd8c6bc61f4be526f896295725
4
+ data.tar.gz: 9f05be11321dd29a93c9ffa256ac723dacb303b2
5
5
  SHA512:
6
- metadata.gz: ba8e6663b5f441d0f86b4ebe084100fd57d2b410a6341d624c39423db2b3b733c701b7da77a3f66d554f2d679cb0ec1ec85b00e29dfccf7b6afcb5fc1fef1847
7
- data.tar.gz: f45a33844ff06a7800e35aa4fec1681413be91a2b6c33be89b64f21a687b60708b57d207f0534a731d39c32b8fd86e8b0ff5957165a930eadded89a3a6247989
6
+ metadata.gz: f7ccb1bd81fe2215c1826905b2cc6823fdc27445923d3f2cd0d45af4e67f0f7e3ab3b088fcc80d64a43ec024223b4ae885fe0e91ec939bfd9ffb6198d108b793
7
+ data.tar.gz: 73eeeb591531c51d1f4053abcce3361a9054bcefc6af31c82107b5ccc50261d51755797d6d4cb8bf6c876ca250bcc049751aa7c01256e16b530c1b651f1efb8f
Binary file
@@ -67,7 +67,7 @@ button, input[type="submit"]
67
67
  &:active, &.button-active
68
68
  color: #111
69
69
 
70
- &:before
70
+ i.#{$fa-css-prefix}
71
71
  margin-right: 8px
72
72
  vertical-align: text-top
73
73
 
@@ -8,7 +8,7 @@ $alert-color: orange
8
8
  $asset-pipeline: true
9
9
  $font-family: "Proxima Nova", $helvetica
10
10
  $font-family-serif: "Skolar", $georgia
11
- $icon-font: "Spina"
11
+ $icon-font: $font-family
12
12
  $gutter: 5em
13
13
 
14
14
  $desktop: min-width 768px 8
@@ -1,14 +1 @@
1
1
  // Icons
2
-
3
- [data-icon]:before
4
- font-family: $icon-font
5
- content: attr(data-icon)
6
- font-style: normal
7
- font-weight: normal !important
8
- line-height: 1
9
- speak: none
10
- vertical-align: text-top
11
- -webkit-font-smoothing: antialiased
12
-
13
- [data-icon].icon-dimmed:before
14
- opacity: .25
@@ -148,10 +148,10 @@ fieldset
148
148
  padding-right: 28px
149
149
 
150
150
  .search-input:before, .clear-input
151
+ @include fa-icon
152
+ @extend .fa-search
151
153
  color: #999
152
- content: "k"
153
154
  display: block
154
- font-family: $icon-font
155
155
  font-size: 14px
156
156
  font-weight: 400
157
157
  left: 9px
@@ -160,13 +160,15 @@ fieldset
160
160
 
161
161
  .clear-input
162
162
  color: #ccc
163
- content: "m"
164
163
  display: none
165
164
  left: auto
166
165
  padding: 10px 9px
167
166
  right: 0
168
167
  top: 0
169
168
 
169
+ &:before
170
+ display: none
171
+
170
172
  .clear-input:hover
171
173
  color: #999
172
174
 
@@ -266,21 +268,23 @@ input.datepicker
266
268
  border-radius: 3px
267
269
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, .16)
268
270
  display: inline-block
271
+ font-family: $font-family
269
272
  line-height: 28px
270
273
  margin: 0
271
274
  overflow: hidden
272
275
  padding: 0
273
276
  position: relative
277
+ @extend .fa
278
+ @extend .fa-caret-down
274
279
  @include transition(border .2s ease)
275
280
 
276
281
  &:hover
277
282
  // background: #f5f5f5
278
283
  border: 1px solid $primary-color
279
284
 
280
- &:after
285
+ &:before
281
286
  color: #666
282
- content: "T"
283
- font-family: $icon-font
287
+ font-family: "FontAwesome"
284
288
  font-size: 14px
285
289
  font-weight: normal
286
290
  line-height: 28px
@@ -436,20 +440,23 @@ input.datepicker
436
440
 
437
441
  &:before
438
442
  color: #bbb
439
- content: "O"
440
443
  display: block
441
- font-family: $icon-font
442
- font-size: 42px
443
444
  font-weight: normal
445
+ line-height: 100px
446
+ vertical-align: middle
447
+ @extend .fa-cloud-upload:before
448
+ @include fa-icon
449
+ font-size: 42px
444
450
  @include transition(color .2s ease)
445
451
 
446
452
  &:after
447
453
  color: #bbb
448
- content: "R"
454
+ font-weight: normal
455
+ @extend .fa-refresh:before
456
+ @include fa-icon
449
457
  display: none
450
- font-family: $icon-font
451
458
  font-size: 42px
452
- font-weight: normal
459
+ line-height: 100px
453
460
  @include animation("rotate" 2s linear infinite)
454
461
 
455
462
  .customfile.loading
@@ -494,18 +501,19 @@ input.datepicker
494
501
 
495
502
  &:before
496
503
  color: #bbb
497
- content: "O"
498
504
  display: block
499
- font-family: $icon-font
500
505
  font-weight: 400
501
- font-size: 36px
506
+ @extend .fa-cloud-upload
507
+ @include fa-icon
508
+ font-size: 28px
509
+ vertical-align: middle
502
510
  @include transition(color .2s ease)
503
511
 
504
512
  &:after
505
513
  color: #bbb
506
- content: "R"
514
+ @extend .fa-refresh
515
+ @include fa-icon
507
516
  display: none
508
- font-family: $icon-font
509
517
  font-size: 36px
510
518
  @include animation("rotate" 2s linear infinite)
511
519
 
@@ -19,10 +19,10 @@
19
19
  @include transform(translateX(0))
20
20
 
21
21
  .dd-item-inner:before
22
+ @include fa-icon
23
+ @extend .fa-bars:before
22
24
  color: #ccc
23
- content: "7"
24
25
  display: inline-block
25
- font-family: $icon-font
26
26
  height: 18px
27
27
  opacity: 0
28
28
  vertical-align: middle
@@ -119,14 +119,14 @@ table.table.table-form
119
119
  .dataTable
120
120
  th.sorting_desc
121
121
  &:after
122
- content: "0"
123
- font-family: $icon-font
122
+ @include fa-icon
123
+ @extend .fa-caret-down:before
124
124
  float: right
125
125
 
126
126
  th.sorting_asc
127
127
  &:after
128
- content: "1"
129
- font-family: $icon-font
128
+ @include fa-icon
129
+ @extend .fa-caret-up:before
130
130
  float: right
131
131
 
132
132
  .dataTables_paginate
@@ -29,6 +29,9 @@ textarea.wysihtml5
29
29
  text-align: center
30
30
  width: 40px
31
31
 
32
+ a.command i
33
+ vertical-align: middle
34
+
32
35
  a.wysihtml5-command-active, a.command:hover
33
36
  color: #333
34
37
 
@@ -13,8 +13,9 @@
13
13
  // Grid
14
14
  @import spina/grid
15
15
 
16
- // Fonts
17
- @import spina/fonts
16
+ // Icons
17
+ @import font-awesome-sprockets
18
+ @import font-awesome
18
19
 
19
20
  // Animations
20
21
  @import spina/animate
@@ -84,7 +85,7 @@ nav#primary
84
85
  left: 0
85
86
  position: absolute
86
87
 
87
- ul li a:before
88
+ ul li a i.#{$fa-css-prefix}
88
89
  display: block
89
90
  font-size: 26px
90
91
  margin-bottom: 8px
@@ -164,21 +165,22 @@ nav#secondary
164
165
  ul li a:hover
165
166
  color: #333
166
167
 
167
- small, &:before
168
+ small, i.#{$fa-css-prefix}
168
169
  color: inherit
169
170
 
170
171
  ul li.active a
171
172
  color: $primary-color
172
173
 
173
- small, &:before
174
+ small, i.#{$fa-css-prefix}
174
175
  color: inherit
175
176
 
176
- ul li a:before
177
+ ul li a i.#{$fa-css-prefix}
177
178
  color: #666
178
179
  display: block
179
180
  float: left
180
181
  font-size: 24px
181
182
  margin-left: -36px
183
+ text-align: center
182
184
  width: 24px
183
185
  @include transition(color .15s ease)
184
186
 
@@ -300,7 +302,7 @@ nav.tabs
300
302
  padding: 0 40px
301
303
  position: relative
302
304
 
303
- &:before
305
+ i.#{$fa-css-prefix}
304
306
  font-size: 16px
305
307
  left: 14px
306
308
  opacity: .25
@@ -1,5 +1,5 @@
1
1
  module Spina
2
2
  module Template
3
- VERSION = "0.2.13"
3
+ VERSION = "0.2.14"
4
4
  end
5
5
  end
@@ -2,6 +2,7 @@ require "spina/template/version"
2
2
  require 'bourbon'
3
3
  require 'neat'
4
4
  require 'jquery-fileupload-rails'
5
+ require 'font-awesome-sass'
5
6
 
6
7
  module Spina
7
8
  module Template
@@ -21,6 +21,7 @@ Gem::Specification.new do |spec|
21
21
 
22
22
  spec.add_dependency "bourbon", "~> 3.2"
23
23
  spec.add_dependency "neat", "~> 1.5"
24
+ spec.add_dependency "font-awesome-sass"
24
25
  spec.add_dependency "coffee-rails"
25
26
  spec.add_dependency 'jquery-fileupload-rails'
26
27
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spina-template
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.13
4
+ version: 0.2.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bram Jetten
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-05-07 00:00:00.000000000 Z
11
+ date: 2015-05-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -66,6 +66,20 @@ dependencies:
66
66
  - - "~>"
67
67
  - !ruby/object:Gem::Version
68
68
  version: '1.5'
69
+ - !ruby/object:Gem::Dependency
70
+ name: font-awesome-sass
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
76
+ type: :runtime
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ">="
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
69
83
  - !ruby/object:Gem::Dependency
70
84
  name: coffee-rails
71
85
  requirement: !ruby/object:Gem::Requirement
@@ -108,6 +122,7 @@ files:
108
122
  - README.md
109
123
  - Rakefile
110
124
  - app/.DS_Store
125
+ - app/assets/.DS_Store
111
126
  - app/assets/images/.DS_Store
112
127
  - app/assets/images/spina/arrow-left.png
113
128
  - app/assets/images/spina/arrow-right.png
@@ -165,6 +180,7 @@ files:
165
180
  - vendor/assets/javascripts/spina/wysihtml5.js
166
181
  - vendor/assets/javascripts/spina/wysihtml5_parser_rules.js
167
182
  - vendor/assets/stylesheets/.DS_Store
183
+ - vendor/assets/stylesheets/spina/.DS_Store
168
184
  - vendor/assets/stylesheets/spina/_animate.css
169
185
  - vendor/assets/stylesheets/spina/_morris.css
170
186
  - vendor/assets/stylesheets/spina/_normalize.css