diff --git a/.gitignore b/.gitignore index 3b6a41e..9902c78 100644 --- a/.gitignore +++ b/.gitignore @@ -178,3 +178,4 @@ xcuserdata *.xcuserstate dist +www/libs diff --git a/config.xml b/config.xml index ade9ca1..3715337 100644 --- a/config.xml +++ b/config.xml @@ -18,10 +18,45 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/custom.scss b/custom.scss new file mode 100644 index 0000000..6097b2f --- /dev/null +++ b/custom.scss @@ -0,0 +1,15 @@ +@import "www/libs/mui/src/sass/mui/colors"; + + +$mui-body-bg-color: mui-color('grey', '100'); +//$mui-accent-color: #bad649; +$mui-accent-color: #004c6d; +$mui-btn-accent-font-color: #004c6d; +//$mui-accent-color-dark: mui-color('green', 'A100'); +$mui-accent-color-dark: #004c6d; +$mui-accent-color-light: mui-color('green', 'A400'); +$mui-tab-font-color: rgba(255, 255, 255, 0.87); +$mui-appbar-bg-color: #004c6d; + +// import MUI SASS +@import "www/libs/mui/src/sass/mui"; diff --git a/platforms/android/.gradle/2.2.1/taskArtifacts/cache.properties.lock b/platforms/android/.gradle/2.2.1/taskArtifacts/cache.properties.lock index d1aafe0..f6b810d 100644 Binary files a/platforms/android/.gradle/2.2.1/taskArtifacts/cache.properties.lock and b/platforms/android/.gradle/2.2.1/taskArtifacts/cache.properties.lock differ diff --git a/platforms/android/.gradle/2.2.1/taskArtifacts/fileHashes.bin b/platforms/android/.gradle/2.2.1/taskArtifacts/fileHashes.bin index cd8f206..193f5c4 100644 Binary files a/platforms/android/.gradle/2.2.1/taskArtifacts/fileHashes.bin and b/platforms/android/.gradle/2.2.1/taskArtifacts/fileHashes.bin differ diff --git a/platforms/android/.gradle/2.2.1/taskArtifacts/fileSnapshots.bin b/platforms/android/.gradle/2.2.1/taskArtifacts/fileSnapshots.bin index 6fc3a0b..0a3f892 100644 Binary files a/platforms/android/.gradle/2.2.1/taskArtifacts/fileSnapshots.bin and b/platforms/android/.gradle/2.2.1/taskArtifacts/fileSnapshots.bin differ diff --git a/platforms/android/.gradle/2.2.1/taskArtifacts/taskArtifacts.bin b/platforms/android/.gradle/2.2.1/taskArtifacts/taskArtifacts.bin index a84d429..6a9e6d3 100644 Binary files a/platforms/android/.gradle/2.2.1/taskArtifacts/taskArtifacts.bin and b/platforms/android/.gradle/2.2.1/taskArtifacts/taskArtifacts.bin differ diff --git a/platforms/android/assets/www/css/app.css b/platforms/android/assets/www/css/app.css index 190097b..8c9a060 100644 --- a/platforms/android/assets/www/css/app.css +++ b/platforms/android/assets/www/css/app.css @@ -1,16 +1,9 @@ body { font-family: Ubuntu, "Helvetica Neue", Helvetica, arial, sans-serif; - background-color: #004c6d; - } - -#weatherIcon { - margin-left:25%; - margin-right:25%; - height:70px; - width:70px; } + #lightR, #projR { color: red !important; } #lightG, #projG { color: green !important; } @@ -23,21 +16,7 @@ body { float: right; } -/*.lightBG { - background-color: rgba(255, 255, 0, 0.3); - } -.heatingBG { - background-color: rgba(255, 0, 255, 0.3); - } - -.projectorBG { - background-color: rgba(0, 255, 255, 0.3); - }*/ - -.mui-panel { - background-color: #015579; - } .h105 { height: 100px; @@ -47,9 +26,6 @@ body { overflow: hidden; } -.mui--text-title { - color: #ffffff; - } .item_content { height: 100px; @@ -212,50 +188,6 @@ body { } } -.material-icons { - color: #e5f7fd; - } - -.material-icons.md-18 { font-size: 18px; } - -.material-icons.md-24 { font-size: 24px; } - -.material-icons.md-36 { font-size: 36px; } - -.material-icons.md-48 { font-size: 48px; } - -.material-icons.md-100 { font-size: 100px; } - -/* Rules for using icons as black on a light background. */ -.material-icons.md-dark { color: rgba(0, 0, 0, 0.54); } - -.material-icons.md-dark.md-inactive { color: rgba(0, 0, 0, 0.26); } - -/* Rules for using icons as white on a dark background. */ -.material-icons.md-light { color: rgba(255, 255, 255, 1); } - -.material-icons.md-light.md-inactive { color: rgba(255, 255, 255, 0.3); } - -.material-icons.md-bulb { - content: "" - } - -/* -fan : toys - - - - -bulb : lightbulb_outline - - -calendar: event_note - - -projector: cast - - -*/ .md-display { opacity: 1; @@ -305,3 +237,24 @@ projector: cast 85% { opacity: 1; } 100% { transform: scale(1); filter: blur(5px); opacity: 0; } } + + +header { + position: fixed; + top: 0; + z-index: 1; + right:0; + transition: left .2s; + width:100%; + } + +.mui-tabs__bar > li.tabOnWhite > a + + { +color:#78909C; + } + +.mui-tabs__bar > li.mui--is-active.tabOnWhite > a +{ + color:#2196F3; + } diff --git a/platforms/android/assets/www/css/mui.custom.css b/platforms/android/assets/www/css/mui.custom.css index 79597a4..17b163f 100644 --- a/platforms/android/assets/www/css/mui.custom.css +++ b/platforms/android/assets/www/css/mui.custom.css @@ -379,7 +379,7 @@ body { font-weight: 400; line-height: 1.429; color: rgba(0, 0, 0, 0.87); - background-color: #FFF; } + background-color: #F5F5F5; } input, button, @@ -497,7 +497,7 @@ h4, h5, h6 { top: 64px; } } .mui-appbar { - background-color: #2196F3; + background-color: #004c6d; color: #FFF; } /** @@ -655,21 +655,21 @@ h4, h5, h6 { .mui-btn--accent { color: #004c6d; - background-color: #bad649; } + background-color: #004c6d; } .mui-btn--accent:hover, .mui-btn--accent:focus, .mui-btn--accent:active { color: #004c6d; - background-color: #c2db5e; } + background-color: #005e87; } .mui-btn--accent[disabled]:hover, .mui-btn--accent[disabled]:focus, .mui-btn--accent[disabled]:active { color: #004c6d; - background-color: #bad649; } + background-color: #004c6d; } .mui-btn--accent.mui-btn--flat { - color: #bad649; + color: #004c6d; background-color: transparent; } .mui-btn--accent.mui-btn--flat:hover, .mui-btn--accent.mui-btn--flat:focus, .mui-btn--accent.mui-btn--flat:active { - color: #bad649; + color: #004c6d; background-color: #f2f2f2; } .mui-btn--accent.mui-btn--flat[disabled]:hover, .mui-btn--accent.mui-btn--flat[disabled]:focus, .mui-btn--accent.mui-btn--flat[disabled]:active { - color: #bad649; + color: #004c6d; background-color: transparent; } .mui-btn--small { @@ -1266,7 +1266,7 @@ h4, h5, h6 { .mui-select__menu { position: absolute; - z-index: 1; + z-index: 2; min-width: 100%; overflow-y: auto; padding: 8px 0; @@ -1596,13 +1596,13 @@ th { color: rgba(255, 255, 255, 0.3); } .mui--text-accent { - color: rgba(186, 214, 73, 0.87); } + color: rgba(0, 76, 109, 0.87); } .mui--text-accent-secondary { - color: rgba(186, 214, 73, 0.54); } + color: rgba(0, 76, 109, 0.54); } .mui--text-accent-hint { - color: rgba(186, 214, 73, 0.38); } + color: rgba(0, 76, 109, 0.38); } .mui--text-black { color: #000; } diff --git a/platforms/android/assets/www/index.html b/platforms/android/assets/www/index.html index 524d3c8..6fc3cae 100644 --- a/platforms/android/assets/www/index.html +++ b/platforms/android/assets/www/index.html @@ -1,5 +1,4 @@ - - - - - - - - - - - - - - - - - - - Sensor Toy - - -
-