Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New Coat of Paint #599

Merged
merged 76 commits into from
Oct 2, 2018
Merged

New Coat of Paint #599

merged 76 commits into from
Oct 2, 2018

Conversation

gfodor
Copy link
Contributor

@gfodor gfodor commented Oct 2, 2018

Refresh the style of the 2D parts of the app based on the new designs

@buildsize
Copy link

buildsize bot commented Oct 2, 2018

File name Previous Size New Size Change
avatar-selector.html 608 bytes 608 bytes 0 bytes (0%)
favicon.ico 33.69 KB 33.69 KB 0 bytes (0%)
hub-preview.png 22.78 KB 22.78 KB 0 bytes (0%)
hub.html 26.69 KB 26.64 KB -52 bytes (0%)
index.html 696 bytes 695 bytes -1 bytes (0%)
link.html 804 bytes 803 bytes -1 bytes (0%)
LoadingObject_Atom-[hash].glb 27.43 KB 27.43 KB 0 bytes (0%)
waternormals-[hash].jpg 242.98 KB 242.98 KB 0 bytes (0%)
bubble_off-[hash].png 8.58 KB 8.58 KB 0 bytes (0%)
bubble_off-hover-[hash].png 10.41 KB 10.41 KB 0 bytes (0%)
bubble_on-[hash].png 9.24 KB 9.24 KB 0 bytes (0%)
bubble_on-hover-[hash].png 8.88 KB 8.88 KB 0 bytes (0%)
create_object-[hash].png 15.05 KB 15.05 KB 0 bytes (0%)
create_object-hover-[hash].png 15.87 KB 15.87 KB 0 bytes (0%)
freeze_off-[hash].png 12.24 KB 12.24 KB 0 bytes (0%)
freeze_off-hover-[hash].png 12.82 KB 12.82 KB 0 bytes (0%)
freeze_on-[hash].png 12.83 KB 12.83 KB 0 bytes (0%)
freeze_on-hover-[hash].png 13.31 KB 13.31 KB 0 bytes (0%)
mute_off-[hash].png 4.81 KB 4.81 KB 0 bytes (0%)
mute_off-hover-[hash].png 6.08 KB 6.08 KB 0 bytes (0%)
mute_on-[hash].png 9.57 KB 9.57 KB 0 bytes (0%)
mute_on-hover-[hash].png 8.61 KB 8.61 KB 0 bytes (0%)
spawn_photo-[hash].png 5.78 KB 5.78 KB 0 bytes (0%)
tooltip.9-[hash].png 815 bytes 815 bytes 0 bytes (0%)
watch-[hash].glb 880.11 KB 880.11 KB 0 bytes (0%)
account-[hash].svg 826 bytes 826 bytes 0 bytes (0%)
daydream_entry-[hash].svg 7.13 KB 6.45 KB -696 bytes (10%)
default_thumbnail-[hash].png 3.23 KB 3.23 KB 0 bytes (0%)
desktop_screen_entry-[hash].svg 604 bytes 376 bytes -228 bytes (38%)
device_entry-[hash].svg 3.66 KB 10.47 KB 6.81 KB (186%)
dropdown_arrow-[hash].png 206 bytes 185 bytes -21 bytes (10%)
dropdown_arrow@2x-[hash].png 302 bytes 270 bytes -32 bytes (11%)
gearvr_entry-[hash].svg 574 bytes 574 bytes 0 bytes (0%)
generic_vr_entry-[hash].svg 1.15 KB 950 bytes -223 bytes (19%)
giphy_logo-[hash].png 1.38 KB 1.38 KB 0 bytes (0%)
help-hud-[hash].png 11.76 KB [deleted]
help-hud@2x-[hash].png 18.87 KB [deleted]
level_background-[hash].png 4.97 KB 4.97 KB 0 bytes (0%)
level_background@2x-[hash].png 6.46 KB 6.46 KB 0 bytes (0%)
level_fill-[hash].png 1.71 KB 1.71 KB 0 bytes (0%)
level_fill@2x-[hash].png 3.38 KB 3.38 KB 0 bytes (0%)
logo-[hash].svg 14.21 KB 14.21 KB 0 bytes (0%)
mic_denied-[hash].png 4.11 KB 4.11 KB 0 bytes (0%)
mic_denied@2x-[hash].png 8.08 KB 8.08 KB 0 bytes (0%)
mic_granted-[hash].png 3.71 KB 3.71 KB 0 bytes (0%)
mic_granted@2x-[hash].png 7.43 KB 7.43 KB 0 bytes (0%)
mic_level-[hash].png 990 bytes 990 bytes 0 bytes (0%)
mic_level@2x-[hash].png 2.32 KB 2.32 KB 0 bytes (0%)
mic_small-[hash].png 298 bytes 272 bytes -26 bytes (9%)
mic_small@2x-[hash].png 298 bytes 451 bytes 153 bytes (51%)
mobile_screen_entry-[hash].svg 1.28 KB 914 bytes -399 bytes (30%)
speaker_level-[hash].png 953 bytes 953 bytes 0 bytes (0%)
speaker_level@2x-[hash].png 2.13 KB 2.13 KB 0 bytes (0%)
warning_icon-[hash].png 582 bytes 582 bytes 0 bytes (0%)
warning_icon@2x-[hash].png 1.05 KB 1.05 KB 0 bytes (0%)
aframe-inspector.min-[hash].js 384.44 KB 384.44 KB 0 bytes (0%)
avatar-selector-[hash].js 33.58 KB 33.71 KB 137 bytes (0%)
avatar-selector-[hash].js.map 75.74 KB 75.47 KB -276 bytes (0%)
engine-[hash].js 1.42 MB 1.42 MB -25 bytes (0%)
engine-[hash].js.map 4.47 MB 4.47 MB -2 bytes (0%)
gifparsing.worker-[hash].js 1.91 KB 1.91 KB 0 bytes (0%)
gifparsing.worker-[hash].js.map 8.32 KB 8.32 KB 0 bytes (0%)
hub-[hash].js 305.07 KB 313.5 KB 8.43 KB (3%)
hub-[hash].js.map 733.31 KB 746.98 KB 13.67 KB (2%)
index-[hash].js 48.78 KB 48.76 KB -21 bytes (0%)
index-[hash].js.map 81.77 KB 81.55 KB -228 bytes (0%)
link-[hash].js 23.73 KB 26.17 KB 2.43 KB (10%)
link-[hash].js.map 46.59 KB 51.59 KB 5 KB (11%)
sketchfab-zip.worker-[hash].js 155.49 KB 155.49 KB 0 bytes (0%)
sketchfab-zip.worker-[hash].js.map 774.45 KB 774.45 KB 0 bytes (0%)
vendor-[hash].js 529.52 KB 530.69 KB 1.17 KB (0%)
vendor-[hash].js.map 1.78 MB 1.79 MB 2.97 KB (0%)
quack-[hash].mp3 7.03 KB 7.03 KB 0 bytes (0%)
specialquack-[hash].mp3 11.57 KB 11.57 KB 0 bytes (0%)
tone-[hash].mp3 53.92 KB 53.92 KB 0 bytes (0%)
tone-[hash].wav 385.29 KB 385.29 KB 0 bytes (0%)
tone-[hash].webm 32.04 KB 32.04 KB 0 bytes (0%)
tone-[hash].ogg 32.55 KB 32.55 KB 0 bytes (0%)
avatar-selector-[hash].css 1.12 KB 1.15 KB 25 bytes (2%)
avatar-selector-[hash].css.map 136 bytes 136 bytes 0 bytes (0%)
hub-[hash].css 50.15 KB 66.54 KB 16.39 KB (33%)
hub-[hash].css.map 124 bytes 124 bytes 0 bytes (0%)
index-[hash].css 32.65 KB 32.16 KB -507 bytes (2%)
index-[hash].css.map 126 bytes 126 bytes 0 bytes (0%)
link-[hash].css 4.64 KB 6.1 KB 1.46 KB (31%)
link-[hash].css.map 125 bytes 125 bytes 0 bytes (0%)
home-[hash].mp4 2 MB 2 MB 0 bytes (0%)
home-[hash].webm 1.81 MB 1.81 MB 0 bytes (0%)
negx-[hash].jpg 54.45 KB 54.45 KB 0 bytes (0%)
negy-[hash].jpg 50.97 KB 50.97 KB 0 bytes (0%)
negz-[hash].jpg 53.29 KB 53.29 KB 0 bytes (0%)
posx-[hash].jpg 58.64 KB 58.64 KB 0 bytes (0%)
posy-[hash].jpg 19.17 KB 19.17 KB 0 bytes (0%)
posz-[hash].jpg 57.49 KB 57.49 KB 0 bytes (0%)
spawn_pen-[hash].png 4.6 KB 4.6 KB 0 bytes (0%)
spawn_pen-hover-[hash].png 5.25 KB 5.25 KB 0 bytes (0%)
spawn_camera-[hash].png 5.3 KB 5.3 KB 0 bytes (0%)
spawn_camera-hover-[hash].png 6.27 KB 6.27 KB 0 bytes (0%)
scene.html 1.55 KB 1.55 KB -1 bytes (0%)
scene-[hash].js 86.2 KB 86.75 KB 560 bytes (1%)
scene-[hash].js.map 201.23 KB 201.87 KB 655 bytes (0%)
scene-[hash].css 3.61 KB 3.65 KB 48 bytes (1%)
scene-[hash].css.map 126 bytes 126 bytes 0 bytes (0%)
camera_tool-[hash].glb 757.23 KB 757.23 KB 0 bytes (0%)
hub-preview-white-[hash].png 79.24 KB 70.86 KB -8.38 KB (11%)
hub-preview-light-no-shadow-[hash].png [new file] 14.57 KB
link_dialog_header-[hash].svg [new file] 950 bytes
moz-logo-black-[hash].png [new file] 3.42 KB

