specials.scss 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298
  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. }
  140. $specials-page-selector: 'special-page';
  141. .#{$specials-page-selector} {
  142. &__article {
  143. margin-bottom: 40px;
  144. padding-bottom: 10px;
  145. border-bottom: none;
  146. &:before,
  147. &:after {
  148. display: block;
  149. clear: both;
  150. content: '';
  151. }
  152. h2 {
  153. @extend %h2;
  154. }
  155. h3 {
  156. @extend %h3;
  157. }
  158. p {
  159. @extend %p;
  160. }
  161. ul {
  162. @extend %ul;
  163. }
  164. ol {
  165. @extend %ol;
  166. }
  167. table {
  168. @extend %table;
  169. .mobileth {
  170. display: none;
  171. }
  172. }
  173. blockquote {
  174. @extend %blockquote;
  175. }
  176. .col3__item {
  177. display: inline-block;
  178. width: calc(33% - 0.25em - 10px);
  179. margin-right: 20px;
  180. &:last-child {
  181. margin-right: 0;
  182. }
  183. }
  184. .col2__item {
  185. display: inline-block;
  186. width: calc(50% - 0.25em - 10px);
  187. margin-right: 20px;
  188. &:last-child {
  189. margin-right: 0;
  190. }
  191. }
  192. }
  193. &__description {
  194. display: block;
  195. font-family: $fontcuprum;
  196. font-size: 13px;
  197. &-type {
  198. display: inline-block;
  199. color: #ffffff;
  200. font-weight: 600;
  201. padding: 8px;
  202. &--specials {
  203. @extend .#{$specials-selector}__title--specials;
  204. }
  205. &--exhibition {
  206. @extend .#{$specials-selector}__title--exhibition;
  207. }
  208. &--school {
  209. @extend .#{$specials-selector}__title--school;
  210. }
  211. &--conference {
  212. @extend .#{$specials-selector}__title--conference;
  213. }
  214. }
  215. &-dates {
  216. display: inline-block;
  217. padding: 8px;
  218. }
  219. &-organization-name {
  220. display: block;
  221. color: #004d7b;
  222. margin: 16px 0;
  223. }
  224. &-organization-address {
  225. display: block;
  226. color: #929292;
  227. margin: 16px 0;
  228. }
  229. &-text {
  230. font-size: 15px;
  231. }
  232. }
  233. &__similar {
  234. display: flex;
  235. flex-direction: row;
  236. margin: 0 -10px;
  237. }
  238. &__subtitle {
  239. font-family: $fontcuprum;
  240. font-size: 25px;
  241. color: #3b434d;
  242. font-weight: 600;
  243. }
  244. }