Skip to content

Commit

Permalink
in , class function
Browse files Browse the repository at this point in the history
  • Loading branch information
janakg committed Oct 29, 2017
1 parent 9421a00 commit d5c4369
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
8 changes: 4 additions & 4 deletions assets/stylesheets/bootstrap/_component-animations.scss
Original file line number Diff line number Diff line change
Expand Up @@ -10,22 +10,22 @@
.fade {
opacity: 0;
@include transition(opacity .15s linear);
&.#{$class-prefix}-in {
&.in {
opacity: 1;
}
}

.collapse {
display: none;

&.#{$class-prefix}-in { display: block; }
&.in { display: block; }
// [converter] extracted tr&.in to tr.collapse.in
// [converter] extracted tbody&.in to tbody.collapse.in
}

tr.collapse.#{$class-prefix}-in { display: table-row; }
tr.collapse.in { display: table-row; }

tbody.collapse.#{$class-prefix}-in { display: table-row-group; }
tbody.collapse.in { display: table-row-group; }

.collapsing {
position: relative;
Expand Down
4 changes: 2 additions & 2 deletions assets/stylesheets/bootstrap/_modals.scss
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
@include translate(0, -25%);
@include transition-transform(0.3s ease-out);
}
&.#{$class-prefix}-in .#{$class-prefix}-modal-dialog { @include translate(0, 0) }
&.in .#{$class-prefix}-modal-dialog { @include translate(0, 0) }
}
.#{$class-prefix}-modal-open .#{$class-prefix}-modal {
overflow-x: hidden;
Expand Down Expand Up @@ -71,7 +71,7 @@
background-color: $modal-backdrop-bg;
// Fade for backdrop
&.fade { @include opacity(0); }
&.#{$class-prefix}-in { @include opacity($modal-backdrop-opacity); }
&.in { @include opacity($modal-backdrop-opacity); }
}

// Modal header
Expand Down
4 changes: 2 additions & 2 deletions assets/stylesheets/bootstrap/_navbar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
@include clearfix;
-webkit-overflow-scrolling: touch;

&.#{$class-prefix}-in {
&.in {
overflow-y: auto;
}

Expand All @@ -72,7 +72,7 @@
overflow: visible !important;
}

&.#{$class-prefix}-in {
&.in {
overflow-y: visible;
}

Expand Down
2 changes: 1 addition & 1 deletion assets/stylesheets/bootstrap/_tooltip.scss
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

@include opacity(0);

&.#{$class-prefix}-in { @include opacity($tooltip-opacity); }
&.in { @include opacity($tooltip-opacity); }
&.#{$class-prefix}-top { margin-top: -3px; padding: $tooltip-arrow-width 0; }
&.right { margin-left: 3px; padding: 0 $tooltip-arrow-width; }
&.#{$class-prefix}-bottom { margin-top: 3px; padding: $tooltip-arrow-width 0; }
Expand Down

0 comments on commit d5c4369

Please sign in to comment.