This was referenced Oct 2, 2018
src/hub.html Outdated
@@ -10,6 +10,7 @@
<link rel="shortcut icon" type="image/png" href="/favicon.ico">
<title>Get together | Hubs by Mozilla</title>
<link href="https://fonts.googleapis.com/css?family=Zilla+Slab:300,300i,400,400i,700" rel="stylesheet">
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks like we've stopped using Zilla Slab completely. Might as well remove this font reference and cut the dead weight?

</p>
<p>
The <b>Bubble Toggle</b> hides avatars that enter your personal space.
The <b>Pause/Resume Toggle</b> pauses all other avatars and lets you block others or remove objects.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we change the media "Delete" buttons to read "Remove" instead? There are three of them in the HTML: https://github.com/mozilla/hubs/blob/feature/new-coat-of-paint/src/hub.html#L171

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ah yes, i meant to do this! thanks

Copy link
Contributor

@brianpeiris brianpeiris left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor comments. LGTM!!

</div>
<div className={styles.bottom}>
<div>
<FormattedMessage id="home.made_with_love" />
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

-20 Vibe

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i know i know :/

min-height: 100%;
z-index: 1;
}

:local(.header-content) {
padding: 0.5em 1.75em 0.5em 1.75em;
background-color: $darkest-transparent;
background-color: white;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I recall reading a best practices doc at some point that mentioned it's a bit unsophisticated to use a fully-white white or a fully-black black in your design. I guess we do a lot of that, but perhaps something to keep in mind for the next iteration.

e.g. If feels like the bright white in both the header and the now blown-out background video draw my attention more than the actual UI elements.

image


@media (min-width: 769px) and (min-height: 421px) {
flex: 1;
}
@media (max-width: 768px) , (max-height: 420px) {
margin: 16px 8px;
margin: 16px 0;
padding: 2px 8px;
}
:local(.occupant-count) {
margin: 0 12px;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks better if you remove the margin-right on this, now that it's in a rounded container.

@@ -43,14 +43,16 @@
@extend %glass-text;

appearance: none;
background-color: rgba(64, 64, 64, 0.2);
background-color: white;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The dropdown arrow is still white, so you can't see it now.

image

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

these were images I forgot to convert to black, done

@gfodor gfodor changed the base branch from feature/alpha-link-codes to master October 2, 2018 22:59
@gfodor gfodor merged commit e4ca30e into master Oct 2, 2018
@brianpeiris brianpeiris added the whats new Include this PR on the "What's New" page label Oct 22, 2018
@netpro2k netpro2k changed the title Feature/new coat of paint New Coat of Paint Dec 13, 2018
@brianpeiris brianpeiris deleted the feature/new-coat-of-paint branch December 13, 2018 21:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
whats new Include this PR on the "What's New" page
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants