| 1 |
/* |
| 2 |
uamAdmin.css |
| 3 |
|
| 4 |
The file is needed for the uam admin style. |
| 5 |
|
| 6 |
--- DO NOT EDIT THIS FILE --- |
| 7 |
*/ |
| 8 |
.uam_main { |
| 9 |
margin-right: 280px; |
| 10 |
} |
| 11 |
|
| 12 |
.uam_sidebar { |
| 13 |
float: right; |
| 14 |
width: 260px; |
| 15 |
} |
| 16 |
|
| 17 |
.uam_info_box { |
| 18 |
width: 240px; |
| 19 |
margin: 9px 0; |
| 20 |
border: 1px solid #e5e5e5; |
| 21 |
background: #fff; |
| 22 |
padding: 16px 10px; |
| 23 |
position: absolute; |
| 24 |
} |
| 25 |
|
| 26 |
.uam_info_box--head { |
| 27 |
font-weight: bold; |
| 28 |
font-size: 16px; |
| 29 |
margin: 16px 0 6px; |
| 30 |
display: block; |
| 31 |
} |
| 32 |
|
| 33 |
.uam_info_box--head:first-child { |
| 34 |
margin-top: 0; |
| 35 |
} |
| 36 |
|
| 37 |
.uam_info_box--content { |
| 38 |
display: block; |
| 39 |
margin: 8px 0; |
| 40 |
} |
| 41 |
|
| 42 |
#toplevel_page_uam_user_group div.wp-menu-image { |
| 43 |
background: transparent url('../gfx/icon.png') no-repeat scroll center 0; |
| 44 |
height: 32px; |
| 45 |
} |
| 46 |
|
| 47 |
#toplevel_page_uam_user_group:hover div.wp-menu-image, |
| 48 |
#toplevel_page_uam_user_group.wp-has-current-submenu div.wp-menu-image { |
| 49 |
background: transparent url('../gfx/icon.png') no-repeat scroll center -28px; |
| 50 |
} |
| 51 |
|
| 52 |
ul.uam_group_selection > li { |
| 53 |
position: relative; |
| 54 |
} |
| 55 |
|
| 56 |
ul.uam_group_selection > li > input { |
| 57 |
position: absolute; |
| 58 |
top: 6px; |
| 59 |
} |
| 60 |
|
| 61 |
ul.uam_group_selection > li > label { |
| 62 |
margin-left: 24px; |
| 63 |
display: inline-block; |
| 64 |
} |
| 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; |
| 75 |
cursor: pointer; |
| 76 |
} |
| 77 |
|
| 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 |
.uam_group_date_form { |
| 98 |
margin-left: 24px; |
| 99 |
display: none; |
| 100 |
} |
| 101 |
|
| 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 |
.uam_default_groups .uam_group_date_form { |
| 113 |
display: block; |
| 114 |
} |
| 115 |
|
| 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; |
| 123 |
} |
| 124 |
|
| 125 |
.uam_group_date_form input { |
| 126 |
max-width: 100%; |
| 127 |
} |
| 128 |
|
| 129 |
@media (max-width: 782px) { |
| 130 |
.uam_group_date, |
| 131 |
.uam_group_date_form, |
| 132 |
ul.uam_group_selection > li > label { |
| 133 |
margin-left: auto; |
| 134 |
} |
| 135 |
|
| 136 |
ul.uam_group_selection > li > input { |
| 137 |
position: static; |
| 138 |
} |
| 139 |
} |
| 140 |
|
| 141 |
ul.uam_group_selection_ajax > li > input { |
| 142 |
margin-top: 2px !important; |
| 143 |
} |
| 144 |
|
| 145 |
.compat-field-uam_user_groups .field { |
| 146 |
width: 100%; |
| 147 |
margin-bottom: 100px; |
| 148 |
} |
| 149 |
|
| 150 |
.uam_group_info_link { |
| 151 |
cursor: pointer; |
| 152 |
font-weight: bold; |
| 153 |
} |
| 154 |
|
| 155 |
.uam_group_info ul { |
| 156 |
display: block !important; |
| 157 |
padding: 0 !important; |
| 158 |
margin: 0 !important; |
| 159 |
list-style: none !important; |
| 160 |
} |
| 161 |
|
| 162 |
.uam_group_info ul li { |
| 163 |
padding: 0 !important; |
| 164 |
margin: 0 !important; |
| 165 |
} |
| 166 |
|
| 167 |
.uam_group_info ul li.recursiveTree ul li:before { |
| 168 |
content: "— "; |
| 169 |
} |
| 170 |
|
| 171 |
.uam_group_info ul li.recursiveTree ul li ul li:before { |
| 172 |
content: "—— "; |
| 173 |
} |
| 174 |
|
| 175 |
.uam_group_info ul li.recursiveTree ul li ul li ul li:before { |
| 176 |
content: "——— "; |
| 177 |
} |
| 178 |
|
| 179 |
.uam_group_info_head { |
| 180 |
list-style: none; |
| 181 |
font-weight: bold; |
| 182 |
} |
| 183 |
|
| 184 |
.uam_group_info_head ul { |
| 185 |
font-weight: normal; |
| 186 |
} |
| 187 |
|
| 188 |
.uam_group_selection_ajax li a, |
| 189 |
.uam_group_selection li a { |
| 190 |
vertical-align: middle; |
| 191 |
} |
| 192 |
|
| 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 { |
| 201 |
display: none; |
| 202 |
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 |
} |
| 217 |
|
| 218 |
.uam_flyout_panel_above { |
| 219 |
top: auto; |
| 220 |
bottom: 100%; |
| 221 |
margin-top: 0; |
| 222 |
margin-bottom: 4px; |
| 223 |
} |
| 224 |
|
| 225 |
.uam_flyout .uam_group_date_form { |
| 226 |
margin-left: 0; |
| 227 |
} |
| 228 |
|
| 229 |
#uam_dynamic_groups { |
| 230 |
vertical-align: middle; |
| 231 |
margin: 0 4px 0 0; |
| 232 |
} |
| 233 |
|
| 234 |
.uam_supporters { |
| 235 |
list-style: disc; |
| 236 |
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 |
} |