_specials.scss 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288
  1. .#{$specials-selector} {
  2. &__container {
  3. display: flex;
  4. flex-direction: row;
  5. justify-content: flex-start;
  6. flex-wrap: wrap;
  7. }
  8. &__h2 {
  9. @extend %h2;
  10. }
  11. &__list {
  12. width: 80% !important;
  13. }
  14. &__item-container-230 {
  15. width: 206px;
  16. margin: 0 10px;
  17. }
  18. &__item {
  19. font-family: $fontopensans;
  20. box-sizing: border-box;
  21. border-radius: 10px 0 0 0;
  22. border: 1px solid #ebebeb;
  23. display: flex;
  24. flex-direction: column;
  25. flex-grow: 1;
  26. flex-shrink: 1;
  27. flex-basis: 0;
  28. justify-content: space-between;
  29. color: #000000;
  30. text-decoration: none;
  31. margin-bottom: 10px;
  32. &:hover {
  33. border-color: #d2dee9;
  34. text-decoration: none;
  35. }
  36. &--half-size {
  37. width: calc(50% - 10px);
  38. margin-left: 10px;
  39. }
  40. }
  41. &__title {
  42. display: flex;
  43. flex-direction: row;
  44. justify-content: space-between;
  45. color: #ffffff;
  46. font-family: $fontcuprum;
  47. font-size: 13px;
  48. background-color: #656565;
  49. padding: 10px 5px;
  50. margin-left: -1px;
  51. margin-right: -1px;
  52. margin-top: -1px;
  53. @extend %left_border_radius;
  54. &--specials {
  55. background-color: #e65e26;
  56. .#{$specials-selector}__item:hover & {
  57. background-color: lighten(#e65e26, 10%);
  58. }
  59. }
  60. &--exhibition {
  61. background-color: #53b02e;
  62. .#{$specials-selector}__item:hover & {
  63. background-color: lighten(#53b02e, 10%);
  64. }
  65. }
  66. &--school {
  67. background-color: #929292;
  68. .#{$specials-selector}__item:hover & {
  69. background-color: lighten(#929292, 10%);
  70. }
  71. }
  72. &--conference {
  73. background-color: #5597d1;
  74. .#{$specials-selector}__item:hover & {
  75. background-color: lighten(#5597d1, 10%);
  76. }
  77. }
  78. }
  79. &__badge {
  80. &--specials {
  81. @extend .#{$entity-badge-selector}__badge--orange;
  82. }
  83. &--exhibition {
  84. @extend .#{$entity-badge-selector}__badge--green;
  85. }
  86. &--school {
  87. @extend .#{$entity-badge-selector}__badge--gray;
  88. }
  89. &--conference {
  90. @extend .#{$entity-badge-selector}__badge--blue;
  91. }
  92. }
  93. &__item-content {
  94. padding: 10px;
  95. display: block;
  96. }
  97. &__item-images {
  98. position: relative;
  99. display: block;
  100. min-height: 118px;
  101. }
  102. &__image {
  103. max-width: 100%;
  104. display: block;
  105. }
  106. &__organization-icon {
  107. max-width: 64px;
  108. position: absolute;
  109. top: 12px;
  110. right: 12px;
  111. border-radius: 50%;
  112. display: block;
  113. }
  114. &__description {
  115. font-family: $fontcuprum;
  116. font-size: 15px;
  117. padding: 5px 0;
  118. display: block;
  119. margin: 0 -3px 0 -3px;
  120. height: 136px;
  121. overflow: hidden;
  122. }
  123. &__horizontal-rule {
  124. display: block;
  125. margin: 0 10px;
  126. border: none;
  127. border-bottom: 1px solid #ebebeb;
  128. }
  129. &__organization-name {
  130. font-family: $fontcuprum;
  131. font-size: 13px;
  132. color: #004d7b;
  133. display: flex;
  134. flex-direction: column;
  135. justify-content: flex-start;
  136. height: 40px;
  137. padding: 5px 20px;
  138. text-align: center;
  139. box-sizing: border-box;
  140. }
  141. &__organization-address {
  142. font-family: $fontcuprum;
  143. font-size: 13px;
  144. background: #ebebeb;
  145. color: #929292;
  146. display: flex;
  147. flex-direction: column;
  148. justify-content: center;
  149. height: 40px;
  150. padding: 5px 26px;
  151. overflow: hidden;
  152. text-align: center;
  153. box-sizing: border-box;
  154. .#{$specials-selector}__item:hover & {
  155. background: #d2dee9;
  156. }
  157. }
  158. }
  159. .#{$specials-page-selector} {
  160. &__article {
  161. margin-bottom: 40px;
  162. padding-bottom: 10px;
  163. border-bottom: none;
  164. &:before,
  165. &:after {
  166. display: block;
  167. clear: both;
  168. content: '';
  169. }
  170. @extend .text-page__text;
  171. .col3__item {
  172. display: inline-block;
  173. width: calc(33% - 0.25em - 10px);
  174. margin-right: 20px;
  175. &:last-child {
  176. margin-right: 0;
  177. }
  178. }
  179. .col2__item {
  180. display: inline-block;
  181. width: calc(50% - 0.25em - 10px);
  182. margin-right: 20px;
  183. &:last-child {
  184. margin-right: 0;
  185. }
  186. }
  187. }
  188. &__description {
  189. display: block;
  190. font-family: $fontcuprum;
  191. font-size: 13px;
  192. &-type {
  193. display: inline-block;
  194. color: #ffffff;
  195. font-weight: 600;
  196. padding: 8px;
  197. &--specials {
  198. @extend .#{$specials-selector}__title--specials;
  199. }
  200. &--exhibition {
  201. @extend .#{$specials-selector}__title--exhibition;
  202. }
  203. &--school {
  204. @extend .#{$specials-selector}__title--school;
  205. }
  206. &--conference {
  207. @extend .#{$specials-selector}__title--conference;
  208. }
  209. }
  210. &-dates {
  211. display: inline-block;
  212. padding: 8px;
  213. }
  214. &-organization-name {
  215. display: block;
  216. color: #004d7b;
  217. margin: 16px 0;
  218. }
  219. &-organization-address {
  220. display: block;
  221. color: #929292;
  222. margin: 16px 0;
  223. }
  224. &-text {
  225. font-size: 15px;
  226. }
  227. }
  228. &__similar {
  229. display: flex;
  230. flex-direction: row;
  231. margin: 0 -10px;
  232. }
  233. &__subtitle {
  234. font-family: $fontcuprum;
  235. font-size: 25px;
  236. color: #3b434d;
  237. font-weight: 600;
  238. }
  239. }