mirror of
https://github.com/Chalarangelo/mini.css.git
synced 2025-08-05 13:27:25 +02:00
Breadcrumb bug fix
This commit is contained in:
4
dist/mini-default.css
vendored
4
dist/mini-default.css
vendored
@@ -1535,8 +1535,8 @@ progress.nano {
|
|||||||
width: 32px;
|
width: 32px;
|
||||||
height: 32px; }
|
height: 32px; }
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Definitions for utilities and helper classes.
|
Definitions for utilities and helper classes.
|
||||||
*/
|
*/
|
||||||
.hidden {
|
.hidden {
|
||||||
display: none !important; }
|
display: none !important; }
|
||||||
|
@@ -769,3 +769,4 @@
|
|||||||
## 20170116
|
## 20170116
|
||||||
|
|
||||||
- Added `$include-horizontal-table` flag in `table` module to conditionally enable/disable the `horizontal` `table`s.
|
- Added `$include-horizontal-table` flag in `table` module to conditionally enable/disable the `horizontal` `table`s.
|
||||||
|
- Updated `breadcrumbs` component in the `utility` module to properly utilize the `ceil()` Sass function, so that no white line errors are shown, effectively fixing the only bug I managed to find with the component's presentation.
|
||||||
|
@@ -144,6 +144,18 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="row cols-sm-12 cols-md-10">
|
||||||
|
<div class="col-md-offset-1">
|
||||||
|
<ul class="breadcrumbs">
|
||||||
|
<li><a href="#">Root</a></li>
|
||||||
|
<li><a href="#">Folder</a></li>
|
||||||
|
<li>File</li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</div></main>
|
</div></main>
|
||||||
<!-- End of page content-->
|
<!-- End of page content-->
|
||||||
<footer class="sticky"><strong>mini.css</strong> was designed and built with <i class="fa fa-heart-o" aria-hidden="true"></i> by <a href="https://github.com/Chalarangelo">@Chalarangelo</a>. It is licensed under the <a href="https://github.com/Chalarangelo/mini.css/blob/master/LICENSE">MIT License</a>. You can view the project's source code on <a href="https://github.com/Chalarangelo/mini.css">Github</a>.</footer>
|
<footer class="sticky"><strong>mini.css</strong> was designed and built with <i class="fa fa-heart-o" aria-hidden="true"></i> by <a href="https://github.com/Chalarangelo">@Chalarangelo</a>. It is licensed under the <a href="https://github.com/Chalarangelo/mini.css/blob/master/LICENSE">MIT License</a>. You can view the project's source code on <a href="https://github.com/Chalarangelo/mini.css">Github</a>.</footer>
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
Definitions for utilities and helper classes.
|
Definitions for utilities and helper classes.
|
||||||
*/
|
*/
|
||||||
// Hidden elements class. ATTENTION: Uses !important.
|
// Hidden elements class. ATTENTION: Uses !important.
|
||||||
.#{$hidden-name}{
|
.#{$hidden-name}{
|
||||||
@@ -65,7 +65,7 @@ ul.#{$breadcrumbs-name} {
|
|||||||
width: 0;
|
width: 0;
|
||||||
height: 0;
|
height: 0;
|
||||||
border: 0 solid $breadcrumbs-back-color;
|
border: 0 solid $breadcrumbs-back-color;
|
||||||
border-width: ($breadcrumbs-height/2) ($breadcrumbs-height/4);
|
border-width: ($breadcrumbs-height/2) ceil($breadcrumbs-height/4);
|
||||||
}
|
}
|
||||||
&:before {
|
&:before {
|
||||||
left: -($breadcrumbs-height/2);
|
left: -($breadcrumbs-height/2);
|
||||||
@@ -87,7 +87,7 @@ ul.#{$breadcrumbs-name} {
|
|||||||
border: 0;
|
border: 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// Close icon
|
// Close icon
|
||||||
.#{$close-icon-name}{
|
.#{$close-icon-name}{
|
||||||
@@ -119,11 +119,11 @@ ul.#{$breadcrumbs-name} {
|
|||||||
}
|
}
|
||||||
&:before {
|
&:before {
|
||||||
-webkit-transform: rotateZ(45deg);
|
-webkit-transform: rotateZ(45deg);
|
||||||
transform: rotateZ(45deg);
|
transform: rotateZ(45deg);
|
||||||
}
|
}
|
||||||
&:after {
|
&:after {
|
||||||
-webkit-transform: rotateZ(-45deg);
|
-webkit-transform: rotateZ(-45deg);
|
||||||
transform: rotateZ(-45deg);
|
transform: rotateZ(-45deg);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// Clearfix. ATTENTION: Uses !important.
|
// Clearfix. ATTENTION: Uses !important.
|
||||||
@@ -155,7 +155,7 @@ ul.#{$breadcrumbs-name} {
|
|||||||
@mixin make-border-radial-style ($border-radial-name, $border-radial-radius) {
|
@mixin make-border-radial-style ($border-radial-name, $border-radial-radius) {
|
||||||
.#{$border-radial-name} {
|
.#{$border-radial-name} {
|
||||||
border-radius: $border-radial-radius !important;
|
border-radius: $border-radial-radius !important;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// Generic box shadow mixin. ATTENTION: Uses !important.
|
// Generic box shadow mixin. ATTENTION: Uses !important.
|
||||||
// Variables:
|
// Variables:
|
||||||
@@ -174,8 +174,8 @@ ul.#{$breadcrumbs-name} {
|
|||||||
// - $margin-small-value : Responsive margin value for smaller screens.
|
// - $margin-small-value : Responsive margin value for smaller screens.
|
||||||
// - $margin-medium-value : Responsive margin value for medium screens.
|
// - $margin-medium-value : Responsive margin value for medium screens.
|
||||||
// - $margin-large-value : Responsive margin value for large screens.
|
// - $margin-large-value : Responsive margin value for large screens.
|
||||||
@mixin make-margin-responsive ($margin-name, $margin-medium-breakpoint,
|
@mixin make-margin-responsive ($margin-name, $margin-medium-breakpoint,
|
||||||
$margin-large-breakpoint, $margin-small-value, $margin-medium-value,
|
$margin-large-breakpoint, $margin-small-value, $margin-medium-value,
|
||||||
$margin-large-value) {
|
$margin-large-value) {
|
||||||
.#{$margin-name} {
|
.#{$margin-name} {
|
||||||
margin: $margin-small-value !important;
|
margin: $margin-small-value !important;
|
||||||
@@ -199,8 +199,8 @@ ul.#{$breadcrumbs-name} {
|
|||||||
// - $padding-small-value : Responsive padding value for smaller screens.
|
// - $padding-small-value : Responsive padding value for smaller screens.
|
||||||
// - $padding-medium-value : Responsive padding value for medium screens.
|
// - $padding-medium-value : Responsive padding value for medium screens.
|
||||||
// - $padding-large-value : Responsive padding value for large screens.
|
// - $padding-large-value : Responsive padding value for large screens.
|
||||||
@mixin make-padding-responsive ($padding-name, $padding-medium-breakpoint,
|
@mixin make-padding-responsive ($padding-name, $padding-medium-breakpoint,
|
||||||
$padding-large-breakpoint, $padding-small-value, $padding-medium-value,
|
$padding-large-breakpoint, $padding-small-value, $padding-medium-value,
|
||||||
$padding-large-value) {
|
$padding-large-value) {
|
||||||
.#{$padding-name} {
|
.#{$padding-name} {
|
||||||
padding: $padding-small-value !important;
|
padding: $padding-small-value !important;
|
||||||
@@ -227,4 +227,4 @@ ul.#{$breadcrumbs-name} {
|
|||||||
.#{$float-prefix}-right {
|
.#{$float-prefix}-right {
|
||||||
float: right !important;
|
float: right !important;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user