diff --git a/rpg-docs/.meteor/packages b/rpg-docs/.meteor/packages index 0b2e5ed3..42ae2436 100644 --- a/rpg-docs/.meteor/packages +++ b/rpg-docs/.meteor/packages @@ -16,7 +16,6 @@ differential:vulcanize matb33:collection-hooks zimme:collection-softremovable momentjs:moment -mike:mocha dburles:mongo-collection-instances percolate:migrations ecwyne:mathjs diff --git a/rpg-docs/.meteor/versions b/rpg-docs/.meteor/versions index 0c82f047..2c684d40 100644 --- a/rpg-docs/.meteor/versions +++ b/rpg-docs/.meteor/versions @@ -6,7 +6,6 @@ accounts-ui@1.1.5 accounts-ui-unstyled@1.1.7 aldeed:collection2@2.3.3 aldeed:simple-schema@1.3.3 -amplify@1.0.0 autoupdate@1.2.1 base64@1.0.3 binary-heap@1.0.3 @@ -51,7 +50,6 @@ logging@1.0.7 matb33:collection-hooks@0.7.13 meteor@1.1.6 meteor-platform@1.2.2 -mike:mocha@0.5.4 minifiers@1.1.5 minimongo@1.0.8 mobile-status-bar@1.0.3 @@ -62,19 +60,13 @@ oauth@1.1.4 oauth2@1.1.3 observe-sequence@1.0.6 ordered-dict@1.0.3 -package-version-parser@3.0.3 percolate:migrations@0.7.5 -practicalmeteor:chai@1.9.2_3 -practicalmeteor:loglevel@1.1.0_3 random@1.0.3 reactive-dict@1.1.0 reactive-var@1.0.5 reload@1.1.3 retry@1.0.3 routepolicy@1.0.5 -sanjo:long-running-child-process@1.0.3 -sanjo:meteor-files-helpers@1.1.0_4 -sanjo:meteor-version@1.0.0 service-configuration@1.0.4 session@1.1.0 sha@1.0.3 @@ -91,11 +83,6 @@ underscore@1.0.3 url@1.0.4 useraccounts:core@1.9.1 useraccounts:polymer@1.9.1 -velocity:chokidar@0.12.6_1 -velocity:core@0.6.1 -velocity:html-reporter@0.5.3 -velocity:meteor-internals@1.1.0_7 -velocity:shim@0.1.0 webapp@1.2.0 webapp-hashing@1.0.3 wolves:bourbon@1.0.0 diff --git a/rpg-docs/Routes/Routes.js b/rpg-docs/Routes/Routes.js index 6fc59ca2..cb35fd4b 100644 --- a/rpg-docs/Routes/Routes.js +++ b/rpg-docs/Routes/Routes.js @@ -12,7 +12,7 @@ Router.plugin("ensureSignedIn", { "atResetPwd", "atEnrollAccount", "atVerifyEmail", - "atresendVerificationEmail", + "atResendVerificationEmail", "loginButtons", "notFound", ] diff --git a/rpg-docs/client/style/listItem.scss b/rpg-docs/client/style/listItem.scss index bfc7acd8..9d5f717f 100644 --- a/rpg-docs/client/style/listItem.scss +++ b/rpg-docs/client/style/listItem.scss @@ -21,8 +21,17 @@ List items &.tall { height: 56px; } + &.flexible { + height: auto; + padding-top: 16px; + padding-bottom: 16px; + } &[hero], &:active{ box-shadow: 0 0 2px 0 rgba(0, 0, 0, 0.37); z-index: 10; } + core-icon, paper-icon-button { + color: #747474; + color: rgba(0,0,0,0.54); + } } diff --git a/rpg-docs/client/style/main.scss b/rpg-docs/client/style/main.scss index 55821f9a..2a6ce72b 100644 --- a/rpg-docs/client/style/main.scss +++ b/rpg-docs/client/style/main.scss @@ -1,22 +1,16 @@ @import "bourbon/bourbon"; @import "colors"; - -$thickColumnWidth: 304px; -$thinColumnWidth: 200px; -//apply a natural box layout model to all elements, but allowing components to change -html { +$thickColumnWidth: 304px; +$thinColumnWidth: 240px; + +//apply a natural box layout model to all elements +*, *:before, *:after { -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; } -*, *:before, *:after { - -moz-box-sizing: inherit; - -webkit-box-sizing: inherit; - box-sizing: inherit; -} - root { display: block; } @@ -25,6 +19,7 @@ body { font-family: 'Roboto', 'Helvetica Neue', Helvetica, Arial; margin: 0; overflow-x: hidden; + background-color: #E0E0E0; } //Horizontal rule @@ -39,29 +34,23 @@ hr { text-align: center; } +//FABs +.floatyButton { + position: absolute; + bottom: 24px; + right: 24px; +} + //Column layouts of cards .column-container { - -moz-column-fill: balance; - column-fill: balance; - -ms-column-gap: 8px; - -moz-column-gap: 8px; - -webkit-column-gap: 8px; - column-gap: 8px; - -moz-column-width: thickColumnWidth; - -ms-column-width: thickColumnWidth; - -webkit-column-width: thickColumnWidth; - column-width: thickColumnWidth; + @include column-fill(balance); + @include column-gap(8px); + @include column-width($thickColumnWidth); padding: 8px; - - &.thin { - -ms-column-count: 4; - -moz-column-count: 4; - -webkit-column-count: 4; - column-count: 4; - -ms-column-width: 200px; - -moz-column-width: 200px; - -webkit-column-width: 200px; - column-width: 200px; + + &.thin-columns { + @include column-count(4); + @include column-width($thinColumnWidth); } } @@ -69,7 +58,7 @@ hr { .card { background: white; border-radius: 2px; - + .column-container & { margin-bottom: 8px; width: 100%; @@ -83,23 +72,55 @@ hr { //Fixes extra margin at top of columns display: inline-block; } - + .top { cursor: pointer; padding: 16px; border-radius: 2px 2px 0 0; + &.white { + cursor: auto; + padding: 16px; + border-bottom: rgba(0,0,0,0.12) solid 1px; + } + paper-checkbox::shadow #ink[checked] { + color: #ffffff; + } + paper-checkbox::shadow #ink { + color: #ffffff; + } + paper-checkbox::shadow #checkbox.checked { + background-color: #ffffff; + background-color: rgba(255,255,255,0.27); + border-color: #ffffff; + border-color: rgba(255,255,255,0.27); + } + paper-checkbox::shadow #checkbox { + border-color: #ffffff; + border-color: rgba(255,255,255,0.54); + } } .bottom { padding: 16px; border-radius: 0 0 2px 2px; &.list { padding: 0 0 16px 0; + .subhead { + color: rgba(0,0,0,0.54); + font-size: 14px; + font-weight: 500; + letter-spacing: 0.010em; + padding: 12px 16px 12px 16px; + } + } + &.text { + white-space: pre-wrap; } } .left { padding: 16px; border-radius: 2px 0 0 2px; text-align: center; + min-width: 72px; } .right { padding: 16px; @@ -107,9 +128,7 @@ hr { } } -/* -Buttons -*/ +//Buttons paper-button { color: #000; color: rgba(0,0,0,0.87); @@ -118,3 +137,12 @@ paper-button { letter-spacing: 0.010; text-transform: uppercase; } + +//Style shortcuts +.scroll-y { + overflow-y: auto; +} + +.clickable, core-item, paper-tab { + cursor: pointer; +} diff --git a/rpg-docs/client/style/shadowDom.css b/rpg-docs/client/style/shadowDom.css new file mode 100644 index 00000000..0b308e20 --- /dev/null +++ b/rpg-docs/client/style/shadowDom.css @@ -0,0 +1,20 @@ +.card .left paper-icon-button { + display: block; + height: 32px; + padding: 0; + width: 32px; +} + +.card .left paper-icon-button[disabled] { + color: rgba(255, 255, 255, 0.2); +} + +.card .left paper-icon-button /deep/ core-icon { + height: 32px; + width: 32px; +} + +/*fix paper-dropdowns*/ +body /deep/ core-menu { + overflow-x: hidden !important; +} diff --git a/rpg-docs/client/views/GeneralCSS/color.css b/rpg-docs/client/views/GeneralCSS/color.css deleted file mode 100644 index f98b53d3..00000000 --- a/rpg-docs/client/views/GeneralCSS/color.css +++ /dev/null @@ -1,83 +0,0 @@ -.red { - background-color: #F44336; -} - -.pink { - background-color: #E91E63; -} - -.purple { - background-color: #9C27B0; -} - -.deep-purple { - background-color: #673AB7; -} - -.indigo { - background-color: #3F51B5; -} - -.blue { - background-color: #2196F3; -} - -.light-blue { - background-color: #03A9F4; -} - -.cyan { - background-color: #00BCD4; -} - -.teal { - background-color: #009688; -} - -.green { - background-color: #4CAF50; -} - -.light-green { - background-color: #8BC34A; -} - -.lime { - background-color: #CDDC39; -} - -.yellow { - background-color: #FFEB3B; -} - -.amber { - background-color: #FFC107; -} - -.orange { - background-color: #FF9800; -} - -.deep-orange { - background-color: #FF5722; -} - -.brown { - background-color: #795548; -} - -.grey { - background-color: #9E9E9E; -} - -.blue-grey { - background-color: #607D8B; -} - -.white { - background-color: #ffffff; -} - -.black { - background-color: #262626; -} \ No newline at end of file diff --git a/rpg-docs/client/views/GeneralCSS/general.css b/rpg-docs/client/views/GeneralCSS/general.css deleted file mode 100644 index 684aaa52..00000000 --- a/rpg-docs/client/views/GeneralCSS/general.css +++ /dev/null @@ -1,189 +0,0 @@ -body /deep/ core-menu { - overflow-x: hidden !important; -} - -td { - padding: 0; -} - -table { - border-spacing: 0; -} - -.summaryTable td{ - text-align: right; - padding: 4px; - min-width: 80px; -} - -.summaryTable td:first-child { - text-align: left; -} - -core-item { - cursor: pointer; -} - -.cardHeader { - height: 48px; - padding: 0 16px 0 16px; - align-content: center; - font-size: 14px; - font-weight: 400; - color: rgba(0, 0, 0, 0.54); -} - -.clickable, .statCard, .abilityMiniCard { - cursor: pointer; -} - -.resourceCards { - padding: 4px 4px 0 4px; - margin-bottom: -4px; -} - -.resourceCards .card { - width: 180px; - margin: 4px; - flex-grow: 1; - flex-shrink: 1; -} - -.grey-background, body { - background-color: #E0E0E0; -} - -.center { - text-align: center; -} - -.screen-center { - position: fixed; - top: 50%; - left: 50%; - -webkit-transform: translate(-50%, -50%); - transform: translate(-50%, -50%); -} - -.scroll-y { - overflow-y: auto; -} - -.fab-buffer { - height: 88px; - width: 100%; - order: 999; -} - -*[hidden] { - visibility: hidden; -} - -.hidden{ - opacity: 0; -} - -@media (max-width: 640px) { - html /deep/ paper-action-dialog[global-dialog] { - top: 0 !important; - left: 0 !important; - width: 100%; - height: 100%; - margin: 0; - border-radius: 0; - } -} - -.floatyButton { - position: absolute; - bottom: 24px; - right: 24px; -} - -.wideTable td { - padding: 4px 8px 4px 8px; -} - -.wideTable table { - padding: 8px; -} - -paper-fab-menu /deep/ .container { - padding: 24px !important; -} - -paper-slider { - margin-left: -8px; -} - -.list-subhead { - color: rgba(0,0,0,0.54); - font-size: 14px; - height: 40px; - padding-left: 16px; - font-weight: 500; -} - -.whiteTop { - cursor: initial; - border-bottom: black solid 0.5px; - border-bottom: rgba(0,0,0,0.12) solid 1px; - background: white; - padding: 16px; - position: relative; - border-radius: 2px 2px 0 0; -} - -.whiteTop paper-icon-button { - margin: -8px; -} - -.fullwidth { - width: 100%; -} - -.padded { - padding: 16px; -} - -.listPadded { - padding: 0 0 16px 0; -} - -.rightPadded { - padding-right: 16px; -} - -.bottomPadded { - padding-bottom: 16px; -} - -.sideMargin { - margin-left: 16px; - margin-right: 16px; -} - -.vertMargin { - margin-top: 16px; - margin-bottom: 16px; -} - -.spaceAfter { - margin-bottom: 8px; -} - -.s { - padding: 0 0 16px 0; -} - -.leftRound{ - border-radius: 2px 0 0 2px; -} - -.preline { - white-space: pre-line; -} - -.prewrap{ - white-space: pre-wrap; -} diff --git a/rpg-docs/client/views/character/features/features.html b/rpg-docs/client/views/character/features/features.html index 86a9928c..9dbf5a84 100644 --- a/rpg-docs/client/views/character/features/features.html +++ b/rpg-docs/client/views/character/features/features.html @@ -1,7 +1,7 @@