|
- @import "../../variables/wood";
- @import "ihk-finder-form";
-
-
- .participation-tiles {
- position: relative;
- display: block;
- padding: calc(2% + 20px);
- margin-top: 40px;
- background-color: $color-primary-light-04;
- background-color: var(--theme-color-primary-dimmed-04, $color-primary-light-04);
- @include font-small;
-
- .container {
- width: 1220px;
- }
-
- .like-h2 {
- margin-bottom: 0.2em;
- }
-
- .col {
- position: relative;
- display: flex;
- flex: 1 1 33.3333%;
- max-width: 33.3333%;
-
- &.width-half {
- flex: 1 1 50%;
- max-width: 50%;
-
- &:first-child:last-child {
- flex: 1 1 100%;
- max-width: 100%;
- }
- }
-
- @media(max-width: 567px) {
- flex: 1 1 50%;
- max-width: 50%;
-
- &:nth-child(odd):last-child {
- flex: 1 1 100%;
- max-width: 100%;
- }
- }
- @media(max-width: 767px) {
- padding: 6px;
- }
- }
-
- .tile {
- position: relative;
- display: flex;
- flex-direction: column;
- background-color: white;
- overflow: hidden;
- width: 100%;
- border-radius: $radius-lg;
- padding: 24px;
- transition: 0.25s ease;
- text-decoration: none;
-
- @media(max-width: 999px) {
- padding: 14px;
- }
-
- @media(max-width: 767px) {
- font-size: 16px;
- min-height: 84px;
- border-radius: 8px;
- }
-
- &::before {
- content: "";
- position: relative;
- display: block;
- height: 80px;
- background-color: $color-primary;
- background-color: var(--theme-color-primary, $color-primary);
- margin: -24px -24px 16px;
- background-image: url("../../../img/topic-meinung.svg");
- background-repeat: no-repeat;
- background-position: center 65%;
- background-size: 60px;
-
- @media(max-width: 567px) {
- font-size: 50px;
- margin-top: 0;
- }
- }
- }
-
- .like-h4 {
- margin-top: 0.6em;
- margin-bottom: 0.5em;
- }
-
- .buttons {
- display: flex;
- justify-content: space-between;
- margin: 1em -1px 0.5em;
-
- .btn {
- padding: 12px 14px;
- min-height: 0;
- border-radius: 18px;
- transition: 0.2s ease;
-
- &:not(.btn-light) {
- margin-left: auto;
- }
-
- &.btn-light {
- color: $color-primary;
- color: var(--theme-color-primary, $color-primary);
- }
- }
- }
-
- .progress {
- position: relative;
- width: 150px;
- height: 14px;
- border-radius: 7px;
- background-color: $color-primary-light-03;
- background-color: var(--theme-color-primary-dimmed-03, $color-primary-light-03);
- overflow: hidden;
- font-size: 0;
- line-height: 0;
- margin: 8px -1px 0;
-
- .bar {
- position: absolute;
- display: block;
- height: 100%;
- border-top-right-radius: 7px;
- border-bottom-right-radius: 7px;
- background-color: $color-primary;
- background-color: var(--theme-color-primary, $color-primary);
- }
- }
-
- .badge {
- position: relative;
- display: inline-block;
- vertical-align: top;
- width: 32px;
- height: 32px;
- background-color: $color-primary-light-03;
- background-color: var(--theme-color-primary-dimmed-03, $color-primary-light-03);
- font-size: 22px;
- line-height: 32px;
- text-align: center;
- border-radius: 50%;
- font-weight: 600;
- }
-
- .btn {
- transition: 0.2s ease;
- }
-
- .all-participations {
- text-align: center;
- flex: 1 1 100%;
- max-width: none;
- margin-top: 12px;
- padding-bottom: 6px;
-
- .btn {
- margin: 0 auto;
- }
- }
- }
|