(css) Cleanup

This commit is contained in:
Francis Lachapelle 2016-08-10 09:51:25 -04:00
parent db5b27cb89
commit 6b54d6608d
3 changed files with 8 additions and 7 deletions

View file

@ -304,7 +304,7 @@ div.md-tile-left {
} }
} }
.md-avatar:before, .md-avatar::before,
.md-avatar md-icon, .md-avatar md-icon,
sg-avatar-image md-icon, sg-avatar-image md-icon,
sg-avatar-image .material-icons { sg-avatar-image .material-icons {
@ -313,12 +313,12 @@ sg-avatar-image .material-icons {
font-size: $sg-avatar-width; font-size: $sg-avatar-width;
} }
.sg-avatar-list { .sg-avatar-list {
&:before { &::before {
content: "\e7ef"; // group content: "\e7ef"; // group
} }
} }
.sg-avatar-public { .sg-avatar-public {
&:before { &::before {
content: "\e80b"; // public content: "\e80b"; // public
} }
} }
@ -340,13 +340,13 @@ sg-avatar-image img {
font-family: 'Material Icons'; font-family: 'Material Icons';
font-size: $sg-avatar-width; font-size: $sg-avatar-width;
height: 100%; height: 100%;
&:before { &::before {
color: inherit; color: inherit;
content: "\e835"; // check box outline content: "\e835"; // check box outline
font-size: $icon-size; font-size: $icon-size;
margin: 0 ($sg-avatar-width - $icon-size)/2; margin: 0 ($sg-avatar-width - $icon-size)/2;
} }
&.sg-avatar-selected:before { &.sg-avatar-selected::before {
content: "\e834"; // check box content: "\e834"; // check box
} }

View file

@ -18,6 +18,7 @@ $sg-login-width: grid-step(5);
} }
// Overwrite Chrome autofill yellow background // Overwrite Chrome autofill yellow background
// http://stackoverflow.com/questions/2781549/removing-input-background-colour-for-chrome-autocomplete
@-webkit-keyframes autofill { @-webkit-keyframes autofill {
to { to {
background: transparent; background: transparent;

View file

@ -75,7 +75,7 @@ $listView-width: grid-step(6) !global;
width: 100%; width: 100%;
min-width: 100%; min-width: 100%;
} }
@include at(sm){ @include at(sm) {
@include flex-col($breakpoint: sm, $nb: 6, $grow: 1, $shrink: 1); @include flex-col($breakpoint: sm, $nb: 6, $grow: 1, $shrink: 1);
min-width: ($pitch * 3); min-width: ($pitch * 3);
} }
@ -92,7 +92,7 @@ $listView-width: grid-step(6) !global;
> md-card { > md-card {
// Make sure the card is visible and its content scrollable // Make sure the card is visible and its content scrollable
overflow: hidden; overflow: hidden;
min-width: 100%; //min-width: 100%;
min-height: 0; min-height: 0;
} }
} }