plug 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1 @@
1
+ @import url('https://fonts.googleapis.com/css?family=Roboto');
@@ -3,9 +3,8 @@
3
3
  = render 'plug/shared/head'
4
4
 
5
5
  %body
6
- = render 'plug/shared/nav'
7
-
8
6
  .container
7
+ = render 'plug/shared/nav'
9
8
  = yield
10
9
 
11
10
  /= render 'shared/footer'
@@ -1,7 +1,9 @@
1
- %h1 Editing feature
1
+ .row
2
+ .column
3
+ %h4 Editing feature
2
4
 
3
- = render 'form'
5
+ = render 'form'
4
6
 
5
- = link_to 'Show', @feature
6
- \|
7
- = link_to 'Back', features_path
7
+ = link_to 'Show', @feature, class: 'button'
8
+ \|
9
+ = link_to 'Back', features_path, class: 'button'
@@ -1,27 +1,27 @@
1
- %h1 Listing features
1
+ .row
2
+ .column
3
+ %h4 Features
2
4
 
3
- %table
4
- %thead
5
- %tr
6
- %th Name
7
- %th Description
8
- %th Slug
9
- %th State
10
- %th
11
- %th
12
- %th
5
+ %table
6
+ %thead
7
+ %tr
8
+ %th Name
9
+ %th Description
10
+ %th Slug
11
+ %th State
12
+ %th
13
+ %th
14
+ %th
13
15
 
14
- %tbody
15
- - @features.each do |feature|
16
- %tr
17
- %td= feature.name
18
- %td= feature.description
19
- %td= feature.slug
20
- %td= feature.state
21
- %td= link_to 'Show', feature
22
- %td= link_to 'Edit', edit_feature_path(feature)
23
- %td= link_to 'Destroy', feature, method: :delete, data: { confirm: 'Are you sure?' }
16
+ %tbody
17
+ - @features.each do |feature|
18
+ %tr
19
+ %td= feature.name
20
+ %td= feature.description
21
+ %td= feature.slug
22
+ %td= feature.state
23
+ %td= link_to 'Show', feature
24
+ %td= link_to 'Edit', edit_feature_path(feature)
25
+ %td= link_to 'Destroy', feature, method: :delete, data: { confirm: 'Are you sure?' }
24
26
 
25
- %br
26
-
27
- = link_to 'New Feature', new_feature_path
27
+ = link_to 'New Feature', new_feature_path, class: 'button'
@@ -1,5 +1,7 @@
1
- %h1 New feature
1
+ .row
2
+ .column
3
+ %h4 New feature
2
4
 
3
- = render 'form'
5
+ = render 'form'
4
6
 
5
- = link_to 'Back', features_path
7
+ = link_to 'Back', features_path, class: 'button'
@@ -1,18 +1,20 @@
1
- %p#notice= notice
1
+ .row
2
+ .column
3
+ %p#notice= notice
2
4
 
3
- %p
4
- %b Name:
5
- = @feature.name
6
- %p
7
- %b Description:
8
- = @feature.description
9
- %p
10
- %b Slug:
11
- = @feature.slug
12
- %p
13
- %b State:
14
- = @feature.state
5
+ %p
6
+ %b Name:
7
+ = @feature.name
8
+ %p
9
+ %b Description:
10
+ = @feature.description
11
+ %p
12
+ %b Slug:
13
+ = @feature.slug
14
+ %p
15
+ %b State:
16
+ = @feature.state
15
17
 
16
- = link_to 'Edit', edit_feature_path(@feature)
17
- \|
18
- = link_to 'Back', features_path
18
+ = link_to 'Edit', edit_feature_path(@feature), class: 'button'
19
+ \|
20
+ = link_to 'Back', features_path, class: 'button'
@@ -1,6 +1,6 @@
1
1
  %nav.clearfix.nav
2
- .row.align-middle.small-unstack
3
- .columns
4
- %h4
2
+ .row
3
+ .column
4
+ %h3
5
5
  = link_to 'Plug', plug.root_path, class: 'nav__logo'
6
6
  %small /Unplug features
@@ -1,3 +1,3 @@
1
1
  module Plug
2
- VERSION = '0.1.1'
2
+ VERSION = '0.1.2'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: plug
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ben
@@ -197,12 +197,13 @@ files:
197
197
  - app/assets/stylesheets/plug/blocks/_plugs.scss
198
198
  - app/assets/stylesheets/plug/features.scss
199
199
  - app/assets/stylesheets/plug/foundation_and_overrides.scss
200
+ - app/assets/stylesheets/plug/milligram.scss
200
201
  - app/assets/stylesheets/plug/mixins/_bem.scss
