(js) New sgToggleGrid directive

This directive allows to transform the tiles of a md-grid-list to toggle
buttons.
This commit is contained in:
Francis Lachapelle committed 2015-06-12 12:03:51 -04:00
1 parent 9222bf80ef
commit f6f704ddd8
2 files changed
+111

No files matched your search

@@ -1 +1,19 @@
@import "extends";
// See sgToggleGrid directive
[sg-toggle-grid] {
md-grid-tile {
border-radius: 5%;
&.iconButton {
&:hover {
background-color: sg-color($sogoBlue, 600);
color: #fff;
cursor: pointer;
}
}
&.sg-active, &.sg-active:hover {
background-color: sg-color($sogoBlue, 300);
color: #fff;
}
}
}