updated to 2.2.1
[bootswatch] / journal / bootswatch.less
index 34305d3..f0b2d5d 100755 (executable)
@@ -1,44 +1,32 @@
-// Bootswatch.less
-// Swatch: Journal
-// Version: 2.0.4
+// Journal 2.2.1
+// Bootswatch
 // -----------------------------------------------------
 
+
 // TYPOGRAPHY
 // -----------------------------------------------------
 
-@import url('http://fonts.googleapis.com/css?family=News+Cycle:400,700');
+@import url('https://fonts.googleapis.com/css?family=News+Cycle:400,700');
 
 h1, h2, h3, h4, h5, h6 {
-       line-height: 1.5em;
-}
 
-h1 {
-       font-size: 48px;
-}
+       margin: 0 0 10px;
+       line-height: 1.2;
 
-h2 {
-       font-size: 36px;
+       a {
+               color: @headingsColor;
+       }
 }
 
-h3 {
-       font-size: 28px;
-}
+h1 { font-size: 48px; }
 
-h4 {
-       font-size: 20px;
-}
+h2 { font-size: 36px; }
 
-h5 {
-       font-size: 13px;
-}
+h3 { font-size: 28px; }
 
-h6 {
-       color: @black;
-       font-weight: bold;
-}
+h4 { font-size: 20px; }
 
-// SCAFFOLDING
-// -----------------------------------------------------
+h5 { font-size: 13px; }
 
 p > a,
 address > a,
@@ -53,10 +41,23 @@ abbr[title] {
        }
 }
 
+code, pre {
+       .border-radius(0);
+       background-color: @grayLighter;
+       .box-shadow(none);
+}
+
+// SCAFFOLDING
+// -----------------------------------------------------
+
 .page-header {
        border-bottom: 2px solid @grayLighter;
 }
 
+hr {
+       border-bottom: 1px solid @grayLighter;
+}
+
 // NAVBAR
 // -----------------------------------------------------
 
