dorsale 1.1.0 → 1.1.1

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.
@@ -4,9 +4,6 @@
4
4
  position: relative
5
5
  margin-bottom: 15px !important
6
6
 
7
- .fa
8
- @extend .fa-fw
9
-
10
7
  > .fa
11
8
  font-size: 400%
12
9
  color: black
@@ -40,5 +37,3 @@
40
37
  border-right: 0
41
38
  border-radius: 0 0 0 3px
42
39
 
43
- img
44
- max-width: 100%
@@ -14,3 +14,9 @@
14
14
  border: none
15
15
  outline: none
16
16
  border-radius: 0
17
+
18
+ .fa
19
+ @extend .fa-fw
20
+
21
+ img
22
+ max-width: 100%
@@ -1,7 +1,8 @@
1
1
  module Dorsale
2
2
  module ContextHelper
3
3
  def context_icon(id)
4
- icon(id)
4
+ id = id.to_s.gsub("_", "-")
5
+ content_tag(:span, class: "icon fa fa-#{id}"){}
5
6
  end
6
7
 
7
8
  def context_title(title)
@@ -1,6 +1,7 @@
1
1
  require "slim-rails"
2
2
  require "sass-rails"
3
3
  require "bootstrap-sass"
4
+ require "bh"
4
5
  require "font-awesome-sass"
5
6
  require "simple_form"
6
7
  require "coffee-rails"
@@ -8,7 +9,7 @@ require "jquery-rails"
8
9
  require "kaminari"
9
10
  require "turbolinks"
10
11
  require "bootstrap-kaminari-views"
11
- require "bh"
12
+
12
13
  require "rails-i18n"
13
14
  require "cancan"
14
15
 
@@ -1,3 +1,3 @@
1
1
  module Dorsale
2
- VERSION = "1.1.0"
2
+ VERSION = "1.1.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dorsale
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.1.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -252,7 +252,6 @@ files:
252
252
  - app/assets/stylesheets/dorsale/forms.sass
253
253
  - app/assets/stylesheets/dorsale/styles.sass
254
254
  - app/assets/stylesheets/dorsale/tables.sass
255
- - app/assets/stylesheets/scaffold.css
256
255
  - app/controllers/dorsale/addresses_controller.rb
257
256
  - app/controllers/dorsale/application_controller.rb
258
257
  - app/controllers/dorsale/comments_controller.rb
@@ -354,7 +353,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
354
353
  version: '0'
355
354
  segments:
356
355
  - 0
357
- hash: -1177291888041455725
356
+ hash: 3137166184275941749
358
357
  required_rubygems_version: !ruby/object:Gem::Requirement
359
358
  none: false
360
359
  requirements:
@@ -363,7 +362,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
363
362
  version: '0'
364
363
  segments:
365
364
  - 0
366
- hash: -1177291888041455725
365
+ hash: 3137166184275941749
367
366
  requirements: []
368
367
  rubyforge_project:
369
368
  rubygems_version: 1.8.23.2
@@ -1,56 +0,0 @@
1
- body { background-color: #fff; color: #333; }
2
-
3
- body, p, ol, ul, td {
4
- font-family: verdana, arial, helvetica, sans-serif;
5
- font-size: 13px;
6
- line-height: 18px;
7
- }
8
-
9
- pre {
10
- background-color: #eee;
11
- padding: 10px;
12
- font-size: 11px;
13
- }
14
-
15
- a { color: #000; }
16
- a:visited { color: #666; }
17
- a:hover { color: #fff; background-color:#000; }
18
-
19
- div.field, div.actions {
20
- margin-bottom: 10px;
21
- }
22
-
23
- #notice {
24
- color: green;
25
- }
26
-
27
- .field_with_errors {
28
- padding: 2px;
29
- background-color: red;
30
- display: table;
31
- }
32
-
33
- #error_explanation {
34
- width: 450px;
35
- border: 2px solid red;
36
- padding: 7px;
37
- padding-bottom: 0;
38
- margin-bottom: 20px;
39
- background-color: #f0f0f0;
40
- }
41
-
42
- #error_explanation h2 {
43
- text-align: left;
44
- font-weight: bold;
45
- padding: 5px 5px 5px 15px;
46
- font-size: 12px;
47
- margin: -7px;
48
- margin-bottom: 0px;
49
- background-color: #c00;
50
- color: #fff;
51
- }
52
-
53
- #error_explanation ul li {
54
- font-size: 12px;
55
- list-style: square;
56
- }