(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
2015-05-19 16:05:11 -04:00
parent 9222bf80ef
commit f6f704ddd8
2 changed files with 111 additions and 0 deletions
@@ -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;
}
}
}