Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/less
diff options
context:
space:
mode:
authorMark Otto <markotto@twitter.com>2012-07-05 10:31:30 +0400
committerMark Otto <markotto@twitter.com>2012-07-05 10:31:30 +0400
commit62c386259b7fbd1ef665fc6baf4458c8e05ad1f8 (patch)
tree18158f9062f148bf7f81ad1be3127c3016911616 /less
parent3ad52ca632e07948153ffb072132527d74e67c1d (diff)
rewrite docs homepage, new graphics
Diffstat (limited to 'less')
-rw-r--r--less/buttons.less2
-rw-r--r--less/navbar.less14
-rw-r--r--less/variables.less6
3 files changed, 16 insertions, 6 deletions
diff --git a/less/buttons.less b/less/buttons.less
index 389c484483..c46b7cf3e2 100644
--- a/less/buttons.less
+++ b/less/buttons.less
@@ -26,7 +26,7 @@
border-bottom-color: darken(@btnBorder, 10%);
.border-radius(4px);
.ie7-restore-left-whitespace(); // Give IE7 some love
- .box-shadow(~"inset 0 1px 0 rgba(255,255,255,.1), 0 1px 2px rgba(0,0,0,.05)");
+ .box-shadow(~"inset 0 1px 0 rgba(255,255,255,.15), 0 1px 2px rgba(0,0,0,.05)");
}
// Hover state
diff --git a/less/navbar.less b/less/navbar.less
index 38edac2885..a5d1e7e659 100644
--- a/less/navbar.less
+++ b/less/navbar.less
@@ -383,11 +383,18 @@
}
.navbar-subnav .navbar-inner {
padding: 0;
- #gradient > .vertical(#f9f9f9, #f1f1f1);
+ #gradient > .vertical(#ffffff, #f1f1f1);
.box-shadow(none);
border: 1px solid #e5e5e5;
}
+// Lighten vertical dividers
+.navbar-subnav .divider-vertical {
+ background-color: #f1f1f1;
+ border-right-color: #ffffff;
+}
+
+
// Change link colors back
.navbar-subnav .nav > li > a {
color: @linkColor;
@@ -401,7 +408,10 @@
.navbar-subnav .nav > .active > a,
.navbar-subnav .nav > .active > a:hover {
color: #777;
- background-color: #e5e5e5;
+ background-color: #eee;
+ -webkit-box-shadow: -1px 0 0 rgba(255,255,255,.5), 1px 0 0 rgba(255,255,255,.5);
+ -moz-box-shadow: -1px 0 0 rgba(255,255,255,.5), 1px 0 0 rgba(255,255,255,.5);
+ box-shadow: -1px 0 0 rgba(255,255,255,.5), 1px 0 0 rgba(255,255,255,.5);
}
// Dropdown carets
diff --git a/less/variables.less b/less/variables.less
index dcd2d5558e..5d900164cf 100644
--- a/less/variables.less
+++ b/less/variables.less
@@ -73,7 +73,7 @@
@btnBorder: #ccc;
@btnPrimaryBackground: @linkColor;
-@btnPrimaryBackgroundHighlight: spin(@btnPrimaryBackground, 15%);
+@btnPrimaryBackgroundHighlight: spin(@btnPrimaryBackground, 20%);
@btnInfoBackground: #5bc0de;
@btnInfoBackgroundHighlight: #2f96b4;
@@ -155,8 +155,8 @@
// Navbar
// -------------------------
@navbarHeight: 40px;
-@navbarBackground: @grayDarker;
-@navbarBackgroundHighlight: @grayDark;
+@navbarBackground: #111;
+@navbarBackgroundHighlight: #222;
@navbarText: @grayLight;
@navbarLinkColor: @grayLight;