formadmin 0.1.2 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 37e4ae4e413c83d7cb1489487900518f0f36a07b
4
- data.tar.gz: 67967f9a5c589d4a63c9d566f0bf7dbf92485af2
3
+ metadata.gz: b3ef27da30f048eb8ec2b6f60deff3dc938e0911
4
+ data.tar.gz: 1be4fb5ed07d84e517fc615ba8873b0dce244c49
5
5
  SHA512:
6
- metadata.gz: 12c8be48e16a3f3f84ba21c162e3b6dec61f929faaf2db003637e9e72ea049551819cbdd65bf9eef41e9e3160e8c6241a274e10e99a65ee35fd0ba4cbe46e76c
7
- data.tar.gz: 9a2b5e47d4464c7587563550c04ab23f080d4e2cc4b891a78779d757ec6354316a3e391cd7c2bfdc6589ec0ba28d3865dddf9a21fa25140cd87543e8217b0d04
6
+ metadata.gz: cacd1bc0cdd7bbbbdba30b5a57d10ba9f721f4199e9d1141d7a432d4c3f42f6b0081a132674e237525e2ee9f008d5b0c95c035adf172d67c02865663d515865b
7
+ data.tar.gz: 7622071f6f3a82cce8721bad56bd0d647ead9fa3efaaae6dfd721bf580dd0650b43f5f43a16ab04e7860901c21827f5891045032b69b347c1f6ee2b3e0cb136e
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 469.333 469.333"><path d="M21.333 426.667H448v42.667H21.333zM327.253 0L64 263.253V384h120.747L448 120.747 327.253 0zM167.04 341.333h-60.373V280.96L327.253 60.373l60.373 60.373L167.04 341.333z"/></svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 448" fill="#a61a14"><path d="M10.667 85.333V128H37.12l37.547 320h298.667l37.547-320h26.454V85.333H10.667zm324.693 320H112.64L80 128h288l-32.64 277.333zM138.667 0h170.667v42.667H138.667z"/><path d="M160 192h42.667v149.333H160zM245.333 192H288v149.333h-42.667z"/></svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 469.333 469.333"><circle cx="234.667" cy="234.667" r="21.333"/><circle cx="234.667" cy="234.667" r="42.667"/><path d="M234.667 64C106.667 64 0 234.667 0 234.667s106.667 170.667 234.667 170.667 234.667-170.667 234.667-170.667S362.667 64 234.667 64zm0 299.947c-71.893 0-147.84-79.787-184.32-128 36.693-50.56 111.787-129.28 184.32-129.28 72.747 0 147.84 79.787 184.32 128-36.907 49.28-112.427 129.28-184.32 129.28z"/></svg>
@@ -99,17 +99,18 @@ table.index_table {
99
99
  }
100
100
  }
101
101
 
102
- .member_link {
103
- background-image: asset-url('active_admin/actions.png');
102
+ .view_link,
103
+ .edit_link,
104
+ .delete_link {
105
+ background-repeat: no-repeat;
106
+ background-position: center;
104
107
  display: inline-block;
105
- height: 13px;
106
- margin-right: 7px;
108
+ height: 16px;
109
+ margin: 0 5px;
107
110
  opacity: 0.75;
108
111
  position: relative;
109
112
  text-indent: -99999px;
110
- top: 5px;
111
- transition: all 250ms;
112
- white-space: nowrap;
113
+ transition: opacity 250ms;
113
114
  width: 16px;
114
115
 
115
116
  &:hover {
@@ -117,17 +118,29 @@ table.index_table {
117
118
  }
118
119
  }
119
120
 
120
- .view_link {
121
- background-position: -16px 0;
121
+ .delete_link {
122
+ background-image: asset-url('formadmin/trash.svg');
122
123
  }
123
124
 
124
125
  .edit_link {
125
- background-position: -32px 0;
126
+ background-image: asset-url('formadmin/edit.svg');
126
127
  }
127
128
 
128
- .delete_link {
129
- background-position: -48px 0;
129
+ .view_link {
130
+ background-image: asset-url('formadmin/view.svg');
130
131
  }
132
+
133
+ // .view_link {
134
+ // background-position: -16px 0;
135
+ // }
136
+ //
137
+ // .edit_link {
138
+ // background-position: -32px 0;
139
+ // }
140
+ //
141
+ // .delete_link {
142
+ // background-position: -48px 0;
143
+ // }
131
144
  }
132
145
 
133
146
  // Resource Attributes Table
@@ -1,3 +1,3 @@
1
1
  module Formadmin
2
- VERSION = '0.1.2'
2
+ VERSION = '0.1.3'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: formadmin
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Caio Tarifa
@@ -50,6 +50,9 @@ files:
50
50
  - LICENSE.txt
51
51
  - README.md
52
52
  - Rakefile
53
+ - app/assets/images/formadmin/edit.svg
54
+ - app/assets/images/formadmin/trash.svg
55
+ - app/assets/images/formadmin/view.svg
53
56
  - app/assets/stylesheets/formadmin/_formadmin.scss
54
57
  - app/assets/stylesheets/formadmin/atoms/_box.scss
55
58
  - app/assets/stylesheets/formadmin/atoms/_button.scss