-
Notifications
You must be signed in to change notification settings - Fork 80
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5b97f79
commit 495002c
Showing
8 changed files
with
116 additions
and
111 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,8 @@ | ||
$gallery-item-label-height: 40px; | ||
|
||
/* stylelint-disable no-descending-specificity */ | ||
// The linting rule for no-descending-specificity cannot easily be accomodated here | ||
|
||
.gallery-item { | ||
opacity: 1; | ||
position: relative; | ||
|
@@ -99,18 +102,20 @@ $gallery-item-label-height: 40px; | |
} | ||
|
||
.gallery-item__thumbnail--loading { | ||
background: white url("../../images/spinner.gif") center center no-repeat; | ||
background: #fff url("../../images/spinner.gif") center center no-repeat; | ||
} | ||
|
||
/* stylelint-disable media-feature-name-no-unknown */ | ||
@media | ||
only screen and (min-device-pixel-ratio: 2), | ||
only screen and (resolution >= 192dpi), | ||
only screen and (resolution >= 2dppx) { | ||
.gallery-item__thumbnail--loading { | ||
background: white url("../../images/[email protected]") center center no-repeat; | ||
background: #fff url("../../images/[email protected]") center center no-repeat; | ||
background-size: 43px 43px; | ||
} | ||
} | ||
/* stylelint-enable media-feature-name-no-unknown */ | ||
|
||
.gallery-item__thumbnail--small { | ||
background-size: auto; | ||
|
@@ -488,3 +493,5 @@ $gallery-item-label-height: 40px; | |
z-index: 102; | ||
} | ||
} | ||
|
||
/* stylelint-enable no-descending-specificity */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.