assets/stylesheets/bookingsync/_layout.scss in bootstrap-bookingsync-sass-0.0.19 vs assets/stylesheets/bookingsync/_layout.scss in bootstrap-bookingsync-sass-1.0.0.beta1
- old
+ new
@@ -3,11 +3,11 @@
* Licensed under MIT (https://github.com/BookingSync/bootstrap-bookingsync-sass/blob/master/LICENSE)
*/
body {
min-height: 100vh;
- padding-top: $navbar-height;
+ padding-top: $navbar-height + 1; // for the navbar-fixed-top border
}
.navbar.navbar-fixed-top {
margin-bottom: 0;
@@ -17,40 +17,49 @@
padding: 0;
}
}
.navbar-nav > li > a {
- line-height: 40px;
+ line-height: 20px;
}
h1,
+ .h1,
.navbar-brand {
font-size: 18px;
line-height: $navbar-height;
padding: 0;
margin: 0;
}
+ a.h1:focus,
+ a.h1:hover {
+ text-decoration: none;
+ color: $headings-color;
+ }
+
@media (max-width: $screen-xs-max) {
- .navbar-header > div {
+ .navbar-brand-container {
padding: 0 60px;
}
&.navbar-bs-core .navbar-header > div {
padding: 0 40px;
}
- div > .navbar-brand {
+ .navbar-brand {
text-align: center;
width: 100%;
}
}
}
-#content {
- min-height: 100vh;
- font-size: 12px; // FIXME: Temporary fix for easier migration
+.main-content {
+ overflow: auto;
+}
- &.with-navbar {
- padding-top: $navbar-height + 1; // navbar border
+.sided-content {
+ & > .navbar,
+ & > .main-content {
+ margin-left: $menu-width;
}
}