Fork-Awesome/assets/less/site/jumbotron-carousel.less

76 lines
1.8 KiB
Plaintext
Raw Normal View History

2013-10-23 23:12:39 +08:00
@size: 220px;
#icon-carousel {
margin-top: @buffer-sm;
font-size: @size;
text-align: center;
2015-12-17 05:02:59 +08:00
line-height: @size + 30;
2013-10-23 23:12:39 +08:00
text-shadow: 0 2px 0 rgba(0,0,0,0.15);
}
2013-10-23 23:12:39 +08:00
.carousel-control {
top: @size + 10px;
.square(30px);
border-width: 0;
font-size: 30px;
line-height: 25px;
left: 300/2 - 36px;
&.right {
left: auto;
right: 300/2 - 36px;
}
&.right, &.left {
background-image: none;
filter: none;
}
}
.jumbotron-carousel {
padding-top: 40px;
.btn {
margin-top: @buffer-lg;
font-family: @font-family-serif;
font-size: 24px;
padding: 17px 30px;
color: @jumbotron-color;
border-color: mix(@jumbotron-color, @jumbotron-bg, 75%);
background-color: transparent;
text-shadow: 0 1px 0 rgba(0,0,0,0.15);
&:hover {
background-color: mix(@jumbotron-color, @jumbotron-bg, 95%);
border-color: mix(@jumbotron-color, @jumbotron-bg, 95%);
color: @jumbotron-bg;
text-shadow: 0 -1px 0 @jumbotron-color;
}
}
.shameless-self-promotion {
margin-top: @buffer-lg;
font-size: @font-size-base;
line-height: @line-height-base;
2013-10-28 04:38:45 +08:00
color: mix(@jumbotron-color, @jumbotron-bg, 60%);
2013-10-23 23:12:39 +08:00
text-shadow: 0 1px 0 rgba(0,0,0,0.15);
a {
2013-10-28 04:38:45 +08:00
color: mix(@jumbotron-color, @jumbotron-bg, 80%);
2013-10-23 23:12:39 +08:00
border-bottom: dotted 1px mix(@jumbotron-color, @jumbotron-bg, 50%);
&:hover {
color: @jumbotron-color;
text-decoration: none;
border-bottom: solid 1px @jumbotron-color;
}
}
}
2016-05-05 00:12:43 +08:00
a {
color: mix(@jumbotron-color, @fa-green, 70%);
// STATE: hover, focus, active
&:hover, &:focus, &:active {
border-color: @fa-green-dark;
background: @fa-green-dark;
color: @jumbotron-color;
}
&.carousel-control:hover {
background: none;
}
2016-05-05 00:12:43 +08:00
}
2013-10-23 23:12:39 +08:00
}