From c55f2c51ab3a27909b4445a2749a8a206754e25a Mon Sep 17 00:00:00 2001 From: Thaum Date: Thu, 18 Dec 2014 11:02:03 +0000 Subject: [PATCH] Changed attribute dialogs to hero transitions --- rpg-docs/.meteor/release | 2 +- rpg-docs/.meteor/versions | 24 +-- rpg-docs/client/views/GeneralCSS/general.css | 16 ++ .../client/views/character/Stats/stats.css | 43 ++++- .../client/views/character/Stats/stats.html | 181 ++++++++++-------- .../client/views/character/Stats/stats.js | 73 +++++-- .../views/character/characterSheet.html | 12 +- .../client/views/character/skills/skills.css | 1 + rpg-docs/client/views/index.html | 5 + .../paperTemplates/clickCard/clickCard.html | 2 +- 10 files changed, 246 insertions(+), 113 deletions(-) diff --git a/rpg-docs/.meteor/release b/rpg-docs/.meteor/release index 87bf4952..f1b62559 100644 --- a/rpg-docs/.meteor/release +++ b/rpg-docs/.meteor/release @@ -1 +1 @@ -METEOR@1.0 +METEOR@1.0.1 diff --git a/rpg-docs/.meteor/versions b/rpg-docs/.meteor/versions index 14525024..7d59a45b 100644 --- a/rpg-docs/.meteor/versions +++ b/rpg-docs/.meteor/versions @@ -2,9 +2,9 @@ accounts-base@1.1.2 accounts-password@1.0.4 accounts-ui-unstyled@1.1.4 accounts-ui@1.1.3 -aldeed:autoform@3.2.0 +aldeed:autoform@4.1.0 aldeed:collection2@2.2.0 -aldeed:simple-schema@1.0.3 +aldeed:simple-schema@1.1.0 application-configuration@1.0.3 autoupdate@1.1.3 base64@1.0.1 @@ -18,7 +18,7 @@ ctl-helper@1.0.4 ctl@1.0.2 cw4gn3r:jquery-event-drag@2.2.0 dburles:collection-helpers@1.0.1 -ddp@1.0.11 +ddp@1.0.12 deps@1.0.5 ejson@1.0.4 email@1.0.4 @@ -30,14 +30,14 @@ htmljs@1.0.2 http@1.0.8 id-map@1.0.1 insecure@1.0.1 -iron:controller@1.0.0 -iron:core@1.0.0 -iron:dynamic-template@1.0.0 -iron:layout@1.0.0 -iron:location@1.0.1 -iron:middleware-stack@1.0.0 -iron:router@1.0.1 -iron:url@1.0.0 +iron:controller@1.0.3 +iron:core@1.0.3 +iron:dynamic-template@1.0.3 +iron:layout@1.0.3 +iron:location@1.0.3 +iron:middleware-stack@1.0.3 +iron:router@1.0.3 +iron:url@1.0.3 jquery@1.0.1 json@1.0.1 launch-screen@1.0.0 @@ -51,7 +51,7 @@ minifiers@1.1.2 minimongo@1.0.5 mobile-status-bar@1.0.1 mongo-livedata@1.0.6 -mongo@1.0.8 +mongo@1.0.9 mrt:moment@2.6.0 npm-bcrypt@0.7.7 observe-sequence@1.0.3 diff --git a/rpg-docs/client/views/GeneralCSS/general.css b/rpg-docs/client/views/GeneralCSS/general.css index 03dc0f08..d961f5eb 100644 --- a/rpg-docs/client/views/GeneralCSS/general.css +++ b/rpg-docs/client/views/GeneralCSS/general.css @@ -12,6 +12,10 @@ body.core-narrow { padding: 8px; } +body /deep/ core-menu { + overflow-x: hidden !important; +} + .calculatedValue { color: #021C33; font-weight: bold; @@ -78,3 +82,15 @@ paper-button { .center { text-align: center; } + +.screen-center { + position: fixed; + top: 50%; + left: 50%; + -webkit-transform: translate(-50%, -50%); + transform: translate(-50%, -50%); +} + +*[hidden] { + visibility: hidden; +} diff --git a/rpg-docs/client/views/character/Stats/stats.css b/rpg-docs/client/views/character/Stats/stats.css index 316ee8e8..e2d44935 100644 --- a/rpg-docs/client/views/character/Stats/stats.css +++ b/rpg-docs/client/views/character/Stats/stats.css @@ -3,12 +3,16 @@ } #stats, #stats .abilityFlex, #stats .statsFlex{ - display: flex; + display: flex !important; justify-content: center; - align-items: flex-start; + align-items: stretch; flex-wrap: wrap; } +#stats .card { + flex-grow: 1; +} + #stats .abilityFlex{ flex-basis: 642px; flex-grow: 1; @@ -19,4 +23,39 @@ min-width: 152px; flex-basis: 0px; flex-grow: 1; +} + +.editEffect > * { + vertical-align: bottom; +} + +.detailCard { + background: white; + border-radius: 2px; + padding: 16px; +} + +#detailContainer { + position: fixed; + display: flex; + justify-content: center; + align-items: center; + pointer-events: none; +} + +#detailContainer > *{ + pointer-events: auto; +} + +#darkOverlay { + position: absolute; + top: 0; + bottom: 0; + left: 0; + right: 0; + background-color: rgba(0,0,0,0.6); +} + +section:not(.core-selected):not([animate]) paper-shadow[hero] { + visibility: hidden; } \ No newline at end of file diff --git a/rpg-docs/client/views/character/Stats/stats.html b/rpg-docs/client/views/character/Stats/stats.html index d765894e..63967878 100644 --- a/rpg-docs/client/views/character/Stats/stats.html +++ b/rpg-docs/client/views/character/Stats/stats.html @@ -1,70 +1,83 @@