-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1335 from MITLibraries/pw102-nps-banner
Adds panel for NPS surveys
- Loading branch information
Showing
5 changed files
with
39 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
.nps-feedback { | ||
margin-top: 1em; | ||
padding: 20px 10px; | ||
background-color: $gray-d1; | ||
color: $white; | ||
text-align: center; | ||
font-size: $fs-large; | ||
display: block; | ||
|
||
a { | ||
color: $blue-bright; | ||
&:hover { | ||
color: $green; | ||
} | ||
&:active { | ||
color: $magenta; | ||
} | ||
} | ||
|
||
@media (max-width: $bp-screen-md) { | ||
font-size: $fs-base; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,4 +7,5 @@ | |
@import "_search"; | ||
@import "_results"; | ||
@import "_hint"; | ||
@import "_survey"; | ||
@import "_print"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<% return unless ENV.fetch('NPS_URL', false).present? %> | ||
<% return unless ENV.fetch('NPS_LINK_TEXT', false).present? %> | ||
|
||
<div class="nps-feedback"> | ||
<span class="nps-blurb"><%= ENV.fetch('NPS_BLURB', nil) %></span> | ||
<a class="nps-link" href="<%= ENV.fetch('NPS_URL')%>"><%= ENV.fetch('NPS_LINK_TEXT') %></a> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters