summaryrefslogtreecommitdiff
path: root/slate/_bootswatch.scss
diff options
context:
space:
mode:
Diffstat (limited to 'slate/_bootswatch.scss')
-rw-r--r--slate/_bootswatch.scss56
1 files changed, 34 insertions, 22 deletions
diff --git a/slate/_bootswatch.scss b/slate/_bootswatch.scss
index 7e49486a..7b3bcd71 100644
--- a/slate/_bootswatch.scss
+++ b/slate/_bootswatch.scss
@@ -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);
- @include 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 {
- @include 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 {
+ @include btn-shadow($navbar-default-bg);
+
+ .navbar-nav > li > a {
+ &:hover {
+ @include 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 ====================================================================