diff --git a/build/beekee-v0.1-arm-v6.tar.gz b/build/beekee-v0.1-arm-v6.tar.gz deleted file mode 100644 index 33f3fa9..0000000 Binary files a/build/beekee-v0.1-arm-v6.tar.gz and /dev/null differ diff --git a/build/beekee-v0.1-arm-v7.tar.gz b/build/beekee-v0.1-arm-v7.tar.gz deleted file mode 100644 index 33b2bc0..0000000 Binary files a/build/beekee-v0.1-arm-v7.tar.gz and /dev/null differ diff --git a/src/.meteor/packages b/src/.meteor/packages index 667e8f9..00e15f3 100644 --- a/src/.meteor/packages +++ b/src/.meteor/packages @@ -57,3 +57,4 @@ teamon:tinymce tomi:upload-jquery@=2.2.3 tomi:upload-server chrismbeckett:toastr +reywood:iron-router-ga diff --git a/src/.meteor/versions b/src/.meteor/versions index f16869f..2134a32 100644 --- a/src/.meteor/versions +++ b/src/.meteor/versions @@ -96,6 +96,7 @@ reactive-dict@1.1.3 reactive-var@1.0.6 reload@1.1.4 retry@1.0.4 +reywood:iron-router-ga@0.7.1 routepolicy@1.0.6 ryanswapp:fabricjs@0.1.1 rzymek:moment-locale-fr@2.9.0 diff --git a/src/client/stylesheets/custom.css b/src/client/stylesheets/custom.css index 5a73589..8cfc14f 100644 --- a/src/client/stylesheets/custom.css +++ b/src/client/stylesheets/custom.css @@ -3,6 +3,19 @@ custom.css */ +/* ----- Fonts ----- */ + +@font-face { + font-family: 'Raleway Regular'; + src: url('/fonts/Raleway-Regular.eot'); /* IE9 Compat Modes */ + src: url('/fonts/Raleway-Regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ + url('/fonts/Raleway-Regular.woff2') format('woff2'), /* Super Modern Browsers */ + url('/fonts/Raleway-Regular.woff') format('woff'), /* Pretty Modern Browsers */ + url('/fonts/Raleway-Regular.ttf') format('truetype'), /* Safari, Android, iOS */ + url('/fonts/Raleway-Regular.svg#svgFontName') format('svg'); /* Legacy iOS */ +} + + /* ----- Global ----- */ html { @@ -11,6 +24,7 @@ html { body { background-color: #fafafa; + font-family: Raleway, 'Raleway Regular', sans-serif; overflow: auto; height: 100% !important; } @@ -19,13 +33,47 @@ a, button { outline: none; } +a { + color: #1da1f2; +} + +a.link-white { + color:white; + text-decoration: underline; + font-weight: bold; +} + +a.link-white:hover { + color:#0056b3; +} + +h6 { + font-weight: bold; +} + .wrapper { overflow-y: scroll; overflow: -moz-scrollbars-vertical; } .bg-beekee { - background-color: #ffff66; + background-color: rgb(66, 164, 224); +} + +.text-primary { + color: rgb(66, 164, 224) !important; +} + +.btn-outline-primary { + border: solid 2px rgb(66, 164, 224) !important; + border-radius: 20px; + color: rgb(66, 164, 224) !important; +} + +.btn-outline-primary:hover { + background-color: rgb(66, 164, 224) !important; + border-color: rgb(66, 164, 224) !important; + color: white !important; } .btn-icon { @@ -72,6 +120,11 @@ a, button { min-height: 100% !important; } +.card { + border: solid 1px #efefef; + box-shadow: 0 30px 10px -32px rgba(50,50,93,.08), 0 18px 36px -18px rgba(0,0,0,.05), 0 -12px 36px -8px rgba(0,0,0,.0015); +} + .card-header { padding: 0.5rem 1.25rem !important; font-weight: 500 !important; @@ -102,6 +155,15 @@ a, button { } +@media (max-width: 991.98px) { + .row { +/* margin-left:0px; + margin-right:0px; + padding-left:0px; + padding-right:0px;*/ + } +} + input.error { background-color:rgb(255, 231, 231); } @@ -128,20 +190,12 @@ and (max-device-width : 568px) {*/ } -/* ----- Sidebar ----- */ - -.space-sidebar--menu-collapse[aria-expanded="false"] .fa:before { - content: "\f0d8"; -} +/* ----- Index Student ----- */ -.space-sidebar--menu-collapse[aria-expanded="true"] .fa:before { - content: "\f0d7"; +.index-student { + background-color: #1da1f2; } -.space-sidebar--filter-category > :nth-child(3) { display:none; } - -.space-sidebar--filter-category:hover > :nth-child(3) { display:inline; } - /* ----- Post item ----- */ @@ -182,6 +236,20 @@ and (max-device-width : 568px) {*/ } +/* ----- Live Feed Post Submit ----- */ + +.live-feed-post-submit { + border:solid 1px rgb(204, 232, 255); + padding:10px; + border-radius: 0.25rem 0.25rem 0.25rem 0.25rem !important; + background:#f2f9ff; +} + +#live-feed-post-submit--form .card-img-top { + width:50%; +} + + /* ----- File upload ----- */ .file-upload--input-file { @@ -190,6 +258,7 @@ and (max-device-width : 568px) {*/ } .file-upload--input-file-icon { + color: rgb(66, 164, 224); cursor: pointer; } diff --git a/src/client/stylesheets/sidebar.css b/src/client/stylesheets/sidebar.css index ceb8732..647af33 100644 --- a/src/client/stylesheets/sidebar.css +++ b/src/client/stylesheets/sidebar.css @@ -20,12 +20,47 @@ sidebar.css /* box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.2); */ } +.sidebar-item { + padding-left:6px; +} + .sidebar-item:hover { - background-color: white; + background-color: rgb(233, 247, 255); + border-radius: 15px; } -.menu-item--selected { - background-color: white; +.sidebar-item:hover > a{ + color:rgb(66, 164, 224) !important; + font-weight: bold !important; +} + +a.menu-item { + color: #676767; +} + +.sidebar--submenu { + border-left:solid 1px #cce8ff; + margin-left:15px; + padding-left:4px; +} + +a.space-sidebar--menu-collapse { + color: #afafaf !important; + font-weight: bold; +} + +.sidebar--submenu a, .sidebar--submenu i { + font-size:0.75em; + color: #727980; +} + +a.menu-item--selected { + color: rgb(66, 164, 224); + font-weight: bold; +} + +.menu-item--selected .menu-item { + color: rgb(66, 164, 224); } @media (max-width: 991.98px) { @@ -33,8 +68,13 @@ sidebar.css background-color: #cccccc; } + .sidebar-item { + width:100%; + } + .sidebar-item:hover { - background-color: #cccccc; + border-radius:0px; + background-color: #cccccc; } } @@ -88,6 +128,33 @@ sidebar.css transform: translateY(-50%); } +.space-sidebar--menu-collapse[aria-expanded="false"] .fa:before { + content: "\f0d7"; +} + +.space-sidebar--menu-collapse[aria-expanded="true"] .fa:before { + content: "\f0d8"; +} + +.space-sidebar--filter-category > :nth-child(3) { display:none; } + +.space-sidebar--filter-category:hover > :nth-child(3) { display:inline; } + +.space-sidebar--live-feed-category-edit i { + font-size:1.1em; +} + +.space-sidebar--credits { + margin-top:40px; + font-size: 0.7em; + color: #b7b7b7; + padding-top: 12px; +} + +a.sidebar--add { + color: #1da1f2; +} + /* ----- Content ----- */ diff --git a/src/client/templates/account/reset-password.html b/src/client/templates/account/reset-password.html index a1aa439..a5f6a0b 100644 --- a/src/client/templates/account/reset-password.html +++ b/src/client/templates/account/reset-password.html @@ -1,19 +1,22 @@ \ No newline at end of file diff --git a/src/client/templates/account/reset-password.js b/src/client/templates/account/reset-password.js index 9d348ac..2b03874 100644 --- a/src/client/templates/account/reset-password.js +++ b/src/client/templates/account/reset-password.js @@ -1,3 +1,10 @@ +Template.resetPassword.onRendered(function () { + + // Enable autofocus + $('#password').focus(); +}); + + Template.resetPassword.events({ 'submit form': function(e) { diff --git a/src/client/templates/account/user_settings.html b/src/client/templates/account/user_settings.html index 7dfac79..63c3455 100644 --- a/src/client/templates/account/user_settings.html +++ b/src/client/templates/account/user_settings.html @@ -2,7 +2,7 @@ {{> backHeader}}
-
+
{{_ 'user-settings--page-title'}}
diff --git a/src/client/templates/admin/admin.html b/src/client/templates/admin/admin.html index 9df77a3..43bff4b 100644 --- a/src/client/templates/admin/admin.html +++ b/src/client/templates/admin/admin.html @@ -109,13 +109,6 @@

{{_ 'admin--page-title'}}

- {{#if isBox}} -
-
- -
-
- {{/if}}
{{> adminSpaceSubmit}} {{> adminCreateAccount}} diff --git a/src/client/templates/admin/admin_space_submit.js b/src/client/templates/admin/admin_space_submit.js index 30e71de..a6efd40 100644 --- a/src/client/templates/admin/admin_space_submit.js +++ b/src/client/templates/admin/admin_space_submit.js @@ -5,7 +5,7 @@ Template.adminSpaceSubmit.onRendered(function () { "spaceName": { required: true, minlength: 3, - maxlength: 20 + maxlength: 35 } } }); @@ -20,7 +20,8 @@ Template.adminSpaceSubmit.events({ e.preventDefault(); var space = { - title: $('#spaceName').val().trim() + title: $('#spaceName').val().trim(), + lang: Session.get('lang') }; Meteor.call('spaceInsert', space, function(error, result) { diff --git a/src/client/templates/headers/back_header.html b/src/client/templates/headers/back_header.html index e8cc70d..028ce89 100644 --- a/src/client/templates/headers/back_header.html +++ b/src/client/templates/headers/back_header.html @@ -1,9 +1,9 @@