|
- @import '../../_global/styles/mixins';
- @import '../../_global/styles/vars';
- @import '../../components/event-teaser-large/event-teaser-large.scss';
-
- .right-open-container{
- @media (min-width: 1000px) {
- width: calc((var(--container-width) / 2) + 50vw - 20px);
- margin-left:auto;
- margin-right:0;
- padding-right:0;
- }
- }
-
- .eventteaserlargeslider {
- opacity: 0;
- transition: opacity 0.4s linear;
- &.initiated {
- opacity: 1;
- }
-
- &.single-slide {
- .controls {
- display: none;
- }
- }
-
- .slide-overflow {
- overflow: hidden;
- transition: height 0.6s cubic-bezier(0.215, 0.61, 0.355, 1);
- }
-
- img.loading {
- opacity: 0;
- }
-
- img.loaded {
- transition: 0.3s ease;
- opacity: 1;
- }
-
- .slide-wrapper {
- position: relative;
- display: flex;
- align-items: flex-start;
- width: 80000px;
- contain: layout;
- margin:0 -15px;
- @media(max-width: 999px) {
- width: 10000%;
- margin:0;
- }
- &.no-transition {
- -webkit-user-select: none;
- -moz-user-select: none;
- -ms-user-select: none;
- user-select: none;
-
- .image-box:after {
- content: "";
- @include full-size;
- z-index: 2;
- }
- }
-
- img, a {
- -webkit-user-select: none;
- -moz-user-select: none;
- -ms-user-select: none;
- user-select: none;
- -webkit-user-drag: none;
- -moz-user-drag: none;
- }
- }
-
- .slide {
- position: relative;
- width:1%;
- max-width:1%;
- min-width:1%;
- min-height:400px;
-
- @media(min-width: 1000px) {
- padding:0 15px;
- }
- }
-
- .prev-clone,
- .next-clone {
- position: absolute;
- display: flex;
- width: 100%;
- }
-
- .prev-clone {
- position: absolute;
- right: 100%;
- justify-content: flex-end;
- }
- }
-
- .rotation h1{
- max-width: 50%;
- display: inline-block;
- }
-
- .rotation .eventteaserlargeslider {
- margin-bottom:2rem;
- position: relative;
- display: block;
-
- button {
- border: 0;
- background-color: transparent;
- padding: 0;
- cursor: pointer;
-
- }
- .slider-tabs, .tabs {
- position: absolute;
- bottom: -2rem;
- left: 50%;
- right: 0;
- padding: 0;
- list-style: none;
- transform: translate(-50%, 0);
- text-align: center;
- font-size: 0;
- line-height: 0;
- margin: 0;
- li {
- display: inline-block;
- vertical-align: top;
-
- &.active button:before {
- background-color: var(--theme-color-primary);
- box-shadow: 0 0 0 2px var(--theme-color-primary);
- }
- }
-
- .btn {
- --button-min-size: 24px;
- font-size: 0;
- line-height: 0;
- display: flex;
- align-items: center;
- justify-content: center;
-
- &::before {
- content: "";
- position: relative;
- display: block;
- width: 10px;
- height: 10px;
- border: 2px solid var(--theme-color-primary);
- border-radius: 5px;
- transition: 0.2s ease;
- }
-
- &::after {
- display: none;
- }
-
- &:hover {
- background-color: transparent;
-
- &::before {
- background-color: var(--theme-color-primary);
- }
- }
- }
- }
-
- .prev, .next {
- position: absolute;
- top: -94px;
- width: 60px;
- height: 60px;
- text-align: center;
- line-height: 60px;
- left: calc(var(--container-width) - 2 * var(--container-padding) - 60px);
- color: var(--theme-color-primary);
- right:auto;
- border-radius: 24px;
- background: var(--theme-color-primary-dimmed-04);
- @media(max-width: 1580px) {
- left:auto;
- right: var(--container-padding);
- }
- @media(max-width: 1339px) {
- top: -90px;
- }
- @media(max-width: 999px) {
- right:0px;
- top: -80px;
- }
- @media(max-width: 767px) {
-
- }
- &:before {
- @include icon-small-arrow-right-simple;
- font-family: "Icons", sans-serif;
- font-size: 30px;
- }
- }
-
- .prev {
- left: calc(var(--container-width) - 2 * var(--container-padding) - 140px);
- transform: rotate(180deg);
- @media(max-width: 1580px) {
- left:auto;
- right:calc(var(--container-padding) + 80px);
- }
- @media(max-width: 999px) {
- right:80px;
- }
- }
- .count{
- display:none;
- }
- h2, .like-h2 {
- margin-top: 0.3em;
- margin-bottom: 0.4em;
- }
-
- }
|