| @@ -20,16 +20,8 @@ | ||
| 20 | 20 | #frm_custom_applications_placeholder { |
| 21 | 21 | position: relative; |
| 22 | 22 | } |
| 23 | 23 | |
| 24 | -.frm-admin-page-applications #frm_top_bar { | |
| 25 | - background: #fff; | |
| 26 | -} | |
| 27 | - | |
| 28 | -.frm-admin-page-applications #wpbody { | |
| 29 | - background: var(--sidebar-color); | |
| 30 | -} | |
| 31 | - | |
| 32 | 24 | .frm-admin-page-applications #wpcontent { |
| 33 | 25 | padding-left: 0; |
| 34 | 26 | } |
| 35 | 27 | |
| @@ -47,15 +39,11 @@ | ||
| 47 | 39 | padding-bottom: 0; |
| 48 | 40 | } |
| 49 | 41 | |
| 50 | 42 | .frm-application-card { |
| 51 | - border-radius: var(--small-radius); | |
| 52 | - background: #FFFFFF; | |
| 53 | - grid-column: span 3/span 3; /* treat as frm3 */ | |
| 54 | - padding: 10px 0; | |
| 55 | - display: flex; | |
| 43 | + grid-column: span 4/span 4; /* treat as frm4 */ | |
| 56 | 44 | flex-direction: column; |
| 57 | - box-shadow: var(--box-shadow-sm); | |
| 45 | + gap: 0; | |
| 58 | 46 | } |
| 59 | 47 | |
| 60 | 48 | .frm-application-template-card { |
| 61 | 49 | cursor: pointer; |
| @@ -64,31 +52,41 @@ | ||
| 64 | 52 | .frm-application-template-card:hover { |
| 65 | 53 | box-shadow: var(--box-shadow-lg); |
| 66 | 54 | } |
| 67 | 55 | |
| 68 | -.frm-application-template-card:hover h4 { | |
| 56 | +.frm-application-template-card:hover h3 { | |
| 69 | 57 | color: var(--primary-500); |
| 70 | 58 | } |
| 71 | 59 | |
| 72 | 60 | /* Card title */ |
| 73 | -.frm-application-card h4 { | |
| 74 | - display: inline-block; | |
| 75 | - max-width: 100%; | |
| 61 | +.frm-application-card h3 { | |
| 62 | + display: flex; | |
| 63 | + width: 100%; | |
| 64 | + align-items: center; | |
| 65 | + flex-wrap: nowrap; | |
| 66 | + gap: var(--gap-xs); | |
| 67 | + margin: 0; | |
| 68 | + font-size: var(--text-sm) !important; | |
| 69 | + font-weight: 500; | |
| 70 | + min-height: 28px; | |
| 71 | +} | |
| 72 | + | |
| 73 | +.frm-application-card h3 .frmsvg { | |
| 74 | + width: 11px; | |
| 75 | + height: 13px; | |
| 76 | +} | |
| 77 | + | |
| 78 | +.frm-application-card h3 .frm-inner-text { | |
| 79 | + max-width: calc( 100% - 50px ); | |
| 76 | 80 | overflow: hidden; |
| 77 | 81 | white-space: nowrap; |
| 78 | 82 | text-overflow: ellipsis; |
| 79 | - margin: 0; | |
| 80 | 83 | } |
| 81 | 84 | |
| 82 | -.frm-locked-application-template h4 { | |
| 83 | - opacity: 0.85; | |
| 84 | - max-width: calc( 100% - 30px ); | |
| 85 | +.frm-application-card h3 .frm-meta-tag { | |
| 86 | + margin: 0; | |
| 85 | 87 | } |
| 86 | 88 | |
| 87 | -.frm-application-card h4 .frmsvg { | |
| 88 | - margin-right: var(--gap-xs); | |
| 89 | -} | |
| 90 | - | |
| 91 | 89 | #frm_application_templates_grid .frm-application-card .frm-button-secondary { |
| 92 | 90 | display: flex; |
| 93 | 91 | flex-direction: row; |
| 94 | 92 | } |
| @@ -100,36 +98,45 @@ | ||
| 100 | 98 | right: 2px; |
| 101 | 99 | align-self: center; |
| 102 | 100 | } |
| 103 | 101 | |
| 102 | +.frm-application-card .frm-new-pill { | |
| 103 | + min-height: 20px; | |
| 104 | + font-size: var(--text-xs); | |
| 105 | + align-items: center; | |
| 106 | +} | |
| 107 | + | |
| 108 | +.frm-application-card:hover .frm-new-pill{ | |
| 109 | + display: none; | |
| 110 | +} | |
| 111 | + | |
| 104 | 112 | /* Use template anchor */ |
| 105 | 113 | #frm_application_templates_grid .frm-application-card .frm-button-secondary { |
| 106 | - position: absolute; | |
| 107 | - right: 10px; | |
| 108 | - bottom: 0; | |
| 114 | + display: none; | |
| 109 | 115 | } |
| 116 | +#frm_application_templates_grid .frm-application-card:hover .frm-button-secondary { | |
| 117 | + display: inline-block; | |
| 118 | +} | |
| 110 | 119 | |
| 111 | 120 | /* Card description */ |
| 112 | 121 | .frm-application-card > div:first-child > div { |
| 113 | - font-size: 12px; | |
| 122 | + font-size: var(--text-xs); | |
| 114 | 123 | } |
| 115 | 124 | |
| 116 | -.frm-application-card > div { | |
| 117 | - padding: 0 10px; | |
| 118 | -} | |
| 119 | - | |
| 120 | 125 | .frm-application-item-count { |
| 121 | - font-size: 11px; | |
| 122 | - color: var(--medium-grey); | |
| 123 | - margin-top: 4px; | |
| 126 | + font-size: var(--text-xs); | |
| 127 | + color: var(--grey-500); | |
| 128 | + margin-top: var(--gap-xs); | |
| 124 | 129 | } |
| 125 | 130 | |
| 126 | -#frm_view_application_modal .frm_warning_style { | |
| 127 | - border: none aliceblue; | |
| 128 | - margin-top: 0; | |
| 129 | - padding: 20px; | |
| 130 | - border-radius: 0; | |
| 131 | +#frm_view_application_modal .frm_note_style2 { | |
| 132 | + margin-right: var(--gap-md); | |
| 133 | + margin-left: var(--gap-md); | |
| 134 | + padding: 10px; | |
| 135 | + border-radius: 8px; | |
| 131 | 136 | display: flex; |
| 137 | + justify-content: space-between; | |
| 138 | + align-items: center; | |
| 132 | 139 | } |
| 133 | 140 | |
| 134 | 141 | #frm_view_application_modal .frm_warning_style span { |
| 135 | 142 | flex: 1; |
| @@ -150,9 +157,9 @@ | ||
| 150 | 157 | flex: 1; |
| 151 | 158 | } |
| 152 | 159 | |
| 153 | 160 | .frm-application-modal-details { |
| 154 | - padding: 25px 30px; | |
| 161 | + padding: 25px var(--gap-md); | |
| 155 | 162 | } |
| 156 | 163 | |
| 157 | 164 | .frm-admin-page-applications .ui-widget-overlay { |
| 158 | 165 | position: fixed; |
| @@ -167,9 +174,9 @@ | ||
| 167 | 174 | } |
| 168 | 175 | |
| 169 | 176 | #frm_view_application_modal .frm-application-image-wrapper { |
| 170 | 177 | background-color: #F6F7FB; |
| 171 | - padding: 20px 30px 15px; | |
| 178 | + padding: 20px var(--gap-md) 15px; | |
| 172 | 179 | } |
| 173 | 180 | |
| 174 | 181 | #frm_view_application_modal img { |
| 175 | 182 | height: 245px; |
| @@ -179,8 +186,12 @@ | ||
| 179 | 186 | flex: 1; |
| 180 | 187 | overflow-y: auto; |
| 181 | 188 | } |
| 182 | 189 | |
| 190 | +#frm_view_application_modal .postbox { | |
| 191 | + max-height: 800px !important; | |
| 192 | +} | |
| 193 | + | |
| 183 | 194 | .frm-application-modal-label { |
| 184 | 195 | opacity: 0.65; |
| 185 | 196 | margin-bottom: 5px; |
| 186 | 197 | } |
| @@ -188,18 +199,14 @@ | ||
| 188 | 199 | .frm-admin-page-applications #frm_bs_dropdown .install-now { |
| 189 | 200 | vertical-align: bottom; |
| 190 | 201 | } |
| 191 | 202 | |
| 192 | -.frm-application-card svg + h4 { | |
| 193 | - margin-left: 10px; | |
| 194 | -} | |
| 195 | - | |
| 196 | 203 | #frm_application_category_filter { |
| 197 | - display: inline-block; | |
| 204 | + display: inline-block; | |
| 198 | 205 | } |
| 199 | 206 | |
| 200 | 207 | #frm_application_category_filter > a { |
| 201 | - padding: 0 8px; | |
| 208 | + padding: 0 8px; | |
| 202 | 209 | } |
| 203 | 210 | |
| 204 | 211 | #frm_application_category_filter > a:first-child { |
| 205 | 212 | padding-left: 0; |
| @@ -224,30 +231,60 @@ | ||
| 224 | 231 | .frm-application-templates-nav.wrap { |
| 225 | 232 | margin-right: 0; |
| 226 | 233 | } |
| 227 | 234 | |
| 228 | -#frm_custom_applications_placeholder > div:first-child { | |
| 235 | +#frm_custom_applications_placeholder { | |
| 236 | + border-radius: 16px; | |
| 237 | + overflow: hidden; | |
| 238 | + position: relative; | |
| 239 | + margin-top: 40px; | |
| 240 | + margin-bottom: 25px; | |
| 241 | + background-color: #fff; | |
| 242 | + padding: 11px 8px; | |
| 243 | +} | |
| 244 | + | |
| 245 | +#frm_custom_applications_placeholder:before { | |
| 246 | + content: ''; | |
| 247 | + display: block; | |
| 248 | + background: linear-gradient(90deg, #1961D5 0.76%, #E8ABEF 100%); | |
| 249 | + height: 4px; | |
| 250 | + margin: auto; | |
| 229 | 251 | position: absolute; |
| 252 | + top: 0; | |
| 253 | + left: 0; | |
| 254 | + width: 100%; | |
| 230 | 255 | } |
| 231 | 256 | |
| 232 | -#frm_custom_applications_placeholder > div:last-child { | |
| 233 | - text-align: center; | |
| 234 | - max-width: 500px; | |
| 235 | - margin: var(--gap-md) auto; | |
| 236 | - position: relative; | |
| 257 | +#frm_custom_applications_placeholder img { | |
| 258 | + margin-right: 5px; | |
| 259 | + float: left; | |
| 237 | 260 | } |
| 238 | 261 | |
| 239 | -#frm_custom_applications_placeholder > div a { | |
| 262 | +#frm_custom_applications_placeholder div a { | |
| 240 | 263 | margin-top: var(--gap-md); |
| 241 | 264 | } |
| 242 | 265 | |
| 243 | -@media only screen and (max-width: 1200px) { | |
| 244 | - .frm-application-card { | |
| 245 | - grid-column: span 4/span 4; /* treat as frm4 */ | |
| 246 | - } | |
| 266 | +#frm_custom_applications_placeholder .frm2 { | |
| 267 | + text-align: right; | |
| 268 | + padding-right: 24px; | |
| 247 | 269 | } |
| 248 | 270 | |
| 249 | -@media only screen and (max-width: 800px) { | |
| 271 | +#frm_custom_applications_placeholder h3 { | |
| 272 | + font-weight: 700; | |
| 273 | + margin-bottom: 4px; | |
| 274 | +} | |
| 275 | + | |
| 276 | +.frm-application-modal-label ~ .frm-application-modal-label { | |
| 277 | + margin-top: var(--gap-md); | |
| 278 | +} | |
| 279 | + | |
| 280 | +ul.frm-application-item-list { | |
| 281 | + margin-top: 0; | |
| 282 | + list-style: disc; | |
| 283 | + list-style-position: inside; | |
| 284 | +} | |
| 285 | + | |
| 286 | +@media only screen and (max-width: 1200px) { | |
| 250 | 287 | .frm-application-card { |
| 251 | 288 | grid-column: span 6/span 6; /* treat as frm6 */ |
| 252 | 289 | } |
| 253 | 290 | } |