Skip to content

Commit

Permalink
2.0.0 - under construction
Browse files Browse the repository at this point in the history
  • Loading branch information
eouia committed Nov 5, 2018
1 parent b6dfa02 commit 1cc0e5c
Show file tree
Hide file tree
Showing 18 changed files with 766 additions and 311 deletions.
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
credentials.json
tokens.json
token.json
profiles/*.json
profiles/*
node_modules/
temp_screen.html
.AppleDouble
.AppleDouble/*
profiles/.AppleDouble
resources/.AppleDouble
tmp/*
Empty file added INSTALL.md
Empty file.
79 changes: 69 additions & 10 deletions MMM-AssistantMk2.css
Original file line number Diff line number Diff line change
@@ -1,11 +1,33 @@
#ASSISTANT {
height:48px;
min-width:48px;
border:4px;
border-radius:28px;
background-color:#999;
min-height:64px;
min-width:64px;
border-radius:32px;
padding:4px;
background-color:#333;
text-align:center;
display:inline-block;
line-height:100%;
box-sizing: border-box;
}

#ASSISTANT.STANDBY {
background-color:#999;
}

#ASSISTANT.READY {
background-color:#999;
}

#ASSISTANT.UNDERSTANDING {
background-color:#FFF;
}

#ASSISTANT.RESPONSING {
background-color:#FFF;
}

#ASSISTANT.ERROR {
background-color:#F99;
}


Expand Down Expand Up @@ -58,20 +80,57 @@
}

#ASSISTANT_MIC {
height:40px;
width:40px;
box-sizing:border-box;
height:48px;
width:48px;
margin-top:4px;
margin-left:4px;
background-size:contain;
border-radius:20px;
border-radius:24px;
display:inline-block;
margin-top:4px;
background-color:#333;
background-image:url('resources/assistant.png');
}

#ASSISTANT_MIC.MIC {
background-image:url('resources/mic_black.png');
background-color:#FFF;
}

#ASSISTANT_MIC.SPEAKER {
background-image:url('resources/speaker_black.png');
background-color:#FFF;
}

#ASSISTANT_MESSAGE {
min-height:48px;
display:inline-block;
line-height:40px;
vertical-align:top;
margin-left:4px;
box-sizing: border-box;
}

#ASSISTANT_MESSAGE.final {
color:#FFF;
}

#ASSISTANT_MESSAGE p {
min-height:48px;
min-width:48px;
box-sizing: border-box;
line-height:48px;
padding-left:4px;
background-color:#39F;
color:#FFF;
border-radius:24px;
padding:0 8px;
margin:4px;

}




/*
sleeping, waiting, listening, understanding, error
*/
Expand Down
Loading

0 comments on commit 1cc0e5c

Please sign in to comment.