Introduce emphasis-color

Used for both the old patchset header and for indicating that a
particular change message was selected.

Change-Id: I0c0a9cc24ce4c7efba0c29fac0bdeea40cdfc057
This commit is contained in:
Kasper Nilsson
2018-04-17 16:43:22 +02:00
parent 3dd0d8a05b
commit d316134a94
3 changed files with 6 additions and 2 deletions

View File

@@ -41,7 +41,7 @@ limitations under the License.
text-decoration: none;
}
.patchInfoOldPatchSet.patchInfo-header {
background-color: #fff9c4;
background-color: var(--emphasis-color);
}
.patchInfo-header {
align-items: center;

View File

@@ -47,7 +47,7 @@ limitations under the License.
animation: 3s fadeOut;
}
@keyframes fadeOut {
0% { background-color: #fff9c4; }
0% { background-color: var(--emphasis-color); }
100% { background-color: var(--view-background-color); }
}
#messageControlsContainer {

View File

@@ -55,6 +55,10 @@ limitations under the License.
/* 12% darker */
--color-button-hover: #0B47BA;
/* Used for both the old patchset header and for indicating that a particular
change message was selected. */
--emphasis-color: #fff9c4;
--syntax-default-color: var(--primary-text-color);
--syntax-meta-color: #FF1717;
--syntax-keyword-color: #9E0069;