diff --git a/app/views/partials/messageInbox.scala.html b/app/views/partials/messageInbox.scala.html index 28df557..4b01608 100644 --- a/app/views/partials/messageInbox.scala.html +++ b/app/views/partials/messageInbox.scala.html @@ -25,7 +25,7 @@ @@media screen and (max-width: 414px) { - + .mob-align-right { text-align: right } @@ -41,7 +41,13 @@ } +.govuk-table__cell { + padding: 10px 20px 10px 0; +} +.govuk-table__cell:last-child, .govuk-table__header:last-child { + padding-right: 0; +} .conversation-status-marker { display:inline-block; @@ -53,7 +59,6 @@ color:#0b0c0c; } - .dot-unread { height: 10px; width: 10px; @@ -64,7 +69,6 @@ text-indent: -99999px; } - .underline { text-decoration: underline !important; } @@ -86,27 +90,19 @@ } -.break-long { - word-break: break-word; -} - - -.grid-header-row { +.grid-header-row { border-bottom:1px solid rgba(177, 180, 182,0.75); - padding:10px; + padding:10px; } + .black-text { + color: #0b0c0c; + } - -.message {margin-bottom: 10px; } - -.message-row:hover { background-color:#f3f2f1; } -.message-row a:focus { background-color: #f3f2f1;} -.message-row:focus-within { background-color:#f3f2f1;} - -.message-row a:focus { - outline: 0 !important; -} + .black-text:hover { + color: #003078; + border-bottom-color: #003078; + } a.underline-fix { text-decoration: none; } @@ -115,6 +111,22 @@ .status-align { text-align: right; } + + + .hover-effect { + color: #0b0c0c; + + } + + .hover-effect:hover { + color: #003078; + } + + .default-color{ + color: #0b0c0c; + } + +

@heading

@@ -137,7 +149,7 @@

@heading

@for((conversationHeader,index) <- conversationHeaders.zipWithIndex) { - + @{ @@ -150,54 +162,44 @@

@heading

} - - - - - -
@{ + + + @{ val senderSpan = if(conversationHeader.unreadMessages){ - {messages("conversation.inbox.heading.from")}:{getSenderName(conversationHeader)} + {messages("conversation.inbox.heading.from")}:{getSenderName(conversationHeader)} } else { - {messages("conversation.inbox.heading.from")}:{getSenderName(conversationHeader)} + {messages("conversation.inbox.heading.from")}:{getSenderName(conversationHeader)} yet } senderSpan - }
- - - -
- @{ - val subjectMaybeRead = if(conversationHeader.unreadMessages){ - {messages("conversation.inbox.heading.subject")}: - {conversationHeader.subject} - } else { - {messages("conversation.inbox.heading.subject")}: - {conversationHeader.subject} - } - val subjectMaybeWithCount = if(conversationHeader.count > 1){ - subjectMaybeRead ++ {conversationHeader.count} + } + +
+
+ + @{ + val subjectMaybeRead = if(conversationHeader.unreadMessages){ + {messages("conversation.inbox.heading.subject")}: + {conversationHeader.subject} + } else { + {messages("conversation.inbox.heading.subject")}: + {conversationHeader.subject} + } + val subjectMaybeWithCount = if(conversationHeader.count > 1){ + subjectMaybeRead ++ {conversationHeader.count} {messages("conversation.inbox.subject.count")}. - } else { + } else { subjectMaybeRead - } - subjectMaybeWithCount - } -
- - - + } + subjectMaybeWithCount + } + +
+ + @{getMessageDate(conversationHeader)} - - - - - @{getMessageDate(conversationHeader)} diff --git a/project/AppDependencies.scala b/project/AppDependencies.scala index aa9a555..44c5081 100644 --- a/project/AppDependencies.scala +++ b/project/AppDependencies.scala @@ -19,7 +19,7 @@ import sbt._ object AppDependencies { - private val bootstrapVersion = "9.0.0" + private val bootstrapVersion = "9.2.0" val compile = Seq( "uk.gov.hmrc" %% "bootstrap-frontend-play-30" % bootstrapVersion,