spurs 0.0.5.alpha.7 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -2,4 +2,5 @@
2
2
  *= require ./forms
3
3
  *= require ./responsive-tables
4
4
  *= require ./mobile_modal
5
+ *= require ./button_column
5
6
  */
@@ -0,0 +1,20 @@
1
+ .button-column
2
+ width: 100%
3
+ button.btn, a.btn
4
+ width: 100%
5
+ border-radius: 0px
6
+ border-top-width: 0px
7
+ &:first-child
8
+ border-top-width: 0px
9
+ border-top-left-radius: 4px
10
+ border-top-right-radius: 4px
11
+ &:last-child
12
+ border-bottom-left-radius: 4px
13
+ border-bottom-right-radius: 4px
14
+ &.btn-large
15
+ &:first-child
16
+ border-top-left-radius: 6px
17
+ border-top-right-radius: 6px
18
+ &:last-child
19
+ border-bottom-left-radius: 6px
20
+ border-bottom-right-radius: 6px
@@ -1,6 +1,7 @@
1
1
  /*
2
2
  *= require ./beyond_bootsrap/all
3
3
  *= require bootstrap-wysihtml5
4
+
4
5
  */
5
6
 
6
7
 
@@ -15,3 +15,36 @@
15
15
  .section_body
16
16
  display: block
17
17
 
18
+
19
+ $section_bg_color: rgb(250,250,250)
20
+
21
+ .spurs_section
22
+ margin-bottom: 10px
23
+ .section_header
24
+ font-size: 20px
25
+ color: #333
26
+ border-bottom: 1px solid #E5E5E5
27
+ margin-bottom: 2px
28
+ line-height: 36px
29
+ .section_body
30
+ background: $section_bg_color
31
+ border: 1px solid #eee
32
+ padding: 10px
33
+ border-bottom-right-radius: 5px
34
+ border-bottom-left-radius: 5px
35
+ ul.nav.nav-tabs
36
+ li
37
+ a
38
+ background-color: #fff
39
+ border: 1px solid #ddd
40
+ &:hover
41
+ background-color: #666
42
+ color: $section_bg_color
43
+ &.active
44
+ a
45
+ background-color: $section_bg_color
46
+ border-bottom-color: transparent
47
+ &:hover
48
+ background-color: $section_bg_color
49
+ border-bottom-color: transparent
50
+ color: #333
@@ -13,7 +13,7 @@ class Spurs::Section::SectionBuilder < Spurs::Section::BuilderBase
13
13
 
14
14
  private
15
15
  def build_header(title)
16
- content_tag(:legend,title.to_s.titlecase)
16
+ content_tag(:div,title, :class => "section_header")
17
17
  end
18
18
 
19
19
  def build_body(content)
@@ -1,3 +1,3 @@
1
1
  module Spurs
2
- VERSION = "0.0.5.alpha.7"
2
+ VERSION = "0.0.5"
3
3
  end
metadata CHANGED
@@ -1,15 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spurs
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5.alpha.7
5
- prerelease: 6
4
+ version: 0.0.5
5
+ prerelease:
6
6
  platform: ruby
7
7
  authors:
8
8
  - Michael North
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-07-13 00:00:00.000000000 Z
12
+ date: 2012-07-18 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: railties
@@ -159,6 +159,7 @@ files:
159
159
  - app/assets/javascripts/spurs/vars.js.erb
160
160
  - app/assets/javascripts/spurs.js
161
161
  - app/assets/stylesheets/spurs/beyond_bootsrap/all.css
162
+ - app/assets/stylesheets/spurs/beyond_bootsrap/button_column.css.sass
162
163
  - app/assets/stylesheets/spurs/beyond_bootsrap/forms.css.sass
163
164
  - app/assets/stylesheets/spurs/beyond_bootsrap/mobile_modal.css.sass
164
165
  - app/assets/stylesheets/spurs/beyond_bootsrap/responsive-tables.css.sass
@@ -254,13 +255,16 @@ required_ruby_version: !ruby/object:Gem::Requirement
254
255
  version: '0'
255
256
  segments:
256
257
  - 0
257
- hash: 2737214340081999688
258
+ hash: 1558585800028565699
258
259
  required_rubygems_version: !ruby/object:Gem::Requirement
259
260
  none: false
260
261
  requirements:
261
- - - ! '>'
262
+ - - ! '>='
262
263
  - !ruby/object:Gem::Version
263
- version: 1.3.1
264
+ version: '0'
265
+ segments:
266
+ - 0
267
+ hash: 1558585800028565699
264
268
  requirements: []
265
269
  rubyforge_project:
266
270
  rubygems_version: 1.8.24