Skip to content

Commit a72999a

Browse files
authored
Merge pull request #1649 from monocle/case-contrast
Change Case background color. Closes #1643
2 parents f601d03 + afac4b3 commit a72999a

File tree

2 files changed

+9
-4
lines changed

2 files changed

+9
-4
lines changed

src/frontend/src/components/RecordSearch/Record/Case.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ export default class Case extends React.Component<Props, State> {
9999
return (
100100
<div
101101
id={this.props.customElementId || case_number}
102-
className="f6 f5-l bg-gray-blue-2 shadow br3 pa1 mb4"
102+
className="f6 f5-l bg-gray-blue-3 shadow br3 pa1 mb4"
103103
>
104104
<div className="cf relative pv2 pr5 pr6-ns">
105105
{this.props.editing ? null : (

src/frontend/src/styles/_globals.scss

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
$gray-blue: #fafafe;
22
$gray-blue-2: #f1f3f7;
3+
$gray-blue-3: #e6e9ef;
34
$green: #007b4b;
45
$washed-green: #e5f1ed;
56
$blue: #2b74d2;
@@ -79,6 +80,10 @@ $washed-red: #f0e0e8;
7980
background-color: $gray-blue-2;
8081
}
8182

83+
.bg-gray-blue-3 {
84+
background-color: $gray-blue-3;
85+
}
86+
8287
:focus,
8388
.link:focus {
8489
outline-color: $blue;
@@ -118,7 +123,7 @@ fieldset {
118123
.diamond {
119124
width: 55px;
120125
height: 55px;
121-
box-shadow: 0 6px 12px -4px #3683E4;
126+
box-shadow: 0 6px 12px -4px #3683e4;
122127
}
123128

124129
// Case header widths
@@ -286,7 +291,7 @@ fieldset {
286291
}
287292

288293
.connect:before,
289-
.connect:after, {
294+
.connect:after {
290295
content: " ";
291296
position: absolute;
292297
transform: translate(-50%);
@@ -473,4 +478,4 @@ $lightest-blue2: #e8f2ff;
473478
}
474479
.bs2-r-gray {
475480
box-shadow: 2px 0px 0px 0px #eeeeee;
476-
}
481+
}

0 commit comments

Comments
 (0)