202
+ - app/assets/stylesheets/plug/normalize.scss
201
203
  - app/assets/stylesheets/plug/partials/_main.scss
202
204
  - app/assets/stylesheets/plug/partials/_utils.scss
203
- - app/assets/stylesheets/plug/scaffolds.scss
204
205
  - app/assets/stylesheets/plug/variables/_colors.scss
205
- - app/assets/stylesheets/scaffolds.scss
206
+ - app/assets/stylesheets/plug/variables/_typography.scss
206
207
  - app/controllers/plug/application_controller.rb
207
208
  - app/controllers/plug/features_controller.rb
208
209
  - app/helpers/plug/application_helper.rb
@@ -1,84 +0,0 @@
1
- body {
2
- background-color: #fff;
3
- color: #333;
4
- margin: 33px;
5
- font-family: verdana, arial, helvetica, sans-serif;
6
- font-size: 13px;
7
- line-height: 18px;
8
- }
9
-
10
- p, ol, ul, td {
11
- font-family: verdana, arial, helvetica, sans-serif;
12
- font-size: 13px;
13
- line-height: 18px;
14
- }
15
-
16
- pre {
17
- background-color: #eee;
18
- padding: 10px;
19
- font-size: 11px;
20
- }
21
-
22
- a {
23
- color: #000;
24
-
25
- &:visited {
26
- color: #666;
27
- }
28
-
29
- &:hover {
30
- color: #fff;
31
- background-color: #000;
32
- }
33
- }
34
-
35
- th {
36
- padding-bottom: 5px;
37
- }
38
-
39
- td {
40
- padding: 0 5px 7px;
41
- }
42
-
43
- div {
44
- &.field, &.actions {
45
- margin-bottom: 10px;
46
- }
47
- }
48
-
49
- #notice {
50
- color: green;
51
- }
52
-
53
- .field_with_errors {
54
- padding: 2px;
55
- background-color: red;
56
- display: table;
57
- }
58
-
59
- #error_explanation {
60
- width: 450px;
61
- border: 2px solid red;
62
- padding: 7px 7px 0;
63
- margin-bottom: 20px;
64
- background-color: #f0f0f0;
65
-
66
- h2 {
67
- text-align: left;
68
- font-weight: bold;
69
- padding: 5px 5px 5px 15px;
70
- font-size: 12px;
71
- margin: -7px -7px 0;
72
- background-color: #c00;
73
- color: #fff;
74
- }
75
-
76
- ul li {
77
- font-size: 12px;
78
- list-style: square;
79
- }
80
- }
81
-
82
- label {
83
- display: block;
84
- }
@@ -1,84 +0,0 @@
1
- body {
2
- background-color: #fff;
3
- color: #333;
4
- margin: 33px;
5
- font-family: verdana, arial, helvetica, sans-serif;
6
- font-size: 13px;
7
- line-height: 18px;
8
- }
9
-
10
- p, ol, ul, td {
11
- font-family: verdana, arial, helvetica, sans-serif;
12
- font-size: 13px;
13
- line-height: 18px;
14
- }
15
-
16
- pre {
17
- background-color: #eee;
18
- padding: 10px;
19
- font-size: 11px;
20
- }
21
-
22
- a {
23
- color: #000;
24
-
25
- &:visited {
26
- color: #666;
27
- }
28
-
29
- &:hover {
30
- color: #fff;
31
- background-color: #000;
32
- }
33
- }
34
-
35
- th {
36
- padding-bottom: 5px;
37
- }
38
-
39
- td {
40
- padding: 0 5px 7px;
41
- }
42
-
43
- div {
44
- &.field, &.actions {
45
- margin-bottom: 10px;
46
- }
47
- }
48
-
49
- #notice {
50
- color: green;
51
- }
52
-
53
- .field_with_errors {
54
- padding: 2px;
55
- background-color: red;
56
- display: table;
57
- }
58
-
59
- #error_explanation {
60
- width: 450px;
61
- border: 2px solid red;
62
- padding: 7px 7px 0;
63
- margin-bottom: 20px;
64
- background-color: #f0f0f0;
65
-
66
- h2 {
67
- text-align: left;
68
- font-weight: bold;
69
- padding: 5px 5px 5px 15px;
70
- font-size: 12px;
71
- margin: -7px -7px 0;
72
- background-color: #c00;
73
- color: #fff;
74
- }
75
-
76
- ul li {
77
- font-size: 12px;
78
- list-style: square;
79
- }
80
- }
81
-
82
- label {
83
- display: block;
84
- }