Browse code

Update

Benjamin Roth authored on17/03/2023 09:52:56
Showing1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,138 @@
1
+@import "../../variables-layout";
2
+
3
+@import "../../../_vendor/node_modules/bootstrap/scss/functions";
4
+@import "../../../_vendor/node_modules/bootstrap/scss/variables";
5
+@import "../../../_vendor/node_modules/bootstrap/scss/mixins";
6
+
7
+@import "../../scss-variables";
8
+@import "../../_theme/variables-layout";
9
+
10
+html body {
11
+  .ce_rsce_switchingcards {
12
+    margin-bottom: $basic-gutter/2 !important;
13
+
14
+    .row > div {
15
+      margin-bottom: $basic-gutter/2;
16
+
17
+      @include media-breakpoint-down(md) {
18
+        width: 100%;
19
+      }
20
+    }
21
+
22
+    .flipping-card--wrapper {
23
+      perspective: 1000px;
24
+      background-color: transparent;
25
+      position: relative;
26
+      height: 100%;
27
+      cursor: pointer;
28
+
29
+      > a {
30
+        position: absolute;
31
+        z-index: 5;
32
+        left: 0;
33
+        top: 0;
34
+        width: 100%;
35
+        height: 100%;
36
+      }
37
+
38
+      &:hover,
39
+      &.active {
40
+        .flipping-card--inner {
41
+          transform: rotateY(180deg);
42
+
43
+          .flipping-card--front {
44
+            //opacity: 0;
45
+          }
46
+        }
47
+      }
48
+
49
+      img {
50
+        max-height: rfs-value(60px);
51
+        max-width: rfs-value(60px);
52
+      }
53
+
54
+      .flipping-card--inner {
55
+        //position: absolute;
56
+        width: 100%;
57
+        height: 100%;
58
+        text-align: center;
59
+        transition: all 0.8s;
60
+        transform-style: preserve-3d;
61
+
62
+        .flipping-card--front,
63
+        .flipping-card--back {
64
+          //position: absolute;
65
+          width: 100%;
66
+          min-height: 100%;
67
+          -webkit-backface-visibility: hidden; /* Safari */
68
+          backface-visibility: hidden;
69
+          padding: 0.25rem 0rem .25rem 0rem;
70
+          display: flex;
71
+          flex-flow: column wrap;
72
+          justify-content: space-around;
73
+
74
+
75
+          .fc--image {
76
+            text-align: center;
77
+            margin-bottom: 0.25rem;
78
+            margin-top: 0.25rem;
79
+          }
80
+
81
+          .fc--headline {
82
+            font-size: 0.8rem;
83
+            font-weight: $font-weight-bold;
84
+            margin: 0.5rem 0;
85
+
86
+            & + .fc--content-headline {
87
+              margin-top: 0.5rem;
88
+            }
89
+          }
90
+
91
+          .fc--content-headline {
92
+            font-size: 1.25rem;
93
+            font-weight: $font-weight-bold;
94
+
95
+            & + .fc--content-text {
96
+              margin-top: 0.25rem;
97
+            }
98
+          }
99
+
100
+
101
+          .fc--content-button {
102
+            margin-top: 1rem;
103
+          }
104
+        }
105
+
106
+        .flipping-card--front {
107
+          background-color: var(--bs-primary);
108
+          color: var(--bs-body-color-inverse);
109
+
110
+          .front--inner {
111
+            padding: 0.5rem 1rem .5rem 1rem;
112
+
113
+            .fc--content-text {
114
+              font-size: 95%;
115
+            }
116
+          }
117
+        }
118
+
119
+        .flipping-card--back {
120
+          transform: rotateY(180deg);
121
+          background-color: var(--bs-gray-200);
122
+          color: var(--bs-body-color);
123
+          position: absolute;
124
+          top: 0;
125
+          border: 1px solid var(--bs-primary);
126
+
127
+          .back--inner {
128
+            padding: 0.5rem 1rem .5rem 1rem;
129
+
130
+            .fc--content-text {
131
+              font-size: 75%;
132
+            }
133
+          }
134
+        }
135
+      }
136
+    }
137
+  }
138
+}
0 139
\ No newline at end of file