specials.scss 2.9 KB

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