(css) Improve buttons of sgToggleGrid directive

This commit is contained in:
Francis Lachapelle
2015-12-17 14:25:05 -05:00
parent 0f4e966ecf
commit e67661e84b
4 changed files with 13 additions and 12 deletions
@@ -63,8 +63,8 @@ md-list md-list-item button.md-button.sg-icon-button {
transition: $iconButton-transition;
&:hover:not([disabled]),
&:active {
background-color: transparent;
transform: scale($iconButton-hover-scale);
//background-color: transparent;
//transform: scale($iconButton-hover-scale);
}
}
@@ -26,15 +26,16 @@
// sgToggleGrid directive
[sg-toggle-grid] {
md-grid-tile {
border-radius: 5%;
&.iconButton {
&:hover {
background-color: sg-color($sogoBlue, 600);
color: #fff;
cursor: pointer;
}
&.sg-icon-button {
@extend .md-button;
// Overwrite some styles of .md-button
border: 1px solid sg-color($sogoBlue, 300);
border-radius: 5%;
color: sg-color($sogoBlue, 600);
min-height: auto;
position: absolute;
}
&.sg-active, &.sg-active:hover {
&.sg-active {
background-color: sg-color($sogoBlue, 300);
color: #fff;
}