| @@ -62,69 +62,33 @@ | ||
| 62 | 62 | margin-left: 24px; |
| 63 | 63 | display: inline-block; |
| 64 | 64 | } |
| 65 | 65 | |
| 66 | -/* Matches the specificity of `.wp-core-ui .button-link`, which would | |
| 67 | - otherwise underline the assignment summary and make it read as a link. */ | |
| 68 | -.wp-core-ui .uam_group_date { | |
| 69 | - display: inline-block; | |
| 70 | - margin: 2px 0 2px 24px; | |
| 71 | - font-size: 12px; | |
| 72 | - font-weight: 600; | |
| 73 | - line-height: 1.5; | |
| 74 | - text-decoration: none; | |
| 66 | +.uam_group_date { | |
| 67 | + font-size: 11px; | |
| 68 | + margin-left: 24px; | |
| 69 | + display: block; | |
| 75 | 70 | cursor: pointer; |
| 71 | + font-weight: bold; | |
| 76 | 72 | } |
| 77 | 73 | |
| 78 | -.wp-core-ui .uam_group_date:hover, | |
| 79 | -.wp-core-ui .uam_group_date:focus { | |
| 80 | - text-decoration: underline; | |
| 81 | -} | |
| 82 | - | |
| 83 | -.wp-core-ui .uam_group_date::after { | |
| 84 | - content: "\f347"; | |
| 85 | - font-family: dashicons, sans-serif; | |
| 86 | - font-size: 16px; | |
| 87 | - line-height: 1; | |
| 88 | - vertical-align: middle; | |
| 89 | - margin-left: 2px; | |
| 90 | - text-decoration: none; | |
| 91 | -} | |
| 92 | - | |
| 93 | -.wp-core-ui .uam_group_date[aria-expanded="true"]::after { | |
| 94 | - content: "\f343"; | |
| 95 | -} | |
| 96 | - | |
| 97 | 74 | .uam_group_date_form { |
| 98 | 75 | margin-left: 24px; |
| 99 | 76 | display: none; |
| 100 | 77 | } |
| 101 | 78 | |
| 102 | -.uam_group_date_form p.description { | |
| 103 | - max-width: 40em; | |
| 104 | -} | |
| 105 | - | |
| 106 | -.uam_group_date_actions { | |
| 107 | - margin: 8px 0 0; | |
| 108 | - padding-top: 8px; | |
| 109 | - border-top: 1px solid #f0f0f1; | |
| 110 | -} | |
| 111 | - | |
| 112 | 79 | .uam_default_groups .uam_group_date_form { |
| 113 | 80 | display: block; |
| 114 | 81 | } |
| 115 | 82 | |
| 116 | -.uam_group_date_form > div { | |
| 117 | - display: grid; | |
| 118 | - grid-template-columns: 65px minmax(0, 1fr); | |
| 119 | - align-items: center; | |
| 120 | - gap: 6px 8px; | |
| 121 | - margin-bottom: 6px; | |
| 122 | - max-width: 340px; | |
| 83 | +.uam_group_date_form label { | |
| 84 | + width: 65px; | |
| 85 | + display: inline-block; | |
| 123 | 86 | } |
| 124 | 87 | |
| 125 | 88 | .uam_group_date_form input { |
| 126 | - max-width: 100%; | |
| 89 | + width: 160px; | |
| 90 | + font-size: 12px; | |
| 127 | 91 | } |
| 128 | 92 | |
| 129 | 93 | @media (max-width: 782px) { |
| 130 | 94 | .uam_group_date, |
| @@ -189,46 +153,25 @@ | ||
| 189 | 153 | .uam_group_selection li a { |
| 190 | 154 | vertical-align: middle; |
| 191 | 155 | } |
| 192 | 156 | |
| 193 | -/* Flyouts. The panel is a sibling of its trigger and positioned against the | |
| 194 | - .uam_flyout wrapper; functions.js nudges it back into view near the edge. */ | |
| 195 | -.uam_flyout { | |
| 196 | - position: relative; | |
| 197 | - display: inline-block; | |
| 198 | -} | |
| 199 | - | |
| 200 | -.uam_flyout_panel { | |
| 157 | +.uam_tooltip { | |
| 158 | + z-index: 1000; | |
| 201 | 159 | display: none; |
| 160 | + min-width: 200px; | |
| 161 | + color: #000 !important; | |
| 162 | + background-color: #F9F9F9 !important; | |
| 163 | + padding: 4px 8px !important; | |
| 164 | + border: 1px solid #DFDFDF !important; | |
| 202 | 165 | position: absolute; |
| 203 | - top: 100%; | |
| 204 | - left: 0; | |
| 205 | - z-index: 100000; | |
| 206 | - min-width: 240px; | |
| 207 | - max-width: 340px; | |
| 208 | - margin-top: 4px; | |
| 209 | - text-align: left; | |
| 210 | - color: #2c3338 !important; | |
| 211 | - background-color: #fff !important; | |
| 212 | - padding: 12px !important; | |
| 213 | - border: 1px solid #c3c4c7 !important; | |
| 214 | - border-radius: 2px !important; | |
| 215 | - box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1) !important; | |
| 216 | 166 | } |
| 217 | 167 | |
| 218 | -.uam_flyout_panel_above { | |
| 219 | - top: auto; | |
| 220 | - bottom: 100%; | |
| 221 | - margin-top: 0; | |
| 222 | - margin-bottom: 4px; | |
| 168 | +.uam_group_info_link:hover + .uam_tooltip { | |
| 169 | + display: block; | |
| 223 | 170 | } |
| 224 | 171 | |
| 225 | -.uam_flyout .uam_group_date_form { | |
| 226 | - margin-left: 0; | |
| 227 | -} | |
| 228 | - | |
| 229 | 172 | #uam_dynamic_groups { |
| 230 | - vertical-align: middle; | |
| 173 | + height: 28px; | |
| 231 | 174 | margin: 0 4px 0 0; |
| 232 | 175 | } |
| 233 | 176 | |
| 234 | 177 | .uam_supporters { |
| @@ -233,91 +176,5 @@ | ||
| 233 | 176 | |
| 234 | 177 | .uam_supporters { |
| 235 | 178 | list-style: disc; |
| 236 | 179 | padding-left: 20px; |
| 237 | -} | |
| 238 | - | |
| 239 | -.uam_dynamic_groups { | |
| 240 | - margin: 12px 0; | |
| 241 | -} | |
| 242 | - | |
| 243 | -.uam_dynamic_groups > label { | |
| 244 | - display: block; | |
| 245 | - margin-bottom: 4px; | |
| 246 | - font-weight: 600; | |
| 247 | -} | |
| 248 | - | |
| 249 | -.uam_dynamic_groups > input { | |
| 250 | - width: 100%; | |
| 251 | -} | |
| 252 | - | |
| 253 | -/* Suggestion list for the dynamic group search. Appended to <body> by the | |
| 254 | - suggest widget, so it cannot be nested under a plugin container. */ | |
| 255 | -ul.uam_suggest_results { | |
| 256 | - display: none; | |
| 257 | - position: absolute; | |
| 258 | - z-index: 100000; | |
| 259 | - box-sizing: border-box; | |
| 260 | - max-height: 220px; | |
| 261 | - overflow-y: auto; | |
| 262 | - margin: 0; | |
| 263 | - padding: 0; | |
| 264 | - list-style: none; | |
| 265 | - background: #fff; | |
| 266 | - border: 1px solid #c3c4c7; | |
| 267 | - border-radius: 2px; | |
| 268 | - box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1); | |
| 269 | -} | |
| 270 | - | |
| 271 | -ul.uam_suggest_results li { | |
| 272 | - margin: 0; | |
| 273 | - padding: 8px 12px; | |
| 274 | - font-size: 13px; | |
| 275 | - line-height: 1.4; | |
| 276 | - cursor: pointer; | |
| 277 | -} | |
| 278 | - | |
| 279 | -ul.uam_suggest_results li:not(:last-child) { | |
| 280 | - border-bottom: 1px solid #f0f0f1; | |
| 281 | -} | |
| 282 | - | |
| 283 | -ul.uam_suggest_results li.uam_suggest_selected { | |
| 284 | - background: #2271b1; | |
| 285 | - color: #fff; | |
| 286 | -} | |
| 287 | - | |
| 288 | -.uam_suggest_match { | |
| 289 | - font-weight: 600; | |
| 290 | -} | |
| 291 | - | |
| 292 | -.uam_radio_option { | |
| 293 | - display: flex; | |
| 294 | - align-items: center; | |
| 295 | - flex-wrap: wrap; | |
| 296 | - gap: 8px; | |
| 297 | - margin-bottom: 8px; | |
| 298 | -} | |
| 299 | - | |
| 300 | -.uam_radio_option > label { | |
| 301 | - flex: 0 0 auto; | |
| 302 | -} | |
| 303 | - | |
| 304 | -.uam_textarea { | |
| 305 | - width: 100%; | |
| 306 | - min-height: 120px; | |
| 307 | -} | |
| 308 | - | |
| 309 | -.uam_note, | |
| 310 | -.uam_danger_zone { | |
| 311 | - color: #b32d2e; | |
| 312 | -} | |
| 313 | - | |
| 314 | -/* Keep radios, text fields and buttons on a shared centre line. */ | |
| 315 | -.uam_setup_form label, | |
| 316 | -.uam_setup_form .button, | |
| 317 | -.uam_setup_form input[type="text"], | |
| 318 | -.uam_setup_form input[type="radio"], | |
| 319 | -table[id^="uam_settings_group_"] td label, | |
| 320 | -table[id^="uam_settings_group_"] td input, | |
| 321 | -table[id^="uam_settings_group_"] td select { | |
| 322 | - vertical-align: middle; | |
| 323 | 180 | } |