specials.scss 3.0 KB

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