_specials.scss 5.3 KB

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