-
-
Notifications
You must be signed in to change notification settings - Fork 731
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
Upgrade less and semantic ui to latests versions #585
Conversation
…s and the update to latest less and semantic ui
Pull Request Test Coverage Report for Build 2755
💛 - Coveralls |
@robgietema approved this PR via slack. |
@@ -430,7 +430,7 @@ | |||
@attachedTopOffset: 0px; | |||
@attachedBottomOffset: 0px; | |||
@attachedHorizontalOffset: -@borderWidth; | |||
@attachedWidth: ~"calc(100% + "-@attachedHorizontalOffset * 2~")"; | |||
@attachedWidth: calc(100% - (@attachedHorizontalOffset * 2)); |
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.
maybe you should keep the ~" "
around less/less.js#974 (comment)
@@ -152,7 +152,7 @@ | |||
@attachedTopOffset: 0px; | |||
@attachedBottomOffset: 0px; | |||
@attachedHorizontalOffset: -@borderWidth; | |||
@attachedWidth: ~"calc(100% + "-@attachedHorizontalOffset * 2~")"; | |||
@attachedWidth: calc(100% - (@attachedHorizontalOffset * 2)); |
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.
maybe you should keep the ~" "
around less/less.js#974 (comment)
@@ -321,7 +321,7 @@ | |||
@tabularVerticalBackground: none @tabularBackgroundColor; | |||
|
|||
@tabularFluidOffset: 1px; | |||
@tabularFluidWidth: ~"calc(100% + "(@tabularFluidOffset * 2)~")"; | |||
@tabularFluidWidth: calc(100% + (@tabularFluidOffset * 2)); |
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.
maybe you should keep the ~" "
around less/less.js#974 (comment)
@@ -430,7 +430,7 @@ | |||
@attachedTopOffset: 0px; | |||
@attachedBottomOffset: 0px; | |||
@attachedHorizontalOffset: -@borderWidth; | |||
@attachedWidth: ~"calc(100% + "-@attachedHorizontalOffset * 2~")"; | |||
@attachedWidth: calc(100% + -@attachedHorizontalOffset * 2); |
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.
maybe you should keep the ~" "
around less/less.js#974 (comment)
@@ -151,7 +151,7 @@ | |||
@attachedTopOffset: 0px; | |||
@attachedBottomOffset: 0px; | |||
@attachedHorizontalOffset: -@borderWidth; | |||
@attachedWidth: ~"calc(100% + "-@attachedHorizontalOffset * 2~")"; | |||
@attachedWidth: calc(100% + -@attachedHorizontalOffset * 2); |
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.
maybe you should keep the ~" "
around less/less.js#974 (comment)
@@ -59,18 +59,18 @@ | |||
|
|||
.drag.handle.wrapper { | |||
@media only screen and (max-width: @largestMobileScreen) { | |||
margin-left: ~'calc(50vw - (' @mobileWidth + ~'/2)) !important'; | |||
margin-left: calc(50vw - (@mobileWidth / 2)) !important; |
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.
maybe you should keep the ~" "
around less/less.js#974 (comment)
} | ||
|
||
@media only screen and (min-width: @tabletBreakpoint) and (max-width: @largestTabletScreen) { | ||
margin-left: ~'calc(50vw - (' @tabletWidth + ~'/2)) !important'; | ||
margin-left: calc(50vw - ( @tabletWidth / 2)) !important; |
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.
maybe you should keep the ~" "
around less/less.js#974 (comment)
} | ||
|
||
@media only screen and (min-width: @computerBreakpoint) and (max-width: @largestSmallMonitor) { | ||
margin-left: ~'calc(50vw - (' @computerWidth + ~'/2)) !important'; | ||
margin-left: calc(50vw - ( @computerWidth / 2)) !important; |
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.
maybe you should keep the ~" "
around less/less.js#974 (comment)
} | ||
|
||
@media only screen and (min-width: @largeMonitorBreakpoint) { | ||
margin-left: ~'calc(50vw - (' @largeMonitorWidth + ~'/2)) !important'; | ||
margin-left: calc(50vw - ( @largeMonitorWidth / 2)) !important; |
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.
maybe you should keep the ~" "
around less/less.js#974 (comment)
@ribbonOffset: ~"calc("-@ribbonMargin~" - "@ribbonTriangleSize~")"; | ||
@ribbonDistance: ~"calc("@ribbonMargin~" + "@ribbonTriangleSize~")"; | ||
@rightRibbonOffset: ~"calc(100% + "@ribbonMargin~" + "@ribbonTriangleSize~")"; | ||
@ribbonOffset: calc(-@ribbonMargin - @ribbonTriangleSize); |
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.
maybe you should keep the ~" "
around less/less.js#974 (comment)
@@ -95,7 +95,7 @@ | |||
|
|||
@attachedHorizontalOffset: -@borderWidth; | |||
@attachedVerticalOffset: 0; | |||
@attachedWidth: ~"calc(100% + "-@attachedHorizontalOffset * 2~")"; | |||
@attachedWidth: calc(100% + -@attachedHorizontalOffset * 2); |
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.
maybe you should keep the ~" "
around less/less.js#974 (comment)
@ribbonTableOffset: ~"calc("-@ribbonTableMargin~" - "@ribbonTriangleSize~")"; | ||
@rightRibbonTableOffset: ~"calc(100% + "@ribbonTableMargin~" + "@ribbonTriangleSize~")"; | ||
@ribbonTableOffset: calc(-@ribbonTableMargin - @ribbonTriangleSize); | ||
@rightRibbonTableOffset: calc(100% + @ribbonTableMargin + @ribbonTriangleSize); |
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.
maybe you should keep the ~" "
around less/less.js#974 (comment)
|
||
@ribbonTableMargin: @relativeMini; /* Rounding Offset on Triangle */ | ||
@ribbonTableOffset: ~"calc("-@ribbonTableMargin~" - "@ribbonTriangleSize~")"; | ||
@rightRibbonTableOffset: ~"calc(100% + "@ribbonTableMargin~" + "@ribbonTriangleSize~")"; | ||
@ribbonTableOffset: calc(-@ribbonTableMargin - @ribbonTriangleSize); |
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.
maybe you should keep the ~" "
around less/less.js#974 (comment)
@ribbonImageOffset: ~"calc("-@ribbonImageMargin~" - "@ribbonTriangleSize~")"; | ||
@rightRibbonImageOffset: ~"calc(100% + "@ribbonImageMargin~" + "@ribbonTriangleSize~")"; | ||
@ribbonImageOffset: calc(-@ribbonImageMargin - @ribbonTriangleSize); | ||
@rightRibbonImageOffset: calc(100% + @ribbonImageMargin + @ribbonTriangleSize); |
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.
maybe you should keep the ~" "
around less/less.js#974 (comment)
|
||
@ribbonImageTopDistance: 1rem; | ||
@ribbonImageMargin: -0.05rem; /* Rounding Offset on Triangle */ | ||
@ribbonImageOffset: ~"calc("-@ribbonImageMargin~" - "@ribbonTriangleSize~")"; | ||
@rightRibbonImageOffset: ~"calc(100% + "@ribbonImageMargin~" + "@ribbonTriangleSize~")"; | ||
@ribbonImageOffset: calc(-@ribbonImageMargin - @ribbonTriangleSize); |
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.
maybe you should keep the ~" "
around less/less.js#974 (comment)
@rightRibbonOffset: ~"calc(100% + "@ribbonMargin~" + "@ribbonTriangleSize~")"; | ||
@ribbonOffset: calc(-@ribbonMargin - @ribbonTriangleSize); | ||
@ribbonDistance: calc(@ribbonMargin + @ribbonTriangleSize); | ||
@rightRibbonOffset: calc(100% + @ribbonMargin + @ribbonTriangleSize); |
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.
maybe you should keep the ~" "
around less/less.js#974 (comment)
@ribbonDistance: ~"calc("@ribbonMargin~" + "@ribbonTriangleSize~")"; | ||
@rightRibbonOffset: ~"calc(100% + "@ribbonMargin~" + "@ribbonTriangleSize~")"; | ||
@ribbonOffset: calc(-@ribbonMargin - @ribbonTriangleSize); | ||
@ribbonDistance: calc(@ribbonMargin + @ribbonTriangleSize); |
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.
maybe you should keep the ~" "
around less/less.js#974 (comment)
@rodfersou The issue is from 2012! I tested it and it works well now, since the latest LESS supports it. In fact, they use bare calc() everywhere now. See and this commits: |
/cc @nileshgulia1 ^^ |
@sneridagh nice, thank you to point me this out! |
No description provided.