PluginProbe
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More / trunk
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More vtrunk
6.35 6.34 6.33.1 6.33 6.32.1 6.32 6.31 6.25 6.25.1 6.26 6.26.1 6.27 6.28 6.29 6.3 6.3.1 6.3.2 6.30 6.4 6.4.1 6.4.2 6.5 6.5.1 6.5.2 6.5.3 All 141 releases
formidable / css / packages / s11-floating-links.css

s11-floating-links.css in Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More trunk, at css/packages/s11-floating-links.css

207 lines 3.5 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 .s11-floating-links,
2 .s11-floating-links::before,
3 .s11-floating-links::after,
4 .s11-floating-links *,
5 .s11-floating-links *::before,
6 .s11-floating-links *::after {
7 box-sizing: border-box;
8 }
9
10 .s11-floating-links {
11 position: fixed;
12 right: 48px;
13 bottom: 48px;
14 z-index: 1000;
15 display: none;
16 flex-direction: column;
17 align-items: flex-end;
18 gap: 16px;
19 }
20
21 .s11-floating-links.s11-fadein,
22 .s11-floating-links.s11-fading {
23 display: flex;
24 }
25
26 .s11-floating-links-logo-icon {
27 display: flex;
28 align-items: center;
29 justify-content: center;
30 width: 64px;
31 height: 64px;
32 padding: 12px;
33 background-color: #fff;
34 border: 1px solid #f2f4f7;
35 border-radius: 50%;
36 box-shadow: var(--box-shadow-xxl);
37 cursor: pointer;
38 }
39
40 .s11-floating-links-nav-menu {
41 display: none;
42 grid-template-columns: 1fr;
43 background-color: #fff;
44 padding: 16px;
45 border: 1px solid #f2f4f7;
46 border-radius: 8px;
47 box-shadow: var(--box-shadow-xxl);
48 }
49
50 .s11-floating-links-nav-item {
51 position: relative;
52 display: flex;
53 align-items: center;
54 justify-content: space-between;
55 gap: 8px;
56 margin: 16px 0;
57 text-decoration: none;
58 z-index: 1;
59 }
60
61 .s11-floating-links-nav-item:first-child {
62 margin-top: 0;
63 }
64
65 .s11-floating-links-nav-item:last-child {
66 margin-bottom: 0;
67 }
68
69 .s11-floating-links-nav-item:focus {
70 outline: 0;
71 box-shadow: none;
72 }
73
74 .s11-floating-links-nav-item::before {
75 content: "";
76 position: absolute;
77 top: -4px;
78 left: -6px;
79 width: calc(100% + 12px);
80 height: calc(100% + 8px);
81 z-index: 0;
82 border-radius: 8px;
83 background-color: transparent;
84 transition: background-color 240ms ease-in;
85 cursor: pointer;
86 }
87
88 .s11-floating-links-nav-item:hover::before {
89 background-color: var(--floating-links-bg-hover-color);
90 }
91
92 .s11-floating-links-nav-text {
93 font-size: 0.875rem;
94 line-height: 1.25rem;
95 color: #1d2939;
96 font-weight: 500;
97 z-index: 2;
98 transition: color 240ms ease-out;
99 }
100
101 .s11-floating-links-nav-item:hover .s11-floating-links-nav-text {
102 color: var(--floating-links-hover-color);
103 }
104
105 .s11-floating-links-nav-icon {
106 display: flex;
107 z-index: 2;
108 }
109
110 .s11-floating-links-nav-icon > svg path {
111 transition: stroke 240ms ease-out;
112 }
113
114 .s11-floating-links-nav-item:hover .s11-floating-links-nav-icon > svg path {
115 stroke: var(--floating-links-hover-color);
116 }
117
118 .s11-fadein {
119 display: block;
120 animation: fadeInUp 240ms ease-in-out forwards;
121 }
122
123 .s11-fadeout {
124 display: none;
125 animation: fadeOutDown 240ms ease-in-out forwards;
126 }
127
128 .s11-fading {
129 display: block;
130 }
131
132 @keyframes fadeInUp {
133
134 0% {
135 opacity: 0;
136 transform: translateY(20px);
137 }
138
139 100% {
140 opacity: 1;
141 transform: translateY(0);
142 }
143 }
144
145 @keyframes fadeOutDown {
146
147 0% {
148 opacity: 1;
149 transform: translateY(0);
150 }
151
152 100% {
153 opacity: 0;
154 transform: translateY(20px);
155 }
156 }
157
158 /* Breakpoints */
159 @media only screen and (max-width: 782px) {
160
161 .s11-floating-links {
162 right: 20px;
163 bottom: 20px;
164 }
165
166 .s11-floating-links-logo-icon {
167 width: 50px;
168 height: 50px;
169 }
170 }
171
172 /* Inbox slide-in */
173 #frm_inbox_slide_in {
174 position: fixed;
175
176 /* Use the same bottom/right values as floating links. */
177 bottom: 127px;
178 right: 48px;
179 min-width: 280px;
180 max-width: 360px;
181 flex-direction: column;
182 align-items: center;
183 z-index: 4; /* We want the pop up to appear above the license section in the dashboard. */
184 padding-bottom: 0;
185 }
186
187 #frm_inbox_slide_in img {
188 max-width: 100%;
189 border-radius: var(--small-radius);
190 }
191
192 #frm_inbox_slide_in .frm-button-primary {
193 margin: auto;
194 }
195
196 #frm_inbox_slide_in h3 {
197 margin: 0;
198 font-weight: 600;
199 line-height: 1 !important;
200 }
201
202 #frm_inbox_slide_in h3 + span {
203 text-align: center;
204 }
205
206 /* End Inbox slide-in */
207