| @@ -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,28 +98,35 @@ | ||
| 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 | 131 | #frm_view_application_modal .frm_warning_style { |
| 127 | 132 | border: none aliceblue; |
| @@ -188,18 +193,14 @@ | ||
| 188 | 193 | .frm-admin-page-applications #frm_bs_dropdown .install-now { |
| 189 | 194 | vertical-align: bottom; |
| 190 | 195 | } |
| 191 | 196 | |
| 192 | -.frm-application-card svg + h4 { | |
| 193 | - margin-left: 10px; | |
| 194 | -} | |
| 195 | - | |
| 196 | 197 | #frm_application_category_filter { |
| 197 | - display: inline-block; | |
| 198 | + display: inline-block; | |
| 198 | 199 | } |
| 199 | 200 | |
| 200 | 201 | #frm_application_category_filter > a { |
| 201 | - padding: 0 8px; | |
| 202 | + padding: 0 8px; | |
| 202 | 203 | } |
| 203 | 204 | |
| 204 | 205 | #frm_application_category_filter > a:first-child { |
| 205 | 206 | padding-left: 0; |
| @@ -240,14 +241,8 @@ | ||
| 240 | 241 | margin-top: var(--gap-md); |
| 241 | 242 | } |
| 242 | 243 | |
| 243 | 244 | @media only screen and (max-width: 1200px) { |
| 244 | - .frm-application-card { | |
| 245 | - grid-column: span 4/span 4; /* treat as frm4 */ | |
| 246 | - } | |
| 247 | -} | |
| 248 | - | |
| 249 | -@media only screen and (max-width: 800px) { | |
| 250 | 245 | .frm-application-card { |
| 251 | 246 | grid-column: span 6/span 6; /* treat as frm6 */ |
| 252 | 247 | } |
| 253 | 248 | } |