Sources
+Sources
{% if unstarred or starred %} {% endblock %} diff --git a/securedrop/sass/_base.sass b/securedrop/sass/_base.sass index 04480c0a96..b7a2aa7ee0 100644 --- a/securedrop/sass/_base.sass +++ b/securedrop/sass/_base.sass @@ -20,14 +20,24 @@ h1, h2, h3 font-weight: bold - text-align: center + + h1, h2 + color: #7985aa h1 + text-align: left font-size: 30px h2 font-size: 25px + &.welcome-text + color: inherit + text-align: center + + h3 + text-align: center + .content position: relative margin: 15px auto @@ -52,6 +62,10 @@ a.text-link color: $color_purple_medium + .sd-button + font-weight: normal + letter-spacing: 0.15em + .select border: 1px #C4C2C2 solid padding: 3px 10px @@ -226,14 +240,6 @@ .file-options padding-top: 8px - .upload-icon - display: inline-block - width: 100% - text-align: center - font-size: 52pt - color: rgba(0, 0, 0, 0.5) - margin-bottom: 8px - input[type="file"] background-color: rgba(0, 0, 0, 0.05) padding: 10px @@ -281,32 +287,47 @@ display: block margin: 0 auto - .flash + $color_error_border: #F68E8E + $color_error_background: #FCE3E3 + + aside, .flash, .banner-warning + border-radius: 10px + + i + font-size: 18pt + + aside + background-color: #fffbe6 + color: #82572d + + aside, .flash padding: 10px margin: 10px text-align: left font-size: medium - .notification - border: 1px solid #8ed9f6 - background-color: #e3f7fc - border-radius: 10px - padding: 9px - font-size: medium - font-weight: normal + &.notification + border: 1px solid #8ed9f6 + background-color: #e3f7fc + font-size: medium + font-weight: normal - i - color: #4f7685 - font-size: 18pt + i + color: #4f7685 - .error, .banner-warning - border: 1px solid #F68E8E - background-color: #FCE3E3 - border-radius: 10px + &.error + border: 1px solid $color_error_border + background-color: $color_error_background + + i + color: #D62727 - .error i, .banner-warning i - color: #D62727 - font-size: 18pt + .banner-warning + border: 1px solid $color_error_border + background-color: $color_error_background + + i + color: #D62727 div select-container @@ -324,7 +345,7 @@ display: inline-block width: 30% min-width: 300px - min-height: 290px + min-height: 310px margin: 1% padding: 25px border: 1px solid #c3c3c3 @@ -375,17 +396,6 @@ ul.plain list-style: none - a#already-have-codename - float: right - margin-right: 12px - margin-top: 10px - color: #888 - text-decoration: none - - &:hover - text-decoration: underline - color: #666 - ul.starred margin-bottom: 1.33em @@ -428,10 +438,6 @@ #regenerate-codename-btn-label font-size: 10px - .journalist-view-single - padding-top: 0px - text-align: center - footer clear: both text-align: center diff --git a/securedrop/sass/_button-rules.sass b/securedrop/sass/_button-rules.sass index 2386a1804f..c37d58b9c2 100644 --- a/securedrop/sass/_button-rules.sass +++ b/securedrop/sass/_button-rules.sass @@ -56,14 +56,20 @@ &.primary display: block margin: 0 auto - width: 35% display: inline-block &.secondary @extend .primary background: white - color: $color_blue_medium - border: 1px solid $color_blue_medium + color: $color_purple_medium_darker + border: 1px solid $color_purple_medium_darker + + &.index + display: block + position: absolute + bottom: 5% + left: 10% + right: 10% button.block, a.btn.block text-decoration: none diff --git a/securedrop/sass/_variables.sass b/securedrop/sass/_variables.sass index 9e317141c6..3e63575668 100644 --- a/securedrop/sass/_variables.sass +++ b/securedrop/sass/_variables.sass @@ -2,10 +2,9 @@ $color_warning_red: #ae3840 $color_warning_red_pale: #d55c5c $color_purple_medium: #7985aa +$color_purple_medium_darker: #727c9b $color_grey_dark: #626161 $color_grey_medium: #9e9e9e $color_grey_light: #f0f0f0 $color_grey_xlight: #f3f3f3 - -$color_blue_medium: #004080 diff --git a/securedrop/sass/journalist.sass b/securedrop/sass/journalist.sass index cfe58f9584..e54329e7f0 100644 --- a/securedrop/sass/journalist.sass +++ b/securedrop/sass/journalist.sass @@ -74,3 +74,54 @@ button.small-danger, a.btn.small-danger, .btn.small-danger display: inline-block width: 3.5% color: $color_purple_medium + +#cols li.source + .button-star + background-color: $color_grey_light + + .assignment + p + margin: 0 + display: inline-block + + .assign-current + margin-left: 7% + + font-size: 0.8em + a + + margin-left: 1% + .btn + padding: .3% + width: 10% + display: inline-block + + button + margin-left: 3% + padding: .3% + width: 10% + + .assign-select + height: 0 + overflow: hidden + + &:target + height: auto + overflow: visible + margin-top: 1% + text-align: center + + p + font-weight: bold + font-style: italic + + select + margin-left: 2% + width: 23% + + .btn + background-color: #999 + + &:hover + color: #999 + background-color: white diff --git a/securedrop/sass/source.sass b/securedrop/sass/source.sass index 6ca85aaa08..d6e7cf72e4 100644 --- a/securedrop/sass/source.sass +++ b/securedrop/sass/source.sass @@ -86,13 +86,17 @@ input#show font-size: 100% height: auto -input.codename +input.codename-box width: 400px padding: 10px font-weight: bold -p#codename +.codename font-family: monospace + letter-spacing: 0.15em + font-weight: normal + +p#codename /* * HACK: Firefox likes to add non-existent leading and/or trailing whitespace * to s, but never does it tos. This hack uses a
for the diff --git a/securedrop/source_templates/base.html b/securedrop/source_templates/base.html index 6e69bbecde..0bf8caebf9 100644 --- a/securedrop/source_templates/base.html +++ b/securedrop/source_templates/base.html @@ -26,7 +26,7 @@
diff --git a/securedrop/source_templates/error.html b/securedrop/source_templates/error.html index b2a41c6776..bbadf9134c 100644 --- a/securedrop/source_templates/error.html +++ b/securedrop/source_templates/error.html @@ -2,7 +2,7 @@ {% block body %}
Server error
+Server error
Sorry, the website encountered an error and was unable to complete your request.
diff --git a/securedrop/source_templates/generate.html b/securedrop/source_templates/generate.html index 9e2921a341..0b7b27ce2f 100644 --- a/securedrop/source_templates/generate.html +++ b/securedrop/source_templates/generate.html @@ -1,14 +1,13 @@ {% extends "base.html" %} {% block body %} -Remember this codename and keep it secret
-To protect your identity, we're assigning you a unique codename.
+Welcome
+This codename is what you will use in future visits to receive messages from our journalists in response to what you submit on the next screen.
{{ codename }}
+{{ codename }}
-
After you submit documents and messages, you can return to this SecureDrop site later to read replies from journalists and submit more information. You will need this codename to log in. This is the only way we can communicate back to you.
+Because we use none of the traditional means to track users of our SecureDrop + service, using this codename with future visits is the only way we have to communicate with you, should we have + questions or are interested in additional documents. Unlike passwords, there is no way to retrieve a lost codename. +
-The best way to protect your codename is to memorize it. If you cannot memorize it right away, we recommend writing it down and keeping it in a safe place at first, and gradually working to memorize it over time. Once you have memorized it, you should destroy the written copy.
+-
+ - {% endblock %} diff --git a/securedrop/source_templates/index.html b/securedrop/source_templates/index.html index 246cb9ccfe..85b386f00f 100644 --- a/securedrop/source_templates/index.html +++ b/securedrop/source_templates/index.html @@ -29,20 +29,20 @@
+
Submit documents for the first time
If this is your first time submitting documents to journalists, start here.
- Submit Documents + SUBMITDOCUMENTS
+
Already submitted something?
If you have already submitted documents in the past, log in here to check for responses.
- Check for a response + CHECK FOR A RESPONSEEnter Codename
+Enter Codename
{% include 'flashed.html' %} {% endblock %} diff --git a/securedrop/source_templates/lookup.html b/securedrop/source_templates/lookup.html index 3d6e0bf7c8..c9bf96ac5f 100644 --- a/securedrop/source_templates/lookup.html +++ b/securedrop/source_templates/lookup.html @@ -7,38 +7,33 @@ {% if flagged and not haskey %}A journalist has been waiting for you to log in again so SecureDrop can generate a crypto key for you. Now that you have logged in, they are able to write you a reply. Check back later for replies.
{% endif %} +Submit Materials
-If you are already familiar with GPG, you can optionally encrypt your files and messages with our public key before submission. Files are encrypted as they are received by SecureDrop. Learn more.
+Submit Materials
+If you are already familiar with GPG, you can optionally encrypt your files and messages with our public key before submission. Files are encrypted as they are received by SecureDrop. Learn more.
--