Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.
 
 
 
 

593 wiersze
15 KiB

  1. .participation {
  2. .progress {
  3. position: relative;
  4. width: 150px;
  5. height: 14px;
  6. border-radius: 7px;
  7. background-color: $color-primary-light-03;
  8. background-color: var(--theme-color-primary-dimmed-03, $color-primary-light-03);
  9. overflow: hidden;
  10. font-size: 0;
  11. line-height: 0;
  12. margin: 8px -1px 0;
  13. @media(max-width: 767px) {
  14. margin-top: 5px;
  15. }
  16. .bar {
  17. position: absolute;
  18. display: block;
  19. height: 100%;
  20. border-top-right-radius: 7px;
  21. border-bottom-right-radius: 7px;
  22. background-color: $color-primary;
  23. background-color: var(--theme-color-primary, $color-primary);
  24. }
  25. }
  26. .badge {
  27. position: relative;
  28. display: inline-block;
  29. vertical-align: top;
  30. min-width: 32px;
  31. height: 32px;
  32. background-color: $color-primary-light-03;
  33. background-color: var(--theme-color-primary-dimmed-03, $color-primary-light-03);
  34. font-size: 22px;
  35. line-height: 32px;
  36. text-align: center;
  37. border-radius: 16px;
  38. font-weight: 600;
  39. padding: 0 8px;
  40. margin-left: 5px;
  41. }
  42. &.p-stage {
  43. background-image: url('../../../img/beteiligung-cover.jpg');
  44. background-size: cover;
  45. color: white;
  46. min-height: calc(18vw + 300px);
  47. display: flex;
  48. align-items: center;
  49. margin-top: 0;
  50. //@include font-small;
  51. .btn {
  52. margin-top: 24px;
  53. }
  54. .text-box {
  55. max-width: 580px;
  56. padding: calc(30px + 1vw) 0;
  57. }
  58. a:not(.btn) {
  59. color: white;
  60. + .btn {
  61. margin-left: 30px;
  62. }
  63. }
  64. .progress {
  65. background-color: rgba(#fff, 0.4);
  66. span {
  67. background-color: #fff;
  68. }
  69. + h1, + .text-2 {
  70. margin-top: 0.7em;
  71. }
  72. }
  73. &.image-stage {
  74. position: relative;
  75. background-image: none;
  76. background-color: $color-primary;
  77. background-color: var(--theme-color-primary, $color-primary);
  78. overflow: hidden;
  79. z-index: 1;
  80. &::before {
  81. content: "";
  82. position: absolute;
  83. left: 0;
  84. right: 50%;
  85. top: 0;
  86. bottom: 0;
  87. margin: -15% 0 -15% 0;
  88. background-color: $color-primary;
  89. background-color: var(--theme-color-primary, $color-primary);
  90. border-top-right-radius: 28% 50%;
  91. border-bottom-right-radius: 28% 50%;
  92. min-width: 650px;
  93. }
  94. .text-box {
  95. position: relative;
  96. }
  97. .image-box {
  98. position: absolute;
  99. left: 45%;
  100. right: 0;
  101. top: 0;
  102. bottom: 0;
  103. z-index: -1;
  104. img {
  105. position: relative;
  106. display: block;
  107. width: 100%;
  108. height: 100%;
  109. object-fit: cover;
  110. }
  111. }
  112. @media(max-width: 1200px) {
  113. &::before {
  114. min-width: 560px;
  115. }
  116. .text-box {
  117. max-width: 480px;
  118. }
  119. }
  120. @media(max-width: 999px) {
  121. padding-bottom: 75%;
  122. &::before {
  123. top: 0;
  124. bottom: 0;
  125. left: 0;
  126. right: 0;
  127. margin: 0 -28% 67%;
  128. border-radius: 0;
  129. border-bottom-left-radius: 50% 28%;
  130. border-bottom-right-radius: 50% 28%;
  131. min-width: 0;
  132. }
  133. .col {
  134. padding-bottom: 0;
  135. }
  136. .image-box {
  137. position: absolute;
  138. top: auto;
  139. left: 0;
  140. &::before {
  141. content: '';
  142. position: relative;
  143. display: block;
  144. padding-top: 75%;
  145. }
  146. img {
  147. position: absolute;
  148. top: 0;
  149. left: 0;
  150. }
  151. }
  152. .text-box {
  153. max-width: none;
  154. margin-bottom: 0;
  155. padding-bottom: 24px;
  156. }
  157. }
  158. }
  159. }
  160. &.p-tiles {
  161. position: relative;
  162. display: block;
  163. padding: calc(2% + 20px) 0;
  164. margin-top: 40px;
  165. background-color: $color-primary-light-04;
  166. background-color: var(--theme-color-primary-dimmed-04, $color-primary-light-04);
  167. @include font-small;
  168. .overflow-wrapper {
  169. overflow-x: auto;
  170. padding: 10px 0;
  171. margin: -5px 0;
  172. }
  173. @media(max-width: 767px) {
  174. margin-top: 24px;
  175. }
  176. .like-h2 {
  177. margin-bottom: 0.2em;
  178. }
  179. .row {
  180. flex-wrap: nowrap;
  181. @media(max-width: 999px) {
  182. &::after {
  183. content: '';
  184. position: relative;
  185. display: block;
  186. min-width: 50px;
  187. }
  188. }
  189. @media(max-width: 767px) {
  190. margin-left: -6px;
  191. margin-right: -6px;
  192. }
  193. }
  194. .col {
  195. position: relative;
  196. display: flex;
  197. flex: 1 1 33.3333%;
  198. max-width: 33.3333%;
  199. &:first-child {
  200. margin-left: auto;
  201. }
  202. &:last-child {
  203. margin-right: auto;
  204. }
  205. @media(max-width: 999px) {
  206. flex: 1 1 50%;
  207. max-width: 50%;
  208. min-width: 44vw;
  209. }
  210. @media(max-width: 767px) {
  211. padding: 6px;
  212. min-width: calc(50vw - 30px);
  213. }
  214. @media(max-width: 567px) {
  215. flex: 1 1 100%;
  216. max-width: 100%;
  217. min-width: 320px;
  218. }
  219. @media(max-width: 359px) {
  220. min-width: 300px;
  221. }
  222. }
  223. .tile {
  224. position: relative;
  225. display: flex;
  226. flex-direction: column;
  227. background-color: white;
  228. overflow: hidden;
  229. width: 100%;
  230. border-radius: $radius-lg;
  231. padding: 24px;
  232. transition: 0.25s ease;
  233. text-decoration: none;
  234. @media(max-width: 999px) {
  235. padding: 14px;
  236. }
  237. @media(max-width: 767px) {
  238. font-size: 16px;
  239. min-height: 84px;
  240. border-radius: 8px;
  241. }
  242. &::before {
  243. content: "";
  244. position: relative;
  245. display: block;
  246. height: 80px;
  247. background-color: $color-primary;
  248. background-color: var(--theme-color-primary, $color-primary);
  249. margin: -24px -24px 16px;
  250. background-image: url("../../../img/topic-meinung.svg");
  251. background-repeat: no-repeat;
  252. background-position: center 65%;
  253. background-size: 60px;
  254. @media(max-width: 567px) {
  255. font-size: 50px;
  256. margin-top: -14px;
  257. }
  258. }
  259. }
  260. .like-h4 {
  261. margin-top: 0.6em;
  262. margin-bottom: 0.5em;
  263. }
  264. .all-participations {
  265. text-align: center;
  266. flex: 1 1 100%;
  267. max-width: none;
  268. margin-top: 12px;
  269. padding-bottom: 6px;
  270. .btn {
  271. margin: 0 auto;
  272. }
  273. }
  274. }
  275. &.p-map {
  276. padding: calc(2% + 20px) 0;
  277. background-color: $color-primary-light-04;
  278. background-color: var(--theme-color-primary-dimmed-04, $color-primary-light-04);
  279. .container.small {
  280. @media(max-width: 567px) {
  281. padding-left: 10px;
  282. padding-right: 10px;
  283. }
  284. }
  285. svg {
  286. position: relative;
  287. display: block;
  288. margin-top: 12px;
  289. }
  290. .map-text {
  291. fill: white;
  292. transition: 0.3s ease;
  293. }
  294. .map-shape {
  295. fill: $color-primary;
  296. fill: var(--theme-color-primary, $color-primary);
  297. transition: 0.3s ease;
  298. }
  299. [data-link] {
  300. cursor: pointer;
  301. &:hover {
  302. .map-text {
  303. fill: $color-primary;
  304. fill: var(--theme-color-primary, $color-primary);
  305. }
  306. .map-shape {
  307. fill: $color-primary-light-02;
  308. fill: var(--theme-color-primary-dimmed-03, $color-primary-light-02);
  309. }
  310. }
  311. }
  312. }
  313. .survey {
  314. @media(max-width: 999px) {
  315. .text-box {
  316. padding: 30px 30px 0;
  317. }
  318. form {
  319. min-height: 0;
  320. padding-top: 0;
  321. @media(min-width: 768px) {
  322. padding: 0 30px 20px;
  323. }
  324. }
  325. }
  326. @media(max-width: 767px) {
  327. .text-box {
  328. padding: 20px 16px 0;
  329. }
  330. form {
  331. min-height: 0;
  332. padding-top: 0;
  333. }
  334. }
  335. @media(min-width: 1000px) {
  336. display: flex;
  337. align-items: center;
  338. .text-box {
  339. flex: 1 1 100%;
  340. max-width: 50%;
  341. padding: 40px 72px 38px 42px;
  342. @include font-small;
  343. p {
  344. margin: 0;
  345. }
  346. h2, h3 {
  347. margin-top: 0.2em;
  348. margin-bottom: 0.3em;
  349. }
  350. }
  351. .form-box {
  352. position: relative;
  353. display: block;
  354. flex: 1 1 100%;
  355. }
  356. form {
  357. display: block;
  358. min-height: 0;
  359. padding-left: 0;
  360. }
  361. }
  362. }
  363. .survey-result {
  364. @media(min-width: 1000px) {
  365. padding-left: 0;
  366. }
  367. @media(min-width: 768px) and (max-width: 999px) {
  368. padding: 20px 30px;
  369. }
  370. .title {
  371. display: none;
  372. }
  373. }
  374. .p-tabs {
  375. margin: calc(2% + 20px) -1px;
  376. .btn-small {
  377. margin-bottom: 8px;
  378. background-color: $color-primary-light-04;
  379. background-color: var(--theme-color-primary-dimmed-04, $color-primary-light-04);
  380. color: $color-primary;
  381. color: var(--theme-color-primary, $color-primary);
  382. &:hover, &:focus, &:active, &.active, &.active:hover {
  383. background-color: $color-primary;
  384. background-color: var(--theme-color-primary, $color-primary);
  385. color: $color-white;
  386. text-decoration: none;
  387. }
  388. }
  389. }
  390. .p-list {
  391. margin: calc(2% + 20px) 0;
  392. @include font-small;
  393. .list-item + .list-item {
  394. margin-top: 30px;
  395. @media(max-width: 999px) {
  396. margin-top: 20px;
  397. }
  398. @media(max-width: 767px) {
  399. margin-top: 15px;
  400. }
  401. }
  402. .tile {
  403. position: relative;
  404. padding: 20px 20px 12px;
  405. border-radius: $radius-md;
  406. background-color: $color-primary-light-04;
  407. background-color: var(--theme-color-primary-dimmed-04, $color-primary-light-04);
  408. @media(min-width: 768px) {
  409. display: flex;
  410. align-items: flex-end;
  411. }
  412. }
  413. .buttons {
  414. @media(min-width: 768px) {
  415. display: block;
  416. text-align: right;
  417. min-width: 240px;
  418. padding-left: 40px;
  419. .btn {
  420. margin: 8px 0 4px;
  421. }
  422. }
  423. }
  424. .progress {
  425. display: inline-block;
  426. vertical-align: top;
  427. margin: 0;
  428. @media(max-width: 370px) {
  429. max-width: calc(100% - 150px);
  430. }
  431. + .kicker {
  432. display: inline-block;
  433. vertical-align: top;
  434. margin: 0 0 0 10px;
  435. line-height: 1;
  436. }
  437. }
  438. .like-h4 {
  439. margin-top: 0.3em;
  440. margin-bottom: 0.5em;
  441. }
  442. }
  443. .buttons {
  444. display: flex;
  445. justify-content: space-between;
  446. margin: 1em 0 0.5em;
  447. .btn {
  448. padding: 12px 16px;
  449. min-height: 0;
  450. border-radius: 18px;
  451. transition: 0.2s ease;
  452. &:not(.btn-light) {
  453. margin-left: auto;
  454. }
  455. &.btn-light {
  456. color: $color-primary;
  457. color: var(--theme-color-primary, $color-primary);
  458. }
  459. @media(max-width: 800px) {
  460. font-size: 20px;
  461. }
  462. @media(max-width: 767px) {
  463. font-size: 18px;
  464. border-radius: 16px;
  465. }
  466. }
  467. }
  468. .btn {
  469. transition: 0.2s ease;
  470. }
  471. .pagination {
  472. padding: 0;
  473. margin: 25px 0;
  474. text-align: center;
  475. ul {
  476. list-style: none;
  477. padding: 0;
  478. }
  479. li {
  480. display: inline-block;
  481. vertical-align: top;
  482. margin: 0 3px;
  483. }
  484. .btn {
  485. display: flex;
  486. justify-content: center;
  487. align-items: center;
  488. margin: 0;
  489. padding: 0;
  490. min-width: 60px;
  491. @media(max-width: 767px) {
  492. min-width: 44px;
  493. }
  494. &.current {
  495. background-color: $color-primary-light-04;
  496. background-color: var(--theme-color-primary-dimmed-4, $color-primary-light-04);
  497. color: $color-primary;
  498. color: var(--theme-color-primary, $color-primary);
  499. pointer-events: none;
  500. }
  501. }
  502. }
  503. }