jumbotron-carousel.less 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. @size: 220px;
  2. #icon-carousel {
  3. margin-top: @buffer-sm;
  4. font-size: @size;
  5. text-align: center;
  6. line-height: @size + 30;
  7. text-shadow: 0 2px 0 rgba(0,0,0,0.15);
  8. }
  9. .carousel-control {
  10. top: @size + 10px;
  11. .square(30px);
  12. border-width: 0;
  13. font-size: 30px;
  14. line-height: 25px;
  15. left: 300/2 - 36px;
  16. &.right {
  17. left: auto;
  18. right: 300/2 - 36px;
  19. }
  20. &.right, &.left {
  21. background-image: none;
  22. filter: none;
  23. }
  24. }
  25. .jumbotron-carousel {
  26. padding-top: 40px;
  27. .btn {
  28. margin-top: @buffer-lg;
  29. font-family: @font-family-serif;
  30. font-size: 24px;
  31. padding: 17px 30px;
  32. color: @jumbotron-color;
  33. border-color: mix(@jumbotron-color, @jumbotron-bg, 75%);
  34. background-color: transparent;
  35. text-shadow: 0 1px 0 rgba(0,0,0,0.15);
  36. &:hover {
  37. background-color: mix(@jumbotron-color, @jumbotron-bg, 95%);
  38. border-color: mix(@jumbotron-color, @jumbotron-bg, 95%);
  39. color: @jumbotron-bg;
  40. text-shadow: 0 -1px 0 @jumbotron-color;
  41. }
  42. }
  43. .shameless-self-promotion {
  44. margin-top: @buffer-lg;
  45. font-size: @font-size-base;
  46. line-height: @line-height-base;
  47. color: mix(@jumbotron-color, @jumbotron-bg, 60%);
  48. text-shadow: 0 1px 0 rgba(0,0,0,0.15);
  49. a {
  50. color: mix(@jumbotron-color, @jumbotron-bg, 80%);
  51. border-bottom: dotted 1px mix(@jumbotron-color, @jumbotron-bg, 50%);
  52. &:hover {
  53. color: @jumbotron-color;
  54. text-decoration: none;
  55. border-bottom: solid 1px @jumbotron-color;
  56. }
  57. }
  58. }
  59. a {
  60. color: mix(@jumbotron-color, @fa-green, 70%);
  61. // STATE: hover, focus, active
  62. &:hover, &:focus, &:active {
  63. border-color: @fa-green-dark;
  64. background: @fa-green-dark;
  65. color: @jumbotron-color;
  66. }
  67. &.carousel-control:hover {
  68. background: none;
  69. }
  70. }
  71. }