1
0
mirror of https://github.com/Chalarangelo/mini.css.git synced 2025-08-24 14:33:10 +02:00

Added navigation subcategory sidebar

This commit is contained in:
Angelos Chalaris
2017-01-27 11:27:02 +02:00
parent 63bd62686b
commit ee36a28bed
6 changed files with 61 additions and 17 deletions

View File

@@ -784,4 +784,6 @@
## 20170127
- `tooltip` updated, dealing with a small misalignment bug in alterante styles.
- `tooltip` updated, dealing with a small misalignment bug in alternate styles.
- Added `$nav-include-sublink-bar` flag for `nav` element's subcategories to add a sidebar to them. Styled them as necessary and used proper variables. Tested reasonably extensively, no bugs should be present.
- With the addition of the new `nav` sidebar to the main flavor, the file size is now `6.86KB`. This is very close to the final size for the *v2.1.0* release, as most of the new features have been added already.

View File

@@ -152,16 +152,20 @@
<li>File</li>
</ul>
</div>
<style>
.tooltip:before, .tooltip:after {
opacity: 1 !important;
clip: auto !important;
-webkit-clip-path: inset(0%) !important;
clip-path: inset(0%) !important;
}
}</style>
<div class="col-md-offset-1">
<mark class="tooltip large" aria-label="This is some sample tooltip text">Show a tooltip while hovering</mark><br /><br /><br />
<nav>
<a href="#">Home</a>
<span>News</span>
<a href="#" class="sublink-1">New Courses</a>
<a href="#" class="sublink-1">Certifications</a>
<span class="sublink-1">Events</span>
<a href="#" class="sublink-2">Course Showcase - 12th, Dec</a>
<a href="#" class="sublink-2">Staff AMA - 16th, Dec</a>
<a href="#" class="sublink-1">Policy Update</a>
<a href="#">About</a>
<a href="#">Contact</a>
</nav>
</div>
</div>