wp/wp-admin/css/common-rtl.css
changeset 22 8c2e4d02f4ef
parent 21 48c4eec2b7e6
equal deleted inserted replaced
21:48c4eec2b7e6 22:8c2e4d02f4ef
   121 /* Hide visually but not from screen readers */
   121 /* Hide visually but not from screen readers */
   122 .screen-reader-text,
   122 .screen-reader-text,
   123 .screen-reader-text span,
   123 .screen-reader-text span,
   124 .ui-helper-hidden-accessible {
   124 .ui-helper-hidden-accessible {
   125 	border: 0;
   125 	border: 0;
   126 	clip: rect(1px, 1px, 1px, 1px);
       
   127 	clip-path: inset(50%);
   126 	clip-path: inset(50%);
   128 	height: 1px;
   127 	height: 1px;
   129 	margin: -1px;
   128 	margin: -1px;
   130 	overflow: hidden;
   129 	overflow: hidden;
   131 	padding: 0;
   130 	padding: 0;
   915 .privacy_requests .remove-personal-data .remove-personal-data-handle:hover {
   914 .privacy_requests .remove-personal-data .remove-personal-data-handle:hover {
   916 	color: #b32d2e;
   915 	color: #b32d2e;
   917 	border: none;
   916 	border: none;
   918 }
   917 }
   919 
   918 
       
   919 .application-password-display .success {
       
   920     color: #007017;
       
   921     margin-right: 0.5rem;
       
   922 }
       
   923 
   920 /*------------------------------------------------------------------------------
   924 /*------------------------------------------------------------------------------
   921   3.0 - Actions
   925   3.0 - Actions
   922 ------------------------------------------------------------------------------*/
   926 ------------------------------------------------------------------------------*/
   923 
   927 
   924 #major-publishing-actions {
   928 #major-publishing-actions {
  1110 	flex-wrap: wrap;
  1114 	flex-wrap: wrap;
  1111 	justify-content: space-between;
  1115 	justify-content: space-between;
  1112 	align-items: center;
  1116 	align-items: center;
  1113 }
  1117 }
  1114 
  1118 
  1115 .wp-filter .search-form.search-plugins {
       
  1116 	/* This element is a flex item: the inherited float won't have any effect. */
       
  1117 	margin-top: 0;
       
  1118 }
       
  1119 
       
  1120 .wp-filter .search-form.search-plugins select,
  1119 .wp-filter .search-form.search-plugins select,
  1121 .wp-filter .search-form.search-plugins .wp-filter-search,
  1120 .wp-filter .search-form.search-plugins .wp-filter-search,
  1122 .no-js .wp-filter .search-form.search-plugins .button {
  1121 .no-js .wp-filter .search-form.search-plugins .button {
  1123 	display: inline-block;
  1122 	display: inline-block;
  1124 	vertical-align: top;
  1123 	vertical-align: top;
  1177 	margin: 0 -20px 0 -10px;
  1176 	margin: 0 -20px 0 -10px;
  1178 	padding: 20px;
  1177 	padding: 20px;
  1179 	border-top: 1px solid #f0f0f1;
  1178 	border-top: 1px solid #f0f0f1;
  1180 	background: #f6f7f7;
  1179 	background: #f6f7f7;
  1181 	overflow: hidden;
  1180 	overflow: hidden;
       
  1181 }
       
  1182 
       
  1183 .wp-filter .favorites-form .favorites-username {
       
  1184 	display: flex;
       
  1185 	align-items: center;
       
  1186 	flex-wrap: wrap;
       
  1187 	gap: 0.5rem;
       
  1188 }
       
  1189 
       
  1190 .wp-filter .favorites-form .favorites-username input {
       
  1191 	margin: 0;
  1182 }
  1192 }
  1183 
  1193 
  1184 .show-filters .filter-drawer,
  1194 .show-filters .filter-drawer,
  1185 .show-favorites-form .favorites-form {
  1195 .show-favorites-form .favorites-form {
  1186 	display: block;
  1196 	display: block;
  1287 .filtered-by a {
  1297 .filtered-by a {
  1288 	margin-right: 10px;
  1298 	margin-right: 10px;
  1289 }
  1299 }
  1290 
  1300 
  1291 .filtered-by .tags {
  1301 .filtered-by .tags {
  1292 	display: inline;
  1302 	display: flex;
       
  1303 	align-items: flex-start;
       
  1304 	flex-wrap: wrap;
       
  1305 	gap: 8px;
  1293 }
  1306 }
  1294 
  1307 
  1295 .filtered-by .tag {
  1308 .filtered-by .tag {
  1296 	margin: 0 5px;
       
  1297 	padding: 4px 8px;
  1309 	padding: 4px 8px;
  1298 	border: 1px solid #dcdcde;
  1310 	border: 1px solid #dcdcde;
  1299 	box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
  1311 	box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
  1300 	background: #fff;
  1312 	background: #fff;
  1301 	font-size: 11px;
  1313 	font-size: 11px;
  1306 .filters-applied .filter-drawer br {
  1318 .filters-applied .filter-drawer br {
  1307 	display: none;
  1319 	display: none;
  1308 }
  1320 }
  1309 
  1321 
  1310 .filters-applied .filtered-by {
  1322 .filters-applied .filtered-by {
  1311 	display: block;
  1323 	display: flex;
       
  1324 	align-items: center;
       
  1325 	flex-wrap: wrap;
       
  1326 	gap: 10px;
  1312 }
  1327 }
  1313 
  1328 
  1314 .filters-applied .filter-drawer {
  1329 .filters-applied .filter-drawer {
  1315 	padding: 20px;
  1330 	padding: 20px;
  1316 }
  1331 }
  1329 
  1344 
  1330 .loading-content .spinner {
  1345 .loading-content .spinner {
  1331 	display: block;
  1346 	display: block;
  1332 	margin: 40px auto 0;
  1347 	margin: 40px auto 0;
  1333 	float: none;
  1348 	float: none;
       
  1349 }
       
  1350 
       
  1351 @media only screen and (max-width: 1138px) {
       
  1352 	.wp-filter .search-form {
       
  1353 		margin: 11px 0;
       
  1354 	}
  1334 }
  1355 }
  1335 
  1356 
  1336 @media only screen and (max-width: 1120px) {
  1357 @media only screen and (max-width: 1120px) {
  1337 	.filter-drawer {
  1358 	.filter-drawer {
  1338 		border-bottom: 1px solid #f0f0f1;
  1359 		border-bottom: 1px solid #f0f0f1;
  2030 /*------------------------------------------------------------------------------
  2051 /*------------------------------------------------------------------------------
  2031   8.0 - Layout Blocks
  2052   8.0 - Layout Blocks
  2032 ------------------------------------------------------------------------------*/
  2053 ------------------------------------------------------------------------------*/
  2033 
  2054 
  2034 html.wp-toolbar {
  2055 html.wp-toolbar {
  2035 	padding-top: 32px;
  2056 	padding-top: var(--wp-admin--admin-bar--height);
  2036 	box-sizing: border-box;
  2057 	box-sizing: border-box;
  2037 	-ms-overflow-style: scrollbar; /* See ticket #48545 */
  2058 	-ms-overflow-style: scrollbar; /* See ticket #48545 */
  2038 }
  2059 }
  2039 
  2060 
  2040 .widefat th,
  2061 .widefat th,
  2409 	line-height: 1.4;
  2430 	line-height: 1.4;
  2410 }
  2431 }
  2411 
  2432 
  2412 /* Back-compat for nav-menus screen */
  2433 /* Back-compat for nav-menus screen */
  2413 .nav-menus-php .metabox-holder h3 {
  2434 .nav-menus-php .metabox-holder h3 {
       
  2435 	padding: 0;
       
  2436 }
       
  2437 
       
  2438 .accordion-container h3.accordion-section-title {
       
  2439 	padding: 0 !important;
       
  2440 }
       
  2441 
       
  2442 .accordion-section-title button.accordion-trigger,
       
  2443 .nav-menus-php .metabox-holder .accordion-section-title button.accordion-trigger {
       
  2444 	background: inherit;
       
  2445 	color: #1d2327;
       
  2446 	display: block;
       
  2447 	position: relative;
       
  2448 	text-align: right;
       
  2449 	width: 100%;
       
  2450 	outline: none;
       
  2451 	border: 0;
  2414 	padding: 10px 14px 11px 10px;
  2452 	padding: 10px 14px 11px 10px;
  2415 	line-height: 1.5;
  2453 	line-height: 1.5;
       
  2454 	cursor: pointer;
       
  2455 }
       
  2456 
       
  2457 .accordion-section-title button.accordion-trigger:focus,
       
  2458 .nav-menus-php .metabox-holder .accordion-section-title button.accordion-trigger:focus {
       
  2459 	box-shadow: 0 0 0 2px #2271b1;
       
  2460 	outline: 2px solid transparent;
       
  2461 }
       
  2462 
       
  2463 .accordion-section-title span.dashicons.dashicons-arrow-down,
       
  2464 .nav-menus-php .metabox-holder .accordion-section-title span.dashicons.dashicons-arrow-down {
       
  2465 	position: absolute;
       
  2466 	left: 10px;
       
  2467 	right: auto;
       
  2468 	color: #787c82;
       
  2469 	border-radius: 50px;
       
  2470 	top: 50%;
       
  2471 	transform: translateY(-50%);
       
  2472 }
       
  2473 
       
  2474 .accordion-section-title:hover span.dashicons.dashicons-arrow-down,
       
  2475 .nav-menus-php .metabox-holder .accordion-section-title:hover span.dashicons.dashicons-arrow-down {
       
  2476 	color: #1d2327;
       
  2477 }
       
  2478 
       
  2479 .accordion-section-title span.dashicons.dashicons-arrow-down::before,
       
  2480 .nav-menus-php .metabox-holder .accordion-section-title span.dashicons.dashicons-arrow-down::before {
       
  2481 	position: relative;
       
  2482 	right: -1px;
       
  2483 }
       
  2484 
       
  2485 .accordion-section.open .accordion-section-title span.dashicons.dashicons-arrow-down,
       
  2486 .nav-menus-php .metabox-holder .accordion-section.open .accordion-section-title span.dashicons.dashicons-arrow-down {
       
  2487 	transform: rotate(-180deg) translate(0, 50%);
  2416 }
  2488 }
  2417 
  2489 
  2418 #templateside ul li a {
  2490 #templateside ul li a {
  2419 	text-decoration: none;
  2491 	text-decoration: none;
  2420 }
  2492 }
  3500 	margin: 25px;
  3572 	margin: 25px;
  3501 }
  3573 }
  3502 
  3574 
  3503 /* @todo: can we use a common class for these? */
  3575 /* @todo: can we use a common class for these? */
  3504 .nav-menus-php .item-edit:before,
  3576 .nav-menus-php .item-edit:before,
  3505 .widget-top .widget-action .toggle-indicator:before,
  3577 .wp-customizer .control-section .accordion-section-title:after,
  3506 .control-section .accordion-section-title:after,
  3578 .wp-customizer .accordion-section-title:after,
  3507 .accordion-section-title:after {
  3579 .widget-top .widget-action .toggle-indicator:before {
  3508 	content: "\f140";
  3580 	content: "\f140";
  3509 	font: normal 20px/1 dashicons;
  3581 	font: normal 20px/1 dashicons;
  3510 	speak: never;
  3582 	speak: never;
  3511 	display: block;
  3583 	display: block;
  3512 	-webkit-font-smoothing: antialiased;
  3584 	-webkit-font-smoothing: antialiased;
  3520 }
  3592 }
  3521 
  3593 
  3522 .handlediv,
  3594 .handlediv,
  3523 .postbox .handlediv.button-link,
  3595 .postbox .handlediv.button-link,
  3524 .item-edit,
  3596 .item-edit,
  3525 .toggle-indicator,
  3597 .toggle-indicator {
  3526 .accordion-section-title:after {
       
  3527 	color: #787c82;
  3598 	color: #787c82;
  3528 }
  3599 }
  3529 
  3600 
  3530 .widget-action {
  3601 .widget-action {
  3531 	color: #50575e; /* #fafafa background in the Widgets screen */
  3602 	color: #50575e; /* #fafafa background in the Widgets screen */
  3537 .handlediv:focus,
  3608 .handlediv:focus,
  3538 .postbox .handlediv.button-link:hover,
  3609 .postbox .handlediv.button-link:hover,
  3539 .postbox .handlediv.button-link:focus,
  3610 .postbox .handlediv.button-link:focus,
  3540 .item-edit:hover,
  3611 .item-edit:hover,
  3541 .item-edit:focus,
  3612 .item-edit:focus,
  3542 .sidebar-name:hover .toggle-indicator,
  3613 .sidebar-name:hover .toggle-indicator {
  3543 .accordion-section-title:hover:after {
       
  3544 	color: #1d2327;
  3614 	color: #1d2327;
  3545 	/* Only visible in Windows High Contrast mode */
  3615 	/* Only visible in Windows High Contrast mode */
  3546 	outline: 2px solid transparent;
  3616 	outline: 2px solid transparent;
  3547 }
  3617 }
  3548 
  3618 
  3550 	box-shadow: 0 0 0 2px #2271b1;
  3620 	box-shadow: 0 0 0 2px #2271b1;
  3551 	/* Only visible in Windows High Contrast mode */
  3621 	/* Only visible in Windows High Contrast mode */
  3552 	outline: 2px solid transparent;
  3622 	outline: 2px solid transparent;
  3553 }
  3623 }
  3554 
  3624 
  3555 .control-section .accordion-section-title:after,
       
  3556 .accordion-section-title:after {
       
  3557 	float: left;
       
  3558 	left: 20px;
       
  3559 	top: -2px;
       
  3560 }
       
  3561 
       
  3562 .control-section.open .accordion-section-title:after,
       
  3563 #customize-info.open .accordion-section-title:after,
  3625 #customize-info.open .accordion-section-title:after,
  3564 .nav-menus-php .menu-item-edit-active .item-edit:before,
  3626 .nav-menus-php .menu-item-edit-active .item-edit:before,
  3565 .widget.open .widget-top .widget-action .toggle-indicator:before,
  3627 .widget.open .widget-top .widget-action .toggle-indicator:before,
  3566 .widget.widget-in-question .widget-top .widget-action .toggle-indicator:before {
  3628 .widget.widget-in-question .widget-top .widget-action .toggle-indicator:before {
  3567 	content: "\f142";
  3629 	content: "\f142";
  3602 	background: #fff;
  3664 	background: #fff;
  3603 }
  3665 }
  3604 
  3666 
  3605 .accordion-section-title {
  3667 .accordion-section-title {
  3606 	margin: 0;
  3668 	margin: 0;
  3607 	padding: 12px 15px 15px;
       
  3608 	position: relative;
  3669 	position: relative;
  3609 	border-right: 1px solid #dcdcde;
  3670 	border-right: 1px solid #dcdcde;
  3610 	border-left: 1px solid #dcdcde;
  3671 	border-left: 1px solid #dcdcde;
  3611 	-webkit-user-select: none;
  3672 	-webkit-user-select: none;
  3612 	user-select: none;
  3673 	user-select: none;
  3839 
  3900 
  3840 }
  3901 }
  3841 
  3902 
  3842 @media screen and (max-width: 782px) {
  3903 @media screen and (max-width: 782px) {
  3843 	html.wp-toolbar {
  3904 	html.wp-toolbar {
  3844 		padding-top: 46px;
  3905 		padding-top: var(--wp-admin--admin-bar--height);
  3845 	}
  3906 	}
  3846 
  3907 
  3847 	.screen-reader-shortcut:focus {
  3908 	.screen-reader-shortcut:focus {
  3848 		top: -39px;
  3909 		top: -39px;
       
  3910 	}
       
  3911 
       
  3912 	.block-editor-page .screen-reader-shortcut:focus {
       
  3913 		top: 7px;
  3849 	}
  3914 	}
  3850 
  3915 
  3851 	body {
  3916 	body {
  3852 		min-width: 240px;
  3917 		min-width: 240px;
  3853 		overflow-x: hidden;
  3918 		overflow-x: hidden;
  3947 	.metabox-holder .postbox > h3, /* Back-compat for pre-4.4 */
  4012 	.metabox-holder .postbox > h3, /* Back-compat for pre-4.4 */
  3948 	.metabox-holder h2 {
  4013 	.metabox-holder h2 {
  3949 		padding: 12px;
  4014 		padding: 12px;
  3950 	}
  4015 	}
  3951 
  4016 
       
  4017 	.nav-menus-php .metabox-holder h3 {
       
  4018 		padding: 0;
       
  4019 	}
       
  4020 
  3952 	.postbox .handlediv {
  4021 	.postbox .handlediv {
  3953 		margin-top: 3px;
  4022 		margin-top: 3px;
  3954 	}
  4023 	}
  3955 
  4024 
  3956 	/* Subsubsub Nav */
  4025 	/* Subsubsub Nav */