2011-11-16 16:01:45 +00:00
|
|
|
/* variables and mixins used in multiple less files go here */
|
2011-10-04 20:18:59 +00:00
|
|
|
@text-blue: #3d4e53;
|
|
|
|
@medium-blue: #6994a3;
|
2011-12-20 20:33:20 +00:00
|
|
|
@medium-blue-grey: #a7c1ca;
|
2011-10-04 20:18:59 +00:00
|
|
|
@pale-blue: #edf3f4;
|
|
|
|
@green: #8dc63f;
|
2011-12-20 15:39:02 +00:00
|
|
|
@call-to-action: #8dc63f;
|
2011-10-04 20:18:59 +00:00
|
|
|
@dark-green: #73a334;
|
|
|
|
@dark-blue: #37414d;
|
2011-11-18 18:27:26 +00:00
|
|
|
@blue-grey: #d6dde0;
|
2011-12-20 18:31:20 +00:00
|
|
|
@bright-blue: #8ac3d7;
|
2012-01-15 17:04:43 +00:00
|
|
|
@alert: #e35351;
|
2012-05-13 20:46:03 +00:00
|
|
|
@orange: #e18551;
|
2012-10-03 17:44:33 +00:00
|
|
|
@yellow: #efd45e;
|
2011-10-04 20:18:59 +00:00
|
|
|
@image-base: "/static/images/";
|
|
|
|
@background-header: "@{image-base}bg.png";
|
|
|
|
@background-body: "@{image-base}bg-body.png";
|
|
|
|
@background-booklist: "@{image-base}booklist/bg.png";
|
2012-06-13 16:31:21 +00:00
|
|
|
@font-size-default: 13px;
|
|
|
|
@font-size-larger: 15px;
|
|
|
|
@font-size-header: 19px;
|
2013-03-18 21:04:00 +00:00
|
|
|
@font-size-shout: 22px;
|
2012-10-12 18:57:38 +00:00
|
|
|
@link-color: #6994a3;
|
2011-10-04 20:18:59 +00:00
|
|
|
|
2015-04-09 03:32:36 +00:00
|
|
|
//== Colors
|
|
|
|
//
|
|
|
|
//## Gray and brand colors for use across Bootstrap.
|
|
|
|
|
|
|
|
@gray-base: #000;
|
|
|
|
@gray-darker: lighten(@gray-base, 13.5%); // #222
|
|
|
|
@gray-dark: lighten(@gray-base, 20%); // #333
|
|
|
|
@gray: lighten(@gray-base, 33.5%); // #555
|
|
|
|
@gray-light: lighten(@gray-base, 46.7%); // #777
|
|
|
|
@gray-lighter: lighten(@gray-base, 93.5%); // #eee
|
|
|
|
|
|
|
|
@brand-primary: darken(#428bca, 6.5%); // #337ab7
|
|
|
|
@brand-success: #5cb85c;
|
|
|
|
@brand-info: #5bc0de;
|
|
|
|
@brand-warning: #f0ad4e;
|
|
|
|
@brand-danger: #d9534f;
|
|
|
|
|
|
|
|
//** Link hover color set via `darken()` function.
|
|
|
|
@link-hover-color: darken(@link-color, 15%);
|
|
|
|
//** Link hover decoration.
|
|
|
|
@link-hover-decoration: underline;
|
|
|
|
|
|
|
|
@font-size-base: 14px;
|
|
|
|
@font-size-large: ceil((@font-size-base * 1.25)); // ~18px
|
|
|
|
@font-size-small: ceil((@font-size-base * 0.85)); // ~12px
|
|
|
|
|
|
|
|
//** Unit-less `line-height` for use in components like buttons.
|
|
|
|
@line-height-base: 1.428571429; // 20/14
|
|
|
|
//** Computed "line-height" (`font-size` * `line-height`) for use with `margin`, `padding`, etc.
|
|
|
|
@line-height-computed: floor((@font-size-base * @line-height-base)); // ~20px
|
|
|
|
|
|
|
|
//== Components
|
|
|
|
//
|
|
|
|
//## Define common padding and border radius sizes and more. Values based on 14px text and 1.428 line-height (~20px to start).
|
|
|
|
|
|
|
|
@padding-base-vertical: 6px;
|
|
|
|
@padding-base-horizontal: 12px;
|
|
|
|
|
|
|
|
@padding-large-vertical: 10px;
|
|
|
|
@padding-large-horizontal: 16px;
|
|
|
|
|
|
|
|
@padding-small-vertical: 5px;
|
|
|
|
@padding-small-horizontal: 10px;
|
|
|
|
|
|
|
|
@padding-xs-vertical: 1px;
|
|
|
|
@padding-xs-horizontal: 5px;
|
|
|
|
|
|
|
|
@line-height-large: 1.3333333; // extra decimals for Win 8.1 Chrome
|
|
|
|
@line-height-small: 1.5;
|
|
|
|
|
|
|
|
@border-radius-base: 4px;
|
|
|
|
@border-radius-large: 6px;
|
|
|
|
@border-radius-small: 3px;
|
|
|
|
|
|
|
|
//== Buttons
|
|
|
|
//
|
|
|
|
//## For each of Bootstrap's buttons, define text, background and border color.
|
|
|
|
|
|
|
|
@btn-font-weight: normal;
|
|
|
|
|
|
|
|
@btn-default-color: #333;
|
|
|
|
@btn-default-bg: #fff;
|
|
|
|
@btn-default-border: #ccc;
|
|
|
|
|
|
|
|
@btn-primary-color: #fff;
|
|
|
|
@btn-primary-bg: @brand-primary;
|
|
|
|
@btn-primary-border: darken(@btn-primary-bg, 5%);
|
|
|
|
|
|
|
|
@btn-success-color: #fff;
|
|
|
|
@btn-success-bg: @brand-success;
|
|
|
|
@btn-success-border: darken(@btn-success-bg, 5%);
|
|
|
|
|
|
|
|
@btn-info-color: #fff;
|
|
|
|
@btn-info-bg: @brand-info;
|
|
|
|
@btn-info-border: darken(@btn-info-bg, 5%);
|
|
|
|
|
|
|
|
@btn-warning-color: #fff;
|
|
|
|
@btn-warning-bg: @brand-warning;
|
|
|
|
@btn-warning-border: darken(@btn-warning-bg, 5%);
|
|
|
|
|
|
|
|
@btn-danger-color: #fff;
|
|
|
|
@btn-danger-bg: @brand-danger;
|
|
|
|
@btn-danger-border: darken(@btn-danger-bg, 5%);
|
|
|
|
|
|
|
|
@btn-link-disabled-color: @gray-light;
|
|
|
|
|
|
|
|
|
|
|
|
//** Disabled cursor for form controls and buttons.
|
|
|
|
@cursor-disabled: not-allowed;
|
|
|
|
|
2011-10-04 20:18:59 +00:00
|
|
|
.header-text {
|
|
|
|
display:block;
|
|
|
|
text-decoration:none;
|
|
|
|
font-weight:bold;
|
2011-10-13 16:25:10 +00:00
|
|
|
letter-spacing: -.05em;
|
2011-10-04 20:18:59 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.border-radius(@topleft, @topright, @bottomright, @bottomleft) {
|
|
|
|
-moz-border-radius: @arguments;
|
|
|
|
-webkit-border-radius: @arguments;
|
2011-10-11 13:32:52 +00:00
|
|
|
border-radius: @arguments;
|
2011-10-04 20:18:59 +00:00
|
|
|
}
|
|
|
|
|
2012-01-13 16:01:47 +00:00
|
|
|
.one-border-radius(@radius) {
|
2012-01-13 17:34:42 +00:00
|
|
|
-moz-border-radius: @radius;
|
|
|
|
-webkit-border-radius: @radius;
|
|
|
|
border-radius: @radius;
|
2012-01-13 16:01:47 +00:00
|
|
|
}
|
|
|
|
|
2011-10-04 20:18:59 +00:00
|
|
|
.panelborders {
|
|
|
|
border-width: 1px 0px;
|
|
|
|
border-style: solid none;
|
|
|
|
border-color: #FFFFFF;
|
2011-10-11 13:32:52 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.navigation-arrows(@x, @y) {
|
|
|
|
background:url(@background-booklist) @x @y no-repeat;
|
|
|
|
width:10px;
|
|
|
|
height:15px;
|
|
|
|
display:block;
|
|
|
|
text-indent:-10000px;
|
2011-10-13 16:25:10 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.supporter-color-span(@hex, @color) {
|
|
|
|
@url: %("%sheader-button-%s.png", @image-base, @color);
|
|
|
|
background:@hex url(@url) left bottom repeat-x;
|
|
|
|
}
|
|
|
|
|
2012-02-06 15:57:37 +00:00
|
|
|
.roundedspan {
|
2012-02-06 15:50:37 +00:00
|
|
|
border:1px solid #d4d4d4;
|
|
|
|
.one-border-radius(7px);
|
|
|
|
padding:1px;
|
|
|
|
color:#fff;
|
|
|
|
margin:0 8px 0 0;
|
|
|
|
display:inline-block;
|
|
|
|
|
|
|
|
> span {
|
|
|
|
padding:7px 7px;
|
|
|
|
min-width:15px;
|
|
|
|
.one-border-radius(5px);
|
|
|
|
text-align:center;
|
|
|
|
display:inline-block;
|
|
|
|
|
|
|
|
.hovertext {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover .hovertext {
|
|
|
|
display: inline;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2011-10-13 16:25:10 +00:00
|
|
|
.height(@x) {
|
|
|
|
height:@x;
|
|
|
|
line-height:@x;
|
|
|
|
}
|
2012-01-10 21:27:31 +00:00
|
|
|
|
|
|
|
.mediaborder {
|
|
|
|
padding: 5px;
|
|
|
|
border: solid 5px #EDF3F4;
|
2012-01-13 17:34:42 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.actionbuttons {
|
|
|
|
width: auto;
|
|
|
|
.height(36px);
|
|
|
|
background: @call-to-action;
|
2015-04-09 03:32:36 +00:00
|
|
|
border: 1px solid transparent;
|
2012-01-13 17:34:42 +00:00
|
|
|
color: white;
|
|
|
|
cursor: pointer;
|
|
|
|
font-size: 13px;
|
2015-04-09 03:32:36 +00:00
|
|
|
font-weight: @btn-font-weight;
|
2012-01-13 17:34:42 +00:00
|
|
|
padding: 0 15px;
|
2012-01-13 21:24:34 +00:00
|
|
|
margin: 5px 0;
|
2012-03-07 18:23:34 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.errors {
|
2013-03-19 17:15:50 +00:00
|
|
|
.one-border-radius(16px);
|
2012-04-16 16:14:04 +00:00
|
|
|
border: solid @alert 3px;
|
|
|
|
clear: both;
|
2012-03-07 18:23:34 +00:00
|
|
|
width: 90%;
|
2012-04-16 16:14:04 +00:00
|
|
|
height: auto;
|
|
|
|
line-height: 16px;
|
2012-03-07 18:23:34 +00:00
|
|
|
padding: 7px 0;
|
2012-04-16 16:14:04 +00:00
|
|
|
font-weight: bold;
|
2012-05-15 00:37:57 +00:00
|
|
|
font-size: 13px;
|
2012-03-07 18:23:34 +00:00
|
|
|
text-align: center;
|
|
|
|
|
|
|
|
li {
|
|
|
|
list-style: none;
|
|
|
|
border: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.clickyarrows() {
|
|
|
|
text-indent:-10000px;
|
|
|
|
font-size:0;
|
|
|
|
width:15px;
|
|
|
|
height:22px;
|
|
|
|
display:block;
|
|
|
|
position:absolute;
|
|
|
|
top:45%;
|
|
|
|
}
|