specials.scss 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166
  1. $specials-selector: 'special-items';
  2. .#{$specials-selector} {
  3. &__container {
  4. display: flex;
  5. flex-direction: row;
  6. justify-content: flex-start;
  7. flex-wrap: wrap;
  8. margin: 5px -10px 5px 0;
  9. }
  10. &__item {
  11. width: 220px;
  12. box-sizing: border-box;
  13. border-radius: 10px 0 0 0;
  14. border: 1px solid #ebebeb;
  15. display: flex;
  16. flex-direction: column;
  17. justify-content: space-between;
  18. margin: 15px 10px;
  19. color: #000000;
  20. text-decoration: none;
  21. &:hover {
  22. border-color: #d2dee9;
  23. }
  24. }
  25. &__title {
  26. display: flex;
  27. flex-direction: row;
  28. justify-content: space-between;
  29. color: #ffffff;
  30. font-family: $fontcuprum;
  31. font-size: 13px;
  32. background-color: #656565;
  33. padding: 10px;
  34. margin-left: -1px;
  35. margin-right: -1px;
  36. margin-top: -1px;
  37. @extend .left_border_radius;
  38. &--specials {
  39. background-color: #e65e26;
  40. .#{$specials-selector}__item:hover & {
  41. background-color: lighten(#e65e26, 10%);
  42. }
  43. }
  44. &--exhibition {
  45. background-color: #53b02e;
  46. .#{$specials-selector}__item:hover & {
  47. background-color: lighten(#53b02e, 10%);
  48. }
  49. }
  50. &--school {
  51. background-color: #929292;
  52. .#{$specials-selector}__item:hover & {
  53. background-color: lighten(#929292, 10%);
  54. }
  55. }
  56. &--conference {
  57. background-color: #5597d1;
  58. .#{$specials-selector}__item:hover & {
  59. background-color: lighten(#5597d1, 10%);
  60. }
  61. }
  62. }
  63. &__badge {
  64. &--specials {
  65. @extend .#{$entity-badge-selector}__badge--orange;
  66. }
  67. &--exhibition {
  68. @extend .#{$entity-badge-selector}__badge--green;
  69. }
  70. &--school {
  71. @extend .#{$entity-badge-selector}__badge--gray;
  72. }
  73. &--conference {
  74. @extend .#{$entity-badge-selector}__badge--blue;
  75. }
  76. }
  77. &__item-content {
  78. padding: 10px;
  79. display: block;
  80. }
  81. &__item-images {
  82. position: relative;
  83. display: block;
  84. }
  85. &__image {
  86. max-width: 100%;
  87. display: block;
  88. }
  89. &__organization-icon {
  90. max-width: 64px;
  91. position: absolute;
  92. top: 12px;
  93. right: 12px;
  94. border-radius: 50%;
  95. display: block;
  96. }
  97. &__description {
  98. font-family: $fontcuprum;
  99. font-size: 15px;
  100. padding: 5px 0;
  101. display: block;
  102. margin: 0 -3px 0 -3px;
  103. }
  104. &__horizontal-rule {
  105. display: block;
  106. margin: 0 10px;
  107. border: none;
  108. border-bottom: 1px solid #ebebeb;
  109. }
  110. &__organization-name {
  111. font-family: $fontcuprum;
  112. font-size: 13px;
  113. color: #004d7b;
  114. display: flex;
  115. flex-direction: column;
  116. justify-content: flex-start;
  117. height: 40px;
  118. padding: 5px 20px;
  119. text-align: center;
  120. box-sizing: border-box;
  121. }
  122. &__organization-address {
  123. font-family: $fontcuprum;
  124. font-size: 13px;
  125. background: #ebebeb;
  126. color: #929292;
  127. display: flex;
  128. flex-direction: column;
  129. justify-content: center;
  130. height: 40px;
  131. padding: 5px 26px;
  132. overflow: hidden;
  133. text-align: center;
  134. box-sizing: border-box;
  135. .#{$specials-selector}__item:hover & {
  136. background: #d2dee9;
  137. }
  138. }
  139. }