Skip to content

Commit 95395e4

Browse files
authored
Merge pull request #296 from MITLibraries/use-254
USE-254: Styling for "Available in..." text for physical holdings
2 parents b1b9d12 + ea3154f commit 95395e4

File tree

2 files changed

+19
-0
lines changed

2 files changed

+19
-0
lines changed

app/assets/stylesheets/partials/_results.scss

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -240,6 +240,19 @@
240240
.truncate-list li:last-child {margin-bottom: 0;}
241241

242242
}
243+
244+
.availability {
245+
color: $color-text-secondary;
246+
247+
i.fa-check::before {
248+
color: $color-icon-success;
249+
}
250+
251+
i.fa-times::before {
252+
color: $color-icon-danger;
253+
}
254+
255+
}
243256
}
244257

245258
// -----------------------------

app/assets/stylesheets/partials/_variables.scss

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@ $color-blue-500: #0000FF;
3535
// PURPLE
3636
$color-purple-700: #990099;
3737

38+
// GREEN
39+
$color-green-800: #009900;
3840

3941
// ---------------
4042
// SEMANTIC COLORS
@@ -49,6 +51,10 @@ $color-text-placeholder: $color-gray-500;
4951
$color-text-disabled: $color-gray-400;
5052
$color-text-oncolor: $color-white;
5153

54+
// ICONS
55+
$color-icon-success: $color-green-800;
56+
$color-icon-danger: $color-red-500;
57+
5258
// BORDERS
5359
$color-border-default: $color-gray-400;
5460

0 commit comments

Comments
 (0)