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