summaryrefslogtreecommitdiffstats
path: root/wp-admin/css/forms.css
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 07:57:26 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 07:57:26 +0000
commit30883c26bdceb9eaf32c8d4a1b0c1bce223b5226 (patch)
tree39a02e2aeb21ab5b7923c6f5757d66d55b708912 /wp-admin/css/forms.css
parentAdding upstream version 6.4.3+dfsg1. (diff)
downloadwordpress-30883c26bdceb9eaf32c8d4a1b0c1bce223b5226.tar.xz
wordpress-30883c26bdceb9eaf32c8d4a1b0c1bce223b5226.zip
Adding upstream version 6.5+dfsg1.upstream/6.5+dfsg1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r--wp-admin/css/forms.css66
1 files changed, 60 insertions, 6 deletions
diff --git a/wp-admin/css/forms.css b/wp-admin/css/forms.css
index 7274b0b..63eb3e8 100644
--- a/wp-admin/css/forms.css
+++ b/wp-admin/css/forms.css
@@ -22,10 +22,6 @@ textarea {
resize: vertical;
}
-label {
- cursor: pointer;
-}
-
input,
select {
margin: 0 1px;
@@ -287,8 +283,10 @@ textarea.disabled {
input[type="file"]:disabled,
input[type="file"].disabled,
+input[type="file"][aria-disabled="true"],
input[type="range"]:disabled,
-input[type="range"].disabled {
+input[type="range"].disabled,
+input[type="range"][aria-disabled="true"] {
background: none;
box-shadow: none;
cursor: default;
@@ -296,13 +294,16 @@ input[type="range"].disabled {
input[type="checkbox"]:disabled,
input[type="checkbox"].disabled,
+input[type="checkbox"][aria-disabled="true"],
input[type="radio"]:disabled,
input[type="radio"].disabled,
+input[type="radio"][aria-disabled="true"],
input[type="checkbox"]:disabled:checked:before,
input[type="checkbox"].disabled:checked:before,
input[type="radio"]:disabled:checked:before,
input[type="radio"].disabled:checked:before {
opacity: 0.7;
+ cursor: default;
}
/*------------------------------------------------------------------------------
@@ -356,6 +357,10 @@ input[type="radio"].disabled:checked:before {
transform: none;
}
+.wp-core-ui select[aria-disabled="true"] {
+ cursor: default;
+}
+
/* Reset Firefox inner outline that appears on :focus. */
/* This ruleset overrides the color change on :focus thus needs to be after select:focus. */
.wp-core-ui select:-moz-focusring {
@@ -674,6 +679,13 @@ fieldset label,
border-color: #68de7c;
}
+#pass1:focus,
+#pass1-text:focus {
+ box-shadow: 0 0 0 2px #2271b1;
+ /* Only visible in Windows High Contrast mode */
+ outline: 2px solid transparent;
+}
+
.pw-weak {
display: none;
}
@@ -777,6 +789,42 @@ ul#add-to-blog-users {
outline: 2px solid transparent;
}
+.button-add-site-icon {
+ width: 100%;
+ cursor: pointer;
+ text-align: center;
+ border: 1px dashed #c3c4c7;
+ box-sizing: border-box;
+ padding: 9px 0;
+ line-height: 1.6;
+ max-width: 270px;
+}
+
+.button-add-site-icon:focus,
+.button-add-site-icon:hover {
+ background: #fff;
+}
+
+.site-icon-section .favicon-preview {
+ float: left;
+}
+.site-icon-section .app-icon-preview {
+ float: left;
+ margin: 0 20px;
+}
+
+.site-icon-section .site-icon-preview img {
+ max-width: 100%;
+}
+
+.button-add-site-icon:focus {
+ background-color: #fff;
+ border-color: #3582c4;
+ border-style: solid;
+ box-shadow: 0 0 0 1px #3582c4;
+ outline: 2px solid transparent;
+}
+
/*------------------------------------------------------------------------------
15.0 - Comments Screen
------------------------------------------------------------------------------*/
@@ -921,11 +969,14 @@ table.form-table td .updated p {
}
.color-palette {
+ display: table;
width: 100%;
border-spacing: 0;
border-collapse: collapse;
}
+.color-palette .color-palette-shade,
.color-palette td {
+ display: table-cell;
height: 20px;
padding: 0;
border: none;
@@ -1589,12 +1640,15 @@ table.form-table td .updated p {
margin-bottom: 0;
}
+ .form-table .color-palette .color-palette-shade,
.form-table .color-palette td {
display: table-cell;
width: 15px;
+ height: 30px;
+ padding: 0;
}
- .form-table table.color-palette {
+ .form-table .color-palette {
margin-right: 10px;
}