-
Notifications
You must be signed in to change notification settings - Fork 807
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
0.5.7 #536
0.5.7 #536
Conversation
picturepan2
commented
Nov 25, 2018
- Add pure CSS 360-Degree Viewer
- Improve Docs SEO
- Change Carousels image number to variable More than 4 images in Carousel #428
- Fix Form textarea height issue
|
||
@for $s from 1 through ($image-number) { | ||
.viewer-slider[value='#{$s}'] + .viewer-image { | ||
background-position-y: percentage((($s)-1) * 1/(($image-number)-1)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
$image-number)-1
should be written with a single space on each side of the operator: $image-number) - 1
$s)-1) * 1/(($image-number)-1)
should be written with a single space on each side of the operator: $s)-1) * 1 /(( $image-number)-1
$s)-1
should be written with a single space on each side of the operator: $s) - 1
display: flex; | ||
flex-direction: column; | ||
align-items: center; | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Line contains trailing whitespace
$image-width: 24rem; | ||
|
||
.viewer-360 { | ||
display: flex; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Properties should be ordered align-items, display, flex-direction
@@ -0,0 +1,33 @@ | |||
// 360 Degree Viewer | |||
// The number of images |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Line contains trailing whitespace
color: $gray-color-light; | ||
|
||
@for $i from 1 through ($carousel-number) { | ||
&:nth-of-type(#{$i}):checked ~ .carousel-nav .nav-item:nth-of-type(#{$i}) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Selector should have depth of applicability no greater than 2, but was 3
opacity: 1; | ||
z-index: $zindex-1; | ||
@for $i from 1 through ($carousel-number) { | ||
&:nth-of-type(#{$i}):checked ~ .carousel-container .carousel-item:nth-of-type(#{$i}) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Selector should have depth of applicability no greater than 2, but was 3
z-index: $zindex-1; | ||
} | ||
|
||
%carousel-nav-checked { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Line contains trailing whitespace
// The number of carousel images | ||
$carousel-number: 8; | ||
|
||
%carousel-image-checked { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Line contains trailing whitespace