Skip to content

Commit 13405bd

Browse files
author
Caio Tarifa
committed
Releasing v0.1.3
1 parent 8c1b7a3 commit 13405bd

File tree

5 files changed

+29
-13
lines changed

5 files changed

+29
-13
lines changed

app/assets/images/formadmin/edit.svg

Lines changed: 1 addition & 0 deletions
Loading

app/assets/images/formadmin/trash.svg

Lines changed: 1 addition & 0 deletions
Loading

app/assets/images/formadmin/view.svg

Lines changed: 1 addition & 0 deletions
Loading

app/assets/stylesheets/formadmin/components/_table.scss

Lines changed: 25 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -99,35 +99,48 @@ table.index_table {
9999
}
100100
}
101101

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;
104107
display: inline-block;
105-
height: 13px;
106-
margin-right: 7px;
108+
height: 16px;
109+
margin: 0 5px;
107110
opacity: 0.75;
108111
position: relative;
109112
text-indent: -99999px;
110-
top: 5px;
111-
transition: all 250ms;
112-
white-space: nowrap;
113+
transition: opacity 250ms;
113114
width: 16px;
114115

115116
&:hover {
116117
opacity: 1;
117118
}
118119
}
119120

120-
.view_link {
121-
background-position: -16px 0;
121+
.delete_link {
122+
background-image: asset-url('formadmin/trash.svg');
122123
}
123124

124125
.edit_link {
125-
background-position: -32px 0;
126+
background-image: asset-url('formadmin/edit.svg');
126127
}
127128

128-
.delete_link {
129-
background-position: -48px 0;
129+
.view_link {
130+
background-image: asset-url('formadmin/view.svg');
130131
}
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+
// }
131144
}
132145

133146
// Resource Attributes Table

lib/formadmin/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
module Formadmin
2-
VERSION = '0.1.2'
2+
VERSION = '0.1.3'
33
end

0 commit comments

Comments
 (0)