aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Legler <alex@a3li.li>2015-01-05 18:56:17 +0100
committerAlex Legler <alex@a3li.li>2015-01-05 19:05:35 +0100
commit807f9d1854402f7b192ec951fe76419a90f782fb (patch)
tree45e682f09dc6b900143e78a25408b40489f8d830
parentFix site-title-buttons reaching beyond the grid (diff)
downloadtyrian-theme-807f9d1854402f7b192ec951fe76419a90f782fb.tar.gz
tyrian-theme-807f9d1854402f7b192ec951fe76419a90f782fb.tar.bz2
tyrian-theme-807f9d1854402f7b192ec951fe76419a90f782fb.zip
Introduce .navbar-grey and .navbar-stick
-rw-r--r--sources/css/tyrian/bootstrap/variables-tyrian.less8
-rw-r--r--sources/css/tyrian/less/navbar.less24
-rw-r--r--sources/css/tyrian/less/tyrian.less3
3 files changed, 34 insertions, 1 deletions
diff --git a/sources/css/tyrian/bootstrap/variables-tyrian.less b/sources/css/tyrian/bootstrap/variables-tyrian.less
index 20d87e6..9565644 100644
--- a/sources/css/tyrian/bootstrap/variables-tyrian.less
+++ b/sources/css/tyrian/bootstrap/variables-tyrian.less
@@ -29,6 +29,7 @@
@navbar-height: 40px;
+// Default navbar (purple)
@navbar-default-color: #fff;
@navbar-default-bg: @gentoo-purple;
@@ -40,3 +41,10 @@
@navbar-default-toggle-icon-bar-bg: #fff;
@navbar-default-toggle-hover-bg: @gentoo-purple-light;
+
+// Secondary navbar (grey)
+@navbar-grey-bg: #E1E1E1;
+
+@navbar-grey-toggle-hover-bg: darken(@navbar-grey-bg, 10%);
+@navbar-grey-toggle-icon-bar-bg: @gentoo-purple;
+@navbar-grey-toggle-border-color: @gentoo-purple;
diff --git a/sources/css/tyrian/less/navbar.less b/sources/css/tyrian/less/navbar.less
new file mode 100644
index 0000000..2978630
--- /dev/null
+++ b/sources/css/tyrian/less/navbar.less
@@ -0,0 +1,24 @@
+.navbar-stick {
+ margin-top: -@navbar-margin-bottom;
+}
+
+.navbar-grey {
+ background-color: @navbar-grey-bg;
+ border: none;
+
+ ul.nav li.active {
+ background-color: @body-bg;
+ font-weight: bold;
+ }
+
+ .navbar-toggle {
+ border-color: @navbar-grey-toggle-border-color;
+ &:hover,
+ &:focus {
+ background-color: @navbar-grey-toggle-hover-bg;
+ }
+ .icon-bar {
+ background-color: @navbar-grey-toggle-icon-bar-bg;
+ }
+ }
+}
diff --git a/sources/css/tyrian/less/tyrian.less b/sources/css/tyrian/less/tyrian.less
index df650a8..e88533e 100644
--- a/sources/css/tyrian/less/tyrian.less
+++ b/sources/css/tyrian/less/tyrian.less
@@ -6,9 +6,10 @@
@import 'bootstrap-overrides.less';
@import 'fonts.less';
@import 'typography.less';
+@import 'navbar.less';
@import 'header.less';
@import 'footer.less';
@import 'font-awesome/font-awesome.less';
-@import 'social-buttons.less'; \ No newline at end of file
+@import 'social-buttons.less';