| @@ -1,118 +1,65 @@ | ||
| 1 | -/* Dashboard Widget */ | |
| 1 | +/* Stream Records */ | |
| 2 | 2 | |
| 3 | -#dashboard_stream_activity:hover .edit-box { | |
| 4 | - display: inline; | |
| 3 | +.toplevel_page_wp_stream .tablenav { | |
| 4 | + padding-top: 6px; | |
| 5 | 5 | } |
| 6 | 6 | |
| 7 | -#dashboard_stream_activity.postbox h3 { | |
| 8 | - border-bottom: 0; | |
| 7 | +.toplevel_page_wp_stream #record-actions-form { | |
| 8 | + margin-top: -32px; | |
| 9 | 9 | } |
| 10 | 10 | |
| 11 | -#dashboard_stream_activity h3 .postbox-title-action { | |
| 12 | - top: 6px; | |
| 11 | +.toplevel_page_wp_stream #record-actions-form .button { | |
| 12 | + margin-left: 6px; | |
| 13 | + float: left; | |
| 13 | 14 | } |
| 14 | 15 | |
| 15 | -#dashboard_stream_activity.postbox .inside, | |
| 16 | -#dashboard_stream_activity ul, | |
| 17 | -#dashboard_stream_activity ul li { | |
| 18 | - margin: 0; | |
| 16 | +.toplevel_page_wp_stream .tablenav .actions { | |
| 19 | 17 | padding: 0; |
| 18 | + overflow: visible; | |
| 20 | 19 | } |
| 21 | -#dashboard_stream_activity .alternate { | |
| 22 | - background-color: #fafafa; | |
| 23 | -} | |
| 24 | 20 | |
| 25 | -#dashboard_stream_activity .dashboard-widget-control-form, | |
| 26 | -#dashboard_stream_activity .no-records { | |
| 27 | - padding: 1em 12px; | |
| 21 | +.post-type-wp_stream_alerts .select2 .select2-selection, | |
| 22 | +.stream-exclude-list .select2 .select2-selection{ | |
| 23 | + border-color: #ccc; | |
| 24 | + background: #f7f7f7; | |
| 25 | + -webkit-box-shadow: 0 1px 0 #ccc; | |
| 26 | + box-shadow: 0 1px 0 #ccc; | |
| 28 | 27 | } |
| 29 | 28 | |
| 30 | -#dashboard_stream_activity ul { | |
| 31 | - border-bottom: 1px solid #eee; | |
| 29 | +.post-type-wp_stream_alerts .select2 .select2-selection--multiple, | |
| 30 | +.stream-exclude-list .select2 .select2-selection--multiple{ | |
| 31 | + font-size: 0; | |
| 32 | + min-height: 28px; | |
| 32 | 33 | } |
| 33 | 34 | |
| 34 | -#dashboard_stream_activity ul li, | |
| 35 | -#dashboard_stream_activity .sub-links { | |
| 36 | - padding: 1em 12px; | |
| 37 | - | |
| 38 | - -webkit-box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.06); | |
| 39 | - box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.06); | |
| 35 | +.post-type-wp_stream_alerts .select2-container.select2-container--focus .select2-selection--multiple, | |
| 36 | +.stream-exclude-list .select2-container.select2-container--focus .select2-selection--multiple{ | |
| 37 | + border: solid #ccc 1px; | |
| 40 | 38 | } |
| 41 | 39 | |
| 42 | -#dashboard_stream_activity .record-avatar { | |
| 43 | - float: left; | |
| 44 | - margin-right: 10px; | |
| 40 | +.post-type-wp_stream_alerts .select2-container .select2-selection--multiple .select2-selection__choice, | |
| 41 | +.stream-exclude-list .select2-container .select2-selection--multiple .select2-selection__choice{ | |
| 42 | + margin-top: 4px; | |
| 43 | + margin-bottom: 3px; | |
| 45 | 44 | } |
| 46 | 45 | |
| 47 | -#dashboard_stream_activity .record-avatar a { | |
| 48 | - display: block; | |
| 46 | +.post-type-wp_stream_alerts .select2 .select2-selection .select2-selection__rendered, | |
| 47 | +.stream-exclude-list .select2 .select2-selection .select2-selection__rendered{ | |
| 48 | + color: #555; | |
| 49 | 49 | } |
| 50 | -#dashboard_stream_activity .record-avatar img { | |
| 51 | - width: 36px; | |
| 52 | - height: 36px; | |
| 53 | -} | |
| 54 | 50 | |
| 55 | -#dashboard_stream_activity .record-meta { | |
| 56 | - color: #666; | |
| 57 | -} | |
| 58 | - | |
| 59 | -#dashboard_stream_activity .sub-links { | |
| 60 | - padding: 12px; | |
| 61 | -} | |
| 62 | - | |
| 63 | -#dashboard_stream_activity .tablenav { | |
| 64 | - clear: none; | |
| 65 | - margin: 4px 0 6px; | |
| 66 | -} | |
| 67 | - | |
| 68 | -#dashboard_stream_activity .tablenav .tablenav-pages { | |
| 69 | - margin-right: 6px; | |
| 70 | -} | |
| 71 | - | |
| 72 | -#dashboard_stream_activity .view-all { | |
| 73 | - float: left; | |
| 74 | - margin: 7px 0 0 12px; | |
| 75 | -} | |
| 76 | - | |
| 77 | -@media only screen and (max-width: 782px) { | |
| 78 | - #dashboard_stream_activity h3 .postbox-title-action { | |
| 79 | - top: 10px; | |
| 80 | - } | |
| 81 | - #dashboard_stream_activity .view-all { | |
| 82 | - display: none; | |
| 83 | - } | |
| 84 | - #dashboard_stream_activity .tablenav .tablenav-pages { | |
| 85 | - margin: 15px 0; | |
| 86 | - } | |
| 87 | -} | |
| 88 | - | |
| 89 | - | |
| 90 | -/* Stream Records */ | |
| 91 | - | |
| 92 | -.toplevel_page_wp_stream .tablenav { | |
| 93 | - padding-top: 6px; | |
| 94 | -} | |
| 95 | - | |
| 96 | -.toplevel_page_wp_stream .tablenav.bottom .button { | |
| 97 | - margin-right: 6px; | |
| 98 | -} | |
| 99 | - | |
| 100 | -.toplevel_page_wp_stream .tablenav .actions { | |
| 101 | - padding: 0; | |
| 102 | - overflow: visible; | |
| 103 | -} | |
| 104 | - | |
| 105 | 51 | #record-query-reset { |
| 106 | 52 | position: relative; |
| 107 | 53 | margin-left: 5px; |
| 108 | 54 | line-height: 28px; |
| 109 | 55 | text-decoration: none; |
| 56 | + display: inline-block; | |
| 110 | 57 | } |
| 111 | 58 | |
| 112 | 59 | #record-query-reset span.dashicons { |
| 113 | 60 | position: absolute; |
| 114 | - top: 2px; | |
| 61 | + top: 0.5em; | |
| 115 | 62 | left: 0; |
| 116 | 63 | font-size: 13px; |
| 117 | 64 | } |
| 118 | 65 | |
| @@ -137,32 +84,76 @@ | ||
| 137 | 84 | .toplevel_page_wp_stream .manage-column { |
| 138 | 85 | width: 12%; |
| 139 | 86 | } |
| 140 | 87 | |
| 141 | -.toplevel_page_wp_stream .manage-column.column-date { | |
| 142 | - width: 10%; | |
| 88 | +.toplevel_page_wp_stream .column-date { | |
| 89 | + width: 120px; | |
| 90 | + white-space: nowrap; | |
| 143 | 91 | } |
| 144 | 92 | |
| 145 | -.toplevel_page_wp_stream .manage-column.column-author { | |
| 93 | +.toplevel_page_wp_stream .column-date .timeago { | |
| 94 | + display: inline-block; | |
| 95 | + overflow: hidden; | |
| 96 | + text-overflow: ellipsis; | |
| 97 | + max-width: 100%; | |
| 98 | +} | |
| 99 | + | |
| 100 | +.toplevel_page_wp_stream .column-user_id { | |
| 146 | 101 | width: 18%; |
| 147 | 102 | } |
| 148 | 103 | |
| 149 | -.toplevel_page_wp_stream .manage-column.column-summary { | |
| 104 | +.toplevel_page_wp_stream .column-summary { | |
| 150 | 105 | width: auto; |
| 151 | 106 | } |
| 152 | 107 | |
| 108 | +/* | |
| 109 | +Ensure the summary column is not squeezed if there are custom columns added. | |
| 110 | + | |
| 111 | +This is because columns width is set to 12% by default (above). Adding a single | |
| 112 | +custom column leaves less space for the auto-width summary column. Having 2 or | |
| 113 | +more custom columns squeezes the summary column to a narrow strip. | |
| 114 | +*/ | |
| 115 | +.toplevel_page_wp_stream :where(.wp-list-table tr:has(> *:nth-child(7))) .column-summary { | |
| 116 | + width: 30%; | |
| 117 | +} | |
| 118 | + | |
| 119 | +.toplevel_page_wp_stream .column-ip { | |
| 120 | + white-space: nowrap; | |
| 121 | + overflow: hidden; | |
| 122 | + text-overflow: ellipsis; | |
| 123 | +} | |
| 124 | + | |
| 153 | 125 | .toplevel_page_wp_stream .stream-filter-object-id { |
| 154 | 126 | padding-left: 5px; |
| 155 | 127 | visibility: hidden; |
| 156 | 128 | } |
| 157 | -.toplevel_page_wp_stream td.summary:hover .stream-filter-object-id { | |
| 129 | + | |
| 130 | +.toplevel_page_wp_stream td.summary:hover .stream-filter-object-id{ | |
| 158 | 131 | visibility: visible; |
| 159 | 132 | } |
| 160 | 133 | |
| 134 | +.toplevel_page_wp_stream .tablenav .stream-export-tablenav { | |
| 135 | + margin-top: 6px; | |
| 136 | + height: 28px; | |
| 137 | + float: right; | |
| 138 | +} | |
| 139 | + | |
| 140 | +.toplevel_page_wp_stream .tablenav .stream-export-tablenav a { | |
| 141 | + margin-top: 0; | |
| 142 | +} | |
| 143 | + | |
| 161 | 144 | @media only screen and (min-width: 782px) { |
| 162 | 145 | .toplevel_page_wp_stream .tablenav .tablenav-pages { |
| 163 | 146 | margin-bottom: 4px; |
| 164 | 147 | } |
| 148 | + .toplevel_page_wp_stream .tablenav .stream-export-tablenav { | |
| 149 | + margin-bottom: 4px; | |
| 150 | + float: left; | |
| 151 | + } | |
| 152 | + .toplevel_page_wp_stream .tablenav .stream-export-tablenav a { | |
| 153 | + margin-top: 5px; | |
| 154 | + display: inline-block; | |
| 155 | + } | |
| 165 | 156 | } |
| 166 | 157 | |
| 167 | 158 | @media only screen and (max-width: 782px) { |
| 168 | 159 | .toplevel_page_wp_stream .tablenav.bottom .displaying-num { |
| @@ -172,19 +163,20 @@ | ||
| 172 | 163 | |
| 173 | 164 | @media only screen and (max-width: 900px) { |
| 174 | 165 | .toplevel_page_wp_stream .fixed .manage-column, |
| 175 | 166 | .toplevel_page_wp_stream .fixed tbody tr td { |
| 176 | - display: none; | |
| 167 | + display: none !important; | |
| 177 | 168 | } |
| 178 | 169 | .toplevel_page_wp_stream .fixed .column-date, |
| 179 | 170 | .toplevel_page_wp_stream .fixed .column-summary, |
| 180 | - .toplevel_page_wp_stream .fixed .column-author { | |
| 181 | - display: table-cell; | |
| 171 | + .toplevel_page_wp_stream .fixed .column-user_id, | |
| 172 | + .toplevel_page_wp_stream .fixed tbody tr.no-items td { | |
| 173 | + display: table-cell !important; | |
| 182 | 174 | } |
| 183 | 175 | .toplevel_page_wp_stream .fixed .column-date { |
| 184 | 176 | width: 100px; |
| 185 | 177 | } |
| 186 | - .toplevel_page_wp_stream .fixed .column-author { | |
| 178 | + .toplevel_page_wp_stream .fixed .column-user_id { | |
| 187 | 179 | width: 50%; |
| 188 | 180 | } |
| 189 | 181 | .toplevel_page_wp_stream .fixed .column-summary { |
| 190 | 182 | width: 100%; |
| @@ -191,26 +183,29 @@ | ||
| 191 | 183 | } |
| 192 | 184 | } |
| 193 | 185 | |
| 194 | 186 | @media only screen and (max-width: 480px) { |
| 195 | - .toplevel_page_wp_stream .fixed .column-author { | |
| 187 | + .toplevel_page_wp_stream .fixed .column-user_id { | |
| 196 | 188 | display: none; |
| 197 | 189 | } |
| 198 | 190 | } |
| 199 | 191 | |
| 200 | -.toplevel_page_wp_stream .column-author a { | |
| 192 | +.toplevel_page_wp_stream .wp-list-table tr td::before { | |
| 193 | + content: "" !important; | |
| 194 | +} | |
| 195 | + | |
| 196 | +.toplevel_page_wp_stream .column-user_id a { | |
| 201 | 197 | vertical-align: top; |
| 202 | 198 | } |
| 203 | 199 | |
| 204 | -.toplevel_page_wp_stream .column-author img { | |
| 200 | +.toplevel_page_wp_stream .column-user_id img { | |
| 205 | 201 | float: left; |
| 206 | - margin-right: 10px; | |
| 207 | - margin-top: 1px; | |
| 208 | - width: 40px; | |
| 209 | - height: 40px; | |
| 202 | + margin: 1px 10px 8px 0; | |
| 203 | + width: 32px; | |
| 204 | + height: 32px; | |
| 210 | 205 | } |
| 211 | 206 | |
| 212 | -.toplevel_page_wp_stream .column-author .deleted { | |
| 207 | +.toplevel_page_wp_stream .column-user_id .deleted { | |
| 213 | 208 | font-style: italic; |
| 214 | 209 | color: #aaa; |
| 215 | 210 | } |
| 216 | 211 | |
| @@ -247,12 +242,12 @@ | ||
| 247 | 242 | #dashboard_stream_activity .new-row { |
| 248 | 243 | background-color: #ffffe0 !important; |
| 249 | 244 | |
| 250 | 245 | -webkit-transition: background 0.5s linear; |
| 251 | - -moz-transition: background 0.5s linear; | |
| 252 | - -ms-transition: background 0.5s linear; | |
| 253 | - -o-transition: background 0.5s linear; | |
| 254 | - transition: background 0.5s linear; | |
| 246 | + -moz-transition: background 0.5s linear; | |
| 247 | + -ms-transition: background 0.5s linear; | |
| 248 | + -o-transition: background 0.5s linear; | |
| 249 | + transition: background 0.5s linear; | |
| 255 | 250 | } |
| 256 | 251 | |
| 257 | 252 | .toplevel_page_wp_stream .new-row.alternate, |
| 258 | 253 | #dashboard_stream_activity .new-row.alternate { |
| @@ -268,34 +263,49 @@ | ||
| 268 | 263 | #dashboard_stream_activity .new-row.alternate.fadeout { |
| 269 | 264 | background-color: #f9f9f9 !important; |
| 270 | 265 | } |
| 271 | 266 | |
| 272 | -.toplevel_page_wp_stream #the-list .no-items .stream-list-table-upgrade { | |
| 267 | +.toplevel_page_wp_stream #the-list .no-items .stream-list-table-no-items { | |
| 273 | 268 | text-align: center; |
| 274 | 269 | } |
| 275 | 270 | |
| 271 | +.toplevel_page_wp_stream #the-list .no-items .stream-list-table-no-items p { | |
| 272 | + margin: 2px 0; | |
| 273 | +} | |
| 276 | 274 | |
| 275 | + | |
| 277 | 276 | /* Settings */ |
| 278 | 277 | |
| 279 | -.wp_stream_settings .nav-tab-wrapper a:not(.nav-tab-active) { | |
| 280 | - border-bottom: 1px solid #ccc; | |
| 278 | +.wp_stream_settings .select2.select2-container, | |
| 279 | +.wp_stream_network_settings .select2.select2-container, | |
| 280 | +.wp_stream_default_settings .select2.select2-container { | |
| 281 | + min-width: 160px; | |
| 282 | + max-width: 100%; | |
| 281 | 283 | } |
| 282 | 284 | |
| 283 | -.wp_stream_settings .select2-container { | |
| 284 | - width: 100%; | |
| 285 | +.wp_stream_settings .tablenav, | |
| 286 | +.wp_stream_network_settings .tablenav, | |
| 287 | +.wp_stream_default_settings .tablenav { | |
| 288 | + margin-top: 16px; | |
| 285 | 289 | } |
| 286 | 290 | |
| 287 | -.wp_stream_settings .tablenav { | |
| 288 | - margin-top: 16px; | |
| 291 | +.wp_stream_settings .tablenav input, | |
| 292 | +.wp_stream_network_settings .tablenav input, | |
| 293 | +.wp_stream_default_settings .tablenav input { | |
| 294 | + margin-right: 1em; | |
| 289 | 295 | } |
| 290 | 296 | |
| 291 | -.wp_stream_settings .tablenav input { | |
| 292 | - margin-right: 1em; | |
| 297 | +.post-type-wp_stream_alerts a.warning { | |
| 298 | + color: #a00; | |
| 293 | 299 | } |
| 294 | 300 | |
| 301 | +.post-type-wp_stream_alerts a.warning:hover { | |
| 302 | + color: #f00; | |
| 303 | +} | |
| 304 | + | |
| 295 | 305 | /* Date Interval Common */ |
| 296 | 306 | |
| 297 | -.wp_stream_screen .date-interval .field-predefined { | |
| 307 | +.post-type-wp_stream_alerts .date-interval .field-predefined { | |
| 298 | 308 | width: 165px; |
| 299 | 309 | float: left; |
| 300 | 310 | margin-right: 6px; |
| 301 | 311 | margin-bottom: 6px; |
| @@ -300,16 +310,16 @@ | ||
| 300 | 310 | margin-right: 6px; |
| 301 | 311 | margin-bottom: 6px; |
| 302 | 312 | } |
| 303 | 313 | |
| 304 | -.wp_stream_screen .date-interval .date-inputs { | |
| 314 | +.post-type-wp_stream_alerts .date-interval .date-inputs { | |
| 305 | 315 | float: left; |
| 306 | 316 | margin-right: 6px; |
| 307 | 317 | margin-bottom: 6px; |
| 308 | 318 | } |
| 309 | 319 | |
| 310 | -.wp_stream_screen .date-interval .date-inputs .field-to, | |
| 311 | -.wp_stream_screen .date-interval .date-inputs .field-from { | |
| 320 | +.post-type-wp_stream_alerts .date-interval .date-inputs .field-to, | |
| 321 | +.post-type-wp_stream_alerts .date-interval .date-inputs .field-from { | |
| 312 | 322 | line-height: 28px; |
| 313 | 323 | height: 28px; |
| 314 | 324 | margin: 0; |
| 315 | 325 | width: 125px; |
| @@ -314,15 +324,15 @@ | ||
| 314 | 324 | margin: 0; |
| 315 | 325 | width: 125px; |
| 316 | 326 | } |
| 317 | 327 | |
| 318 | -.wp_stream_screen .date-interval .date-inputs .box { | |
| 328 | +.post-type-wp_stream_alerts .date-interval .date-inputs .box { | |
| 319 | 329 | position: relative; |
| 320 | 330 | display: block; |
| 321 | 331 | float: left; |
| 322 | 332 | } |
| 323 | 333 | |
| 324 | -.wp_stream_screen .date-interval .date-inputs .box .date-remove { | |
| 334 | +.post-type-wp_stream_alerts .date-interval .date-inputs .box .date-remove { | |
| 325 | 335 | display: none; |
| 326 | 336 | position: absolute; |
| 327 | 337 | cursor: pointer; |
| 328 | 338 | top: 0; |
| @@ -334,13 +344,13 @@ | ||
| 334 | 344 | padding-top: 1px; |
| 335 | 345 | padding-right: 2px; |
| 336 | 346 | } |
| 337 | 347 | |
| 338 | -.wp_stream_screen .date-interval .date-inputs .box .date-remove:before { | |
| 348 | +.post-type-wp_stream_alerts .date-interval .date-inputs .box .date-remove:before { | |
| 339 | 349 | content: '\f158'; |
| 340 | 350 | } |
| 341 | 351 | |
| 342 | -.wp_stream_screen .date-interval .date-inputs .connector { | |
| 352 | +.post-type-wp_stream_alerts .date-interval .date-inputs .connector { | |
| 343 | 353 | display: block; |
| 344 | 354 | float: left; |
| 345 | 355 | border: 1px solid #ddd; |
| 346 | 356 | border-left: 0; |
| @@ -352,9 +362,9 @@ | ||
| 352 | 362 | text-align: center; |
| 353 | 363 | font-size: 14px; |
| 354 | 364 | } |
| 355 | 365 | |
| 356 | -.wp_stream_screen .date-interval .date-inputs .connector:before { | |
| 366 | +.post-type-wp_stream_alerts .date-interval .date-inputs .connector:before { | |
| 357 | 367 | content: '\f345'; |
| 358 | 368 | } |
| 359 | 369 | |
| 360 | 370 | |
| @@ -359,57 +369,52 @@ | ||
| 359 | 369 | |
| 360 | 370 | |
| 361 | 371 | /* Select2 Common */ |
| 362 | 372 | |
| 363 | -.wp_stream_screen li.select2-searching, | |
| 364 | -.wp_stream_settings li.select2-searching, | |
| 365 | -.wp_stream_screen li.select2-no-results, | |
| 366 | -.wp_stream_settings li.select2-no-results { | |
| 373 | +.post-type-wp_stream_alerts li.select2-searching, | |
| 374 | +.post-type-wp_stream_alerts li.select2-no-results { | |
| 367 | 375 | background: none; |
| 368 | 376 | padding: 7px 7px 0; |
| 369 | 377 | color: #999; |
| 370 | 378 | } |
| 371 | 379 | |
| 372 | -.wp_stream_screen li.select2-result, | |
| 373 | -.wp_stream_settings li.select2-result { | |
| 374 | - margin-bottom: 0; | |
| 380 | +.post-type-wp_stream_alerts .select2 .select2-selection .select2-selection__placeholder { | |
| 381 | + color: #72777c; | |
| 375 | 382 | } |
| 376 | 383 | |
| 377 | -.wp_stream_screen li.select2-result.level-1 { | |
| 378 | - font-weight: bold; | |
| 384 | +.post-type-wp_stream_alerts .select2-results .select2-disabled { | |
| 385 | + background: transparent; | |
| 386 | + color: #aaa; | |
| 379 | 387 | } |
| 380 | 388 | |
| 381 | -.wp_stream_screen li.select2-result.level-2 { | |
| 382 | - padding-left: 1em; | |
| 389 | +.post-type-wp_stream_alerts .select2 .select2-search--inline { | |
| 390 | + float: none; | |
| 391 | + margin-bottom: 4px; | |
| 392 | + margin-left: 2px; | |
| 383 | 393 | } |
| 384 | 394 | |
| 385 | -.wp_stream_screen .select2-results .select2-disabled { | |
| 386 | - background: transparent; | |
| 387 | - color: #aaa; | |
| 388 | -} | |
| 389 | - | |
| 390 | -.wp_stream_screen .select2-search-choice .icon16 { | |
| 391 | - margin: -6px 1px 0 -3px; | |
| 395 | +.post-type-wp_stream_alerts .select2-selection .icon16 { | |
| 396 | + margin: -3px 1px 0 -3px; | |
| 392 | 397 | padding: 0; |
| 393 | 398 | width: 16px; |
| 394 | 399 | height: 16px; |
| 395 | 400 | } |
| 396 | 401 | |
| 397 | -.wp_stream_screen .select2-chosen .icon16 { | |
| 398 | - padding-right: 1px; | |
| 402 | +.post-type-wp_stream_alerts .select2-selection .icon16 { | |
| 403 | + padding-right: 8px; | |
| 399 | 404 | } |
| 400 | 405 | |
| 401 | -.wp_stream_screen .select2-chosen .icon16:before, | |
| 402 | -.wp_stream_screen .select2-search-choice .icon16:before { | |
| 406 | +.post-type-wp_stream_alerts .select2-chosen .icon16:before, | |
| 407 | +.post-type-wp_stream_alerts .select2-search-choice .icon16:before { | |
| 403 | 408 | font-size: 15px !important; |
| 404 | 409 | color: #656565; |
| 405 | 410 | } |
| 406 | 411 | |
| 407 | -.wp_stream_screen .select2-search-choice-close { | |
| 412 | +.post-type-wp_stream_alerts .select2-search-choice-close { | |
| 408 | 413 | -webkit-transition: none; |
| 409 | - -moz-transition: none; | |
| 410 | - -o-transition: all 0 none; | |
| 411 | - transition: none; | |
| 414 | + -moz-transition: none; | |
| 415 | + -o-transition: all 0 none; | |
| 416 | + transition: none; | |
| 412 | 417 | } |
| 413 | 418 | |
| 414 | 419 | .wp-stream-select2-icon { |
| 415 | 420 | position: relative; |
| @@ -419,12 +424,12 @@ | ||
| 419 | 424 | height: 16px; |
| 420 | 425 | } |
| 421 | 426 | |
| 422 | 427 | .select2-disabled .wp-stream-select2-icon { |
| 423 | - filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/></filter></svg>#grayscale"); /* Firefox 3.5+ */ | |
| 424 | - filter: gray; /* IE6-9 */ | |
| 428 | + filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/></filter></svg>#grayscale"); /* Firefox 3.5+ */ | |
| 429 | + filter: gray; /* IE6-9 */ | |
| 425 | 430 | -webkit-filter: grayscale(100%); /* Chrome 19+ & Safari 6+ */ |
| 426 | - -moz-filter: grayscale(100%); /* Firefox < 3.5 */ | |
| 431 | + -moz-filter: grayscale(100%); /* Firefox < 3.5 */ | |
| 427 | 432 | } |
| 428 | 433 | |
| 429 | 434 | |
| 430 | 435 | /* Exclude List Table */ |
| @@ -485,9 +490,24 @@ | ||
| 485 | 490 | .stream-exclude-list tbody td .ip_address.invalid { |
| 486 | 491 | border: 1px solid rgba(160,0,0,0.75); |
| 487 | 492 | } |
| 488 | 493 | |
| 494 | +.stream-exclude-list .icon-users { | |
| 495 | + top: -3px !important; | |
| 496 | + position: relative !important; | |
| 497 | +} | |
| 498 | + | |
| 499 | +.wp_stream_screen .select2-results__option .parent { | |
| 500 | + font-weight: bold; | |
| 501 | +} | |
| 502 | + | |
| 503 | +.wp_stream_screen .select2-results__option .child { | |
| 504 | + padding-left: 8px; | |
| 505 | +} | |
| 506 | + | |
| 489 | 507 | @media screen and ( max-width: 900px ) { |
| 508 | + .wp_stream_settings .stream-exclude-list .actions-column, | |
| 509 | + .wp_stream_network_settings .stream-exclude-list .actions-column, | |
| 490 | 510 | .wp_stream_settings .stream-exclude-list .actions-column { |
| 491 | 511 | display: none; |
| 492 | 512 | } |
| 493 | 513 | } |
| @@ -492,228 +512,70 @@ | ||
| 492 | 512 | } |
| 493 | 513 | } |
| 494 | 514 | |
| 495 | 515 | @media screen and ( max-width: 782px ) { |
| 496 | - .wp_stream_settings .stream-exclude-list td { | |
| 516 | + .toplevel_page_wp_stream #record-actions-form { | |
| 517 | + margin-top: 0; | |
| 518 | + margin-bottom: 35px; | |
| 519 | + } | |
| 520 | + | |
| 521 | + .wp_stream_settings .stream-exclude-list td, | |
| 522 | + .wp_stream_network_settings .stream-exclude-list td, | |
| 523 | + .wp_stream_default_settings .stream-exclude-list td { | |
| 497 | 524 | padding: 10px 10px 0 0; |
| 498 | 525 | } |
| 499 | 526 | |
| 500 | - .wp_stream_settings .stream-exclude-list th { | |
| 527 | + .wp_stream_settings .stream-exclude-list th, | |
| 528 | + .wp_stream_network_settings .stream-exclude-list th, | |
| 529 | + .wp_stream_default_settings .stream-exclude-list th { | |
| 501 | 530 | display: none; |
| 502 | 531 | } |
| 503 | 532 | |
| 504 | - .wp_stream_settings .stream-exclude-list .check-column { | |
| 533 | + .wp_stream_settings .stream-exclude-list .check-column, | |
| 534 | + .wp_stream_network_settings .stream-exclude-list .check-column, | |
| 535 | + .wp_stream_default_settings .stream-exclude-list .check-column { | |
| 505 | 536 | display: table-cell; |
| 506 | 537 | padding: 13px 10px 0 3px; |
| 507 | 538 | } |
| 508 | 539 | |
| 509 | - .wp_stream_settings .stream-exclude-list thead .actions-column { | |
| 540 | + .wp_stream_settings .stream-exclude-list thead .actions-column, | |
| 541 | + .wp_stream_network_settings .stream-exclude-list thead .actions-column, | |
| 542 | + .wp_stream_default_settings .stream-exclude-list thead .actions-column { | |
| 510 | 543 | display: table-cell; |
| 511 | 544 | width: auto; |
| 512 | 545 | } |
| 513 | 546 | |
| 514 | - .wp_stream_settings .stream-exclude-list thead .actions-column .hidden { | |
| 547 | + .wp_stream_settings .stream-exclude-list thead .actions-column .hidden, | |
| 548 | + .wp_stream_network_settings .stream-exclude-list thead .actions-column .hidden, | |
| 549 | + .wp_stream_default_settings .stream-exclude-list thead .actions-column .hidden { | |
| 515 | 550 | display: block; |
| 516 | 551 | } |
| 517 | 552 | |
| 518 | - .wp_stream_settings .stream-exclude-list tfoot { | |
| 553 | + .wp_stream_settings .stream-exclude-list tfoot, | |
| 554 | + .wp_stream_network_settings .stream-exclude-list tfoot, | |
| 555 | + .wp_stream_default_settings .stream-exclude-list tfoot { | |
| 519 | 556 | display: none; |
| 520 | 557 | } |
| 521 | 558 | } |
| 522 | 559 | |
| 523 | 560 | |
| 524 | -/* User Profile */ | |
| 525 | - | |
| 526 | -.wp-stream-feeds-key .spinner { | |
| 527 | - margin-top: 5px; | |
| 528 | - position: absolute; | |
| 529 | - float: none; | |
| 561 | +.toplevel_page_wp_stream .alert-highlight.highlight-yellow { | |
| 562 | + background-color: #ffffe0; | |
| 530 | 563 | } |
| 531 | 564 | |
| 532 | - | |
| 533 | -/* Extensions */ | |
| 534 | - | |
| 535 | -.post-type-stream-notification .view-switch, | |
| 536 | -.stream_page_wp_stream_reports.wp_stream_restricted #wpbody, | |
| 537 | -.post-type-stream_notification.wp_stream_restricted #wpbody { | |
| 538 | - display: none; | |
| 565 | +.toplevel_page_wp_stream .alert-highlight.highlight-red { | |
| 566 | + background-color: #fbeaea; | |
| 539 | 567 | } |
| 540 | 568 | |
| 541 | -.stream-example { | |
| 542 | - position: fixed; | |
| 543 | - width: calc(100% - 180px); | |
| 544 | - height: 100%; | |
| 545 | - background-repeat: no-repeat; | |
| 569 | +.toplevel_page_wp_stream .alert-highlight.highlight-green { | |
| 570 | + background-color: #ecf7ed; | |
| 546 | 571 | } |
| 547 | 572 | |
| 548 | -.post-type-stream_notification .stream-example { | |
| 549 | - background-image: url(../../extensions/notifications/ui/images/stream-notifications-example.jpg); | |
| 573 | +.toplevel_page_wp_stream .alert-highlight.highlight-blue { | |
| 574 | + background-color: #e5f5fa; | |
| 550 | 575 | } |
| 551 | 576 | |
| 552 | -.stream_page_wp_stream_reports .stream-example { | |
| 553 | - background-image: url(../../extensions/reports/ui/images/stream-reports-example.jpg); | |
| 554 | -} | |
| 577 | +/* Extensions */ | |
| 555 | 578 | |
| 556 | -body.folded .stream-example { | |
| 557 | - width: calc(100% - 56px); | |
| 558 | -} | |
| 559 | - | |
| 560 | -.stream-example-modal { | |
| 561 | - position: absolute; | |
| 562 | - left: 50%; | |
| 563 | - top: 40%; | |
| 564 | - width: 40%; | |
| 565 | - min-width: 550px; | |
| 566 | - height: auto; | |
| 567 | - text-align: center; | |
| 568 | - padding: 20px; | |
| 569 | - background: #fff; | |
| 570 | - | |
| 571 | - -webkit-transform: translate(-50%, -50%); | |
| 572 | - -ms-transform: translate(-50%, -50%); | |
| 573 | - transform: translate(-50%, -50%); | |
| 574 | - | |
| 575 | - -webkit-box-shadow: 0 1px 20px 5px rgba(0, 0, 0, 0.1); | |
| 576 | - -moz-box-shadow: 0 1px 20px 5px rgba(0, 0, 0, 0.1); | |
| 577 | - box-shadow: 0 1px 20px 5px rgba(0, 0, 0, 0.1); | |
| 578 | -} | |
| 579 | - | |
| 580 | -.stream-example-modal h1, | |
| 581 | -.stream-example-modal p, | |
| 582 | -.stream-example-modal li { | |
| 583 | - -webkit-font-smoothing: antialiased; | |
| 584 | - -moz-osx-font-smoothing: grayscale; | |
| 585 | -} | |
| 586 | - | |
| 587 | -.stream-example-modal h1 i { | |
| 588 | - width: 26px; | |
| 589 | - height: 26px; | |
| 590 | - margin-top: -4px; | |
| 591 | - font-size: 26px; | |
| 592 | -} | |
| 593 | - | |
| 594 | -.stream-example-modal p { | |
| 595 | - font-size: 1.4em; | |
| 596 | -} | |
| 597 | - | |
| 598 | -.stream-example-modal li { | |
| 599 | - font-size: 1.1em; | |
| 600 | -} | |
| 601 | - | |
| 602 | -.stream-example-modal li i { | |
| 603 | - color: #299d30; | |
| 604 | -} | |
| 605 | - | |
| 606 | -.stream-example-modal .button { | |
| 607 | - margin: 5px 0 10px; | |
| 608 | -} | |
| 609 | - | |
| 610 | -@media all and (max-width: 900px) { | |
| 611 | - .stream-example { | |
| 612 | - width: calc(100% - 56px); | |
| 613 | - } | |
| 614 | - | |
| 615 | - .stream-example-modal { | |
| 616 | - top:60px; | |
| 617 | - width: 80%; | |
| 618 | - min-width: 0; | |
| 619 | - | |
| 620 | - -webkit-transform: translate(-50%, 0); | |
| 621 | - -ms-transform: translate(-50%, 0); | |
| 622 | - transform: translate(-50%, 0); | |
| 623 | - } | |
| 624 | -} | |
| 625 | - | |
| 626 | -@media all and (max-width: 782px) { | |
| 627 | - .stream-example { | |
| 628 | - left: 0; | |
| 629 | - width: 100% !important; | |
| 630 | - } | |
| 631 | -} | |
| 632 | - | |
| 633 | - | |
| 634 | -/* Stream Migrate Message */ | |
| 635 | - | |
| 636 | -#stream-migrate-progress { | |
| 579 | +.post-type-stream_notification .view-switch { | |
| 637 | 580 | display: none; |
| 638 | - height: 36px; | |
| 639 | - padding: 5px 0; | |
| 640 | -} | |
| 641 | - | |
| 642 | -#stream-migrate-progress progress { | |
| 643 | - width: 300px; | |
| 644 | - font-size: 18px; | |
| 645 | -} | |
| 646 | - | |
| 647 | -#stream-migrate-progress strong, | |
| 648 | -#stream-migrate-progress #stream-migrate-actions-close { | |
| 649 | - display: none; | |
| 650 | -} | |
| 651 | - | |
| 652 | -#stream-migrate-progress strong { | |
| 653 | - padding-left: 5px; | |
| 654 | -} | |
| 655 | - | |
| 656 | -#stream-migrate-progress strong, | |
| 657 | -#stream-migrate-progress em { | |
| 658 | - line-height: 28px; | |
| 659 | - padding-right: 10px; | |
| 660 | -} | |
| 661 | - | |
| 662 | -#stream-migrate-actions .button { | |
| 663 | - display: inline-block; | |
| 664 | - vertical-align: bottom !important; | |
| 665 | - margin: 0 10px 5px 0 !important; | |
| 666 | -} | |
| 667 | - | |
| 668 | -#stream-delete-records { | |
| 669 | - display: inline-block; | |
| 670 | - margin: 10px 0 5px; | |
| 671 | - color: #a00; | |
| 672 | -} | |
| 673 | - | |
| 674 | -#stream-delete-records:hover { | |
| 675 | - color: #f00; | |
| 676 | -} | |
| 677 | - | |
| 678 | - | |
| 679 | -/* Account Page */ | |
| 680 | - | |
| 681 | -.stream_page_wp_stream_account .postbox { | |
| 682 | - display: inline-block; | |
| 683 | - margin-top: 1em; | |
| 684 | - max-width: 100%; | |
| 685 | -} | |
| 686 | - | |
| 687 | -.stream_page_wp_stream_account .postbox h3 { | |
| 688 | - margin: 0; | |
| 689 | - padding: 8px 12px; | |
| 690 | - font-size: 14px; | |
| 691 | - line-height: 1.4; | |
| 692 | - border-bottom:1px solid #eee; | |
| 693 | -} | |
| 694 | - | |
| 695 | -.stream_page_wp_stream_account .postbox .form-table { | |
| 696 | - margin: 0; | |
| 697 | - max-width: 100%; | |
| 698 | -} | |
| 699 | - | |
| 700 | -.stream_page_wp_stream_account .plan-details { | |
| 701 | - padding: 0 12px; | |
| 702 | -} | |
| 703 | - | |
| 704 | -.stream_page_wp_stream_account .plan-actions { | |
| 705 | - min-height: 30px; | |
| 706 | - padding: 10px; | |
| 707 | - clear: both; | |
| 708 | - border-top: 1px solid #ddd; | |
| 709 | - background: #f5f5f5; | |
| 710 | -} | |
| 711 | - | |
| 712 | -.stream_page_wp_stream_account .disconnect { | |
| 713 | - float: right; | |
| 714 | - line-height: 28px; | |
| 715 | -} | |
| 716 | - | |
| 717 | -.stream_page_wp_stream_account .api-key { | |
| 718 | - word-wrap: break-word; | |
| 719 | 581 | } |