Commit 34a19915 authored by Mark Otto's avatar Mark Otto
Browse files

resolve conflicts

parents 027538e6 842ad01f
Showing with 179 additions and 99 deletions
+179 -99
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
* http://www.apache.org/licenses/LICENSE-2.0 * http://www.apache.org/licenses/LICENSE-2.0
* *
* Designed and built with all the love in the world @twitter by @mdo and @fat. * Designed and built with all the love in the world @twitter by @mdo and @fat.
* Date: Sun Aug 21 20:30:19 PDT 2011 * Date: Sun Aug 21 20:33:21 PDT 2011
*/ */
/* Reset.less /* Reset.less
* Props to Eric Meyer (meyerweb.com) for his CSS reset file. We're using an adapted version here that cuts out some of the reset HTML elements we will never need here (i.e., dfn, samp, etc). * Props to Eric Meyer (meyerweb.com) for his CSS reset file. We're using an adapted version here that cuts out some of the reset HTML elements we will never need here (i.e., dfn, samp, etc).
...@@ -395,8 +395,9 @@ a:hover { ...@@ -395,8 +395,9 @@ a:hover {
color: #333333; color: #333333;
font-size: 13px; font-size: 13px;
line-height: 18px; line-height: 18px;
border: 1px solid rgba(0, 0, 0, 0.1); border: 1px solid;
border-bottom-color: rgba(0, 0, 0, 0.25); border-color: #ccc #ccc #bbb;
border-color: borderColor borderColor rgba(0, 0, 0, 0.25);
-webkit-border-radius: 4px; -webkit-border-radius: 4px;
-moz-border-radius: 4px; -moz-border-radius: 4px;
border-radius: 4px; border-radius: 4px;
...@@ -424,6 +425,8 @@ a:hover { ...@@ -424,6 +425,8 @@ a:hover {
background-image: linear-gradient(#049cdb, #0064cd); background-image: linear-gradient(#049cdb, #0064cd);
color: #fff; color: #fff;
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
border-color: #0064cd #0064cd #003f81;
border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
} }
.btn.primary:hover { .btn.primary:hover {
color: #fff; color: #fff;
...@@ -440,7 +443,15 @@ a:hover { ...@@ -440,7 +443,15 @@ a:hover {
padding-left: 9px; padding-left: 9px;
font-size: 11px; font-size: 11px;
} }
.btn:disabled, .btn.disabled { .btn.disabled {
background-image: none;
filter: alpha(opacity=65);
-khtml-opacity: 0.65;
-moz-opacity: 0.65;
opacity: 0.65;
cursor: default;
}
.btn:disabled {
background-image: none; background-image: none;
filter: alpha(opacity=65); filter: alpha(opacity=65);
-khtml-opacity: 0.65; -khtml-opacity: 0.65;
...@@ -1104,6 +1115,18 @@ table .headerSortUp.purple, table .headerSortDown.purple { ...@@ -1104,6 +1115,18 @@ table .headerSortUp.purple, table .headerSortDown.purple {
right: 0; right: 0;
z-index: 10000; z-index: 10000;
overflow: visible; overflow: visible;
}
.topbar .fill {
background: #222;
background-color: #222222;
background-repeat: repeat-x;
background-image: -khtml-gradient(linear, left top, left bottom, from(#333333), to(#222222));
background-image: -moz-linear-gradient(#333333, #222222);
background-image: -ms-linear-gradient(#333333, #222222);
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #333333), color-stop(100%, #222222));
background-image: -webkit-linear-gradient(#333333, #222222);
background-image: -o-linear-gradient(#333333, #222222);
background-image: linear-gradient(#333333, #222222);
-webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25), inset 0 -1px 0 rgba(0, 0, 0, 0.1); -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25), inset 0 -1px 0 rgba(0, 0, 0, 0.1);
-moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25), inset 0 -1px 0 rgba(0, 0, 0, 0.1); -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25), inset 0 -1px 0 rgba(0, 0, 0, 0.1);
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25), inset 0 -1px 0 rgba(0, 0, 0, 0.1); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25), inset 0 -1px 0 rgba(0, 0, 0, 0.1);
...@@ -1118,6 +1141,9 @@ table .headerSortUp.purple, table .headerSortDown.purple { ...@@ -1118,6 +1141,9 @@ table .headerSortUp.purple, table .headerSortDown.purple {
color: #ffffff; color: #ffffff;
text-decoration: none; text-decoration: none;
} }
.topbar h3 {
position: relative;
}
.topbar h3 a { .topbar h3 a {
float: left; float: left;
display: block; display: block;
...@@ -1138,7 +1164,7 @@ table .headerSortUp.purple, table .headerSortDown.purple { ...@@ -1138,7 +1164,7 @@ table .headerSortUp.purple, table .headerSortDown.purple {
opacity: 1; opacity: 1;
} }
.topbar form input { .topbar form input {
background-color: #bfbfbf; background-color: #444;
background-color: rgba(255, 255, 255, 0.3); background-color: rgba(255, 255, 255, 0.3);
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
font-size: normal; font-size: normal;
...@@ -1166,7 +1192,7 @@ table .headerSortUp.purple, table .headerSortDown.purple { ...@@ -1166,7 +1192,7 @@ table .headerSortUp.purple, table .headerSortDown.purple {
color: #e6e6e6; color: #e6e6e6;
} }
.topbar form input:hover { .topbar form input:hover {
background-color: #444; background-color: #bfbfbf;
background-color: rgba(255, 255, 255, 0.5); background-color: rgba(255, 255, 255, 0.5);
color: #fff; color: #fff;
} }
...@@ -1239,7 +1265,7 @@ table .headerSortUp.purple, table .headerSortDown.purple { ...@@ -1239,7 +1265,7 @@ table .headerSortUp.purple, table .headerSortDown.purple {
opacity: 0.5; opacity: 0.5;
} }
.topbar ul li.menu.open a.menu, .topbar ul li.menu.open a:hover { .topbar ul li.menu.open a.menu, .topbar ul li.menu.open a:hover {
background-color: #333; background-color: #444;
background-color: rgba(255, 255, 255, 0.1); background-color: rgba(255, 255, 255, 0.1);
color: #fff; color: #fff;
} }
...@@ -1303,6 +1329,7 @@ table .headerSortUp.purple, table .headerSortDown.purple { ...@@ -1303,6 +1329,7 @@ table .headerSortUp.purple, table .headerSortDown.purple {
.topbar ul li ul li.divider { .topbar ul li ul li.divider {
height: 1px; height: 1px;
overflow: hidden; overflow: hidden;
background: #222;
background: rgba(0, 0, 0, 0.2); background: rgba(0, 0, 0, 0.2);
border-bottom: 1px solid rgba(255, 255, 255, 0.1); border-bottom: 1px solid rgba(255, 255, 255, 0.1);
margin: 5px 0; margin: 5px 0;
...@@ -1346,6 +1373,17 @@ table .headerSortUp.purple, table .headerSortDown.purple { ...@@ -1346,6 +1373,17 @@ table .headerSortUp.purple, table .headerSortDown.purple {
margin-bottom: 8px; margin-bottom: 8px;
} }
.alert-message { .alert-message {
background-color: rgba(0, 0, 0, 0.15);
background-repeat: repeat-x;
background-image: -khtml-gradient(linear, left top, left bottom, from(transparent), to(rgba(0, 0, 0, 0.15)));
background-image: -moz-linear-gradient(transparent, rgba(0, 0, 0, 0.15));
background-image: -ms-linear-gradient(transparent, rgba(0, 0, 0, 0.15));
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, transparent), color-stop(100%, rgba(0, 0, 0, 0.15)));
background-image: -webkit-linear-gradient(transparent, rgba(0, 0, 0, 0.15));
background-image: -o-linear-gradient(transparent, rgba(0, 0, 0, 0.15));
background-image: linear-gradient(transparent, rgba(0, 0, 0, 0.15));
-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000', endColorstr='#15000000')";
filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000', endColorstr='#15000000')";
background-color: #e6e6e6; background-color: #e6e6e6;
margin-bottom: 18px; margin-bottom: 18px;
padding: 8px 15px; padding: 8px 15px;
...@@ -1435,6 +1473,9 @@ table .headerSortUp.purple, table .headerSortDown.purple { ...@@ -1435,6 +1473,9 @@ table .headerSortUp.purple, table .headerSortDown.purple {
padding: 14px; padding: 14px;
color: #404040; color: #404040;
color: rgba(0, 0, 0, 0.8); color: rgba(0, 0, 0, 0.8);
*color: #404040;
/* IE 6-7 */
text-shadow: 0 1px 0 rgba(255, 255, 255, 0.25); text-shadow: 0 1px 0 rgba(255, 255, 255, 0.25);
-webkit-border-radius: 6px; -webkit-border-radius: 6px;
-moz-border-radius: 6px; -moz-border-radius: 6px;
...@@ -1443,6 +1484,9 @@ table .headerSortUp.purple, table .headerSortDown.purple { ...@@ -1443,6 +1484,9 @@ table .headerSortUp.purple, table .headerSortDown.purple {
.block-message p { .block-message p {
color: #404040; color: #404040;
color: rgba(0, 0, 0, 0.8); color: rgba(0, 0, 0, 0.8);
*color: #404040;
/* IE 6-7 */
margin-right: 30px; margin-right: 30px;
margin-bottom: 0; margin-bottom: 0;
} }
...@@ -1543,6 +1587,9 @@ table .headerSortUp.purple, table .headerSortDown.purple { ...@@ -1543,6 +1587,9 @@ table .headerSortUp.purple, table .headerSortDown.purple {
margin: 0; margin: 0;
border: 1px solid #ddd; border: 1px solid #ddd;
border: 1px solid rgba(0, 0, 0, 0.15); border: 1px solid rgba(0, 0, 0, 0.15);
border-right: 0\9;
/* IE8 and below don't support last child. TODO: clean this up; */
-webkit-border-radius: 3px; -webkit-border-radius: 3px;
-moz-border-radius: 3px; -moz-border-radius: 3px;
border-radius: 3px; border-radius: 3px;
...@@ -1557,8 +1604,9 @@ table .headerSortUp.purple, table .headerSortDown.purple { ...@@ -1557,8 +1604,9 @@ table .headerSortUp.purple, table .headerSortDown.purple {
float: left; float: left;
padding: 0 14px; padding: 0 14px;
line-height: 34px; line-height: 34px;
border-right: 1px solid #ddd; border-right: 1px solid;
border-right: 1px solid rgba(0, 0, 0, 0.15); border-right-color: #ddd;
border-right-color: rgba(0, 0, 0, 0.15);
text-decoration: none; text-decoration: none;
} }
.pagination ul li a:hover, .pagination ul li.active a { .pagination ul li a:hover, .pagination ul li.active a {
......
This diff is collapsed.
...@@ -221,6 +221,9 @@ div.topbar-wrapper { ...@@ -221,6 +221,9 @@ div.topbar-wrapper {
div.topbar-wrapper div.topbar { div.topbar-wrapper div.topbar {
position: absolute; position: absolute;
margin: 0 -20px; margin: 0 -20px;
}
div.topbar-wrapper div.topbar .fill {
padding-left: 20px; padding-left: 20px;
padding-right: 20px; padding-right: 20px;
-webkit-border-radius: 4px; -webkit-border-radius: 4px;
......
...@@ -42,25 +42,12 @@ $(document).ready(function(){ ...@@ -42,25 +42,12 @@ $(document).ready(function(){
// Dropdown example for topbar nav // Dropdown example for topbar nav
// =============================== // ===============================
$("body").bind("click", function(e) { $("body").bind("click", function (e) {
$("ul.menu-dropdown").hide(); $('a.menu').parent("li").removeClass("open");
$('a.menu').parent("li").removeClass("open").children("ul.menu-dropdown").hide();
}); });
$("a.menu").click(function(e) { $("a.menu").click(function (e) {
var $target = $(this); var $li = $(this).parent("li").toggleClass('open');
var $parent = $target.parent("li");
var $siblings = $target.siblings("ul.menu-dropdown");
var $parentSiblings = $parent.siblings("li");
if ($parent.hasClass("open")) {
$parent.removeClass("open");
$siblings.hide();
} else {
$parent.addClass("open");
$siblings.show();
}
$parentSiblings.children("ul.menu-dropdown").hide();
$parentSiblings.removeClass("open");
return false; return false;
}); });
......
...@@ -32,21 +32,23 @@ ...@@ -32,21 +32,23 @@
<body onload="prettyPrint();"> <body onload="prettyPrint();">
<div class="topbar"> <div class="topbar">
<div class="container"> <div class="fill">
<h3><a href="#">Bootstrap</a></h3> <div class="container">
<ul> <h3><a href="#">Bootstrap</a></h3>
<li class="active"><a href="#masthead">Overview</a></li> <ul>
<li><a href="#about">About</a></li> <li class="active"><a href="#masthead">Overview</a></li>
<li><a href="#grid-system">Grid</a></li> <li><a href="#about">About</a></li>
<li><a href="#layouts">Layouts</a></li> <li><a href="#grid-system">Grid</a></li>
<li><a href="#typography">Typography</a></li> <li><a href="#layouts">Layouts</a></li>
<li><a href="#tables">Tables</a></li> <li><a href="#typography">Typography</a></li>
<li><a href="#forms">Forms</a></li> <li><a href="#tables">Tables</a></li>
<li><a href="#navigation">Navigation</a></li> <li><a href="#forms">Forms</a></li>
<li><a href="#alerts">Alerts</a></li> <li><a href="#navigation">Navigation</a></li>
<li><a href="#popovers">Popovers</a></li> <li><a href="#alerts">Alerts</a></li>
<li><a href="#less">Less</a></li> <li><a href="#popovers">Popovers</a></li>
</ul> <li><a href="#less">Less</a></li>
</ul>
</div>
</div> </div>
</div> </div>
...@@ -831,8 +833,10 @@ ...@@ -831,8 +833,10 @@
<h3>Example buttons</h3> <h3>Example buttons</h3>
<p>Button styles can be applied to anything with the <code>.btn</code> applied. Typically you’ll want to apply these to only <code>&lt;a&gt;</code>, <code>&lt;button&gt;</code>, and select <code>&lt;input&gt;</code> elements. Here’s how it looks:</p> <p>Button styles can be applied to anything with the <code>.btn</code> applied. Typically you’ll want to apply these to only <code>&lt;a&gt;</code>, <code>&lt;button&gt;</code>, and select <code>&lt;input&gt;</code> elements. Here’s how it looks:</p>
<div class="well" style="padding: 14px 19px;"> <div class="well" style="padding: 14px 19px;">
<button type="submit" class="btn primary">Submit</button> <form>
<button type="submit" class="btn">Cancel</button> <button type="submit" class="btn primary">Submit</button>
<button type="submit" class="btn">Cancel</button>
</form>
</div> </div>
<h3>Alternate sizes</h3> <h3>Alternate sizes</h3>
<p>Fancy larger or smaller buttons? Have at it!</p> <p>Fancy larger or smaller buttons? Have at it!</p>
...@@ -846,6 +850,7 @@ ...@@ -846,6 +850,7 @@
</div> </div>
<h3>Disabled state</h3> <h3>Disabled state</h3>
<p>For buttons that are not active or are disabled by the app for one reason or another, use the disabled state. That’s <code>.disabled</code> for links and <code>:disabled</code> for <code>&lt;button&gt;</code> elements.</p> <p>For buttons that are not active or are disabled by the app for one reason or another, use the disabled state. That’s <code>.disabled</code> for links and <code>:disabled</code> for <code>&lt;button&gt;</code> elements.</p>
<p><strong>Note:</strong> If you're developing for older browsers like IE8 or below -- you're going to want to use the <code>.disabled</code> class for <code>&lt;button&gt;</code> elements as well.
<h4>Links</h4> <h4>Links</h4>
<div class="well"> <div class="well">
<a href="#" class="btn large primary disabled">Primary action</a> <a href="#" class="btn large primary disabled">Primary action</a>
...@@ -853,8 +858,10 @@ ...@@ -853,8 +858,10 @@
</div> </div>
<h4>Buttons</h4> <h4>Buttons</h4>
<div class="well"> <div class="well">
<button class="btn large primary" disabled>Primary action</button> <form>
<button class="btn large" disabled>Action</button> <button class="btn large primary disabled" disabled>Primary action</button>
<button class="btn large disabled" disabled>Action</button>
</form>
</div> </div>
</div> </div>
</div> </div>
...@@ -869,28 +876,30 @@ ...@@ -869,28 +876,30 @@
<h2>Fixed topbar</h2> <h2>Fixed topbar</h2>
<div class="topbar-wrapper" style="z-index: 5;"> <div class="topbar-wrapper" style="z-index: 5;">
<div class="topbar"> <div class="topbar">
<div class="container fixed"> <div class="fill">
<h3><a href="#">Project Name</a></h3> <div class="container fixed">
<ul> <h3><a href="#">Project Name</a></h3>
<li class="active"><a href="#">Home</a></li> <ul>
<li><a href="#">Link</a></li> <li class="active"><a href="#">Home</a></li>
<li><a href="#">Link</a></li> <li><a href="#">Link</a></li>
<li><a href="#">Link</a></li> <li><a href="#">Link</a></li>
</ul> <li><a href="#">Link</a></li>
<form action=""> </ul>
<input type="text" placeholder="Search" /> <form action="">
</form> <input type="text" placeholder="Search" />
<ul class="nav secondary-nav"> </form>
<li class="menu"> <ul class="nav secondary-nav">
<a href="#" class="menu">Dropdown</a> <li class="menu">
<ul class="menu-dropdown"> <a href="#" class="menu">Dropdown</a>
<li><a href="#">Secondary link</a></li> <ul class="menu-dropdown">
<li><a href="#">Something else here</a></li> <li><a href="#">Secondary link</a></li>
<li class="divider"></li> <li><a href="#">Something else here</a></li>
<li><a href="#">Another link</a></li> <li class="divider"></li>
</ul> <li><a href="#">Another link</a></li>
</li> </ul>
</ul> </li>
</ul>
</div>
</div> </div>
</div> </div>
</div> <!-- topbar-wrapper --> </div> <!-- topbar-wrapper -->
...@@ -1089,7 +1098,7 @@ ...@@ -1089,7 +1098,7 @@
<p>Modals&mdash;dialogs or lightboxes&mdash;are great for contextual actions in situations where it’s important that the background context be maintained.</p> <p>Modals&mdash;dialogs or lightboxes&mdash;are great for contextual actions in situations where it’s important that the background context be maintained.</p>
</div> </div>
<div class="span12 columns"> <div class="span12 columns">
<div class="well" style="background-color: rgba(0,0,0,0.5); border: none; padding: 40px;"> <div class="well" style="background-color: #888; border: none; padding: 40px;">
<!-- Modal --> <!-- Modal -->
<div class="modal" style="position: relative; top: auto; left: auto; margin: 0 auto; z-index: 1"> <div class="modal" style="position: relative; top: auto; left: auto; margin: 0 auto; z-index: 1">
<div class="modal-header"> <div class="modal-header">
...@@ -1157,7 +1166,11 @@ Lorem ipsum dolar sit amet illo error <a href="#" title="below">ipsum</a> verita ...@@ -1157,7 +1166,11 @@ Lorem ipsum dolar sit amet illo error <a href="#" title="below">ipsum</a> verita
</div> </div>
</div> </div>
</div> </div>
<<<<<<< HEAD
<img class="large-bird" src="assets/img/bird.png" width="220px" height="145px"> <img class="large-bird" src="assets/img/bird.png" width="220px" height="145px">
=======
<img class="large-bird" src="assets/img/bird.png" width="220px" height="151px">
>>>>>>> 842ad01fce710c50dc9c0174ab790f91e66c46b1
</div> </div>
</div> </div>
</div> </div>
......
...@@ -16,8 +16,14 @@ ...@@ -16,8 +16,14 @@
right: 0; right: 0;
z-index: 10000; z-index: 10000;
overflow: visible; overflow: visible;
@shadow: 0 1px 3px rgba(0,0,0,.25), inset 0 -1px 0 rgba(0,0,0,.1);
.box-shadow(@shadow); // gradient is applied to it's own element because overflow visible is not honored by ie when filter is present
.fill {
background:#222;
#gradient > .vertical(#333, #222);
@shadow: 0 1px 3px rgba(0,0,0,.25), inset 0 -1px 0 rgba(0,0,0,.1);
.box-shadow(@shadow);
}
// Links get text shadow // Links get text shadow
a { a {
...@@ -35,15 +41,18 @@ ...@@ -35,15 +41,18 @@
} }
// Website name // Website name
h3 a { h3 {
float: left; position:relative;
display: block; a {
padding: 8px 20px 12px; float: left;
margin-left: -20px; // negative indent to left-align the text down the page display: block;
color: @white; padding: 8px 20px 12px;
font-size: 20px; margin-left: -20px; // negative indent to left-align the text down the page
font-weight: 200; color: @white;
line-height: 1; font-size: 20px;
font-weight: 200;
line-height: 1;
}
} }
// Search Form // Search Form
...@@ -53,7 +62,7 @@ ...@@ -53,7 +62,7 @@
position: relative; position: relative;
.opacity(100); .opacity(100);
input { input {
background-color: @grayLight; background-color: #444;
background-color: rgba(255,255,255,.3); background-color: rgba(255,255,255,.3);
#font > .sans-serif(13px, normal, 1); #font > .sans-serif(13px, normal, 1);
width: 220px; width: 220px;
...@@ -75,7 +84,7 @@ ...@@ -75,7 +84,7 @@
} }
// Hover states // Hover states
&:hover { &:hover {
background-color: #444; background-color: @grayLight;
background-color: rgba(255,255,255,.5); background-color: rgba(255,255,255,.5);
color: #fff; color: #fff;
} }
...@@ -153,7 +162,7 @@ ...@@ -153,7 +162,7 @@
&.open { &.open {
a.menu, a.menu,
a:hover { a:hover {
background-color: #333; background-color: #444;
background-color: rgba(255,255,255,.1); background-color: rgba(255,255,255,.1);
color: #fff; color: #fff;
} }
...@@ -217,6 +226,7 @@ ...@@ -217,6 +226,7 @@
&.divider { &.divider {
height: 1px; height: 1px;
overflow: hidden; overflow: hidden;
background: #222;
background: rgba(0,0,0,.2); background: rgba(0,0,0,.2);
border-bottom: 1px solid rgba(255,255,255,.1); border-bottom: 1px solid rgba(255,255,255,.1);
margin: 5px 0; margin: 5px 0;
...@@ -278,6 +288,10 @@ ...@@ -278,6 +288,10 @@
// One-liner alert bars // One-liner alert bars
.alert-message { .alert-message {
// TODO: Ask cloudhead how to do this fancy filter elegantly. Less eval is returning strings with quotes ;_;
#gradient > .vertical(transparent, rgba(0,0,0,0.15));
-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000', endColorstr='#15000000')";
filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000', endColorstr='#15000000')";
background-color: @grayLighter; background-color: @grayLighter;
margin-bottom: @baseline; margin-bottom: @baseline;
padding: 8px 15px; padding: 8px 15px;
...@@ -329,11 +343,13 @@ ...@@ -329,11 +343,13 @@
padding: 14px; padding: 14px;
color: @grayDark; color: @grayDark;
color: rgba(0,0,0,.8); color: rgba(0,0,0,.8);
*color: @grayDark; /* IE 6-7 */
text-shadow: 0 1px 0 rgba(255,255,255,.25); text-shadow: 0 1px 0 rgba(255,255,255,.25);
.border-radius(6px); .border-radius(6px);
p { p {
color: @grayDark; color: @grayDark;
color: rgba(0,0,0,.8); color: rgba(0,0,0,.8);
*color: @grayDark; /* IE 6-7 */
margin-right: 30px; margin-right: 30px;
margin-bottom: 0; margin-bottom: 0;
} }
...@@ -442,6 +458,7 @@ ...@@ -442,6 +458,7 @@
margin: 0; margin: 0;
border: 1px solid #ddd; border: 1px solid #ddd;
border: 1px solid rgba(0,0,0,.15); border: 1px solid rgba(0,0,0,.15);
border-right: 0\9; /* IE8 and below don't support last child. TODO: clean this up; */
.border-radius(3px); .border-radius(3px);
.box-shadow(0 1px 2px rgba(0,0,0,.05); .box-shadow(0 1px 2px rgba(0,0,0,.05);
li { li {
...@@ -450,8 +467,9 @@ ...@@ -450,8 +467,9 @@
float: left; float: left;
padding: 0 14px; padding: 0 14px;
line-height: (@baseline * 2) - 2; line-height: (@baseline * 2) - 2;
border-right: 1px solid #ddd; border-right: 1px solid;
border-right: 1px solid rgba(0,0,0,.15); border-right-color: #ddd;
border-right-color: rgba(0,0,0,.15);
text-decoration: none; text-decoration: none;
} }
a:hover, a:hover,
......
...@@ -189,8 +189,9 @@ ...@@ -189,8 +189,9 @@
color: @textColor; color: @textColor;
font-size: @fontSize; font-size: @fontSize;
line-height: @baseline; line-height: @baseline;
border: 1px solid @borderColor; border: 1px solid;
border-bottom-color: fadein(@borderColor, 15%); border-color: #ccc #ccc #bbb;
border-color: borderColor borderColor fadein(@borderColor, 15%);
.border-radius(@borderRadius); .border-radius(@borderRadius);
@shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05); @shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05);
.box-shadow(@shadow); .box-shadow(@shadow);
......
...@@ -101,6 +101,8 @@ a { ...@@ -101,6 +101,8 @@ a {
#gradient > .vertical(@blue, @blueDark); #gradient > .vertical(@blue, @blueDark);
color: #fff; color: #fff;
text-shadow: 0 -1px 0 rgba(0,0,0,.25); text-shadow: 0 -1px 0 rgba(0,0,0,.25);
border-color: @blueDark @blueDark darken(@blueDark, 15%);
border-color: rgba(0,0,0,.1) rgba(0,0,0,.1) fadein(rgba(0,0,0,.1), 15%);
&:hover { &:hover {
color: #fff; color: #fff;
} }
...@@ -115,12 +117,18 @@ a { ...@@ -115,12 +117,18 @@ a {
padding-left: 9px; padding-left: 9px;
font-size: 11px; font-size: 11px;
} }
&:disabled,
&.disabled { &.disabled {
background-image: none; background-image: none;
.opacity(65); .opacity(65);
cursor: default; cursor: default;
} }
// this can't be included with the .disabled def because IE8 and below will drop it ;_;
&:disabled {
background-image: none;
.opacity(65);
cursor: default;
}
&:active { &:active {
@shadow: inset 0 3px 7px rgba(0,0,0,.1), 0 1px 2px rgba(0,0,0,.05); @shadow: inset 0 3px 7px rgba(0,0,0,.1), 0 1px 2px rgba(0,0,0,.05);
.box-shadow(@shadow); .box-shadow(@shadow);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment