vendor/assets/stylesheets/_navbar.scss in active_frontend-12.1.10 vs vendor/assets/stylesheets/_navbar.scss in active_frontend-12.1.11
- old
+ new
@@ -1,37 +1,31 @@
/* Table of Contents
==================================================
# Navbar
+# Styles
# Colors
# Media Queries */
/* # Navbar
================================================== */
.navbar {
background: $color-white;
border-collapse: separate;
border-top: 1px solid $color-haze;
color: $color-black;
- box-sizing: border-box;
display: table;
height: 50px;
+ line-height: 1;
table-layout: fixed;
width: 100%;
}
-.navbar-fixed {
- bottom: 0;
- left: 0;
- position: fixed;
- right: 0;
- z-index: 1030;
-}
.navbar > a {
display: table-cell;
float: none;
font-size: 27px;
- padding-top: 10px;
text-align: center;
+ vertical-align: middle;
width: 1%;
}
.navbar > a:hover,
.navbar > a.active,
.navbar > a:active,
@@ -42,9 +36,19 @@
}
.navbar > a.filled:hover,
.navbar > a.filled.active,
.navbar > a.filled:active,
.navbar > a.filled:focus { background: darken($color-primary, 5%); }
+
+/* # Styles
+================================================== */
+.navbar-fixed {
+ bottom: 0;
+ position: fixed;
+ min-width: inherit;
+ width: inherit;
+ z-index: 1030;
+}
/* # Colors
================================================== */
.navbar-dark {
background: $color-black;
\ No newline at end of file