2012-12-20 13:09:28 +00:00
|
|
|
@import "twbs-222/bootstrap.less";
|
2012-03-09 05:02:49 +00:00
|
|
|
|
|
|
|
@import "mixins.less";
|
|
|
|
@import "variables.less";
|
2012-05-21 13:06:58 +00:00
|
|
|
@import "font-site.less";
|
2012-03-09 05:02:49 +00:00
|
|
|
@import "font-awesome.less";
|
|
|
|
|
|
|
|
// These accomodate navbar-fixed-top
|
2012-12-20 13:09:28 +00:00
|
|
|
//#overview { padding-top: 60px; }
|
|
|
|
//#new-icons, #all-icons, #examples, #integration, #code, #roadmap {
|
|
|
|
// padding-top: 40px;
|
|
|
|
//}
|
2012-05-16 13:06:08 +00:00
|
|
|
.navbar .brand {
|
2012-12-20 13:09:28 +00:00
|
|
|
// padding: 11px 20px 9px;
|
2012-05-16 13:06:08 +00:00
|
|
|
color: @white;
|
2012-12-20 13:09:28 +00:00
|
|
|
font-family: @serifFontFamily;
|
2012-05-16 13:06:08 +00:00
|
|
|
}
|
2012-03-09 05:02:49 +00:00
|
|
|
|
2012-12-20 13:09:28 +00:00
|
|
|
|
|
|
|
//.navbar-inner { .border-radius(0); }
|
2012-03-09 05:02:49 +00:00
|
|
|
|
|
|
|
.navbar .nav > li > a { padding: 12px 10px 9px; }
|
|
|
|
|
2012-05-21 13:06:58 +00:00
|
|
|
h1, h2, h3, h4, h5, h6 { font-family: @serifFontFamily; }
|
2012-03-09 05:02:49 +00:00
|
|
|
|
|
|
|
#iconCarousel {
|
2012-05-21 13:06:58 +00:00
|
|
|
a { color: @white; }
|
|
|
|
@size: 275px;
|
|
|
|
float: right;
|
2012-12-20 13:09:28 +00:00
|
|
|
width: @size * 1.08;
|
|
|
|
height: @size;
|
|
|
|
// border: solid 1px white;
|
2012-05-21 13:06:58 +00:00
|
|
|
margin-right: 10px;
|
2012-12-20 13:09:28 +00:00
|
|
|
// margin-top: -20px;
|
2012-05-21 13:06:58 +00:00
|
|
|
font-size: @size;
|
|
|
|
text-align: center;
|
|
|
|
text-shadow: 2px 2px 3px @grayDarker;
|
|
|
|
.carousel-control {
|
2012-12-20 13:09:28 +00:00
|
|
|
top: @size + 33;
|
2012-05-21 13:06:58 +00:00
|
|
|
.square(23px);
|
|
|
|
border-width: 3px;
|
|
|
|
font-size: 17px;
|
2012-12-20 13:09:28 +00:00
|
|
|
line-height: 22px;
|
|
|
|
left: @size / 2 - 23;
|
2012-05-21 13:06:58 +00:00
|
|
|
&.right {
|
|
|
|
left: auto;
|
2012-12-20 13:09:28 +00:00
|
|
|
right: @size / 2 - 23;
|
2012-03-09 05:02:49 +00:00
|
|
|
}
|
2012-05-21 13:06:58 +00:00
|
|
|
}
|
2012-03-09 05:02:49 +00:00
|
|
|
}
|
|
|
|
|
2012-06-04 19:10:35 +00:00
|
|
|
//a[href^='http://'] {
|
|
|
|
// &:after {
|
|
|
|
// font-family: FontAwesome;
|
|
|
|
// content: "\0020 \f08e";
|
|
|
|
// &:hover {
|
|
|
|
// text-decoration: none;
|
|
|
|
// }
|
|
|
|
// }
|
|
|
|
//}
|
2012-03-09 05:02:49 +00:00
|
|
|
|
|
|
|
.hero-unit {
|
2012-06-04 19:10:35 +00:00
|
|
|
margin-bottom: 20px;
|
2012-12-20 13:09:28 +00:00
|
|
|
padding-top: 80px;
|
|
|
|
.border-radius(0);
|
2012-05-22 21:43:52 +00:00
|
|
|
// #gradient > .radial( lighten(@red, 10%), @red);
|
2012-05-21 13:06:58 +00:00
|
|
|
background-color: @red;
|
|
|
|
&, h1 { color: @white; }
|
|
|
|
h1 {
|
|
|
|
font-size: 70px;
|
2012-12-20 13:09:28 +00:00
|
|
|
letter-spacing: -2px;
|
2012-05-21 13:06:58 +00:00
|
|
|
line-height: 1.2;
|
|
|
|
}
|
|
|
|
p {
|
|
|
|
margin-top: 10px;
|
|
|
|
margin-bottom: 15px;
|
|
|
|
font-size: 28px;
|
|
|
|
line-height: 34px;
|
|
|
|
}
|
|
|
|
text-shadow: 2px 2px 2px @grayDark;
|
|
|
|
ul {
|
|
|
|
margin-left: 50px;
|
|
|
|
li {
|
2012-05-22 21:43:52 +00:00
|
|
|
&.icon-large:before {
|
2012-05-21 13:06:58 +00:00
|
|
|
text-indent: -2em;
|
|
|
|
vertical-align: baseline;
|
|
|
|
}
|
|
|
|
font-size: 15px;
|
|
|
|
line-height: 30px;
|
|
|
|
text-shadow: 1px 1px 1px @grayDark;
|
2012-03-09 05:02:49 +00:00
|
|
|
}
|
2012-05-21 13:06:58 +00:00
|
|
|
}
|
2012-12-20 13:09:28 +00:00
|
|
|
// a { color: #fffeb8; }
|
2012-05-21 13:06:58 +00:00
|
|
|
.btn-large {
|
2012-12-20 13:09:28 +00:00
|
|
|
// .buttonBackground(@white, #bbb);
|
2012-05-21 13:06:58 +00:00
|
|
|
font-family: @serifFontFamily;
|
2012-12-20 13:09:28 +00:00
|
|
|
// color: @grayDark;
|
2012-05-21 13:06:58 +00:00
|
|
|
margin-top: 15px;
|
|
|
|
font-weight: bold;
|
|
|
|
font-size: 18px;
|
|
|
|
padding: 13px 22px;
|
2012-12-20 13:09:28 +00:00
|
|
|
padding-left: 24px + 40;
|
2012-05-21 13:06:58 +00:00
|
|
|
margin-right: 10px;
|
|
|
|
.border-radius(6px);
|
|
|
|
position: relative;
|
|
|
|
text-align: left;
|
|
|
|
i {
|
|
|
|
position: absolute;
|
2012-12-20 13:09:28 +00:00
|
|
|
top: 8px;
|
|
|
|
left: 15px;
|
2012-05-21 13:06:58 +00:00
|
|
|
font-size: 46px;
|
2012-03-09 05:02:49 +00:00
|
|
|
}
|
2012-05-21 13:06:58 +00:00
|
|
|
&.btn-github {
|
2012-12-20 13:09:28 +00:00
|
|
|
padding-left: 24px + 42;
|
2012-05-15 21:24:53 +00:00
|
|
|
|
2012-03-09 05:02:49 +00:00
|
|
|
}
|
2012-05-21 13:06:58 +00:00
|
|
|
}
|
|
|
|
.hero-content {
|
2012-12-20 13:09:28 +00:00
|
|
|
width: 650px;
|
2012-05-21 13:06:58 +00:00
|
|
|
text-align: center;
|
|
|
|
}
|
2012-03-09 05:02:49 +00:00
|
|
|
}
|
|
|
|
|
2012-12-20 13:09:28 +00:00
|
|
|
.btn-primary {
|
2012-05-21 13:06:58 +00:00
|
|
|
color: @grayDark;
|
|
|
|
text-shadow: 0 -1px 0 rgba(255,255,255,.25);
|
|
|
|
&:hover {
|
2012-03-09 05:02:49 +00:00
|
|
|
text-shadow: 0 -1px 0 rgba(255,255,255,.25);
|
2012-05-21 13:06:58 +00:00
|
|
|
color: @grayDark;
|
|
|
|
}
|
2012-03-09 05:02:49 +00:00
|
|
|
}
|
|
|
|
|
2012-06-04 19:10:35 +00:00
|
|
|
#social-buttons {
|
2012-06-04 19:20:41 +00:00
|
|
|
margin-bottom: 30px;
|
2012-06-04 19:10:35 +00:00
|
|
|
text-align: center;
|
|
|
|
.btn {
|
|
|
|
font-family: @serifFontFamily;
|
|
|
|
font-weight: bold;
|
|
|
|
font-size: @baseFontSize;
|
2012-06-04 19:20:41 +00:00
|
|
|
padding: 4px 10px 1px;
|
2012-06-04 19:10:35 +00:00
|
|
|
line-height: @baseLineHeight;
|
|
|
|
}
|
|
|
|
.count.btn {
|
|
|
|
font-family: @sansFontFamily;
|
|
|
|
font-weight: normal;
|
|
|
|
.buttonBackground(@white, @white);
|
|
|
|
}
|
|
|
|
.watch, .fork {
|
|
|
|
margin-right: 30px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2012-05-22 21:43:52 +00:00
|
|
|
.the-icons {
|
|
|
|
list-style-type: none;
|
|
|
|
margin-left: 0;
|
|
|
|
li {
|
|
|
|
cursor: pointer;
|
2012-12-20 13:09:28 +00:00
|
|
|
line-height: 32px;
|
|
|
|
height: 32px;
|
2012-05-22 21:43:52 +00:00
|
|
|
padding-left: 12px;
|
2012-12-20 13:09:28 +00:00
|
|
|
.border-radius(6px);
|
|
|
|
// vertical-align: middle;
|
2012-05-21 13:06:58 +00:00
|
|
|
|
2012-05-22 21:43:52 +00:00
|
|
|
[class^="icon-"],
|
|
|
|
[class*=" icon-"] {
|
|
|
|
width: 32px;
|
2012-12-20 13:09:28 +00:00
|
|
|
font-size: 14px;
|
2012-05-22 21:43:52 +00:00
|
|
|
}
|
|
|
|
&:hover {
|
|
|
|
background-color: lighten(@errorBackground, 6%);
|
2012-12-20 13:09:28 +00:00
|
|
|
[class^="icon-"], [class*=" icon-"] { *font-size: 28px; *vertical-align: middle; }
|
2012-05-21 13:06:58 +00:00
|
|
|
|
2012-05-22 21:43:52 +00:00
|
|
|
[class^="icon-"]:before,
|
|
|
|
[class*=" icon-"]:before {
|
2012-12-20 13:09:28 +00:00
|
|
|
font-size: 28px;
|
|
|
|
vertical-align: -5px;
|
2012-05-21 13:06:58 +00:00
|
|
|
}
|
2012-03-09 05:02:49 +00:00
|
|
|
}
|
2012-05-21 13:06:58 +00:00
|
|
|
}
|
2012-03-09 05:02:49 +00:00
|
|
|
}
|
|
|
|
|
2012-06-04 04:20:05 +00:00
|
|
|
#all-icons, #new-icons {
|
|
|
|
h3 {
|
|
|
|
margin-top: 10px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2012-03-09 05:02:49 +00:00
|
|
|
#why {
|
2012-05-21 13:06:58 +00:00
|
|
|
.row {
|
|
|
|
margin-bottom: 20px;
|
|
|
|
}
|
2012-05-22 21:43:52 +00:00
|
|
|
.icon-large {
|
2012-05-21 13:06:58 +00:00
|
|
|
font-size: 22px;
|
|
|
|
text-align: center;
|
|
|
|
padding-right: 4px;
|
|
|
|
}
|
2012-03-09 05:02:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
#examples {
|
2012-05-21 13:06:58 +00:00
|
|
|
.btn-toolbar {
|
|
|
|
margin-top: 0;
|
|
|
|
margin-bottom: 20px;
|
|
|
|
}
|
2012-03-09 05:02:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
#integration {
|
2012-05-21 13:06:58 +00:00
|
|
|
.row { margin-bottom: 40px; }
|
2012-03-09 05:02:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
#examples, #code {
|
2012-05-21 13:06:58 +00:00
|
|
|
form {
|
2012-06-04 04:20:05 +00:00
|
|
|
margin-bottom: 25px;
|
2012-05-21 13:06:58 +00:00
|
|
|
input {
|
|
|
|
line-height: 1; // fixes a safari placeholder alignment issue
|
2012-03-09 05:02:49 +00:00
|
|
|
}
|
2012-05-21 13:06:58 +00:00
|
|
|
}
|
2012-03-09 05:02:49 +00:00
|
|
|
|
2012-05-21 13:06:58 +00:00
|
|
|
.rating {
|
|
|
|
unicode-bidi: bidi-override;
|
|
|
|
direction: rtl;
|
2012-03-09 05:02:49 +00:00
|
|
|
|
2012-05-21 13:06:58 +00:00
|
|
|
font-size: 30px;
|
|
|
|
span.star {
|
|
|
|
font-family: FontAwesome;
|
|
|
|
font-weight: normal;
|
|
|
|
font-style: normal;
|
|
|
|
display: inline-block;
|
|
|
|
&:hover {
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
span.star:before {
|
|
|
|
content: "\f006"; // empty star
|
|
|
|
padding-right: 5px;
|
|
|
|
color: @grayLight;
|
|
|
|
}
|
2012-03-09 05:02:49 +00:00
|
|
|
|
2012-05-21 13:06:58 +00:00
|
|
|
span.star:hover:before, span.star:hover ~ span.star:before {
|
|
|
|
content: "\f005"; // solid star
|
|
|
|
color: #e3cf7a;
|
2012-03-09 05:02:49 +00:00
|
|
|
}
|
2012-05-21 13:06:58 +00:00
|
|
|
}
|
2012-03-09 05:02:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.modal {
|
2012-05-21 13:06:58 +00:00
|
|
|
width: 560px;
|
2012-06-04 04:20:05 +00:00
|
|
|
max-height: 600px;
|
2012-05-21 13:06:58 +00:00
|
|
|
.modal-body {
|
|
|
|
*overflow: hidden; // ie7 fix
|
|
|
|
max-height: none;
|
|
|
|
padding-bottom: 0;
|
|
|
|
.row { margin-bottom: 15px; }
|
|
|
|
div.thumbnail {
|
|
|
|
text-align: center;
|
|
|
|
div { margin-bottom: 5px; }
|
|
|
|
}
|
|
|
|
.icon6 {
|
2012-12-20 13:09:28 +00:00
|
|
|
width: 330px;
|
|
|
|
> div.thumbnail > div { .icon-size(280px); }
|
2012-05-21 13:06:58 +00:00
|
|
|
}
|
|
|
|
.icon5 {
|
2012-12-20 13:09:28 +00:00
|
|
|
width: 180px;
|
|
|
|
> div.thumbnail > div { .icon-size(140px); }
|
2012-03-09 05:02:49 +00:00
|
|
|
}
|
2012-05-21 13:06:58 +00:00
|
|
|
.icon4 {
|
|
|
|
width: 215px;
|
2012-12-20 13:09:28 +00:00
|
|
|
> div.thumbnail > div { .icon-size(112px); }
|
2012-05-21 13:06:58 +00:00
|
|
|
}
|
|
|
|
.icon3 {
|
|
|
|
width: 120px;
|
2012-12-20 13:09:28 +00:00
|
|
|
> div.thumbnail > div { .icon-size(56px); }
|
2012-05-21 13:06:58 +00:00
|
|
|
}
|
|
|
|
.icon2 {
|
|
|
|
width: 75px;
|
2012-12-20 13:09:28 +00:00
|
|
|
> div.thumbnail > div { .icon-size(28px); }
|
2012-05-21 13:06:58 +00:00
|
|
|
}
|
|
|
|
.icon1 {
|
|
|
|
width: 60px;
|
2012-12-20 13:09:28 +00:00
|
|
|
> div.thumbnail > div { .icon-size(14px); }
|
2012-05-21 13:06:58 +00:00
|
|
|
}
|
|
|
|
}
|
2012-03-09 05:02:49 +00:00
|
|
|
}
|
|
|
|
|
2012-06-04 19:10:35 +00:00
|
|
|
.label,
|
|
|
|
.badge {
|
|
|
|
background-color: @grayLighter;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2012-03-09 05:02:49 +00:00
|
|
|
footer {
|
2012-05-21 13:06:58 +00:00
|
|
|
color: @gray;
|
|
|
|
border-top: 1px solid @grayLighter;
|
|
|
|
margin-top: 60px;
|
|
|
|
padding-top: 20px;
|
|
|
|
padding-bottom: 60px;
|
|
|
|
*zoom: 1; // ie7 hack
|
|
|
|
ul {
|
|
|
|
margin-left: 30px;
|
|
|
|
line-height: 25px;
|
|
|
|
}
|
2012-03-09 05:02:49 +00:00
|
|
|
}
|