"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/lib/list/list.scss" between
material2-7.3.3.tar.gz and material2-7.3.4.tar.gz

About: material2 offers Material Design components for Angular.

list.scss  (material2-7.3.3):list.scss  (material2-7.3.4)
skipping to change at line 279 skipping to change at line 279
mat-action-list { mat-action-list {
// Remove the native button look and make it look like a list item // Remove the native button look and make it look like a list item
button { button {
background: none; background: none;
color: inherit; color: inherit;
border: none; border: none;
font: inherit; font: inherit;
outline: inherit; outline: inherit;
-webkit-tap-highlight-color: transparent; -webkit-tap-highlight-color: transparent;
text-align: left;
[dir='rtl'] & {
text-align: right;
}
&::-moz-focus-inner { &::-moz-focus-inner {
border: 0; border: 0;
} }
} }
.mat-list-item { .mat-list-item {
cursor: pointer; cursor: pointer;
outline: inherit; outline: inherit;
} }
} }
skipping to change at line 314 skipping to change at line 319
outline: dotted 1px; outline: dotted 1px;
} }
} }
} }
// Disable the hover styles on non-hover devices. Since this is more of a progre ssive // Disable the hover styles on non-hover devices. Since this is more of a progre ssive
// enhancement and not all desktop browsers support this kind of media query, we can't // enhancement and not all desktop browsers support this kind of media query, we can't
// use something like `@media (hover)`. // use something like `@media (hover)`.
@media (hover: none) { @media (hover: none) {
.mat-list-option, .mat-list-option,
.mat-nav-list .mat-list-item { .mat-nav-list .mat-list-item,
.mat-action-list .mat-list-item {
&:not(.mat-list-item-disabled):hover { &:not(.mat-list-item-disabled):hover {
background: none; background: none;
} }
} }
} }
 End of changes. 2 change blocks. 
1 lines changed or deleted 7 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)