mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-05-30 15:45:26 +00:00
(js) New sgToggleGrid directive
This directive allows to transform the tiles of a md-grid-list to toggle buttons.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user