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

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