We seemed to be using the names "film strip" and "filmstrip" (and, consequently, their source code-conscious forms such as film-strip, FilmStrip, etc.) In order to comply with our coding style which requires a consistent one name for a given abstraction, choose one name and rename the uses of the other name. Wikipedia has a definition of a "filmstrip", I couldn't find a "film strip". I guess our abstraction can be seen as what's described there. When I google "film strip", I get results about "filmstrip" at the top. That's why I chose "filmstrip". Certain uses of "film strip" such as interfaceConfig.filmStripOnly and in the external API I left untouched in an attempt to preserve compatibility. I wasn't sure whether CSS was tangled in compatibility so I made a choice and renamed there was well.
48 lines
1011 B
SCSS
48 lines
1011 B
SCSS
.overlay {
|
|
&__container,
|
|
&__container-light {
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
position: fixed;
|
|
z-index: $overlayZ;
|
|
background: $defaultBackground;
|
|
&.filmstrip-only {
|
|
@include transparentBg($filmstripOnlyOverlayBg, 0.8);
|
|
}
|
|
}
|
|
|
|
&__container-light {
|
|
@include transparentBg($defaultBackground, 0.7);
|
|
&.filmstrip-only {
|
|
@include transparentBg($filmstripOnlyOverlayBg, 0.2);
|
|
}
|
|
}
|
|
|
|
&__content {
|
|
position: absolute;
|
|
margin: 0 auto;
|
|
height: 100%;
|
|
width: 56%;
|
|
left: 50%;
|
|
@include transform(translateX(-50%));
|
|
&.filmstrip-only {
|
|
left: 0px;
|
|
width: 100%;
|
|
@include transform(none);
|
|
}
|
|
|
|
&_bottom {
|
|
position: absolute;
|
|
bottom: 0;
|
|
}
|
|
}
|
|
|
|
&__policy {
|
|
position: absolute;
|
|
bottom: 24px;
|
|
width: 100%;
|
|
}
|
|
}
|