summaryrefslogtreecommitdiff
path: root/slate/bootswatch.less
diff options
context:
space:
mode:
Diffstat (limited to 'slate/bootswatch.less')
-rw-r--r--slate/bootswatch.less56
1 files changed, 34 insertions, 22 deletions
diff --git a/slate/bootswatch.less b/slate/bootswatch.less
index 1c2a17d2..966db0ae 100644
--- a/slate/bootswatch.less
+++ b/slate/bootswatch.less
@@ -15,18 +15,43 @@
// Navbar =====================================================================
.navbar {
+ &-default,
+ &-inverse {
+ border: 1px solid rgba(0, 0, 0, 0.6);
+ text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3);
- .btn-shadow(@navbar-default-bg);
- border: 1px solid rgba(0, 0, 0, 0.6);
- text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3);
+ @media (min-width: @grid-float-breakpoint) {
+ .navbar-nav > li > a {
+ border-right: 1px solid rgba(0, 0, 0, 0.2);
+ border-left: 1px solid rgba(255, 255, 255, 0.1);
- .navbar-nav > li > a {
- border-right: 1px solid rgba(0, 0, 0, 0.2);
- border-left: 1px solid rgba(255, 255, 255, 0.1);
+ &:hover {
+ border-left-color: transparent;
+ }
+ }
- &:hover {
- .btn-shadow-inverse(@navbar-default-bg);
- border-left-color: transparent;
+ .nav .open > a {
+ border-color: transparent;
+ }
+
+ .navbar-nav > li.active > a {
+ border-left-color: transparent;
+ }
+
+ .navbar-form {
+ margin-left: 5px;
+ margin-right: 5px;
+ }
+ }
+ }
+
+ &-default {
+ .btn-shadow(@navbar-default-bg);
+
+ .navbar-nav > li > a {
+ &:hover {
+ .btn-shadow-inverse(@navbar-default-bg);
+ }
}
}
@@ -44,19 +69,6 @@
}
}
}
-
- .nav .open > a {
- border-color: transparent;
- }
-
- &-nav > li.active > a {
- border-left-color: transparent;
- }
-
- &-form {
- margin-left: 5px;
- margin-right: 5px;
- }
}
// Buttons ====================================================================