mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-05-07 12:35:27 +00:00
(css) Improve buttons of sgToggleGrid directive
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user