Skip to content
This repository has been archived by the owner on Jul 6, 2021. It is now read-only.

Commit

Permalink
Merge branch 'master' into newKioskStyle
Browse files Browse the repository at this point in the history
Conflicts:
	client/styles/views/misc/kiosk/kiosk.import.less
  • Loading branch information
1u committed Nov 18, 2015
2 parents 822925e + 0042938 commit d453949
Show file tree
Hide file tree
Showing 34 changed files with 515 additions and 321 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,4 @@ dump/

settings.json
server/extracts.msgfmt
version.js
2 changes: 1 addition & 1 deletion .meteor/release
Original file line number Diff line number Diff line change
@@ -1 +1 @@
METEOR@1.2.0.2
METEOR@1.2.1
72 changes: 36 additions & 36 deletions .meteor/versions
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
accounts-base@1.2.1
accounts-base@1.2.2
accounts-facebook@1.0.6
accounts-github@1.0.6
accounts-google@1.0.6
accounts-oauth@1.1.7
accounts-password@1.1.3
accounts-oauth@1.1.8
accounts-password@1.1.4
amplify@1.0.0
archive:jquery-dotdotdot@1.6.15
autoupdate@1.2.3
autoupdate@1.2.4
babel-compiler@5.8.24_1
babel-runtime@0.1.4
base64@1.0.4
Expand All @@ -30,65 +30,65 @@ cfs:power-queue@0.9.11
cfs:reactive-list@0.0.9
cfs:reactive-property@0.0.4
cfs:standard-packages@0.5.9
cfs:storage-adapter@0.2.2
cfs:storage-adapter@0.2.3
cfs:tempstore@0.1.5
cfs:upload-http@0.0.20
cfs:worker@0.1.4
check@1.0.6
check@1.1.0
citizenkevin:medium-editor@1.0.1
coffeescript@1.0.10
coffeescript@1.0.11
ddp@1.2.2
ddp-client@1.2.1
ddp-common@1.2.1
ddp-common@1.2.2
ddp-rate-limiter@1.0.0
ddp-server@1.2.1
ddp-server@1.2.2
deps@1.0.9
diff-sequence@1.0.1
djedi:sanitize-html@1.10.0
ecmascript@0.1.5
ecmascript-collections@0.1.6
djedi:sanitize-html@1.11.1
ecmascript@0.1.6
ecmascript-runtime@0.2.6
ejson@1.0.7
email@1.0.7
es5-shim@4.1.13
email@1.0.8
es5-shim@4.1.14
facebook@1.2.2
fastclick@1.0.7
fortawesome:fontawesome@4.4.0
geojson-utils@1.0.4
github@1.1.4
google@1.1.6
google@1.1.7
html-tools@1.0.5
htmljs@1.0.5
http@1.1.1
ical@0.0.0
id-map@1.0.4
iron:controller@1.0.8
iron:core@1.0.8
iron:dynamic-template@1.0.8
iron:layout@1.0.8
iron:location@1.0.9
iron:middleware-stack@1.0.9
iron:router@1.0.9
iron:url@1.0.9
iron:controller@1.0.12
iron:core@1.0.11
iron:dynamic-template@1.0.12
iron:layout@1.0.12
iron:location@1.0.11
iron:middleware-stack@1.0.11
iron:router@1.0.12
iron:url@1.0.11
jag:pince@0.0.9
jquery@1.11.4
launch-screen@1.0.4
less@2.5.0_3
less@2.5.1
livedata@1.0.15
localstorage@1.0.5
logging@1.0.8
meteor@1.1.9
meteor@1.1.10
meteor-platform@1.2.3
meteorhacks:inject-initial@1.0.2
meteorhacks:inject-initial@1.0.3
meteorhacks:subs-manager@1.6.2
minifiers@1.1.7
minimongo@1.0.10
mobile-status-bar@1.0.6
momentjs:moment@2.10.6
mongo@1.1.2
mongo@1.1.3
mongo-id@1.0.1
mongo-livedata@1.0.9
msgfmt:core@2.0.0-preview.13
msgfmt:extract@2.0.0-preview.9
msgfmt:core@2.0.0-preview.14
msgfmt:extract@2.0.0-preview.10
msgfmt:ui@2.0.0-preview.5
nemo64:bootstrap@3.3.5_2
nemo64:bootstrap-data@3.3.5
Expand All @@ -98,13 +98,13 @@ npm-mongo@1.4.39_1
oauth@1.1.6
oauth2@1.1.5
observe-sequence@1.0.7
okgrow:router-autoscroll@0.1.0
okgrow:router-autoscroll@0.1.4
ordered-dict@1.0.4
promise@0.5.0
promise@0.5.1
raix:eventemitter@0.1.3
random@1.0.4
random@1.0.5
rate-limit@1.0.0
reactive-dict@1.1.2
reactive-dict@1.1.3
reactive-var@1.0.6
reload@1.1.4
retry@1.0.4
Expand All @@ -126,12 +126,12 @@ spacebars-compiler@1.0.7
spiderable@1.0.9
srp@1.0.4
standard-app-packages@1.0.6
standard-minifiers@1.0.1
templating@1.1.4
standard-minifiers@1.0.2
templating@1.1.5
templating-tools@1.0.0
tracker@1.0.9
ui@1.0.8
underscore@1.0.4
url@1.0.5
webapp@1.2.2
webapp@1.2.3
webapp-hashing@1.0.5
3 changes: 3 additions & 0 deletions bin/install-hooks
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/sh
ln -s ../../bin/update-version .git/hooks/post-checkout
ln -s ../../bin/update-version .git/hooks/post-commit
16 changes: 16 additions & 0 deletions bin/update-version
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
#!/bin/sh
ver=$(git describe --abbrev=0)
complete=$(git describe)
branch=$(git rev-parse --abbrev-ref HEAD)
commit=$(git rev-parse HEAD)
timestamp=$(git log -1 --date=short --pretty=format:%cd)
cat > version.js << EOF
VERSION = {
"basic": "$ver",
"complete": "$complete",
"branch": "$branch",
"commit": "$commit",
"timestamp": "$timestamp"
};
EOF

