2011-06-29 18:40:52 -04:00
|
|
|
/* Patterns.less
|
2011-06-28 17:24:02 -04:00
|
|
|
* Repeatable UI elements outside the base styles provided from the scaffolding
|
2011-06-29 18:40:52 -04:00
|
|
|
* ---------------------------------------------------------------------------- */
|
2011-05-03 21:09:25 -04:00
|
|
|
|
2011-08-17 01:58:01 -04:00
|
|
|
|
|
|
|
// TOPBAR
|
2011-06-29 18:40:52 -04:00
|
|
|
// ------
|
2011-05-03 21:09:25 -04:00
|
|
|
|
|
|
|
// Topbar for Branding and Nav
|
|
|
|
div.topbar {
|
|
|
|
#gradient > .vertical(#333, #222);
|
|
|
|
height: 40px;
|
|
|
|
position: fixed;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
2011-07-05 17:24:53 -04:00
|
|
|
z-index: 10000;
|
2011-05-03 21:09:25 -04:00
|
|
|
overflow: visible;
|
|
|
|
@shadow: 0 1px 3px rgba(0,0,0,.25), inset 0 -1px 0 rgba(0,0,0,.1);
|
|
|
|
.box-shadow(@shadow);
|
2011-08-17 01:58:01 -04:00
|
|
|
|
2011-05-03 21:09:25 -04:00
|
|
|
// Links get text shadow
|
|
|
|
a {
|
2011-06-27 19:47:12 -04:00
|
|
|
color: @grayLight;
|
2011-05-03 21:09:25 -04:00
|
|
|
text-shadow: 0 -1px 0 rgba(0,0,0,.25);
|
|
|
|
}
|
2011-08-17 01:58:01 -04:00
|
|
|
|
2011-08-20 01:28:22 -04:00
|
|
|
// Hover and active states
|
|
|
|
a:hover,
|
|
|
|
ul li.active a {
|
2011-05-03 21:09:25 -04:00
|
|
|
background-color: #333;
|
2011-08-20 01:28:22 -04:00
|
|
|
background-color: rgba(255,255,255,.05);
|
2011-05-03 21:09:25 -04:00
|
|
|
color: @white;
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
2011-08-17 01:58:01 -04:00
|
|
|
|
2011-08-20 01:28:22 -04:00
|
|
|
// Website name
|
|
|
|
h3 a {
|
2011-05-03 21:09:25 -04:00
|
|
|
float: left;
|
|
|
|
display: block;
|
|
|
|
padding: 8px 20px 12px;
|
2011-08-20 01:28:22 -04:00
|
|
|
margin-left: -20px; // negative indent to left-align the text down the page
|
2011-05-03 21:09:25 -04:00
|
|
|
color: @white;
|
|
|
|
font-size: 20px;
|
|
|
|
font-weight: 200;
|
|
|
|
line-height: 1;
|
|
|
|
}
|
2011-08-17 01:58:01 -04:00
|
|
|
|
2011-05-03 21:09:25 -04:00
|
|
|
// Search Form
|
|
|
|
form {
|
|
|
|
float: left;
|
2011-06-29 18:51:27 -04:00
|
|
|
margin: 5px 0 0 0;
|
2011-05-03 21:09:25 -04:00
|
|
|
position: relative;
|
2011-07-02 02:21:11 -04:00
|
|
|
.opacity(100);
|
2011-05-03 21:09:25 -04:00
|
|
|
input {
|
2011-06-27 19:47:12 -04:00
|
|
|
background-color: @grayLight;
|
2011-05-03 21:09:25 -04:00
|
|
|
background-color: rgba(255,255,255,.3);
|
2011-06-27 19:47:12 -04:00
|
|
|
#font > .sans-serif(13px, normal, 1);
|
2011-05-03 21:09:25 -04:00
|
|
|
width: 220px;
|
|
|
|
padding: 4px 9px;
|
|
|
|
color: #fff;
|
|
|
|
color: rgba(255,255,255,.75);
|
|
|
|
border: 1px solid #111;
|
|
|
|
.border-radius(4px);
|
|
|
|
@shadow: inset 0 1px 2px rgba(0,0,0,.1), 0 1px 0px rgba(255,255,255,.25);
|
|
|
|
.box-shadow(@shadow);
|
|
|
|
.transition(none);
|
2011-08-17 01:58:01 -04:00
|
|
|
|
2011-05-03 21:09:25 -04:00
|
|
|
// Placeholder text gets special styles; can't be bundled together though for some reason
|
|
|
|
&:-moz-placeholder {
|
2011-06-27 19:47:12 -04:00
|
|
|
color: @grayLighter;
|
2011-05-03 21:09:25 -04:00
|
|
|
}
|
|
|
|
&::-webkit-input-placeholder {
|
2011-06-27 19:47:12 -04:00
|
|
|
color: @grayLighter;
|
2011-05-03 21:09:25 -04:00
|
|
|
}
|
|
|
|
&:hover {
|
|
|
|
background-color: #444;
|
|
|
|
background-color: rgba(255,255,255,.5);
|
|
|
|
color: #fff;
|
|
|
|
}
|
|
|
|
&:focus,
|
|
|
|
&.focused {
|
|
|
|
outline: none;
|
|
|
|
background-color: #fff;
|
2011-06-27 19:47:12 -04:00
|
|
|
color: @grayDark;
|
2011-05-03 21:09:25 -04:00
|
|
|
text-shadow: 0 1px 0 #fff;
|
|
|
|
border: 0;
|
|
|
|
padding: 5px 10px;
|
|
|
|
.box-shadow(0 0 3px rgba(0,0,0,.15));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2011-08-17 01:58:01 -04:00
|
|
|
|
2011-05-03 21:09:25 -04:00
|
|
|
// Navigation
|
|
|
|
ul {
|
|
|
|
display: block;
|
|
|
|
float: left;
|
|
|
|
margin: 0 10px 0 0;
|
2011-06-30 16:17:58 -04:00
|
|
|
position: relative;
|
2011-05-03 21:09:25 -04:00
|
|
|
&.secondary-nav {
|
|
|
|
float: right;
|
|
|
|
margin-left: 10px;
|
|
|
|
margin-right: 0;
|
|
|
|
}
|
|
|
|
li {
|
|
|
|
display: block;
|
|
|
|
float: left;
|
|
|
|
font-size: 13px;
|
|
|
|
a {
|
|
|
|
display: block;
|
|
|
|
float: none;
|
|
|
|
padding: 10px 10px 11px;
|
|
|
|
line-height: 19px;
|
|
|
|
text-decoration: none;
|
|
|
|
&:hover {
|
|
|
|
color: #fff;
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
&.active a {
|
|
|
|
background-color: #222;
|
|
|
|
background-color: rgba(0,0,0,.5);
|
|
|
|
}
|
|
|
|
}
|
2011-08-17 01:58:01 -04:00
|
|
|
|
2011-05-03 21:09:25 -04:00
|
|
|
// Dropdowns
|
|
|
|
&.primary-nav li ul {
|
|
|
|
left: 0;
|
|
|
|
}
|
|
|
|
&.secondary-nav li ul {
|
|
|
|
right: 0;
|
|
|
|
}
|
|
|
|
li.menu {
|
|
|
|
position: relative;
|
|
|
|
a.menu {
|
|
|
|
&:after {
|
2011-07-02 14:51:05 -04:00
|
|
|
width: 0px;
|
|
|
|
height: 0px;
|
2011-05-03 21:09:25 -04:00
|
|
|
display: inline-block;
|
|
|
|
content: "↓";
|
|
|
|
text-indent: -99999px;
|
|
|
|
vertical-align: top;
|
|
|
|
margin-top: 8px;
|
|
|
|
margin-left: 4px;
|
2011-07-02 14:51:05 -04:00
|
|
|
border-left: 4px solid transparent;
|
|
|
|
border-right: 4px solid transparent;
|
|
|
|
border-top: 4px solid #fff;
|
2011-07-02 02:21:11 -04:00
|
|
|
.opacity(50);
|
2011-05-03 21:09:25 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
&.open {
|
|
|
|
a.menu,
|
|
|
|
a:hover {
|
|
|
|
background-color: lighten(#00a0d1,5);
|
|
|
|
background-color: rgba(255,255,255,.1);
|
|
|
|
color: #fff;
|
|
|
|
}
|
|
|
|
ul {
|
|
|
|
display: block;
|
|
|
|
li {
|
|
|
|
a {
|
|
|
|
background-color: transparent;
|
|
|
|
font-weight: normal;
|
|
|
|
&:hover {
|
|
|
|
background-color: rgba(255,255,255,.1);
|
|
|
|
color: #fff;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
&.active a {
|
|
|
|
background-color: rgba(255,255,255,.1);
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
li ul {
|
|
|
|
background-color: #333;
|
|
|
|
float: left;
|
|
|
|
display: none;
|
|
|
|
position: absolute;
|
|
|
|
top: 40px;
|
|
|
|
min-width: 160px;
|
|
|
|
max-width: 220px;
|
|
|
|
_width: 160px;
|
|
|
|
margin-left: 0;
|
|
|
|
margin-right: 0;
|
|
|
|
padding: 0;
|
|
|
|
text-align: left;
|
|
|
|
border: 0;
|
|
|
|
zoom: 1;
|
|
|
|
.border-radius(0 0 5px 5px);
|
|
|
|
.box-shadow(0 1px 2px rgba(0,0,0,0.6));
|
|
|
|
li {
|
|
|
|
float: none;
|
|
|
|
clear: both;
|
|
|
|
display: block;
|
|
|
|
background: none;
|
|
|
|
font-size: 12px;
|
|
|
|
a {
|
|
|
|
display: block;
|
|
|
|
padding: 6px 15px;
|
|
|
|
clear: both;
|
|
|
|
font-weight: normal;
|
|
|
|
line-height: 19px;
|
|
|
|
color: #bbb;
|
|
|
|
&:hover {
|
|
|
|
background-color: #333;
|
|
|
|
background-color: rgba(255,255,255,.25);
|
|
|
|
color: #fff;
|
|
|
|
}
|
|
|
|
}
|
2011-08-17 01:58:01 -04:00
|
|
|
|
2011-05-03 21:09:25 -04:00
|
|
|
// Dividers (basically an hr)
|
|
|
|
&.divider {
|
|
|
|
height: 1px;
|
|
|
|
overflow: hidden;
|
|
|
|
background: rgba(0,0,0,.2);
|
|
|
|
border-bottom: 1px solid rgba(255,255,255,.1);
|
|
|
|
margin: 5px 0;
|
|
|
|
}
|
2011-08-17 01:58:01 -04:00
|
|
|
|
2011-05-03 21:09:25 -04:00
|
|
|
// Section separaters
|
|
|
|
span {
|
|
|
|
clear: both;
|
|
|
|
display: block;
|
|
|
|
background: rgba(0,0,0,.2);
|
|
|
|
padding: 6px 15px;
|
|
|
|
cursor: default;
|
2011-06-28 18:11:41 -04:00
|
|
|
color: @gray;
|
2011-05-03 21:09:25 -04:00
|
|
|
border-top: 1px solid rgba(0,0,0,.2);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2011-08-17 01:58:01 -04:00
|
|
|
|
2011-08-20 21:58:12 -04:00
|
|
|
// PAGE HEADERS
|
|
|
|
// ------------
|
|
|
|
|
|
|
|
.hero-unit {
|
|
|
|
background-color: #f5f5f5;
|
|
|
|
margin-bottom: 30px;
|
|
|
|
padding: 60px;
|
|
|
|
.border-radius(6px);
|
|
|
|
h1 {
|
|
|
|
margin-bottom: 0;
|
|
|
|
font-size: 60px;
|
|
|
|
line-height: 1;
|
|
|
|
letter-spacing: -1px;
|
|
|
|
}
|
|
|
|
p {
|
|
|
|
font-size: 18px;
|
|
|
|
font-weight: 200;
|
|
|
|
line-height: @baseline * 1.5;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2011-08-17 01:58:01 -04:00
|
|
|
// PAGE HEADERS
|
2011-06-29 18:40:52 -04:00
|
|
|
// ------------
|
2011-05-03 21:09:25 -04:00
|
|
|
|
2011-08-21 23:03:12 -04:00
|
|
|
.page-header {
|
2011-05-03 21:09:25 -04:00
|
|
|
margin-bottom: @baseline - 1;
|
|
|
|
border-bottom: 1px solid #ddd;
|
|
|
|
.box-shadow(0 1px 0 rgba(255,255,255,.5));
|
|
|
|
h1 {
|
2011-06-28 18:11:41 -04:00
|
|
|
margin-bottom: (@baseline / 2) - 1px;
|
2011-05-03 21:09:25 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2011-08-17 01:58:01 -04:00
|
|
|
// ERROR STYLES
|
2011-06-29 18:40:52 -04:00
|
|
|
// ------------
|
2011-05-03 21:09:25 -04:00
|
|
|
|
|
|
|
// One-liner alert bars
|
2011-08-21 23:03:12 -04:00
|
|
|
.alert-message {
|
2011-06-27 19:47:12 -04:00
|
|
|
background-color: @grayLighter;
|
2011-05-03 21:09:25 -04:00
|
|
|
margin-bottom: @baseline;
|
2011-06-28 18:11:41 -04:00
|
|
|
padding: 8px 15px;
|
2011-05-03 21:09:25 -04:00
|
|
|
color: #fff;
|
2011-08-21 20:30:45 -04:00
|
|
|
text-shadow: 0 -1px 0 rgba(0,0,0,.3);
|
|
|
|
border-bottom: 1px solid rgba(0,0,0,.3);
|
2011-06-28 18:11:41 -04:00
|
|
|
.border-radius(4px);
|
2011-05-03 21:09:25 -04:00
|
|
|
p {
|
|
|
|
color: #fff;
|
|
|
|
margin-bottom: 0;
|
|
|
|
+ p {
|
|
|
|
margin-top: 5px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
&.error {
|
2011-08-21 20:30:45 -04:00
|
|
|
#gradient > .vertical(lighten(@red, 30%), lighten(@red, 15%));
|
|
|
|
border-bottom-color: lighten(@red, 5%);
|
2011-05-03 21:09:25 -04:00
|
|
|
}
|
|
|
|
&.warning {
|
2011-08-21 20:30:45 -04:00
|
|
|
#gradient > .vertical(lighten(@yellow, 25%), lighten(@yellow, 10%));
|
|
|
|
border-bottom-color: @yellow;
|
2011-05-03 21:09:25 -04:00
|
|
|
}
|
|
|
|
&.success {
|
2011-08-21 20:30:45 -04:00
|
|
|
#gradient > .vertical(lighten(@green, 25%), lighten(@green, 10%));
|
|
|
|
border-bottom-color: @green;
|
2011-05-03 21:09:25 -04:00
|
|
|
}
|
|
|
|
&.info {
|
2011-08-21 20:30:45 -04:00
|
|
|
#gradient > .vertical(lighten(@blue, 25%), lighten(@blue, 5%));
|
|
|
|
border-bottom-color: @blue;
|
2011-05-03 21:09:25 -04:00
|
|
|
}
|
2011-08-21 20:30:45 -04:00
|
|
|
.close {
|
2011-05-03 21:09:25 -04:00
|
|
|
float: right;
|
|
|
|
margin-top: -2px;
|
2011-08-21 20:30:45 -04:00
|
|
|
color: #000;
|
2011-05-03 21:09:25 -04:00
|
|
|
font-size: 20px;
|
|
|
|
font-weight: bold;
|
2011-08-21 20:30:45 -04:00
|
|
|
text-shadow: 0 1px 0 rgba(255,255,255,1);
|
|
|
|
.opacity(20);
|
2011-05-03 21:09:25 -04:00
|
|
|
&:hover {
|
|
|
|
text-decoration: none;
|
2011-08-21 20:30:45 -04:00
|
|
|
.opacity(40);
|
2011-05-03 21:09:25 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// Block-level Alerts
|
2011-08-21 23:03:12 -04:00
|
|
|
.block-message {
|
2011-05-03 21:09:25 -04:00
|
|
|
margin-bottom: @baseline;
|
2011-06-28 18:11:41 -04:00
|
|
|
padding: 14px;
|
|
|
|
color: @grayDark;
|
2011-05-03 21:09:25 -04:00
|
|
|
color: rgba(0,0,0,.8);
|
|
|
|
text-shadow: 0 1px 0 rgba(255,255,255,.25);
|
|
|
|
.border-radius(6px);
|
|
|
|
p {
|
2011-06-28 18:11:41 -04:00
|
|
|
color: @grayDark;
|
2011-05-03 21:09:25 -04:00
|
|
|
color: rgba(0,0,0,.8);
|
|
|
|
margin-right: 30px;
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
ul {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
strong {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
&.error {
|
|
|
|
background: lighten(@red, 55%);
|
|
|
|
border: 1px solid lighten(@red, 50%);
|
|
|
|
}
|
|
|
|
&.warning {
|
|
|
|
background: lighten(@yellow, 35%);
|
|
|
|
border: 1px solid lighten(@yellow, 25%)
|
|
|
|
}
|
|
|
|
&.success {
|
|
|
|
background: lighten(@green, 45%);
|
|
|
|
border: 1px solid lighten(@green, 35%)
|
|
|
|
}
|
|
|
|
&.info {
|
|
|
|
background: lighten(@blue, 45%);
|
|
|
|
border: 1px solid lighten(@blue, 40%);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2011-08-17 01:58:01 -04:00
|
|
|
// NAVIGATION
|
2011-06-29 18:40:52 -04:00
|
|
|
// ----------
|
2011-05-03 21:09:25 -04:00
|
|
|
|
|
|
|
// Common tab and pill styles
|
2011-08-21 23:03:12 -04:00
|
|
|
.tabs,
|
|
|
|
.pills {
|
2011-05-03 21:09:25 -04:00
|
|
|
margin: 0 0 20px;
|
|
|
|
padding: 0;
|
|
|
|
.clearfix();
|
|
|
|
li {
|
|
|
|
display: inline;
|
|
|
|
a {
|
|
|
|
float: left;
|
|
|
|
width: auto;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2011-08-17 01:58:01 -04:00
|
|
|
|
2011-05-03 21:09:25 -04:00
|
|
|
// Basic Tabs
|
2011-08-21 23:03:12 -04:00
|
|
|
.tabs {
|
2011-05-03 21:09:25 -04:00
|
|
|
width: 100%;
|
2011-06-28 18:11:41 -04:00
|
|
|
border-bottom: 1px solid @grayLight;
|
2011-05-03 21:09:25 -04:00
|
|
|
li {
|
|
|
|
a {
|
|
|
|
margin-bottom: -1px;
|
|
|
|
margin-right: 2px;
|
|
|
|
padding: 0 15px;
|
|
|
|
line-height: (@baseline * 2) - 1;
|
|
|
|
.border-radius(3px 3px 0 0);
|
|
|
|
&:hover {
|
2011-06-28 18:11:41 -04:00
|
|
|
background-color: @grayLighter;
|
|
|
|
border-bottom: 1px solid @grayLight;
|
2011-05-03 21:09:25 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
&.active a {
|
2011-06-28 18:11:41 -04:00
|
|
|
background-color: #fff;
|
2011-05-03 21:09:25 -04:00
|
|
|
padding: 0 14px;
|
|
|
|
border: 1px solid #ccc;
|
|
|
|
border-bottom: 0;
|
|
|
|
color: @gray;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2011-08-17 01:58:01 -04:00
|
|
|
|
2011-05-03 21:09:25 -04:00
|
|
|
// Basic pill nav
|
2011-08-21 23:03:12 -04:00
|
|
|
.pills {
|
2011-05-03 21:09:25 -04:00
|
|
|
li {
|
|
|
|
a {
|
|
|
|
margin: 5px 3px 5px 0;
|
|
|
|
padding: 0 15px;
|
|
|
|
text-shadow: 0 1px 1px #fff;
|
|
|
|
line-height: 30px;
|
|
|
|
.border-radius(15px);
|
|
|
|
&:hover {
|
2011-06-27 19:47:12 -04:00
|
|
|
background: @linkColorHover;
|
2011-05-03 21:09:25 -04:00
|
|
|
color: #fff;
|
|
|
|
text-decoration: none;
|
|
|
|
text-shadow: 0 1px 1px rgba(0,0,0,.25);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
&.active a {
|
2011-06-27 19:47:12 -04:00
|
|
|
background: @linkColor;
|
2011-05-03 21:09:25 -04:00
|
|
|
color: #fff;
|
|
|
|
text-shadow: 0 1px 1px rgba(0,0,0,.25);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2011-08-17 01:58:01 -04:00
|
|
|
// PAGINATION
|
|
|
|
// ----------
|
2011-05-03 21:09:25 -04:00
|
|
|
|
2011-08-21 23:03:12 -04:00
|
|
|
.pagination {
|
2011-05-03 21:09:25 -04:00
|
|
|
height: @baseline * 2;
|
|
|
|
margin: @baseline 0;
|
|
|
|
ul {
|
|
|
|
float: left;
|
|
|
|
margin: 0;
|
2011-08-21 23:03:12 -04:00
|
|
|
border: 1px solid #ddd;
|
2011-05-03 21:09:25 -04:00
|
|
|
border: 1px solid rgba(0,0,0,.15);
|
|
|
|
.border-radius(3px);
|
2011-08-21 23:12:18 -04:00
|
|
|
.box-shadow(0 1px 2px rgba(0,0,0,.05);
|
2011-05-03 21:09:25 -04:00
|
|
|
li {
|
|
|
|
display: inline;
|
|
|
|
a {
|
|
|
|
float: left;
|
|
|
|
padding: 0 14px;
|
|
|
|
line-height: (@baseline * 2) - 2;
|
2011-08-21 23:03:12 -04:00
|
|
|
border-right: 1px solid #ddd;
|
2011-05-03 21:09:25 -04:00
|
|
|
border-right: 1px solid rgba(0,0,0,.15);
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
a:hover,
|
|
|
|
&.active a {
|
|
|
|
background-color: lighten(@blue, 45%);
|
|
|
|
}
|
|
|
|
&.disabled a,
|
|
|
|
&.disabled a:hover {
|
|
|
|
background-color: none;
|
2011-06-27 19:47:12 -04:00
|
|
|
color: @grayLight;
|
2011-05-03 21:09:25 -04:00
|
|
|
}
|
|
|
|
&.next a,
|
|
|
|
&:last-child a {
|
|
|
|
border: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2011-08-17 01:58:01 -04:00
|
|
|
// WELLS
|
2011-06-29 18:40:52 -04:00
|
|
|
// -----
|
2011-05-03 21:09:25 -04:00
|
|
|
|
2011-08-20 21:58:12 -04:00
|
|
|
.well {
|
|
|
|
background-color: #f5f5f5;
|
2011-05-03 21:09:25 -04:00
|
|
|
margin-bottom: 20px;
|
|
|
|
padding: 19px;
|
|
|
|
min-height: 20px;
|
2011-08-20 21:58:12 -04:00
|
|
|
border: 1px solid #eee;
|
|
|
|
border: 1px solid rgba(0,0,0,.05);
|
2011-05-03 21:09:25 -04:00
|
|
|
.border-radius(4px);
|
2011-06-28 18:11:41 -04:00
|
|
|
.box-shadow(inset 0 1px 1px rgba(0,0,0,.05);
|
2011-05-03 21:09:25 -04:00
|
|
|
}
|
2011-06-27 20:15:26 -04:00
|
|
|
|
|
|
|
|
2011-08-17 01:58:01 -04:00
|
|
|
// MODALS
|
2011-06-29 18:40:52 -04:00
|
|
|
// ------
|
2011-06-27 20:15:26 -04:00
|
|
|
|
2011-08-21 23:03:12 -04:00
|
|
|
.modal-backdrop {
|
2011-06-27 20:15:26 -04:00
|
|
|
background-color: rgba(0,0,0,.5);
|
|
|
|
position: fixed;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
bottom: 0;
|
|
|
|
z-index: 1000;
|
|
|
|
}
|
2011-08-21 23:03:12 -04:00
|
|
|
.modal {
|
2011-06-27 20:15:26 -04:00
|
|
|
position: fixed;
|
|
|
|
top: 50%;
|
|
|
|
left: 50%;
|
|
|
|
z-index: 2000;
|
2011-06-28 14:56:49 -04:00
|
|
|
width: 560px;
|
|
|
|
margin: -280px 0 0 -250px;
|
2011-06-27 20:15:26 -04:00
|
|
|
background-color: @white;
|
2011-08-21 23:12:18 -04:00
|
|
|
border: 1px solid #999;
|
2011-06-28 13:45:27 -04:00
|
|
|
border: 1px solid rgba(0,0,0,.3);
|
2011-06-28 13:47:26 -04:00
|
|
|
.border-radius(6px);
|
2011-06-28 14:56:49 -04:00
|
|
|
.box-shadow(0 3px 7px rgba(0,0,0,0.3));
|
2011-08-21 23:12:18 -04:00
|
|
|
.background-clip(padding-box);
|
2011-06-28 04:15:03 -04:00
|
|
|
.modal-header {
|
2011-06-28 14:56:49 -04:00
|
|
|
border-bottom: 1px solid #eee;
|
2011-06-28 04:15:03 -04:00
|
|
|
padding: 5px 20px;
|
|
|
|
a.close {
|
|
|
|
position: absolute;
|
|
|
|
right: 10px;
|
|
|
|
top: 10px;
|
|
|
|
color: #999;
|
|
|
|
line-height:10px;
|
|
|
|
font-size: 18px;
|
|
|
|
}
|
|
|
|
}
|
2011-06-28 14:56:49 -04:00
|
|
|
.modal-body {
|
|
|
|
padding: 20px;
|
|
|
|
}
|
|
|
|
.modal-footer {
|
2011-07-29 16:10:33 -04:00
|
|
|
background-color: #f5f5f5;
|
2011-06-28 14:56:49 -04:00
|
|
|
padding: 14px 20px 15px;
|
|
|
|
border-top: 1px solid #ddd;
|
|
|
|
.border-radius(0 0 6px 6px);
|
|
|
|
.box-shadow(inset 0 1px 0 #fff);
|
|
|
|
.clearfix();
|
|
|
|
.btn {
|
|
|
|
float: right;
|
|
|
|
margin-left: 10px;
|
|
|
|
}
|
|
|
|
}
|
2011-06-27 20:15:26 -04:00
|
|
|
}
|
2011-07-02 00:30:12 -04:00
|
|
|
|
2011-07-02 02:10:39 -04:00
|
|
|
|
2011-08-17 01:58:01 -04:00
|
|
|
// POPOVER ARROWS
|
2011-07-02 02:10:39 -04:00
|
|
|
// --------------
|
|
|
|
|
|
|
|
#popoverArrow {
|
|
|
|
.above(@arrowWidth: 5px) {
|
|
|
|
bottom: 0;
|
|
|
|
left: 50%;
|
|
|
|
margin-left: -@arrowWidth;
|
|
|
|
border-left: @arrowWidth solid transparent;
|
|
|
|
border-right: @arrowWidth solid transparent;
|
|
|
|
border-top: @arrowWidth solid #000;
|
|
|
|
}
|
|
|
|
.left(@arrowWidth: 5px) {
|
|
|
|
top: 50%;
|
|
|
|
right: 0;
|
|
|
|
margin-top: -@arrowWidth;
|
|
|
|
border-top: @arrowWidth solid transparent;
|
|
|
|
border-bottom: @arrowWidth solid transparent;
|
|
|
|
border-left: @arrowWidth solid #000;
|
|
|
|
}
|
|
|
|
.below(@arrowWidth: 5px) {
|
|
|
|
top: 0;
|
|
|
|
left: 50%;
|
|
|
|
margin-left: -@arrowWidth;
|
|
|
|
border-left: @arrowWidth solid transparent;
|
|
|
|
border-right: @arrowWidth solid transparent;
|
|
|
|
border-bottom: @arrowWidth solid #000;
|
|
|
|
}
|
|
|
|
.right(@arrowWidth: 5px) {
|
|
|
|
top: 50%;
|
|
|
|
left: 0;
|
|
|
|
margin-top: -@arrowWidth;
|
|
|
|
border-top: @arrowWidth solid transparent;
|
|
|
|
border-bottom: @arrowWidth solid transparent;
|
|
|
|
border-right: @arrowWidth solid #000;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2011-08-17 01:58:01 -04:00
|
|
|
// TWIPSY
|
2011-07-02 00:30:12 -04:00
|
|
|
// ------
|
|
|
|
|
2011-08-21 23:03:12 -04:00
|
|
|
.twipsy {
|
2011-07-02 00:30:12 -04:00
|
|
|
display: block;
|
|
|
|
position: absolute;
|
|
|
|
visibility: visible;
|
|
|
|
padding: 5px;
|
2011-07-02 01:19:15 -04:00
|
|
|
font-size: 11px;
|
2011-07-05 17:24:53 -04:00
|
|
|
z-index: 1000;
|
2011-07-02 00:30:12 -04:00
|
|
|
.opacity(80);
|
2011-07-02 02:10:39 -04:00
|
|
|
&.above .twipsy-arrow { #popoverArrow > .above(); }
|
|
|
|
&.left .twipsy-arrow { #popoverArrow > .left(); }
|
|
|
|
&.below .twipsy-arrow { #popoverArrow > .below(); }
|
|
|
|
&.right .twipsy-arrow { #popoverArrow > .right(); }
|
2011-07-02 00:30:12 -04:00
|
|
|
.twipsy-inner {
|
2011-07-02 01:19:15 -04:00
|
|
|
padding: 3px 8px;
|
2011-07-02 00:30:12 -04:00
|
|
|
background-color: #000;
|
|
|
|
color: white;
|
|
|
|
text-align: center;
|
|
|
|
max-width: 200px;
|
2011-07-02 01:21:49 -04:00
|
|
|
text-decoration: none;
|
2011-07-02 00:30:12 -04:00
|
|
|
.border-radius(4px);
|
|
|
|
}
|
|
|
|
.twipsy-arrow {
|
|
|
|
position: absolute;
|
|
|
|
width: 0;
|
|
|
|
height: 0;
|
|
|
|
}
|
2011-07-02 02:10:39 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
|
2011-08-17 01:58:01 -04:00
|
|
|
// POPOVERS
|
2011-07-02 02:10:39 -04:00
|
|
|
// --------
|
|
|
|
|
|
|
|
.popover {
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
2011-07-05 17:24:53 -04:00
|
|
|
z-index: 1000;
|
2011-07-02 02:10:39 -04:00
|
|
|
padding: 5px;
|
2011-07-28 20:50:38 -04:00
|
|
|
display: none;
|
|
|
|
&.above .arrow { #popoverArrow > .above(); }
|
|
|
|
&.right .arrow { #popoverArrow > .right(); }
|
|
|
|
&.below .arrow { #popoverArrow > .below(); }
|
|
|
|
&.left .arrow { #popoverArrow > .left(); }
|
2011-07-02 02:10:39 -04:00
|
|
|
.arrow {
|
|
|
|
position: absolute;
|
|
|
|
width: 0;
|
|
|
|
height: 0;
|
|
|
|
}
|
2011-07-28 20:50:38 -04:00
|
|
|
.inner {
|
2011-08-21 23:17:10 -04:00
|
|
|
background-color: #333;
|
|
|
|
background-color: rgba(0,0,0,.8);
|
2011-07-28 20:50:38 -04:00
|
|
|
padding: 3px;
|
|
|
|
overflow: hidden;
|
|
|
|
width: 280px;
|
|
|
|
.border-radius(6px);
|
|
|
|
.box-shadow(0 3px 7px rgba(0,0,0,0.3));
|
|
|
|
}
|
2011-07-02 02:10:39 -04:00
|
|
|
.title {
|
2011-08-21 23:17:10 -04:00
|
|
|
background-color: #f5f5f5;
|
2011-07-02 02:10:39 -04:00
|
|
|
padding: 9px 15px;
|
|
|
|
line-height: 1;
|
2011-07-28 20:50:38 -04:00
|
|
|
.border-radius(3px 3px 0 0);
|
|
|
|
border-bottom:1px solid #eee;
|
2011-07-02 02:10:39 -04:00
|
|
|
}
|
|
|
|
.content {
|
|
|
|
background-color: @white;
|
|
|
|
padding: 14px;
|
2011-07-28 20:50:38 -04:00
|
|
|
.border-radius(0 0 3px 3px);
|
2011-08-21 23:12:18 -04:00
|
|
|
.background-clip(padding-box);
|
2011-07-02 02:10:39 -04:00
|
|
|
p, ul, ol {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
}
|
2011-07-28 20:50:38 -04:00
|
|
|
}
|