PluginProbe
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More / 6.35
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More v6.35
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 / admin / form-templates.css

form-templates.css in Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More 6.35, at css/admin/form-templates.css

222 lines 4.6 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 /**
2 * Form Templates Page Styles
3 *
4 * This file includes all CSS rules specifically for the Form Templates page.
5 */
6
7 /**
8 * Page General Styles
9 *
10 * This section defines the basic typography and layout styles for the Form Templates page.
11 */
12 #frm-form-templates-page .frm-upgrade-bar {
13 display: none;
14 }
15
16 /**
17 * Page Content Styles
18 *
19 * Focuses on the main content area, laying out the various elements and components.
20 */
21
22 .frm_show_upgrade {
23 opacity: .5;
24 }
25
26 /* Create a blank form */
27 .frm-form-templates-create-button {
28 gap: 10px;
29 color: var(--grey-900);
30 background-color: transparent;
31 border: 1px dashed var(--grey-400);
32 border-radius: var(--small-radius);
33 padding: calc(var(--gap-sm) - 2px) var(--gap-sm);
34 transition: background-color 200ms ease-out;
35 cursor: pointer;
36 box-shadow: var(--box-shadow-xs);
37 }
38
39 .frm-form-templates-create-button:hover {
40 background-color: var(--grey-50);
41 }
42
43 .frm-form-templates-create-button:focus-within {
44 outline: 1px solid var(--primary-700);
45 border-color: var(--primary-700);
46 }
47
48 .frm-form-templates-create-button .frmsvg {
49 width: 32px;
50 height: 32px;
51 }
52
53 #frm-form-templates-create-form .frmsvg {
54 width: 20px;
55 height: 20px;
56 color: var(--grey-500);
57 background: var(--grey-100);
58 border-radius: var(--small-radius);
59 padding: calc(var(--gap-2xs) + 2px);
60 }
61
62 /* Templates item */
63 .frm-form-templates-item-icon {
64 flex-shrink: 0;
65 }
66
67 #frm-form-templates-list .frm-form-templates-item-icon {
68 display: none;
69 }
70
71 .frm-form-templates-item-body {
72 display: flex;
73 flex-direction: column;
74 gap: calc(var(--gap-xs) - 2px);
75 min-width: 0; /* Fix for truncated text within a flexbox layout */
76 flex-grow: 1;
77 }
78
79 .frm-form-templates-item-title,
80 .frm-form-templates-item-title-text {
81 display: flex;
82 gap: 6px;
83 align-items: center;
84 margin: 0;
85 }
86
87 .frm-form-templates-item-title-text {
88 width: calc(100% - 24px);
89 font-size: var(--text-sm);
90 }
91
92 .frm-form-templates-item-lock-icon .frmsvg {
93 display: flex;
94 width: 11px;
95 height: 13px;
96 flex-shrink: 0;
97 }
98
99 a.frm-form-templates-item-favorite-button {
100 display: none;
101 transition: color 200ms ease-out;
102 color: var(--grey-900);
103 }
104
105 .frm-form-templates-favorite-item .frm-form-templates-item-favorite-button {
106 display: flex;
107 }
108
109 a.frm-form-templates-item-favorite-button:hover,
110 .frm-form-templates-favorite-item .frm-form-templates-item-favorite-button {
111 color: var(--error-500);
112 }
113
114 .frm-form-templates-favorite-item a.frm-form-templates-item-favorite-button:hover {
115 color: var(--error-700);
116 }
117
118 .frm-form-templates-custom-item-trash-button {
119 display: none;
120 }
121
122 .frm-form-templates-custom-item-trash-button .frmsvg {
123 width: 18px;
124 height: 18px;
125 color: var(--grey-900);
126 transition: color 200ms ease-out;
127 z-index: 2;
128 }
129
130 .frm-form-templates-custom-item-trash-button:hover .frmsvg {
131 color: var(--primary-500);
132 }
133
134 .frm-form-templates-custom-item-trash-button + .frm-vertical-line {
135 display: none;
136 }
137
138 .frm-form-templates-item-content {
139 position: relative;
140 }
141
142 .frm-form-templates-item-buttons {
143 display: none;
144 position: absolute;
145 gap: 12px;
146 margin-top: calc(var(--gap-2xs) + 2px);
147 z-index: 2;
148 }
149
150 p.frm-form-templates-item-description {
151 font-size: var(--text-xs);
152 margin: 0;
153 min-height: var(--h-md);
154 }
155
156 .frm-card-item:hover .frm-form-templates-item-description,
157 .frm-card-item:focus-within .frm-form-templates-item-description {
158 visibility: hidden;
159 opacity: 0;
160 }
161
162 .frm-card-item:hover .frm-form-templates-item-buttons,
163 .frm-card-item:focus-within .frm-form-templates-item-buttons {
164 display: flex;
165 }
166
167 .frm-card-item:not(.frm-form-templates-favorite-item):hover .frm-form-templates-item-favorite-button,
168 .frm-form-templates-custom-item:hover .frm-form-templates-custom-item-trash-button,
169 .frm-form-templates-custom-item:hover .frm-form-templates-custom-item-trash-button + .frm-vertical-line {
170 display: flex;
171 }
172
173 /* Application templates */
174 #frm-form-templates-applications img {
175 width: 64px;
176 height: 64px;
177 object-fit: contain;
178 border: 1px solid var(--grey-200);
179 border-radius: var(--small-radius);
180 box-sizing: border-box;
181 }
182
183 #frm-form-templates-applications .frm-meta-tag {
184 max-width: max-content;
185 }
186
187 .frm-form-templates-application-item {
188 cursor: pointer;
189 }
190
191 /**
192 * Modal Styles
193 *
194 * Customizes the look of modals on the Form Templates page.
195 */
196
197 /* Upgrade Modal */
198 #frm-form-upgrade-modal .frm-upgrade-modal-plan-icon {
199 color: var(--error-500);
200 }
201
202 /* Code from email modal */
203 #frm_code_from_email_options:not(.frm_hidden) {
204 display: flex;
205 }
206
207 #frm_code_from_email_options {
208 gap: calc(var(--gap-xs) + var(--gap-2xs));
209 color: var(--primary-500);
210 }
211
212 /**
213 * Helper Classes
214 *
215 * Provides helper classes for common layout patterns and animations in the
216 * Form Templates page.
217 */
218
219 .frm_hidden {
220 display: none; /* Load this last for overrides */
221 }
222