Skip to content

Commit

Permalink
Run over rgb() and rgba colors
Browse files Browse the repository at this point in the history
  • Loading branch information
ryelle committed Sep 5, 2020
1 parent 7dfe419 commit b9032f3
Show file tree
Hide file tree
Showing 24 changed files with 74 additions and 74 deletions.
6 changes: 3 additions & 3 deletions src/wp-admin/css/admin-menu.css
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@

#adminmenu .wp-submenu a {
color: #c3c4c7;
color: rgba(240, 245, 250, 0.7);
color: rgba(240, 246, 252, 0.7);
font-size: 13px;
line-height: 1.4;
margin: 0;
Expand Down Expand Up @@ -365,14 +365,14 @@

div.wp-menu-image:before {
color: #a7aaad;
color: rgba(240, 245, 250, 0.6);
color: rgba(240, 246, 252, 0.6);
padding: 7px 0;
transition: all .1s ease-in-out;
}

#adminmenu div.wp-menu-image:before {
color: #a7aaad;
color: rgba(240, 245, 250, 0.6);
color: rgba(240, 246, 252, 0.6);
}

#adminmenu li.wp-has-current-submenu:hover div.wp-menu-image:before,
Expand Down
2 changes: 1 addition & 1 deletion src/wp-admin/css/code-editor.css
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
}

.wrap .CodeMirror .CodeMirror-matchingbracket {
background: rgba(255, 150, 0, 0.3);
background: rgba(219, 166, 23, 0.3);
color: inherit;
}

Expand Down
2 changes: 1 addition & 1 deletion src/wp-admin/css/color-picker.css
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@

.wp-color-result:focus {
border-color: #4f94d4;
box-shadow: 0 0 3px rgba(0, 115, 170, 0.8);
box-shadow: 0 0 3px rgba(34, 113, 177, 0.8);
}

