Skip to content

Commit b7b65c6

Browse files
committed
fix use alpha param of rgb instead of rgba
1 parent 6bfe0c0 commit b7b65c6

File tree

6 files changed

+15
-15
lines changed

6 files changed

+15
-15
lines changed

src/wp-admin/css/common.css

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -787,7 +787,7 @@ img.emoji {
787787
}
788788

789789
.stuffbox .hndle {
790-
border-bottom: 1px solid rgba(0, 0, 0, 0.1);
790+
border-bottom: 1px solid rgb(0, 0, 0, 0.1);
791791
}
792792

793793
.quicktags {
@@ -2156,7 +2156,7 @@ html.wp-toolbar {
21562156
display: flex;
21572157
align-items: center;
21582158
justify-content: space-between;
2159-
border-bottom: 1px solid rgba(0, 0, 0, 0.1);
2159+
border-bottom: 1px solid rgb(0, 0, 0, 0.1);
21602160
}
21612161

21622162
.postbox-header .hndle {
@@ -2209,7 +2209,7 @@ html.wp-toolbar {
22092209
border: 2px solid var(--wp-admin-theme-color);
22102210
border-radius: 8px;
22112211
margin-bottom: 20px;
2212-
background: rgba(var(--wp-admin-theme-color--rgb), 0.04);
2212+
background: rgb(var(--wp-admin-theme-color--rgb), 0.04);
22132213
}
22142214

22152215
.postbox,
@@ -2218,7 +2218,7 @@ html.wp-toolbar {
22182218
padding: 0;
22192219
line-height: 1;
22202220
background: #ffffff;
2221-
border: 1px solid rgba(0, 0, 0, 0.1);
2221+
border: 1px solid rgb(0, 0, 0, 0.1);
22222222
border-radius: 0;
22232223
}
22242224

src/wp-admin/css/dashboard.css

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@
6868
}
6969

7070
#dashboard-widgets .postbox-container .empty-container {
71-
outline: 2px dashed rgba(0, 0, 0, 0.15);
71+
outline: 2px dashed rgb(0, 0, 0, 0.15);
7272
outline-offset: -2px;
7373
border-radius: 8px;
7474
height: 250px;
@@ -77,13 +77,13 @@
7777
/* Only highlight drop zones when dragging. */
7878
.is-dragging-metaboxes #dashboard-widgets .meta-box-sortables {
7979
border-radius: 8px;
80-
background: rgba(var(--wp-admin-theme-color--rgb), 0.04);
80+
background: rgb(var(--wp-admin-theme-color--rgb), 0.04);
8181
min-height: 100px;
8282
}
8383

8484
.is-dragging-metaboxes #dashboard-widgets .postbox-container .empty-container {
85-
outline: 2px dashed rgba(0, 0, 0, 0.15);
86-
background: rgba(0, 0, 0, 0.01);
85+
outline: 2px dashed rgb(0, 0, 0, 0.15);
86+
background: rgb(0, 0, 0, 0.01);
8787
}
8888

8989
#dashboard-widgets .postbox-container .empty-container:after {
@@ -141,7 +141,7 @@
141141
overflow: auto;
142142
margin: 16px 0;
143143
background-color: #151515;
144-
border: 1px solid rgba(0, 0, 0, 0.1);
144+
border: 1px solid rgb(0, 0, 0, 0.1);
145145
border-radius: 8px;
146146
font-size: 14px;
147147
line-height: 1.3;

src/wp-admin/css/edit.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ body.post-type-wp_navigation .inline-edit-status {
175175
/* Only highlight drop zones when dragging and only in the 2 columns layout. */
176176
.is-dragging-metaboxes .metabox-holder .postbox-container .meta-box-sortables {
177177
border-radius: 8px;
178-
background: rgba(var(--wp-admin-theme-color--rgb), 0.04);
178+
background: rgb(var(--wp-admin-theme-color--rgb), 0.04);
179179
/*
180180
* This min-height is meant to limit jumpiness while dragging. It's equivalent
181181
* to the minimum height of the sortable-placeholder which is given by the height

src/wp-admin/css/forms.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1050,7 +1050,7 @@ table.form-table td .updated p {
10501050
padding: 16px 24px;
10511051
min-width: 255px;
10521052
max-width: 520px;
1053-
border: 1px solid rgba(0, 0, 0, 0.1);
1053+
border: 1px solid rgb(0, 0, 0, 0.1);
10541054
border-radius: 8px;
10551055
background: #ffffff;
10561056
box-sizing: border-box;

src/wp-admin/css/list-tables.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1488,7 +1488,7 @@ ul.cat-checklist input[name="post_category[]"]:indeterminate::before {
14881488
width: 48.5%;
14891489
width: calc( 50% - 8px );
14901490
background-color: #ffffff;
1491-
border: 1px solid rgba(0, 0, 0, 0.1);
1491+
border: 1px solid rgb(0, 0, 0, 0.1);
14921492
border-radius: 8px;
14931493
box-sizing: border-box;
14941494
overflow: hidden;
@@ -1672,7 +1672,7 @@ div.action-links,
16721672
clear: both;
16731673
padding: 16px;
16741674
background-color: #f6f7f7;
1675-
border-top: 1px solid rgba(0, 0, 0, 0.1);
1675+
border-top: 1px solid rgb(0, 0, 0, 0.1);
16761676
overflow: hidden;
16771677
}
16781678

src/wp-admin/css/themes.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ body.js .theme-browser.search-loading {
6565
position: relative;
6666
width: 30.6%;
6767
background: #ffffff;
68-
border: 1px solid rgba(0, 0, 0, 0.1);
68+
border: 1px solid rgb(0, 0, 0, 0.1);
6969
border-radius: 8px;
7070
box-sizing: border-box;
7171
overflow: hidden;
@@ -86,7 +86,7 @@ body.js .theme-browser.search-loading {
8686
height: 18px;
8787
margin: 0;
8888
padding: 16px;
89-
border-top: 1px solid rgba(0, 0, 0, 0.1);
89+
border-top: 1px solid rgb(0, 0, 0, 0.1);
9090
overflow: hidden;
9191
white-space: nowrap;
9292
text-overflow: ellipsis;

0 commit comments

Comments
 (0)