diff --git a/src/www/assets/icons/about.png b/src/www/assets/icons/about.png new file mode 100644 index 0000000000..b5e2c38bde Binary files /dev/null and b/src/www/assets/icons/about.png differ diff --git a/src/www/assets/icons/add.png b/src/www/assets/icons/add.png new file mode 100644 index 0000000000..1dedaf6530 Binary files /dev/null and b/src/www/assets/icons/add.png differ diff --git a/src/www/assets/icons/back.png b/src/www/assets/icons/back.png new file mode 100644 index 0000000000..54ca096f3c Binary files /dev/null and b/src/www/assets/icons/back.png differ diff --git a/src/www/assets/icons/change_language.png b/src/www/assets/icons/change_language.png new file mode 100644 index 0000000000..3ad885ba12 Binary files /dev/null and b/src/www/assets/icons/change_language.png differ diff --git a/src/www/assets/icons/contact.png b/src/www/assets/icons/contact.png new file mode 100644 index 0000000000..3af65e90be Binary files /dev/null and b/src/www/assets/icons/contact.png differ diff --git a/src/www/assets/icons/feedback.png b/src/www/assets/icons/feedback.png new file mode 100644 index 0000000000..3af65e90be Binary files /dev/null and b/src/www/assets/icons/feedback.png differ diff --git a/src/www/assets/icons/help.png b/src/www/assets/icons/help.png new file mode 100644 index 0000000000..f0355df551 Binary files /dev/null and b/src/www/assets/icons/help.png differ diff --git a/src/www/assets/icons/menu.png b/src/www/assets/icons/menu.png new file mode 100644 index 0000000000..6b01874af1 Binary files /dev/null and b/src/www/assets/icons/menu.png differ diff --git a/src/www/assets/icons/outline.png b/src/www/assets/icons/outline.png new file mode 100644 index 0000000000..839790f2eb Binary files /dev/null and b/src/www/assets/icons/outline.png differ diff --git a/src/www/assets/icons/quit.png b/src/www/assets/icons/quit.png new file mode 100644 index 0000000000..febfdf75be Binary files /dev/null and b/src/www/assets/icons/quit.png differ diff --git a/src/www/assets/jigsaw-logo.png b/src/www/assets/jigsaw-logo.png new file mode 100644 index 0000000000..e6b852400c Binary files /dev/null and b/src/www/assets/jigsaw-logo.png differ diff --git a/src/www/assets/outline-client-logo.png b/src/www/assets/outline-client-logo.png new file mode 100644 index 0000000000..82d2b39046 Binary files /dev/null and b/src/www/assets/outline-client-logo.png differ diff --git a/src/www/ui_components/about-view.js b/src/www/ui_components/about-view.js index 3c4d97a8a4..8306b097a7 100644 --- a/src/www/ui_components/about-view.js +++ b/src/www/ui_components/about-view.js @@ -109,7 +109,7 @@ Polymer({ > diff --git a/src/www/ui_components/app-root.js b/src/www/ui_components/app-root.js index f51dee6bc5..f836ef8b41 100644 --- a/src/www/ui_components/app-root.js +++ b/src/www/ui_components/app-root.js @@ -105,7 +105,7 @@ export class AppRoot extends mixinBehaviors([AppLocalizeBehavior], PolymerElemen margin-top: 2px; } - app-toolbar paper-icon-button { + app-toolbar paper-button { /* make the ink color (used for tap animations) actually visible */ --paper-icon-button-ink-color: #eff; padding: var(--app-toolbar-button-gutter); @@ -133,7 +133,7 @@ export class AppRoot extends mixinBehaviors([AppLocalizeBehavior], PolymerElemen } /* rtl:begin:ignore */ - #drawer-nav paper-icon-item { + #drawer-nav paper-item { cursor: pointer; font-size: 16px; --paper-item-selected: { @@ -143,8 +143,8 @@ export class AppRoot extends mixinBehaviors([AppLocalizeBehavior], PolymerElemen } } - #drawer-nav paper-icon-item:focus::before, - #drawer-nav paper-icon-item:focus::after { + #drawer-nav paper-item:focus::before, + #drawer-nav paper-item:focus::after { color: var(--medium-green); background-color: var(--light-gray); } @@ -175,16 +175,21 @@ export class AppRoot extends mixinBehaviors([AppLocalizeBehavior], PolymerElemen border-width: 0px; } - #drawer-nav paper-icon-item .item-label { + #drawer-nav paper-item .item-label { float: left; } - #drawer-nav paper-icon-item:not(.iron-selected) { + #drawer-nav paper-item:not(.iron-selected) { opacity: 0.8; } #drawer-nav paper-item { min-height: 32px; + text-transform: capitalize; + } + + .first-menu-item { + margin-top: 12px; } .last-menu-item { @@ -197,13 +202,25 @@ export class AppRoot extends mixinBehaviors([AppLocalizeBehavior], PolymerElemen } paper-item > :first-child { - color: rgba(0, 0, 0, 0.54); - font-size: 14px; - text-decoration: none; - width: 100%; cursor: pointer; } + paper-item > img { + height: 24px; + width: 24px; + margin-right: 10px; + } + + paper-item > a { + color: inherit; + text-decoration: none; + } + + paper-button { + min-width: 0; + margin: 0; + } + paper-toast { --paper-toast-background-color: var(--dark-green); align-items: center; @@ -223,7 +240,7 @@ export class AppRoot extends mixinBehaviors([AppLocalizeBehavior], PolymerElemen :host { --app-drawer-width: 250px; } - #drawer-nav paper-icon-item { + #drawer-nav paper-item { min-height: 42px; } } @@ -250,30 +267,33 @@ export class AppRoot extends mixinBehaviors([AppLocalizeBehavior], PolymerElemen
- - + menu + + + > + back +
- +
[[localize(pageTitleKey)]]
- + > + add +
@@ -361,39 +381,39 @@ export class AppRoot extends mixinBehaviors([AppLocalizeBehavior], PolymerElemen - - + + outline [[localize('servers-menu-item')]] - + - - + + about [[localize('about-page-title')]] - - + + - + help [[localize('help-page-title')]] - - - + + + change language [[localize('change-language-page-title')]] - - - + + + quit [[localize('quit')]] - + [[localize('privacy')]]