.wp-color-result:active {
Expand Down
20 changes: 10 additions & 10 deletions src/wp-admin/css/common.css
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ a:focus .media-icon img,
color: #043959;
box-shadow:
0 0 0 1px #4f94d4,
0 0 2px 1px rgba(30, 140, 190, 0.8);
0 0 2px 1px rgba(79, 148, 212, 0.8);
/* Only visible in Windows High Contrast mode */
outline: 1px solid transparent;
}
Expand Down Expand Up @@ -831,7 +831,7 @@ img.emoji {
.tagchecklist .ntdelbutton:focus .remove-tag-icon:before {
box-shadow:
0 0 0 1px #4f94d4,
0 0 2px 1px rgba(30, 140, 190, 0.8);
0 0 2px 1px rgba(79, 148, 212, 0.8);
}

.key-labels label {
Expand Down Expand Up @@ -1179,7 +1179,7 @@ th.action-links {

.show-filters .wp-filter .drawer-toggle:hover,
.show-filters .wp-filter .drawer-toggle:focus {
background: rgb(46, 162, 204);
background: #72aee6;
}

.show-filters .wp-filter .drawer-toggle:before {
Expand Down Expand Up @@ -1376,7 +1376,7 @@ div.error {
background: #fff;
border: 1px solid #c3c4c7;
border-left-width: 4px;
box-shadow: 0 1px 1px rgba(0,0,0,.04);
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
margin: 5px 15px 2px;
padding: 1px 12px;
}
Expand Down Expand Up @@ -1443,7 +1443,7 @@ div.error p,
outline: none;
box-shadow:
0 0 0 1px #4f94d4,
0 0 2px 1px rgba(30, 140, 190, 0.8);
0 0 2px 1px rgba(79, 148, 212, 0.8);
}

.notice-success,
Expand Down Expand Up @@ -1718,7 +1718,7 @@ form.upgrade .hint {

#screen-meta-links .show-settings:focus {
border-color: #4f94d4;
box-shadow: 0 0 3px rgba(0, 115, 170, 0.8);
box-shadow: 0 0 3px rgba(34, 113, 177, 0.8);
}

#screen-meta-links .show-settings:active {
Expand Down Expand Up @@ -2587,7 +2587,7 @@ div.action-links {
padding: 0 15px;
margin-top: 174px;
color: #fff;
background: rgba(30, 30, 30, 0.9);
background: rgba(29, 35, 39, 0.9);
text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
box-shadow: 0 0 30px rgba(255, 255, 255, 0.1);
border-radius: 8px;
Expand Down Expand Up @@ -3099,7 +3099,7 @@ img {
.postbox .handlediv:focus {
box-shadow:
0 0 0 1px #4f94d4,
0 0 2px 1px rgba(30, 140, 190, 0.8);
0 0 2px 1px rgba(79, 148, 212, 0.8);
/* Only visible in Windows High Contrast mode */
outline: 1px solid transparent;
}
Expand Down Expand Up @@ -3206,7 +3206,7 @@ img {
color: #043959;
box-shadow:
0 0 0 1px #4f94d4,
0 0 2px 1px rgba(30, 140, 190, 0.8);
0 0 2px 1px rgba(79, 148, 212, 0.8);
}
[role="treeitem"].hover,
[role="treeitem"] .folder-label.hover {
Expand Down Expand Up @@ -3437,7 +3437,7 @@ img {
.widget-top .widget-action:focus .toggle-indicator:before {
box-shadow:
0 0 0 1px #4f94d4,
0 0 2px 1px rgba(30, 140, 190, 0.8);
0 0 2px 1px rgba(79, 148, 212, 0.8);
}

.control-section .accordion-section-title:after,
Expand Down
6 changes: 3 additions & 3 deletions src/wp-admin/css/customize-controls.css
Original file line number Diff line number Diff line change
Expand Up @@ -1544,7 +1544,7 @@ p.customize-section-description {
outline: none;
box-shadow:
0 0 0 1px #4f94d4,
0 0 3px 1px rgba(30, 140, 190, 0.8);
0 0 3px 1px rgba(79, 148, 212, 0.8);
}

.customize-control-header .uploaded div:last-child > .choice {
Expand Down Expand Up @@ -2258,7 +2258,7 @@ p.customize-section-description {
}

.wp-customizer .theme-overlay .theme-backdrop {
background: rgba(238, 238, 238, 0.75);
background: rgba(246, 247, 247, 0.75);
position: fixed;
z-index: 110;
}
Expand Down Expand Up @@ -2656,7 +2656,7 @@ body.adding-widget .add-new-widget:before,
#available-menu-items-search .clear-results:focus {
box-shadow:
0 0 0 1px #4f94d4,
0 0 2px 1px rgba(30, 140, 190, 0.8);
0 0 2px 1px rgba(79, 148, 212, 0.8);
}

#available-menu-items-search .search-icon:after,
Expand Down
2 changes: 1 addition & 1 deletion src/wp-admin/css/customize-nav-menus.css
Original file line number Diff line number Diff line change
Expand Up @@ -867,7 +867,7 @@ li.assigned-to-menu-location .add-new-menu-item {
#available-menu-items .item-add:focus:before {
box-shadow:
0 0 0 1px #4f94d4,
0 0 2px 1px rgba(30, 140, 190, 0.8);
0 0 2px 1px rgba(79, 148, 212, 0.8);
}


Expand Down
6 changes: 3 additions & 3 deletions src/wp-admin/css/customize-widgets.css
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
position: fixed;
left: 299px;
top: 25%;
border: 1px solid rgb(229, 229, 229);
border: 1px solid #dcdcde;
overflow: auto;
}
.customize-control-widget_form.wide-widget-control .widget-inside > .form {
Expand All @@ -79,7 +79,7 @@
}
.customize-control-widget_form.wide-widget-control.expanding .widget-top,
.customize-control-widget_form.wide-widget-control.expanded:not(.collapsing) .widget-top {
background-color: rgb(227, 227, 227);
background-color: #dcdcde;
}

.widget-inside {
Expand Down Expand Up @@ -112,7 +112,7 @@
.control-section.accordion-section.highlighted > .accordion-section-title,
.customize-control-widget_form.highlighted {
outline: none;
box-shadow: 0 0 2px rgba(30, 140, 190, 0.8);
box-shadow: 0 0 2px rgba(79, 148, 212, 0.8);
position: relative;
z-index: 1;
}
Expand Down
2 changes: 1 addition & 1 deletion src/wp-admin/css/edit.css
Original file line number Diff line number Diff line change
Expand Up @@ -1054,7 +1054,7 @@ div.tabs-panel-inactive {
}

div.tabs-panel-active:focus {
box-shadow: inset 0 0 0 1px #4f94d4, inset 0 0 2px 1px rgba(30, 140, 190, 0.8);
box-shadow: inset 0 0 0 1px #4f94d4, inset 0 0 2px 1px rgba(79, 148, 212, 0.8);
outline: 0 none;
}

Expand Down
8 changes: 4 additions & 4 deletions src/wp-admin/css/forms.css
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ textarea[readonly] {
.form-invalid select,
.form-invalid select:focus {
border-color: #d63638 !important;
box-shadow: 0 0 2px rgba(204, 0, 0, 0.8);
box-shadow: 0 0 2px rgba(214, 54, 56, 0.8);
}

.form-table .form-required.form-invalid td:after {
Expand Down Expand Up @@ -278,9 +278,9 @@ select.disabled,
textarea:disabled,
textarea.disabled {
background: rgba(255, 255, 255, 0.5);
border-color: rgba(222, 222, 222, 0.75);
border-color: rgba(220, 220, 222, 0.75);
box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.04);
color: rgba(51, 51, 51, 0.5);
color: rgba(44, 51, 56, 0.5);
}

input[type="file"]:disabled,
Expand Down Expand Up @@ -666,7 +666,7 @@ ul#add-to-blog-users {
position: absolute;
z-index: 10000;
border: 1px solid #4f94d4;
box-shadow: 0 1px 2px rgba(30, 140, 190, 0.8);
box-shadow: 0 1px 2px rgba(79, 148, 212, 0.8);
background-color: #fff;
}

Expand Down
2 changes: 1 addition & 1 deletion src/wp-admin/css/install.css
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ a:focus {
color: #043959;
box-shadow:
0 0 0 1px #4f94d4,
0 0 2px 1px rgba(30, 140, 190, 0.8);
0 0 2px 1px rgba(79, 148, 212, 0.8);
}

h1, h2 {
Expand Down
6 changes: 3 additions & 3 deletions src/wp-admin/css/list-tables.css
Original file line number Diff line number Diff line change
Expand Up @@ -502,7 +502,7 @@ th.asc a:focus span.sorting-indicator:before {
.wp-list-table .toggle-row:focus:before {
box-shadow:
0 0 0 1px #4f94d4,
0 0 2px 1px rgba(30, 140, 190, 0.8);
0 0 2px 1px rgba(79, 148, 212, 0.8);
}

.wp-list-table .toggle-row:active {
Expand Down Expand Up @@ -1225,7 +1225,7 @@ ul.cat-checklist {
.plugins .plugin-title .dashicons:before {
padding: 2px;
background-color: #f6f7f7;
box-shadow: inset 0 0 10px rgba(160, 165, 170, 0.15);
box-shadow: inset 0 0 10px rgba(167, 170, 173, 0.15);
font-size: 60px;
color: #c3c4c7;
}
Expand Down Expand Up @@ -1299,7 +1299,7 @@ ul.cat-checklist {
.plugins .paused .error-display p,
.plugins .paused .error-display code {
font-size: 90%;
color: rgba( 0, 0, 0, 0.7 );
color: rgba(0, 0, 0, 0.7);
}

.plugins .resume-link {
Expand Down
6 changes: 3 additions & 3 deletions src/wp-admin/css/login.css
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ a:focus {
color: #043959;
box-shadow:
0 0 0 1px #4f94d4,
0 0 2px 1px rgba(30, 140, 190, 0.8);
0 0 2px 1px rgba(79, 148, 212, 0.8);
}

p {
Expand Down Expand Up @@ -203,8 +203,8 @@ p {
}

.login h1.admin-email__heading {
border-bottom: 1px rgb(241, 241, 241) solid;
color: rgb(95, 95, 95);
border-bottom: 1px #f6f7f7 solid;
color: #50575e;
font-weight: normal;
padding-bottom: 0.5em;
text-align: left;
Expand Down
4 changes: 2 additions & 2 deletions src/wp-admin/css/media.css
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@
#find-posts-close:focus {
box-shadow:
0 0 0 1px #4f94d4,
0 0 2px 1px rgba(30, 140, 190, 0.8);
0 0 2px 1px rgba(79, 148, 212, 0.8);
/* Only visible in Windows High Contrast mode */
outline: 2px solid transparent;
outline-offset: -2px;
Expand Down Expand Up @@ -1091,7 +1091,7 @@ border color while dragging a file over the uploader drop area */
.image-editor .imgedit-settings .imgedit-help-toggle:focus {
color: #2271b1;
border-color: #4f94d4;
box-shadow: 0 0 3px rgba(0, 115, 170, 0.8);
box-shadow: 0 0 3px rgba(34, 113, 177, 0.8);
/* Only visible in Windows High Contrast mode */
outline: 2px solid transparent;
}
Expand Down
2 changes: 1 addition & 1 deletion src/wp-admin/css/nav-menus.css
Original file line number Diff line number Diff line change
Expand Up @@ -629,7 +629,7 @@ body.menu-max-depth-11 { min-width: 1280px !important; }
.nav-menus-php .item-edit:focus:before {
box-shadow:
0 0 0 1px #4f94d4,
0 0 2px 1px rgba(30, 140, 190, 0.8);
0 0 2px 1px rgba(79, 148, 212, 0.8);
}

/* Menu editing */
Expand Down
16 changes: 8 additions & 8 deletions src/wp-admin/css/themes.css
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ body.js .theme-browser.search-loading {
opacity: 0;
transition: opacity 0.1s ease-in-out;
height: auto;
background: rgba(244, 244, 244, 0.7);
background: rgba(246, 247, 247, 0.7);
border-left: 1px solid rgba(0, 0, 0, 0.05);
}

Expand Down Expand Up @@ -171,7 +171,7 @@ body.js .theme-browser.search-loading {

.theme-browser .theme:focus {
border-color: #4f94d4;
box-shadow: 0 0 2px rgba(30, 140, 190, 0.8);
box-shadow: 0 0 2px rgba(79, 148, 212, 0.8);
}

.theme-browser .theme:focus .more-details {
Expand Down Expand Up @@ -209,7 +209,7 @@ body.js .theme-browser.search-loading {
}

.theme-browser .theme.active .theme-actions {
background: rgba(49, 49, 49, 0.7);
background: rgba(44, 51, 56, 0.7);
border-left: none;
opacity: 1;
}
Expand Down Expand Up @@ -285,7 +285,7 @@ body.js .theme-browser.search-loading {

.theme-browser .theme.add-new-theme span:after {
background: #dcdcde;
background: rgba(153, 153, 153, 0.1);
background: rgba(140, 143, 148, 0.1);
border-radius: 50%;
display: inline-block;
content: "\f132";
Expand All @@ -295,7 +295,7 @@ body.js .theme-browser.search-loading {
height: 100px;
vertical-align: middle;
text-align: center;
color: rgb(153, 153, 153);
color: #8c8f94;
position: absolute;
top: 30%;
left: 50%;
Expand Down Expand Up @@ -358,7 +358,7 @@ body.js .theme-browser.search-loading {
top: 0;
bottom: 0;
background: #f6f7f7;
background: rgba(238, 238, 238, 0.9);
background: rgba(246, 247, 247, 0.9);
z-index: 10000; /* Over WP Pointers. */
}

Expand Down Expand Up @@ -1227,7 +1227,7 @@ div#custom-background-image img {

.background-position-control input[type="radio"]:focus ~ .button {
border-color: #4f94d4;
box-shadow: inset 0 2px 5px -3px rgba(0, 0, 0, 0.5), 0 0 3px rgba(0, 115, 170, 0.8);
box-shadow: inset 0 2px 5px -3px rgba(0, 0, 0, 0.5), 0 0 3px rgba(34, 113, 177, 0.8);
color: #1d2327;
}

Expand Down Expand Up @@ -1583,7 +1583,7 @@ body.full-overlay-active {
.wp-full-overlay .collapse-sidebar:focus .collapse-sidebar-arrow {
box-shadow:
0 0 0 1px #4f94d4,
0 0 2px 1px rgba(30, 140, 190, 0.8);
0 0 2px 1px rgba(79, 148, 212, 0.8);
}

.wp-full-overlay .collapse-sidebar-label {
Expand Down
Loading

0 comments on commit b9032f3

Please sign in to comment.