6 changes: 6 additions & 0 deletions client/styles/custom/custom.variables.import.less
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,14 @@
@light-blue: #D8EBF4; //Used mainly for backgrounds
@ownrole: #bcb6ff;
@ownrole-color: #4E4E1C;
@orange: #f98f39;
@yellow: #f3f981;

@mobile: ~"screen and (max-width: @{screen-xs})";
@tablet: ~"screen and (min-width: @{screen-xs}) and (max-width: @{screen-sm})";
@desktop: ~"screen and (min-width: @{screen-md}) and (max-width: @{screen-md})";
@large-desktop: ~"screen and (min-width: @{screen-lg}) and (max-width: @{screen-lg})";

//set custom grid breakpoints
@screen-xxs: 550px;
@screen-xxxs: 380px;
5 changes: 5 additions & 0 deletions client/styles/main.less
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@
@import "custom/custom.variables.import.less";
@import "custom/custom.classes.import.less";

// Load Modules
@import "modules/calendar_event/calendar.event.grid.import.less";
@import "modules/calendar_event/calendar.event.import.less";

// Load Template Stylesheets
@import "views/messages/messages.import.less";
@import "views/main.import.less";
Expand Down Expand Up @@ -37,6 +41,7 @@

@import "views/login/login.import.less";

@import "views/misc/kiosk/kiosk.grid.import.less";
@import "views/misc/kiosk/kiosk.import.less";

@import "views/navigation/navigation.footer.import.less";
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
.frame_calendar_event_container {
.grid(4, 3, 0, 2);
height: 200px;
padding: 0 3px 10px;

@media screen and (max-width: @screen-xxs) {
.grid(6);
padding: 0 3px 10px;
}

@media screen and (max-width: @screen-xxxs) {
.grid(12);
padding: 0 3px 10px;
}

.frame_calendar_event {
.grid(12);
.no-padding;
height: 100%;

.-eventLocationTime {
.grid(12);
height: 50px;
padding: 5px;
}

.-eventTitle {
.grid(12);
max-height: 56px;
padding: 5px;
}

.-eventDescription {
.grid(12);
height: 85px;
margin-top: -3px;
padding: 0 5px 5px;
}
}
}
32 changes: 32 additions & 0 deletions client/styles/modules/calendar_event/calendar.event.import.less
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
.frame_calendar_event_container {
.frame_calendar_event {
.transition(0.5s);
background: @light-blue;

&:hover {
.box-shadow;
}

.-eventLocationTime,
.-eventTitle,
.-eventDescription {
overflow: hidden;
word-wrap: break-word;
}

.-eventLocationTime {
background: @brand-success;
border-bottom: 1px solid #fff;
color: #333;
}

.-eventTitle {
color: #333;
font-size: medium;
}

.-eventDescription {
color: @brand-primary;
}
}
}
45 changes: 0 additions & 45 deletions client/styles/views/frames/calendar.grid.import.less
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
//set custom grid breakpoints
@screen-xxs: 550px;
@screen-xxxs: 380px;

.frame_calendar_date {
.grid(12);
padding: 0 0 10px;
Expand All @@ -24,46 +20,5 @@
.grid(12);
padding: 10px 7px 0;
margin-bottom: -10px;

.frame_calendar_event_container {
.grid(4, 3, 0, 2);
height: 200px;
padding: 0 3px 10px;

@media screen and (max-width: @screen-xxs) {
.grid(6);
padding: 0 3px 10px;
}

@media screen and (max-width: @screen-xxxs) {
.grid(12);
padding: 0 3px 10px;
}

.frame_calendar_event {
.grid(12);
.no-padding;
height: 100%;

.-eventLocationTime {
.grid(12);
height: 50px;
padding: 5px;
}

.-eventTitle {
.grid(12);
max-height: 56px;
padding: 5px;
}

.-eventDescription {
.grid(12);
height: 85px;
margin-top: -3px;
padding: 0 5px 5px;
}
}
}
}
}
41 changes: 3 additions & 38 deletions client/styles/views/frames/calendar.import.less
Original file line number Diff line number Diff line change
@@ -1,48 +1,13 @@
.frame_calendar_date {
.date {
background: lighten(rgb(249, 143, 57), 25%);
border-left: 10px solid rgb(249, 143, 57);
background: lighten(@orange, 25%);
border-left: 10px solid @orange;
font-size: large;
text-align: center;

@media screen and (max-width: @screen-xxxs) {
border-left: none;
border-top: 10px solid rgb(249, 143, 57);
}
}

.frame_calendar_events {
.frame_calendar_event_container {
.frame_calendar_event {
.transition(0.5s);
background: @light-blue;

&:hover {
.box-shadow;
}

.-eventLocationTime,
.-eventTitle,
.-eventDescription {
overflow: hidden;
word-wrap: break-word;
}

.-eventLocationTime {
background: @brand-success;
border-bottom: 1px solid #fff;
color: #333;
}

.-eventTitle {
color: #333;
font-size: medium;
}

.-eventDescription {
color: @brand-primary;
}
}
border-top: 10px solid @orange;
}
}
}

0 comments on commit d453949

Please sign in to comment.