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

76 lines
1.8 KiB
Plaintext
Raw Normal View History

2013-10-15 20:15:27 +02:00
@size: 220px;
2013-10-05 21:40:57 +02:00
#icon-carousel {
margin-top: @buffer-sm;
2013-10-05 21:40:57 +02:00
font-size: @size;
text-align: center;
line-height: @size + 30;
2013-10-12 13:16:27 +02:00
text-shadow: 0 2px 0 rgba(0,0,0,0.15);
2013-10-15 20:15:27 +02:00
}
2013-10-15 20:15:27 +02: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;
2013-10-12 13:16:27 +02:00
}
2013-10-15 20:15:27 +02:00
&.right, &.left {
background-image: none;
filter: none;
2013-10-05 21:40:57 +02:00
}
}
.jumbotron-carousel {
2013-10-12 13:16:27 +02:00
padding-top: 40px;
.btn {
margin-top: @buffer-lg;
font-family: @font-family-serif;
font-size: 24px;
padding: 17px 30px;
2013-10-19 21:06:42 +02:00
color: @jumbotron-color;
border-color: mix(@jumbotron-color, @jumbotron-bg, 75%);
background-color: transparent;
2013-10-12 13:16:27 +02:00
text-shadow: 0 1px 0 rgba(0,0,0,0.15);
&:hover {
2013-10-19 21:06:42 +02:00
background-color: mix(@jumbotron-color, @jumbotron-bg, 95%);
border-color: mix(@jumbotron-color, @jumbotron-bg, 95%);
2013-10-12 13:16:27 +02:00
color: @jumbotron-bg;
2013-10-19 21:06:42 +02:00
text-shadow: 0 -1px 0 @jumbotron-color;
2013-10-12 13:16:27 +02:00
}
2013-10-05 21:40:57 +02:00
}
2013-10-12 13:16:27 +02:00
.shameless-self-promotion {
margin-top: @buffer-lg;
font-size: @font-size-base;
line-height: @line-height-base;
color: mix(@jumbotron-color, @jumbotron-bg, 60%);
2013-10-12 13:16:27 +02:00
text-shadow: 0 1px 0 rgba(0,0,0,0.15);
a {
color: mix(@jumbotron-color, @jumbotron-bg, 80%);
2013-10-19 21:06:42 +02:00
border-bottom: dotted 1px mix(@jumbotron-color, @jumbotron-bg, 50%);
&:hover {
2013-10-19 21:06:42 +02:00
color: @jumbotron-color;
text-decoration: none;
2013-10-19 21:06:42 +02:00
border-bottom: solid 1px @jumbotron-color;
}
}
2013-10-05 21:40:57 +02:00
}
2016-05-04 17:08:29 +02: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-04 17:08:29 +02:00
}
2013-10-05 21:40:57 +02:00
}