@@ -66,14 +67,13 @@ abbr[title] {
        font-weight: bold;
 
        .navbar-inner {
-               border-top: 2px solid @grayLighter;
                border-bottom: 2px solid @grayLighter;
                .border-radius(0);
                .box-shadow(none);
        }
 
        .brand {
-               padding: 16px 20px 20px;
+               padding: 19px 20px 21px;
                font-size: 24px;
                font-weight: bold;
                text-shadow: none;
@@ -81,37 +81,38 @@ abbr[title] {
        }
 
        .nav > li > a {
-               padding: 20px 10px 21px;
+               padding: 20px 10px 20px;
                font-size: 18px;
                text-shadow: none;
                text-transform: uppercase;
        }
 
-       .nav > li.active > a {
+       .nav > .active > a {
                background-color: transparent;
-               color: @headingsColor;
        }
 
        .navbar-text {
-               margin-top: 21px;
+               margin-top: 20px;
                padding-left: 10px;
                padding-right: 10px;
                font-size: 18px;
-               line-height: 18px;
+               line-height: 20px;
        }
 
-       .nav li.dropdown > .dropdown-toggle:hover,
-       .nav li.dropdown.active > .dropdown-toggle:hover {
-               color: @black;
+       .nav > .active > a,
+       .nav > .active > a:hover,
+       .nav > .active > a:focus {
+               .box-shadow(none);
        }
 
-       .nav li.dropdown > .dropdown-toggle .caret,
-       .nav li.dropdown.open > .dropdown-toggle:hover .caret {
-               border-top-color: @headingsColor;
-               border-bottom-color: @headingsColor;
+       .divider-vertical {
+               border-left-color: @grayLighter;
+               border-right-color: @grayLighter;
        }
 
        .dropdown-menu {
+
+               top: 85%;
                .border-radius(0);
 
                a {
@@ -120,10 +121,29 @@ abbr[title] {
                }
        }
 
-       .nav-collapse.collapse {
+       .navbar-search .search-query,
+       .navbar-search .search-query:hover {
+               border: 2px solid @grayLighter;
+               color: @textColor;
+               .placeholder(@gray);
+       }
+}
+
+@media (max-width: @navbarCollapseWidth) {
+
+       .nav-collapse .navbar-form,
+       .nav-collapse .navbar-search {
+               margin-bottom: 0;
+               border-top: 2px solid @grayLighter;
+               border-bottom: 2px solid @grayLighter;
+       } 
+
+
+
+       .navbar .nav-collapse {
 
                .nav li > a {
-                       color: @headingsColor;
+                       color: @navbarLinkColor;
 
                        &:hover {
                                background-color: @dropdownLinkBackgroundHover;
@@ -135,11 +155,17 @@ abbr[title] {
                }
        }
 
-       .navbar-search .search-query,
-       .navbar-search .search-query:hover {
-               border: 2px solid @grayLighter;
-               color: @textColor;
-               .placeholder(@gray);
+       .navbar-inverse .nav-collapse {
+
+               .nav li > a {
+                       color: @navbarInverseLinkColor;
+
+                       &:hover {
+                               background-color: #111;
+                               background-image: none;
+                       }
+               }
+
        }
 }
 
@@ -194,6 +220,9 @@ div.subnav {
        }
 }
 
+// NAV
+// -----------------------------------------------------
+
 // BUTTONS
 // -----------------------------------------------------
 
@@ -201,68 +230,83 @@ div.subnav {
        vertical-align: baseline;
 }
 
-// MODALS
-// -----------------------------------------------------
-
-.modal {
-       .border-radius(0px);
-       background: @bodyBackground;
+.btn-inverse {
+       .buttonBackground(@grayDarker, @black);
 }
 
-.modal-header {
-       border-bottom: none;
-}
+// TABLES
+// -----------------------------------------------------
 
-.modal-footer {
-       background: transparent;
+.table-bordered {
+       .border-radius(0);
        .box-shadow(none);
-       border-top: none;
 }
 
-.close,
-.close:hover {
-       border-bottom: none;
+// FORMS
+// -----------------------------------------------------
+
+legend {
+       border-bottom: 2px solid @grayLighter;
+       font-family: @headingsFontFamily;
+       font-weight: @headingsFontWeight;
+       color: @headingsColor;
 }
 
+// DROPDOWNS
+// -----------------------------------------------------
+
 // MISC
 // -----------------------------------------------------
 
-.hero-unit {
+.well {
+       .border-radius(0);
        .box-shadow(none);
+}
+
+.hero-unit {
+       padding: 30px 60px;
        border: 1px solid rgba(0,0,0,.05);
        .border-radius(0);
+       .box-shadow(none);
 
        h1 {
-               line-height: 1.5em;
+               margin: 0 0 10px;
+               line-height: 1.2;
        }
 }
 
-.well {
-       .border-radius(0);
-       background-color: @grayLighter;
-       .box-shadow(none);
+// a.thumbnail:hover {
+//     .box-shadow(0 1px 3px 1px rgba(0, 0, 0, 0.3));
+//     border-color: #ddd;
+// }
 
+.modal {
+       .border-radius(0px);
+       background: @bodyBackground;
 }
 
-.table-bordered {
-       .border-radius(0);
-       .box-shadow(none);
+.modal-header {
+       border-bottom: none;
 }
 
-a.thumbnail:hover {
-       .box-shadow(0 1px 3px 1px rgba(0, 0, 0, 0.3));
-       border-color: #ddd;
+.modal-footer {
+       border-top: none;
+       background: transparent;
+       .box-shadow(none);
 }
 
-code, pre, pre.prettyprint {
-       .border-radius(0);
-       background-color: @grayLighter;
-       .box-shadow(none);
+.close,
+.close:hover {
+       border-bottom: none;
 }
 
+// MEDIA QUERIES
+// -----------------------------------------------------
+
 @media (max-width: 768px) {
 
        div.subnav {
+
                height: auto;
 
                .nav > li.active > a {