diff --git a/js/components/ascribe_piece_list_toolbar/piece_list_toolbar.js b/js/components/ascribe_piece_list_toolbar/piece_list_toolbar.js index 35bcb6e0..b663aea0 100644 --- a/js/components/ascribe_piece_list_toolbar/piece_list_toolbar.js +++ b/js/components/ascribe_piece_list_toolbar/piece_list_toolbar.js @@ -26,22 +26,16 @@ let PieceListToolbar = React.createClass({ return (
-
+
-
- - - - - - - - + Work - - - - -
+ + +
diff --git a/js/components/header.js b/js/components/header.js index 912d97fd..18090494 100644 --- a/js/components/header.js +++ b/js/components/header.js @@ -81,18 +81,17 @@ let Header = React.createClass({ let account = null; let signup = null; let collection = null; + let addNewWork = null; if (this.state.currentUser.username){ account = ( - {getLangText('Account Settings')} -
  • - {getLangText('FAQ')} - {getLangText('Terms of Service')} + {getLangText('Account Settings')} - {getLangText('Log out')} + {getLangText('Log out')}
    ); collection = COLLECTION; + addNewWork = + NEW WORK; } else { account = {getLangText('LOGIN')}; @@ -106,12 +105,14 @@ let Header = React.createClass({ {this.getLogo()} } - toggleNavKey={0}> + toggleNavKey={0} + fixedTop={true}> diff --git a/js/components/login_container.js b/js/components/login_container.js index 34df6b02..005a7796 100644 --- a/js/components/login_container.js +++ b/js/components/login_container.js @@ -30,7 +30,7 @@ let LoginContainer = React.createClass({ getDefaultProps() { return { - message: getLangText('Log in to') + ' ascribe ...', + message: getLangText('Enter') + ' ascribe', redirectOnLoggedIn: true, redirectOnLoginSuccess: true }; @@ -65,6 +65,10 @@ let LoginContainer = React.createClass({ {this.props.message}
    +
    + {getLangText('Not an ascribe user')}? {getLangText('Sign up')}...
    + {getLangText('Forgot my password')}? {getLangText('Rescue me')}... +
    ); } @@ -109,7 +113,7 @@ let LoginForm = React.createClass({ } spinner={ } - spinner={ - - }> - - - - - - - - - - - - - - - - {this.getLicenses()} -
    - + + +
    + +
    +
    +
    + + +

    Lock down title

    +
    + Register work + } + spinner={ + + }> + + + + + + + + + + + + + + {this.getLicenses()} +
    +
    + +
    @@ -121,7 +121,7 @@ let SignupForm = React.createClass({ tooltip={tooltipPassword}> @@ -148,8 +148,9 @@ let SignupForm = React.createClass({ required="required" label={
    - {getLangText('I agree to the')}  - {getLangText('Terms of Service')} + + {getLangText('I agree to the')} {getLangText('Terms of Service')} +
    }/> ); diff --git a/js/constants/languages.js b/js/constants/languages.js index 13894c86..079375cf 100644 --- a/js/constants/languages.js +++ b/js/constants/languages.js @@ -15,7 +15,7 @@ const languages = { 'Previous': 'Previous', 'Next': 'Next', '%s license': '%s license', - 'Log in to': 'Log in to', + 'Log into': 'Log into', 'Email': 'Email', 'Enter your email': 'Enter your email', 'Password': 'Password', @@ -77,7 +77,7 @@ const languages = { 'Previous': 'Zurück', 'Next': 'Weiter', '%s license': '%s license', - 'Log in to': 'Log in to', + 'Log into': 'Log into', 'Email': 'Email', 'Enter your email': 'Enter your email', 'Password': 'Password', @@ -139,7 +139,7 @@ const languages = { 'Previous': 'Précédent', 'Next': 'Suivant', '%s license': '%s license', - 'Log in to': 'Se connecter à', + 'Log into': 'Se connecter à', 'Email': 'E-mail', 'Enter your email': 'Entrez votre e-mail', 'Password': 'Mot de passe', diff --git a/js/utils/lang_utils.js b/js/utils/lang_utils.js index 83d51757..96d533da 100644 --- a/js/utils/lang_utils.js +++ b/js/utils/lang_utils.js @@ -23,7 +23,8 @@ export function getLangText(s, ...args) { } } catch(err) { if(!(s in languages[lang])) { - //console.error(new Error('Language-string is not in constants file. Add: "' + s + '" to the "' + lang + '" language file.')); + console.warn('Language-string is not in constants file. Add: "' + s + '" to the "' + lang + '" language file. Defaulting to keyname'); + return s; } else { console.error(err); } diff --git a/sass/ascribe_login.scss b/sass/ascribe_login.scss index 861cf594..392cde7f 100644 --- a/sass/ascribe_login.scss +++ b/sass/ascribe_login.scss @@ -2,7 +2,7 @@ $break-small: 764px; .ascribe-btn-login { - padding: 1.5em; + padding: 0.5em; font-weight: 500; text-align: center; background-color: rgba(2, 182, 163, 1); @@ -11,7 +11,7 @@ $break-small: 764px; border-radius: 0; width: 100%; border:none; - + //margin-left: 1.2em; &:hover { color: white; @@ -27,9 +27,9 @@ $break-small: 764px; .ascribe-btn-login-spinner{ background-color: rgba(2, 182, 163, 0.4); - padding: 0.8em; + padding: 0.4em; img { - height: 3em; + height: 1.6em; } &:hover { background-color: rgba(2, 182, 163, 0.4); @@ -50,22 +50,24 @@ $break-small: 764px; } .ascribe-login-text { - font-size: 1em; + font-size: 0.8em; padding: 0 0 1em 0; margin-left: 0.4em; + margin-top: 1.5em; + color: rgba(0, 0, 0, 0.6); } .ascribe-login-header { font-size: 2em; - padding: 0 0 0.5em 0; + margin-left: 0.8em; } .ascribe-form { hr { - color: rgba(0, 0, 0, 0.2); + color: rgba(0, 0, 0, 0.05); border: none; height: 1px; - background-color: rgba(0, 0, 0, 0.2); + background-color: rgba(0, 0, 0, 0.05); margin-top: 0; } } diff --git a/sass/ascribe_piece_list_toolbar.scss b/sass/ascribe_piece_list_toolbar.scss index 73c0bc94..915d8a02 100644 --- a/sass/ascribe_piece_list_toolbar.scss +++ b/sass/ascribe_piece_list_toolbar.scss @@ -1,3 +1,7 @@ .ascribe-piece-list-toolbar { margin-bottom: 1.5em; +} + +.search-bar { + max-width: 200px; } \ No newline at end of file diff --git a/sass/ascribe_settings.scss b/sass/ascribe_settings.scss index bbd6dc77..30d472ac 100644 --- a/sass/ascribe_settings.scss +++ b/sass/ascribe_settings.scss @@ -4,12 +4,12 @@ text-align: center; padding-bottom: 1em; - background-color: white; + background-color: rgba(0,0,0,0); border-left: 3px solid rgba(0,0,0,0); &div:last-of-type { - border-bottom: 1px solid rgba(0,0,0,.2); + border-bottom: 1px solid rgba(0,0,0,.05); } &:hover{ border-left: 3px solid rgba(2, 182, 163, 0.4); @@ -64,7 +64,7 @@ display: inline-block; width: 100%; text-align: left; - border-top: 1px solid rgba(0,0,0,.2); + border-top: 1px solid rgba(0,0,0,.05); padding-top: 1em; padding-left: 1.5em; @@ -79,7 +79,7 @@ span { font-weight: normal; font-size: 0.9em; - color: rgba(0,0,0,.7); + color: rgba(0,0,0,.5); } div { @@ -90,7 +90,7 @@ font-weight: normal; font-size: 1.1em; cursor: default; - color: rgba(0, 0, 0, .7); + color: rgba(0, 0, 0, .5); } } @@ -105,7 +105,7 @@ margin-top: .5em; border: 0; background-color: rgba(0,0,0,0); - color: #38BAAD; + color: rgba(0,0,0,.8); padding-left: 0; &:focus { diff --git a/sass/ascribe_slides_container.scss b/sass/ascribe_slides_container.scss index ae02aa92..2dd1f47a 100644 --- a/sass/ascribe_slides_container.scss +++ b/sass/ascribe_slides_container.scss @@ -1,5 +1,6 @@ .ascribe-sliding-container-wrapper { overflow-x: hidden; + overflow-y: hidden; padding-left: 0; } diff --git a/sass/main.scss b/sass/main.scss index fda26fb0..fcb65710 100644 --- a/sass/main.scss +++ b/sass/main.scss @@ -30,6 +30,7 @@ $BASE_URL: '<%= BASE_URL %>'; body { background-color: #FDFDFD; border-radius: 0; + margin-top: 70px; } html { @@ -52,7 +53,8 @@ html { border-right:0; margin-bottom: 1.5em; border-top:0; - border-color: #CCC + border-color: #CCC; + font-size: 0.8em; } .truncate { @@ -198,6 +200,23 @@ html { padding-bottom: 0.4em; } +::-webkit-input-placeholder { /* WebKit browsers */ + font-size: 0.9em; + font-style: italic; +} +:-moz-placeholder { /* Mozilla Firefox 4 to 18 */ + font-size: 0.9em; + font-style: italic; +} +::-moz-placeholder { /* Mozilla Firefox 19+ */ + font-size: 0.9em; + font-style: italic; +} +:-ms-input-placeholder { /* Internet Explorer 10+ */ + font-size: 0.9em; + font-style: italic; +} + .input-text-ascribe, .datepicker__input { border-bottom: 1px solid black; @@ -218,7 +237,7 @@ html { text-align: left; line-height: 1.6; width: 90%; - margin-left: auto; + margin-left: 1.6em; margin-right: auto; } diff --git a/sass/variables.scss b/sass/variables.scss index 239b6b62..031ac9b2 100644 --- a/sass/variables.scss +++ b/sass/variables.scss @@ -273,7 +273,7 @@ $zindex-navbar: 1000 !default; $zindex-dropdown: 1000 !default; $zindex-popover: 1060 !default; $zindex-tooltip: 1070 !default; -$zindex-navbar-fixed: 1030 !default; +$zindex-navbar-fixed: 1000 !default; $zindex-modal-background: 1040 !default; $zindex-modal: 1050 !default;