mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-02-21 01:16:24 +00:00
43 lines
869 B
SCSS
43 lines
869 B
SCSS
@import "extends";
|
|
|
|
// sgColorPicker directive
|
|
.sg-color-picker {
|
|
md-grid-tile {
|
|
border-radius: 25%;
|
|
&:hover:not(.selected),
|
|
&:active:not(.selected) {
|
|
cursor: pointer;
|
|
transform: scale(1.5);
|
|
}
|
|
&.selected {
|
|
background-color: transparent !important;
|
|
transform: scale(1.3);
|
|
md-icon {
|
|
display: inline-block;
|
|
margin: 0;
|
|
}
|
|
}
|
|
md-icon {
|
|
display: none;
|
|
}
|
|
}
|
|
}
|
|
|
|
// sgToggleGrid directive
|
|
[sg-toggle-grid] {
|
|
md-grid-tile {
|
|
&.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 {
|
|
background-color: sg-color($sogoBlue, 300);
|
|
color: #fff;
|
|
}
|
|
}
|
|
} |