diff --git a/uwBridge/apps/client/example!/filesystem/asset/css/core/animation.css b/uwBridge/apps/client/example!/filesystem/asset/css/core/animation.css deleted file mode 100644 index 19e6a2c4..00000000 --- a/uwBridge/apps/client/example!/filesystem/asset/css/core/animation.css +++ /dev/null @@ -1,160 +0,0 @@ -/* Animations */ - -.fadeOut { - transition-timing-function: cubic-bezier(0.33, 0, 0.62, 1); - animation-fill-mode: forwards; - backface-visibility: hidden; - animation-name: fadeOut; - animation-duration: 0.303398875s; -} - -@keyframes fadeOut { - 0% { - opacity: 1; - } - 100% { - opacity: 0; - } -} - -.fadeIn { - transition-timing-function: cubic-bezier(0.33, 0, 0.62, 1); - animation-fill-mode: forwards; - backface-visibility: hidden; - animation-name: fadeIn; - animation-duration: 0.803398875s; -} - -@keyframes fadeIn { - 0% { - opacity: 0; - } - 100% { - opacity: 1; - } -} - -.expand { - transition-timing-function: cubic-bezier(0.33, 0, 0.62, 1); - animation-fill-mode: forwards; - backface-visibility: hidden; - animation-name: expand; - animation-duration: 0.803398875s; -} - -@keyframes expand { - 0% { - width: 0; - height: 0; - } - 100% { - width: inherit; - height: inherit; - } -} - -.fadeInDown { - transition-timing-function: cubic-bezier(0.33, 0, 0.62, 1); - animation-fill-mode: forwards; - backface-visibility: hidden; - animation-name: fadeInDown; - animation-duration: 0.803398875s; -} - -@keyframes fadeInDown { - 0% { - transform: translate3d(0, -100px, 0); - opacity: 0; - } - 100% { - transform: translate3d(0, 0, 0); - opacity: 1; - } -} - -.fadeInUp { - transition-timing-function: cubic-bezier(0.33, 0, 0.62, 1); - animation-fill-mode: forwards; - backface-visibility: hidden; - animation-name: fadeInUp; - animation-duration: 0.803398875s; -} - -@keyframes fadeInUp { - 0% { - transform: translate3d(0, 20px, 0); - opacity: 0; - } - 100% { - transform: translate3d(0, 0, 0); - opacity: 1; - } -} - - -.slow { - animation-duration: 1.12s !important; -} - -.slow2x { - animation-duration: 1.62s !important; -} - -.fadeInUpText { - transition-timing-function: cubic-bezier(0.33, 0, 0.62, 1); - animation-fill-mode: forwards; - backface-visibility: hidden; - animation-name: fadeInUpText; - animation-duration: 0.803398875s; -} - -@keyframes fadeInUpText { - 0% { - transform: translate3d(0, 200px, 0); - opacity: 0; - } - 50% { - opacity: 0; - } - 100% { - transform: translate3d(0, 0, 0); - opacity: 1; - } -} - -.shrinkHeight { - overflow: hidden; - transition-timing-function: cubic-bezier(0.33, 0, 0.62, 1); - animation-fill-mode: forwards; - backface-visibility: hidden; - animation-name: shrinkHeight; - animation-duration: 0.3398875s; -} - -@keyframes shrinkHeight { - 0% { - max-height: 100%; - } - 100% { - overflow: hidden; - max-height: 0; - } -} - -.expandHeight { - transition-timing-function: cubic-bezier(0.33, 0, 0.62, 1); - animation-fill-mode: forwards; - backface-visibility: hidden; - animation-name: expandHeight; - animation-duration: 0.3398875s; -} - -@keyframes expandHeight { - 0% { - overflow: hidden; - max-height: 0; - } - 100% { - max-height: 100%; - } -} diff --git a/uwBridge/apps/client/example!/filesystem/asset/css/core/blotr.css b/uwBridge/apps/client/example!/filesystem/asset/css/core/blotr.css index 9860ee0e..d1bd7fe4 100644 --- a/uwBridge/apps/client/example!/filesystem/asset/css/core/blotr.css +++ b/uwBridge/apps/client/example!/filesystem/asset/css/core/blotr.css @@ -515,6 +515,168 @@ button { transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); } +/* Animations */ + +.fadeOut { + transition-timing-function: cubic-bezier(0.33, 0, 0.62, 1); + animation-fill-mode: forwards; + backface-visibility: hidden; + animation-name: fadeOut; + animation-duration: 0.303398875s; +} + +@keyframes fadeOut { + 0% { + opacity: 1; + } + 100% { + opacity: 0; + } +} + +.fadeIn { + transition-timing-function: cubic-bezier(0.33, 0, 0.62, 1); + animation-fill-mode: forwards; + backface-visibility: hidden; + animation-name: fadeIn; + animation-duration: 0.803398875s; +} + +@keyframes fadeIn { + 0% { + opacity: 0; + } + 100% { + opacity: 1; + } +} + +.expand { + transition-timing-function: cubic-bezier(0.33, 0, 0.62, 1); + animation-fill-mode: forwards; + backface-visibility: hidden; + animation-name: expand; + animation-duration: 0.803398875s; +} + +@keyframes expand { + 0% { + width: 0; + height: 0; + } + 100% { + width: inherit; + height: inherit; + } +} + +.fadeInDown { + transition-timing-function: cubic-bezier(0.33, 0, 0.62, 1); + animation-fill-mode: forwards; + backface-visibility: hidden; + animation-name: fadeInDown; + animation-duration: 0.803398875s; +} + +@keyframes fadeInDown { + 0% { + transform: translate3d(0, -100px, 0); + opacity: 0; + } + 100% { + transform: translate3d(0, 0, 0); + opacity: 1; + } +} + +.fadeInUp { + transition-timing-function: cubic-bezier(0.33, 0, 0.62, 1); + animation-fill-mode: forwards; + backface-visibility: hidden; + animation-name: fadeInUp; + animation-duration: 0.803398875s; +} + +@keyframes fadeInUp { + 0% { + transform: translate3d(0, 20px, 0); + opacity: 0; + } + 100% { + transform: translate3d(0, 0, 0); + opacity: 1; + } +} + + +.slow { + animation-duration: 1.12s !important; +} + +.slow2x { + animation-duration: 1.62s !important; +} + +.fadeInUpText { + transition-timing-function: cubic-bezier(0.33, 0, 0.62, 1); + animation-fill-mode: forwards; + backface-visibility: hidden; + animation-name: fadeInUpText; + animation-duration: 0.803398875s; +} + +@keyframes fadeInUpText { + 0% { + transform: translate3d(0, 200px, 0); + opacity: 0; + } + 50% { + opacity: 0; + } + 100% { + transform: translate3d(0, 0, 0); + opacity: 1; + } +} + +.shrinkHeight { + overflow: hidden; + transition-timing-function: cubic-bezier(0.33, 0, 0.62, 1); + animation-fill-mode: forwards; + backface-visibility: hidden; + animation-name: shrinkHeight; + animation-duration: 0.3398875s; +} + +@keyframes shrinkHeight { + 0% { + max-height: 100%; + } + 100% { + overflow: hidden; + max-height: 0; + } +} + +.expandHeight { + transition-timing-function: cubic-bezier(0.33, 0, 0.62, 1); + animation-fill-mode: forwards; + backface-visibility: hidden; + animation-name: expandHeight; + animation-duration: 0.3398875s; +} + +@keyframes expandHeight { + 0% { + overflow: hidden; + max-height: 0; + } + 100% { + max-height: 100%; + } +} + + /* opacity */ .opacity0 { diff --git a/uwBridge/apps/client/example!/filesystem/asset/css/core/theme.css b/uwBridge/apps/client/example!/filesystem/asset/css/core/theme.css deleted file mode 100644 index 825a0e87..00000000 --- a/uwBridge/apps/client/example!/filesystem/asset/css/core/theme.css +++ /dev/null @@ -1,377 +0,0 @@ -body { - overflow: hidden; - background-color: #f5f7f6; - color: #19121c; - font-family: customFont; -} - -/* shadows */ -.shadowBox { - box-shadow: 0 4px 5px 0 rgba(0, 0, 0, 0.14), - 0 1px 10px 0 rgba(0, 0, 0, 0.12), 0 2px 4px -1px rgba(0, 0, 0, 0.2); -} - -/* gloss */ -.gloss { - background-image: -webkit-gradient( - linear, - left top, - left bottom, - color-stop(0, rgba(255, 255, 255, 0.1)), - color-stop(1, rgba(0, 0, 0, 0)) - ); -} - -input:focus, -select:focus, -textarea:focus, -button:focus { - outline: none; -} - -.scrollWrap, -.scroll, -.absolute, -.absolute, -.uk-nav, -div { - box-sizing: border-box; -} - -.scrollWrap { - width: 100%; -} - -.uk-card-title { - text-transform: uppercase; -} - -.uk-padding-small-top { - padding-top: 15px; -} - -h3 .uk-icon { - vertical-align: middle; - margin-top: -5px; -} - -.uk-tab { - margin-left: 0px; -} - -.pageComponent .uk-card-default { - min-width: 50%; - max-width: 90%; -} - -.smallScreen .pageComponent .uk-card-default { - min-width: 96%; -} - -.pageComponent .uk-card-default .uk-card-title .uk-icon { - vertical-align: middle; - margin-top: -5px; -} - -.uk-notification-close { - color: #fff; - display: block; - transition: all 0.5s ease; -} - -.uk-notification-message { - color: #ffff; - box-shadow: rgb(0 0 0 / 20%) 0px 4px 16px, rgb(0 0 0 / 5%) 0px 8px 24px, - rgb(0 0 0 / 5%) 0px 16px 56px; - text-transform: capitalize; -} - -.uk-notification-message-primary { - background: #5d6673; - color: #ffff; -} - -.uk-notification-message.uk-notification-message-danger { - background-color: #ff5f44; -} - -.uk-button-danger.uk-button { - color: white; - background-color: #ff5f44; -} - -.uk-button-danger:hover { - background-color: #d64b33; -} - -.uk-label { - background-color: #2f5afb; - color:#fff; -} - -.uk-label a { - color:#fff; -} - -.uk-card-secondary, -.uk-button.uk-button-secondary { - color: #fff; - background-color: #3c6671; - text-shadow: 0 1px 0px rgba(0,0,0, 0.5); -} - -.uk-card-secondary.uk-card-body { - color: #fff; - text-shadow: 0 1px 1px rgba(0,0,0, 0.8); -} - -.uk-card-body .uk-icon-button.uk-light.uk-position-absolute, -.uk-icon-button.uk-light { - color: rgba(255,255,255,0.3); - background-color: rgba(0,0,0,0.7); - transition: all 0.3s ease !important; - transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); -} - -.uk-card-body .uk-icon-button.uk-light.uk-position-absolute:hover, -.uk-icon-button.uk-light:hover { - color: #fff; - background-color: #000; -} - -.uk-icon-button.uk-light svg { - fill: rgba(255,255,255,0.8); - transition: all 0.3s ease !important; - transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); -} - -.uk-icon-button.uk-light:hover svg { - fill: rgba(255,255,255,1); -} - -.uk-button-secondary:hover { - background-color: #5d6673; -} - -h1, -h2, -h3, -h4, -h5, -h6 { - text-transform: uppercase; -} - -.uk-card-default .uk-card-footer.border-remove-top { - border-top: none; -} - -.uk-button-default { - border: 1px solid #00d7c5; -} - -.uk-search-default .uk-search-input:focus, -.uk-input:focus, -.uk-select:focus, -.uk-textarea:focus { - border-color: #00d7c5; -} - -.padding-small-top { - padding-top: 10px; -} - -.padding-left { - padding-left: 15px; -} - -.uk-list.splitRows li { - cursor: pointer; -} - -.uk-list.splitRows li:hover { - color: #1e87f0; -} - -.uk-table.splitRows { - border-collapse: separate; - border-spacing: 0 1em; - padding: 10px; -} - -.uk-table.splitRows tbody tr { - background-color: #fff; - cursor: pointer; - transition: all 0.1s linear; - box-shadow: 0 2px 8px rgb(0 0 0 / 5%), 0em 0em 1em rgb(0 0 0 / 5%); - border-radius: 3px; -} - -.uk-table-hover tbody tr:hover, -.uk-table-hover > tr:hover { - box-shadow: 0 2px 8px rgb(0 0 0 / 8%), 0em 0em 1em rgb(0 0 0 / 15%), - inset 0.3em 0em 0em #00d7c5; -} - -.uk-table.splitRows th { - font-size: 1rem; - font-weight: bold; -} - -.uk-table.splitRows tr td { - border-bottom: 1px solid rgba(0 0 0 / 10%); -} - -.uk-table.splitRows tr td:first-child { - border-top-left-radius: 3px; - border-bottom-left-radius: 3px; -} -.uk-table.splitRows tr td:last-child { - border-top-right-radius: 3px; - border-bottom-right-radius: 3px; -} - -.uk-tab > * > a { - border-width: 4px; -} - -.uk-tab::before { - border-width: 4px; -} - -.uk-tab::before { - left: 0px; -} - -.uk-tab > .uk-active > a { - border-color: #00d7c5; - border-bottom-width: 4px; -} - -.uk-tab > * { - padding-left: 0px; -} - -.uk-subnav-pill > .uk-active > a { - background-color: #00d7c5; - color: #191216; -} - -.uk-button.round-right { - border-radius: 0 3px 3px 0px !important; -} - -.uk-card { - transition: all 0.5s ease; -} - -.uk-card.uk-card-primary { - background: #00d7c5; - color: #191216; -} - -.uk-card.uk-card-primary .uk-text-lead { - color: #191216; -} - -.uk-card.uk-card-primary:hover { - background-color: #01a29f; - color: #fff; -} - -.uk-card.uk-card-primary:hover .uk-text-lead { - color: #fff; -} - -.flexTable .uk-card-row:nth-child(2) { - margin-top: 30px; -} - -.flexTable .uk-card-row { - background-color: #fff; - cursor: pointer; - transition: all 0.1s linear; - border-radius: 3px; - border: 1px solid rgba(0, 0, 0, 0.1); - margin-top: 20px; -} - - -.flexTable .uk-card-row:hover { - box-shadow: 0 2px 8px rgb(0 0 0 / 5%), 0em 0em 1em rgb(0 0 0 / 5%); -} - -.tablet .buttonFixedBottom>.uk-margin-auto.uk-margin-auto-vertical, -.desktop .buttonFixedBottom>.uk-margin-auto.uk-margin-auto-vertical { - padding-bottom: 60px; -} - - -.uk-thumbnav>li>a, -.uk-thumbnav>li { - border-radius: 8px; - overflow: hidden; - height: 60px; - width: 80px; - transition: all 0.3s ease !important; - transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); -} - -.uk-thumbnav>li { - padding-left: 0px; - margin-left: 15px; - filter: drop-shadow(0 5px 25px rgba(0, 0, 0, 0.2)) drop-shadow(0 0 2px rgba(0, 0, 0, 0.5)); -} - -.uk-thumbnav>li>a>img { - height: auto; - max-height: auto; - max-width: 250px; - transition: all 0.3s ease !important; - transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); -} - -.uk-thumbnav>li.uk-active >a>img { - max-width: auto; -} - -.uk-thumbnav>*>::after { - border-radius: 8px; - background-color: rgba(0,0,0,.3); - box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .5), inset 0 0 0px 2px rgba(255, 255, 255, .20); - transition: all 0.3s ease !important; - transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); -} - -.uk-slideshow-items::after { - width: 100%; - height: 10px; - bottom:0px; - position:absolute; - content: ' '; - box-shadow: inset 0px -3px 3px 0 rgba(0,0,0,0.1); - transition: all 0.3s ease !important; - transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); -} - -#mainWrap:not(.mobile):not(.miniScreen) .uk-card.largeRounded.uk-card-default.uk-overflow-hidden { - border: 1px solid rgba(0,0,0,0.15); -} - -.uk-grid-match[uk-lightbox] a .uk-overflow-hidden { - background-color: rgba(0,0,0,0.1); - border-radius: 8px; - max-width: 200px; -} - -.uk-grid-match[uk-lightbox] a .uk-overflow-hidden img { - max-width:150%; - max-height:150%; -} - -.uk-border-rounded-right.uk-button-group div:last-child .uk-button { - border-radius: 0 3px 3px 0; - margin-right: -1px; -} - - diff --git a/uwBridge/apps/client/example!/filesystem/asset/css/event/resize.css b/uwBridge/apps/client/example!/filesystem/asset/css/event/resize.css deleted file mode 100644 index 9361eb35..00000000 --- a/uwBridge/apps/client/example!/filesystem/asset/css/event/resize.css +++ /dev/null @@ -1,9 +0,0 @@ -/* Percentages */ - -.mediumScreen .wm85, .smallScreen .ws85, .mobileScreen .wm85 { - width: 85%; -} - -.smallScreen .ws95 { - width: 95%; -} diff --git a/uwBridge/apps/client/example!/filesystem/asset/css/tour/arrows-fix.css b/uwBridge/apps/client/example!/filesystem/asset/css/tour/arrows-fix.css deleted file mode 100644 index 5b8b5223..00000000 --- a/uwBridge/apps/client/example!/filesystem/asset/css/tour/arrows-fix.css +++ /dev/null @@ -1,5 +0,0 @@ -.shepherd-element-attached-bottom.shepherd-element-attached-right.shepherd-target-attached-top.shepherd-target-attached-left .shepherd-content:before, -.shepherd-element-attached-bottom.shepherd-element-attached-left.shepherd-target-attached-top.shepherd-target-attached-right .shepherd-content:before, -.shepherd-element-attached-top.shepherd-element-attached-right.shepherd-target-attached-bottom.shepherd-target-attached-left .shepherd-content:before, -.shepherd-element-attached-top.shepherd-element-attached-left.shepherd-target-attached-bottom.shepherd-target-attached-right .shepherd-content:before { - display: none; } diff --git a/uwBridge/apps/client/example!/filesystem/asset/css/tour/arrows-plain-buttons.css b/uwBridge/apps/client/example!/filesystem/asset/css/tour/arrows-plain-buttons.css deleted file mode 100644 index b987ed70..00000000 --- a/uwBridge/apps/client/example!/filesystem/asset/css/tour/arrows-plain-buttons.css +++ /dev/null @@ -1,215 +0,0 @@ -.shepherd-element-attached-bottom.shepherd-element-attached-right.shepherd-target-attached-top.shepherd-target-attached-left .shepherd-content:before, -.shepherd-element-attached-bottom.shepherd-element-attached-left.shepherd-target-attached-top.shepherd-target-attached-right .shepherd-content:before, -.shepherd-element-attached-top.shepherd-element-attached-right.shepherd-target-attached-bottom.shepherd-target-attached-left .shepherd-content:before, -.shepherd-element-attached-top.shepherd-element-attached-left.shepherd-target-attached-bottom.shepherd-target-attached-right .shepherd-content:before { - display: none; } - -.shepherd-element, .shepherd-element:after, .shepherd-element:before, .shepherd-element *, .shepherd-element *:after, .shepherd-element *:before { - box-sizing: border-box; } - -.shepherd-element { - position: absolute; - display: none; } - .shepherd-element.shepherd-open { - display: block; } - -.shepherd-element.shepherd-theme-arrows-plain-buttons { - max-width: 100%; - max-height: 100%; } - .shepherd-element.shepherd-theme-arrows-plain-buttons .shepherd-content { - border-radius: 5px; - position: relative; - font-family: inherit; - background: #fff; - color: #444; - padding: 1em; - font-size: 1.1em; - line-height: 1.5em; - -webkit-transform: translateZ(0); - transform: translateZ(0); - -webkit-filter: drop-shadow(0 1px 4px rgba(0, 0, 0, 0.2)); - filter: drop-shadow(0 1px 4px rgba(0, 0, 0, 0.2)); } - .shepherd-element.shepherd-theme-arrows-plain-buttons .shepherd-content:before { - content: ""; - display: block; - position: absolute; - width: 0; - height: 0; - border-color: transparent; - border-width: 16px; - border-style: solid; - pointer-events: none; } - .shepherd-element.shepherd-theme-arrows-plain-buttons.shepherd-element-attached-bottom.shepherd-element-attached-center .shepherd-content { - margin-bottom: 16px; } - .shepherd-element.shepherd-theme-arrows-plain-buttons.shepherd-element-attached-bottom.shepherd-element-attached-center .shepherd-content:before { - top: 100%; - left: 50%; - margin-left: -16px; - border-top-color: #fff; } - .shepherd-element.shepherd-theme-arrows-plain-buttons.shepherd-element-attached-top.shepherd-element-attached-center .shepherd-content { - margin-top: 16px; } - .shepherd-element.shepherd-theme-arrows-plain-buttons.shepherd-element-attached-top.shepherd-element-attached-center .shepherd-content:before { - bottom: 100%; - left: 50%; - margin-left: -16px; - border-bottom-color: #fff; } - .shepherd-element.shepherd-theme-arrows-plain-buttons.shepherd-element-attached-right.shepherd-element-attached-middle .shepherd-content { - margin-right: 16px; } - .shepherd-element.shepherd-theme-arrows-plain-buttons.shepherd-element-attached-right.shepherd-element-attached-middle .shepherd-content:before { - left: 100%; - top: 50%; - margin-top: -16px; - border-left-color: #fff; } - .shepherd-element.shepherd-theme-arrows-plain-buttons.shepherd-element-attached-left.shepherd-element-attached-middle .shepherd-content { - margin-left: 16px; } - .shepherd-element.shepherd-theme-arrows-plain-buttons.shepherd-element-attached-left.shepherd-element-attached-middle .shepherd-content:before { - right: 100%; - top: 50%; - margin-top: -16px; - border-right-color: #fff; } - .shepherd-element.shepherd-theme-arrows-plain-buttons.shepherd-element-attached-left.shepherd-target-attached-center .shepherd-content { - left: -32px; } - .shepherd-element.shepherd-theme-arrows-plain-buttons.shepherd-element-attached-right.shepherd-target-attached-center .shepherd-content { - left: 32px; } - .shepherd-element.shepherd-theme-arrows-plain-buttons.shepherd-element-attached-top.shepherd-element-attached-left.shepherd-target-attached-middle .shepherd-content { - margin-top: 16px; } - .shepherd-element.shepherd-theme-arrows-plain-buttons.shepherd-element-attached-top.shepherd-element-attached-left.shepherd-target-attached-middle .shepherd-content:before { - bottom: 100%; - left: 16px; - border-bottom-color: #fff; } - .shepherd-element.shepherd-theme-arrows-plain-buttons.shepherd-element-attached-top.shepherd-element-attached-right.shepherd-target-attached-middle .shepherd-content { - margin-top: 16px; } - .shepherd-element.shepherd-theme-arrows-plain-buttons.shepherd-element-attached-top.shepherd-element-attached-right.shepherd-target-attached-middle .shepherd-content:before { - bottom: 100%; - right: 16px; - border-bottom-color: #fff; } - .shepherd-element.shepherd-theme-arrows-plain-buttons.shepherd-element-attached-bottom.shepherd-element-attached-left.shepherd-target-attached-middle .shepherd-content { - margin-bottom: 16px; } - .shepherd-element.shepherd-theme-arrows-plain-buttons.shepherd-element-attached-bottom.shepherd-element-attached-left.shepherd-target-attached-middle .shepherd-content:before { - top: 100%; - left: 16px; - border-top-color: #fff; } - .shepherd-element.shepherd-theme-arrows-plain-buttons.shepherd-element-attached-bottom.shepherd-element-attached-right.shepherd-target-attached-middle .shepherd-content { - margin-bottom: 16px; } - .shepherd-element.shepherd-theme-arrows-plain-buttons.shepherd-element-attached-bottom.shepherd-element-attached-right.shepherd-target-attached-middle .shepherd-content:before { - top: 100%; - right: 16px; - border-top-color: #fff; } - .shepherd-element.shepherd-theme-arrows-plain-buttons.shepherd-element-attached-top.shepherd-element-attached-left.shepherd-target-attached-bottom .shepherd-content { - margin-top: 16px; } - .shepherd-element.shepherd-theme-arrows-plain-buttons.shepherd-element-attached-top.shepherd-element-attached-left.shepherd-target-attached-bottom .shepherd-content:before { - bottom: 100%; - left: 16px; - border-bottom-color: #fff; } - .shepherd-element.shepherd-theme-arrows-plain-buttons.shepherd-element-attached-top.shepherd-element-attached-right.shepherd-target-attached-bottom .shepherd-content { - margin-top: 16px; } - .shepherd-element.shepherd-theme-arrows-plain-buttons.shepherd-element-attached-top.shepherd-element-attached-right.shepherd-target-attached-bottom .shepherd-content:before { - bottom: 100%; - right: 16px; - border-bottom-color: #fff; } - .shepherd-element.shepherd-theme-arrows-plain-buttons.shepherd-element-attached-bottom.shepherd-element-attached-left.shepherd-target-attached-top .shepherd-content { - margin-bottom: 16px; } - .shepherd-element.shepherd-theme-arrows-plain-buttons.shepherd-element-attached-bottom.shepherd-element-attached-left.shepherd-target-attached-top .shepherd-content:before { - top: 100%; - left: 16px; - border-top-color: #fff; } - .shepherd-element.shepherd-theme-arrows-plain-buttons.shepherd-element-attached-bottom.shepherd-element-attached-right.shepherd-target-attached-top .shepherd-content { - margin-bottom: 16px; } - .shepherd-element.shepherd-theme-arrows-plain-buttons.shepherd-element-attached-bottom.shepherd-element-attached-right.shepherd-target-attached-top .shepherd-content:before { - top: 100%; - right: 16px; - border-top-color: #fff; } - .shepherd-element.shepherd-theme-arrows-plain-buttons.shepherd-element-attached-top.shepherd-element-attached-right.shepherd-target-attached-left .shepherd-content { - margin-right: 16px; } - .shepherd-element.shepherd-theme-arrows-plain-buttons.shepherd-element-attached-top.shepherd-element-attached-right.shepherd-target-attached-left .shepherd-content:before { - top: 16px; - left: 100%; - border-left-color: #fff; } - .shepherd-element.shepherd-theme-arrows-plain-buttons.shepherd-element-attached-top.shepherd-element-attached-left.shepherd-target-attached-right .shepherd-content { - margin-left: 16px; } - .shepherd-element.shepherd-theme-arrows-plain-buttons.shepherd-element-attached-top.shepherd-element-attached-left.shepherd-target-attached-right .shepherd-content:before { - top: 16px; - right: 100%; - border-right-color: #fff; } - .shepherd-element.shepherd-theme-arrows-plain-buttons.shepherd-element-attached-bottom.shepherd-element-attached-right.shepherd-target-attached-left .shepherd-content { - margin-right: 16px; } - .shepherd-element.shepherd-theme-arrows-plain-buttons.shepherd-element-attached-bottom.shepherd-element-attached-right.shepherd-target-attached-left .shepherd-content:before { - bottom: 16px; - left: 100%; - border-left-color: #fff; } - .shepherd-element.shepherd-theme-arrows-plain-buttons.shepherd-element-attached-bottom.shepherd-element-attached-left.shepherd-target-attached-right .shepherd-content { - margin-left: 16px; } - .shepherd-element.shepherd-theme-arrows-plain-buttons.shepherd-element-attached-bottom.shepherd-element-attached-left.shepherd-target-attached-right .shepherd-content:before { - bottom: 16px; - right: 100%; - border-right-color: #fff; } - -.shepherd-element.shepherd-theme-arrows-plain-buttons.shepherd-element-attached-top.shepherd-element-attached-center.shepherd-has-title .shepherd-content:before, .shepherd-element.shepherd-theme-arrows-plain-buttons.shepherd-element-attached-top.shepherd-element-attached-right.shepherd-target-attached-bottom.shepherd-has-title .shepherd-content:before, .shepherd-element.shepherd-theme-arrows-plain-buttons.shepherd-element-attached-top.shepherd-element-attached-left.shepherd-target-attached-bottom.shepherd-has-title .shepherd-content:before { - border-bottom-color: #eee; } - -.shepherd-element.shepherd-theme-arrows-plain-buttons.shepherd-has-title .shepherd-content header { - background: #eee; - padding: 1em; } - .shepherd-element.shepherd-theme-arrows-plain-buttons.shepherd-has-title .shepherd-content header a.shepherd-cancel-link { - padding: 0; - margin-bottom: 0; } - -.shepherd-element.shepherd-theme-arrows-plain-buttons.shepherd-has-cancel-link .shepherd-content header h3 { - float: left; } - -.shepherd-element.shepherd-theme-arrows-plain-buttons .shepherd-content { - padding: 0; } - .shepherd-element.shepherd-theme-arrows-plain-buttons .shepherd-content header { - *zoom: 1; - border-radius: 5px 5px 0 0; } - .shepherd-element.shepherd-theme-arrows-plain-buttons .shepherd-content header:after { - content: ""; - display: table; - clear: both; } - .shepherd-element.shepherd-theme-arrows-plain-buttons .shepherd-content header h3 { - margin: 0; - line-height: 1; - font-weight: normal; } - .shepherd-element.shepherd-theme-arrows-plain-buttons .shepherd-content header a.shepherd-cancel-link { - float: right; - text-decoration: none; - font-size: 1.25em; - line-height: .8em; - font-weight: normal; - color: rgba(0, 0, 0, 0.5); - opacity: 0.25; - position: relative; - top: .1em; - padding: .8em; - margin-bottom: -.8em; } - .shepherd-element.shepherd-theme-arrows-plain-buttons .shepherd-content header a.shepherd-cancel-link:hover { - opacity: 1; } - .shepherd-element.shepherd-theme-arrows-plain-buttons .shepherd-content .shepherd-text { - padding: 1em; } - .shepherd-element.shepherd-theme-arrows-plain-buttons .shepherd-content .shepherd-text p { - margin: 0 0 .5em 0; - line-height: 1.3em; } - .shepherd-element.shepherd-theme-arrows-plain-buttons .shepherd-content .shepherd-text p:last-child { - margin-bottom: 0; } - .shepherd-element.shepherd-theme-arrows-plain-buttons .shepherd-content footer { - padding: 0 1em 1em; } - .shepherd-element.shepherd-theme-arrows-plain-buttons .shepherd-content footer .shepherd-buttons { - text-align: right; - list-style: none; - padding: 0; - margin: 0; } - .shepherd-element.shepherd-theme-arrows-plain-buttons .shepherd-content footer .shepherd-buttons li { - display: inline; - padding: 0; - margin: 0; } - .shepherd-element.shepherd-theme-arrows-plain-buttons .shepherd-content footer .shepherd-buttons li .shepherd-button { - display: inline-block; - vertical-align: middle; - *vertical-align: auto; - *zoom: 1; - *display: inline; - cursor: pointer; - margin: 0 .5em 0 0; - text-decoration: none; } - .shepherd-element.shepherd-theme-arrows-plain-buttons .shepherd-content footer .shepherd-buttons li:last-child .shepherd-button { - margin-right: 0; } diff --git a/uwBridge/apps/client/example!/filesystem/asset/css/tour/arrows.css b/uwBridge/apps/client/example!/filesystem/asset/css/tour/arrows.css deleted file mode 100644 index 314c879b..00000000 --- a/uwBridge/apps/client/example!/filesystem/asset/css/tour/arrows.css +++ /dev/null @@ -1,229 +0,0 @@ -.shepherd-element-attached-bottom.shepherd-element-attached-right.shepherd-target-attached-top.shepherd-target-attached-left .shepherd-content:before, -.shepherd-element-attached-bottom.shepherd-element-attached-left.shepherd-target-attached-top.shepherd-target-attached-right .shepherd-content:before, -.shepherd-element-attached-top.shepherd-element-attached-right.shepherd-target-attached-bottom.shepherd-target-attached-left .shepherd-content:before, -.shepherd-element-attached-top.shepherd-element-attached-left.shepherd-target-attached-bottom.shepherd-target-attached-right .shepherd-content:before { - display: none; } - -.shepherd-element, .shepherd-element:after, .shepherd-element:before, .shepherd-element *, .shepherd-element *:after, .shepherd-element *:before { - box-sizing: border-box; } - -.shepherd-element { - position: absolute; - display: none; } - .shepherd-element.shepherd-open { - display: block; } - -.shepherd-element.shepherd-theme-arrows { - max-width: 100%; - max-height: 100%; } - .shepherd-element.shepherd-theme-arrows .shepherd-content { - border-radius: 5px; - position: relative; - font-family: inherit; - background: #fff; - color: #444; - padding: 1em; - font-size: 1.1em; - line-height: 1.5em; - -webkit-transform: translateZ(0); - transform: translateZ(0); - -webkit-filter: drop-shadow(0 1px 4px rgba(0, 0, 0, 0.2)); - filter: drop-shadow(0 1px 4px rgba(0, 0, 0, 0.2)); } - .shepherd-element.shepherd-theme-arrows .shepherd-content:before { - content: ""; - display: block; - position: absolute; - width: 0; - height: 0; - border-color: transparent; - border-width: 16px; - border-style: solid; - pointer-events: none; } - .shepherd-element.shepherd-theme-arrows.shepherd-element-attached-bottom.shepherd-element-attached-center .shepherd-content { - margin-bottom: 16px; } - .shepherd-element.shepherd-theme-arrows.shepherd-element-attached-bottom.shepherd-element-attached-center .shepherd-content:before { - top: 100%; - left: 50%; - margin-left: -16px; - border-top-color: #fff; } - .shepherd-element.shepherd-theme-arrows.shepherd-element-attached-top.shepherd-element-attached-center .shepherd-content { - margin-top: 16px; } - .shepherd-element.shepherd-theme-arrows.shepherd-element-attached-top.shepherd-element-attached-center .shepherd-content:before { - bottom: 100%; - left: 50%; - margin-left: -16px; - border-bottom-color: #fff; } - .shepherd-element.shepherd-theme-arrows.shepherd-element-attached-right.shepherd-element-attached-middle .shepherd-content { - margin-right: 16px; } - .shepherd-element.shepherd-theme-arrows.shepherd-element-attached-right.shepherd-element-attached-middle .shepherd-content:before { - left: 100%; - top: 50%; - margin-top: -16px; - border-left-color: #fff; } - .shepherd-element.shepherd-theme-arrows.shepherd-element-attached-left.shepherd-element-attached-middle .shepherd-content { - margin-left: 16px; } - .shepherd-element.shepherd-theme-arrows.shepherd-element-attached-left.shepherd-element-attached-middle .shepherd-content:before { - right: 100%; - top: 50%; - margin-top: -16px; - border-right-color: #fff; } - .shepherd-element.shepherd-theme-arrows.shepherd-element-attached-left.shepherd-target-attached-center .shepherd-content { - left: -32px; } - .shepherd-element.shepherd-theme-arrows.shepherd-element-attached-right.shepherd-target-attached-center .shepherd-content { - left: 32px; } - .shepherd-element.shepherd-theme-arrows.shepherd-element-attached-top.shepherd-element-attached-left.shepherd-target-attached-middle .shepherd-content { - margin-top: 16px; } - .shepherd-element.shepherd-theme-arrows.shepherd-element-attached-top.shepherd-element-attached-left.shepherd-target-attached-middle .shepherd-content:before { - bottom: 100%; - left: 16px; - border-bottom-color: #fff; } - .shepherd-element.shepherd-theme-arrows.shepherd-element-attached-top.shepherd-element-attached-right.shepherd-target-attached-middle .shepherd-content { - margin-top: 16px; } - .shepherd-element.shepherd-theme-arrows.shepherd-element-attached-top.shepherd-element-attached-right.shepherd-target-attached-middle .shepherd-content:before { - bottom: 100%; - right: 16px; - border-bottom-color: #fff; } - .shepherd-element.shepherd-theme-arrows.shepherd-element-attached-bottom.shepherd-element-attached-left.shepherd-target-attached-middle .shepherd-content { - margin-bottom: 16px; } - .shepherd-element.shepherd-theme-arrows.shepherd-element-attached-bottom.shepherd-element-attached-left.shepherd-target-attached-middle .shepherd-content:before { - top: 100%; - left: 16px; - border-top-color: #fff; } - .shepherd-element.shepherd-theme-arrows.shepherd-element-attached-bottom.shepherd-element-attached-right.shepherd-target-attached-middle .shepherd-content { - margin-bottom: 16px; } - .shepherd-element.shepherd-theme-arrows.shepherd-element-attached-bottom.shepherd-element-attached-right.shepherd-target-attached-middle .shepherd-content:before { - top: 100%; - right: 16px; - border-top-color: #fff; } - .shepherd-element.shepherd-theme-arrows.shepherd-element-attached-top.shepherd-element-attached-left.shepherd-target-attached-bottom .shepherd-content { - margin-top: 16px; } - .shepherd-element.shepherd-theme-arrows.shepherd-element-attached-top.shepherd-element-attached-left.shepherd-target-attached-bottom .shepherd-content:before { - bottom: 100%; - left: 16px; - border-bottom-color: #fff; } - .shepherd-element.shepherd-theme-arrows.shepherd-element-attached-top.shepherd-element-attached-right.shepherd-target-attached-bottom .shepherd-content { - margin-top: 16px; } - .shepherd-element.shepherd-theme-arrows.shepherd-element-attached-top.shepherd-element-attached-right.shepherd-target-attached-bottom .shepherd-content:before { - bottom: 100%; - right: 16px; - border-bottom-color: #fff; } - .shepherd-element.shepherd-theme-arrows.shepherd-element-attached-bottom.shepherd-element-attached-left.shepherd-target-attached-top .shepherd-content { - margin-bottom: 16px; } - .shepherd-element.shepherd-theme-arrows.shepherd-element-attached-bottom.shepherd-element-attached-left.shepherd-target-attached-top .shepherd-content:before { - top: 100%; - left: 16px; - border-top-color: #fff; } - .shepherd-element.shepherd-theme-arrows.shepherd-element-attached-bottom.shepherd-element-attached-right.shepherd-target-attached-top .shepherd-content { - margin-bottom: 16px; } - .shepherd-element.shepherd-theme-arrows.shepherd-element-attached-bottom.shepherd-element-attached-right.shepherd-target-attached-top .shepherd-content:before { - top: 100%; - right: 16px; - border-top-color: #fff; } - .shepherd-element.shepherd-theme-arrows.shepherd-element-attached-top.shepherd-element-attached-right.shepherd-target-attached-left .shepherd-content { - margin-right: 16px; } - .shepherd-element.shepherd-theme-arrows.shepherd-element-attached-top.shepherd-element-attached-right.shepherd-target-attached-left .shepherd-content:before { - top: 16px; - left: 100%; - border-left-color: #fff; } - .shepherd-element.shepherd-theme-arrows.shepherd-element-attached-top.shepherd-element-attached-left.shepherd-target-attached-right .shepherd-content { - margin-left: 16px; } - .shepherd-element.shepherd-theme-arrows.shepherd-element-attached-top.shepherd-element-attached-left.shepherd-target-attached-right .shepherd-content:before { - top: 16px; - right: 100%; - border-right-color: #fff; } - .shepherd-element.shepherd-theme-arrows.shepherd-element-attached-bottom.shepherd-element-attached-right.shepherd-target-attached-left .shepherd-content { - margin-right: 16px; } - .shepherd-element.shepherd-theme-arrows.shepherd-element-attached-bottom.shepherd-element-attached-right.shepherd-target-attached-left .shepherd-content:before { - bottom: 16px; - left: 100%; - border-left-color: #fff; } - .shepherd-element.shepherd-theme-arrows.shepherd-element-attached-bottom.shepherd-element-attached-left.shepherd-target-attached-right .shepherd-content { - margin-left: 16px; } - .shepherd-element.shepherd-theme-arrows.shepherd-element-attached-bottom.shepherd-element-attached-left.shepherd-target-attached-right .shepherd-content:before { - bottom: 16px; - right: 100%; - border-right-color: #fff; } - -.shepherd-element.shepherd-theme-arrows.shepherd-element-attached-top.shepherd-element-attached-center.shepherd-has-title .shepherd-content:before, .shepherd-element.shepherd-theme-arrows.shepherd-element-attached-top.shepherd-element-attached-right.shepherd-target-attached-bottom.shepherd-has-title .shepherd-content:before, .shepherd-element.shepherd-theme-arrows.shepherd-element-attached-top.shepherd-element-attached-left.shepherd-target-attached-bottom.shepherd-has-title .shepherd-content:before { - border-bottom-color: #eee; } - -.shepherd-element.shepherd-theme-arrows.shepherd-has-title .shepherd-content header { - background: #eee; - padding: 1em; } - .shepherd-element.shepherd-theme-arrows.shepherd-has-title .shepherd-content header a.shepherd-cancel-link { - padding: 0; - margin-bottom: 0; } - -.shepherd-element.shepherd-theme-arrows.shepherd-has-cancel-link .shepherd-content header h3 { - float: left; } - -.shepherd-element.shepherd-theme-arrows .shepherd-content { - padding: 0; } - .shepherd-element.shepherd-theme-arrows .shepherd-content * { - font-size: inherit; } - .shepherd-element.shepherd-theme-arrows .shepherd-content header { - *zoom: 1; - border-radius: 5px 5px 0 0; } - .shepherd-element.shepherd-theme-arrows .shepherd-content header:after { - content: ""; - display: table; - clear: both; } - .shepherd-element.shepherd-theme-arrows .shepherd-content header h3 { - margin: 0; - line-height: 1; - font-weight: normal; } - .shepherd-element.shepherd-theme-arrows .shepherd-content header a.shepherd-cancel-link { - float: right; - text-decoration: none; - font-size: 1.25em; - line-height: .8em; - font-weight: normal; - color: rgba(0, 0, 0, 0.5); - opacity: 0.25; - position: relative; - top: .1em; - padding: .8em; - margin-bottom: -.8em; } - .shepherd-element.shepherd-theme-arrows .shepherd-content header a.shepherd-cancel-link:hover { - opacity: 1; } - .shepherd-element.shepherd-theme-arrows .shepherd-content .shepherd-text { - padding: 1em; } - .shepherd-element.shepherd-theme-arrows .shepherd-content .shepherd-text p { - margin: 0 0 .5em 0; - line-height: 1.3em; } - .shepherd-element.shepherd-theme-arrows .shepherd-content .shepherd-text p:last-child { - margin-bottom: 0; } - .shepherd-element.shepherd-theme-arrows .shepherd-content footer { - padding: 0 1em 1em; } - .shepherd-element.shepherd-theme-arrows .shepherd-content footer .shepherd-buttons { - text-align: right; - list-style: none; - padding: 0; - margin: 0; } - .shepherd-element.shepherd-theme-arrows .shepherd-content footer .shepherd-buttons li { - display: inline; - padding: 0; - margin: 0; } - .shepherd-element.shepherd-theme-arrows .shepherd-content footer .shepherd-buttons li .shepherd-button { - display: inline-block; - vertical-align: middle; - *vertical-align: auto; - *zoom: 1; - *display: inline; - border-radius: 3px; - cursor: pointer; - border: 0; - margin: 0 .5em 0 0; - font-family: inherit; - text-transform: uppercase; - letter-spacing: .1em; - font-size: .8em; - line-height: 1em; - padding: .75em 2em; - background: #3288e6; - color: #fff; } - .shepherd-element.shepherd-theme-arrows .shepherd-content footer .shepherd-buttons li .shepherd-button.shepherd-button-secondary { - background: #eee; - color: #888; } - .shepherd-element.shepherd-theme-arrows .shepherd-content footer .shepherd-buttons li:last-child .shepherd-button { - margin-right: 0; } diff --git a/uwBridge/apps/client/example!/filesystem/asset/css/tour/dark.css b/uwBridge/apps/client/example!/filesystem/asset/css/tour/dark.css deleted file mode 100644 index 5bc9b5e9..00000000 --- a/uwBridge/apps/client/example!/filesystem/asset/css/tour/dark.css +++ /dev/null @@ -1,246 +0,0 @@ -.shepherd-element-attached-bottom.shepherd-element-attached-right.shepherd-target-attached-top.shepherd-target-attached-left .shepherd-content:before, -.shepherd-element-attached-bottom.shepherd-element-attached-left.shepherd-target-attached-top.shepherd-target-attached-right .shepherd-content:before, -.shepherd-element-attached-top.shepherd-element-attached-right.shepherd-target-attached-bottom.shepherd-target-attached-left .shepherd-content:before, -.shepherd-element-attached-top.shepherd-element-attached-left.shepherd-target-attached-bottom.shepherd-target-attached-right .shepherd-content:before { - display: none; } - -.shepherd-element, .shepherd-element:after, .shepherd-element:before, .shepherd-element *, .shepherd-element *:after, .shepherd-element *:before { - box-sizing: border-box; } - -.shepherd-element { - position: absolute; - display: none; } - .shepherd-element.shepherd-open { - display: block; } - -.shepherd-element.shepherd-theme-dark { - max-width: 100%; - max-height: 100%; } - .shepherd-element.shepherd-theme-dark .shepherd-content { - border-radius: 5px; - position: relative; - font-family: inherit; - background: #232323; - color: #eee; - padding: 1em; - font-size: 1.1em; - line-height: 1.5em; } - .shepherd-element.shepherd-theme-dark .shepherd-content:before { - content: ""; - display: block; - position: absolute; - width: 0; - height: 0; - border-color: transparent; - border-width: 16px; - border-style: solid; - pointer-events: none; } - .shepherd-element.shepherd-theme-dark.shepherd-element-attached-bottom.shepherd-element-attached-center .shepherd-content { - margin-bottom: 16px; } - .shepherd-element.shepherd-theme-dark.shepherd-element-attached-bottom.shepherd-element-attached-center .shepherd-content:before { - top: 100%; - left: 50%; - margin-left: -16px; - border-top-color: #232323; } - .shepherd-element.shepherd-theme-dark.shepherd-element-attached-top.shepherd-element-attached-center .shepherd-content { - margin-top: 16px; } - .shepherd-element.shepherd-theme-dark.shepherd-element-attached-top.shepherd-element-attached-center .shepherd-content:before { - bottom: 100%; - left: 50%; - margin-left: -16px; - border-bottom-color: #232323; } - .shepherd-element.shepherd-theme-dark.shepherd-element-attached-right.shepherd-element-attached-middle .shepherd-content { - margin-right: 16px; } - .shepherd-element.shepherd-theme-dark.shepherd-element-attached-right.shepherd-element-attached-middle .shepherd-content:before { - left: 100%; - top: 50%; - margin-top: -16px; - border-left-color: #232323; } - .shepherd-element.shepherd-theme-dark.shepherd-element-attached-left.shepherd-element-attached-middle .shepherd-content { - margin-left: 16px; } - .shepherd-element.shepherd-theme-dark.shepherd-element-attached-left.shepherd-element-attached-middle .shepherd-content:before { - right: 100%; - top: 50%; - margin-top: -16px; - border-right-color: #232323; } - .shepherd-element.shepherd-theme-dark.shepherd-element-attached-left.shepherd-target-attached-center .shepherd-content { - left: -32px; } - .shepherd-element.shepherd-theme-dark.shepherd-element-attached-right.shepherd-target-attached-center .shepherd-content { - left: 32px; } - .shepherd-element.shepherd-theme-dark.shepherd-element-attached-top.shepherd-element-attached-left.shepherd-target-attached-middle .shepherd-content { - margin-top: 16px; } - .shepherd-element.shepherd-theme-dark.shepherd-element-attached-top.shepherd-element-attached-left.shepherd-target-attached-middle .shepherd-content:before { - bottom: 100%; - left: 16px; - border-bottom-color: #232323; } - .shepherd-element.shepherd-theme-dark.shepherd-element-attached-top.shepherd-element-attached-right.shepherd-target-attached-middle .shepherd-content { - margin-top: 16px; } - .shepherd-element.shepherd-theme-dark.shepherd-element-attached-top.shepherd-element-attached-right.shepherd-target-attached-middle .shepherd-content:before { - bottom: 100%; - right: 16px; - border-bottom-color: #232323; } - .shepherd-element.shepherd-theme-dark.shepherd-element-attached-bottom.shepherd-element-attached-left.shepherd-target-attached-middle .shepherd-content { - margin-bottom: 16px; } - .shepherd-element.shepherd-theme-dark.shepherd-element-attached-bottom.shepherd-element-attached-left.shepherd-target-attached-middle .shepherd-content:before { - top: 100%; - left: 16px; - border-top-color: #232323; } - .shepherd-element.shepherd-theme-dark.shepherd-element-attached-bottom.shepherd-element-attached-right.shepherd-target-attached-middle .shepherd-content { - margin-bottom: 16px; } - .shepherd-element.shepherd-theme-dark.shepherd-element-attached-bottom.shepherd-element-attached-right.shepherd-target-attached-middle .shepherd-content:before { - top: 100%; - right: 16px; - border-top-color: #232323; } - .shepherd-element.shepherd-theme-dark.shepherd-element-attached-top.shepherd-element-attached-left.shepherd-target-attached-bottom .shepherd-content { - margin-top: 16px; } - .shepherd-element.shepherd-theme-dark.shepherd-element-attached-top.shepherd-element-attached-left.shepherd-target-attached-bottom .shepherd-content:before { - bottom: 100%; - left: 16px; - border-bottom-color: #232323; } - .shepherd-element.shepherd-theme-dark.shepherd-element-attached-top.shepherd-element-attached-right.shepherd-target-attached-bottom .shepherd-content { - margin-top: 16px; } - .shepherd-element.shepherd-theme-dark.shepherd-element-attached-top.shepherd-element-attached-right.shepherd-target-attached-bottom .shepherd-content:before { - bottom: 100%; - right: 16px; - border-bottom-color: #232323; } - .shepherd-element.shepherd-theme-dark.shepherd-element-attached-bottom.shepherd-element-attached-left.shepherd-target-attached-top .shepherd-content { - margin-bottom: 16px; } - .shepherd-element.shepherd-theme-dark.shepherd-element-attached-bottom.shepherd-element-attached-left.shepherd-target-attached-top .shepherd-content:before { - top: 100%; - left: 16px; - border-top-color: #232323; } - .shepherd-element.shepherd-theme-dark.shepherd-element-attached-bottom.shepherd-element-attached-right.shepherd-target-attached-top .shepherd-content { - margin-bottom: 16px; } - .shepherd-element.shepherd-theme-dark.shepherd-element-attached-bottom.shepherd-element-attached-right.shepherd-target-attached-top .shepherd-content:before { - top: 100%; - right: 16px; - border-top-color: #232323; } - .shepherd-element.shepherd-theme-dark.shepherd-element-attached-top.shepherd-element-attached-right.shepherd-target-attached-left .shepherd-content { - margin-right: 16px; } - .shepherd-element.shepherd-theme-dark.shepherd-element-attached-top.shepherd-element-attached-right.shepherd-target-attached-left .shepherd-content:before { - top: 16px; - left: 100%; - border-left-color: #232323; } - .shepherd-element.shepherd-theme-dark.shepherd-element-attached-top.shepherd-element-attached-left.shepherd-target-attached-right .shepherd-content { - margin-left: 16px; } - .shepherd-element.shepherd-theme-dark.shepherd-element-attached-top.shepherd-element-attached-left.shepherd-target-attached-right .shepherd-content:before { - top: 16px; - right: 100%; - border-right-color: #232323; } - .shepherd-element.shepherd-theme-dark.shepherd-element-attached-bottom.shepherd-element-attached-right.shepherd-target-attached-left .shepherd-content { - margin-right: 16px; } - .shepherd-element.shepherd-theme-dark.shepherd-element-attached-bottom.shepherd-element-attached-right.shepherd-target-attached-left .shepherd-content:before { - bottom: 16px; - left: 100%; - border-left-color: #232323; } - .shepherd-element.shepherd-theme-dark.shepherd-element-attached-bottom.shepherd-element-attached-left.shepherd-target-attached-right .shepherd-content { - margin-left: 16px; } - .shepherd-element.shepherd-theme-dark.shepherd-element-attached-bottom.shepherd-element-attached-left.shepherd-target-attached-right .shepherd-content:before { - bottom: 16px; - right: 100%; - border-right-color: #232323; } - -.shepherd-element.shepherd-theme-dark { - z-index: 9999; - max-width: 24em; - font-size: 1em; } - .shepherd-element.shepherd-theme-dark.shepherd-element-attached-top.shepherd-element-attached-center.shepherd-has-title .shepherd-content:before, .shepherd-element.shepherd-theme-dark.shepherd-element-attached-top.shepherd-element-attached-right.shepherd-target-attached-bottom.shepherd-has-title .shepherd-content:before, .shepherd-element.shepherd-theme-dark.shepherd-element-attached-top.shepherd-element-attached-left.shepherd-target-attached-bottom.shepherd-has-title .shepherd-content:before { - border-bottom-color: #303030; } - .shepherd-element.shepherd-theme-dark.shepherd-has-title .shepherd-content header { - background: #303030; - padding: 1em; } - .shepherd-element.shepherd-theme-dark.shepherd-has-title .shepherd-content header a.shepherd-cancel-link { - padding: 0; - margin-bottom: 0; } - .shepherd-element.shepherd-theme-dark.shepherd-has-cancel-link .shepherd-content header h3 { - float: left; } - .shepherd-element.shepherd-theme-dark .shepherd-content { - box-shadow: 0 0 1em rgba(0, 0, 0, 0.2); - padding: 0; } - .shepherd-element.shepherd-theme-dark .shepherd-content * { - font-size: inherit; } - .shepherd-element.shepherd-theme-dark .shepherd-content header { - *zoom: 1; - border-radius: 5px 5px 0 0; } - .shepherd-element.shepherd-theme-dark .shepherd-content header:after { - content: ""; - display: table; - clear: both; } - .shepherd-element.shepherd-theme-dark .shepherd-content header h3 { - margin: 0; - line-height: 1; - font-weight: normal; } - .shepherd-element.shepherd-theme-dark .shepherd-content header a.shepherd-cancel-link { - float: right; - text-decoration: none; - font-size: 1.25em; - line-height: .8em; - font-weight: normal; - color: rgba(0, 0, 0, 0.5); - opacity: 0.25; - position: relative; - top: .1em; - padding: .8em; - margin-bottom: -.8em; } - .shepherd-element.shepherd-theme-dark .shepherd-content header a.shepherd-cancel-link:hover { - opacity: 1; } - .shepherd-element.shepherd-theme-dark .shepherd-content .shepherd-text { - padding: 1em; } - .shepherd-element.shepherd-theme-dark .shepherd-content .shepherd-text p { - margin: 0 0 .5em 0; - line-height: 1.3em; } - .shepherd-element.shepherd-theme-dark .shepherd-content .shepherd-text p:last-child { - margin-bottom: 0; } - .shepherd-element.shepherd-theme-dark .shepherd-content footer { - padding: 0 1em 1em; } - .shepherd-element.shepherd-theme-dark .shepherd-content footer .shepherd-buttons { - text-align: right; - list-style: none; - padding: 0; - margin: 0; } - .shepherd-element.shepherd-theme-dark .shepherd-content footer .shepherd-buttons li { - display: inline; - padding: 0; - margin: 0; } - .shepherd-element.shepherd-theme-dark .shepherd-content footer .shepherd-buttons li .shepherd-button { - display: inline-block; - vertical-align: middle; - *vertical-align: auto; - *zoom: 1; - *display: inline; - border-radius: 3px; - cursor: pointer; - border: 0; - margin: 0 .5em 0 0; - font-family: inherit; - text-transform: uppercase; - letter-spacing: .1em; - font-size: .8em; - line-height: 1em; - padding: .75em 2em; - background: #3288e6; - color: #fff; } - .shepherd-element.shepherd-theme-dark .shepherd-content footer .shepherd-buttons li .shepherd-button.shepherd-button-secondary { - background: #eee; - color: #888; } - .shepherd-element.shepherd-theme-dark .shepherd-content footer .shepherd-buttons li:last-child .shepherd-button { - margin-right: 0; } - -.shepherd-start-tour-button.shepherd-theme-dark { - display: inline-block; - vertical-align: middle; - *vertical-align: auto; - *zoom: 1; - *display: inline; - border-radius: 3px; - cursor: pointer; - border: 0; - margin: 0 .5em 0 0; - font-family: inherit; - text-transform: uppercase; - letter-spacing: .1em; - font-size: .8em; - line-height: 1em; - padding: .75em 2em; - background: #3288e6; - color: #fff; } diff --git a/uwBridge/apps/client/example!/filesystem/asset/css/tour/default.css b/uwBridge/apps/client/example!/filesystem/asset/css/tour/default.css deleted file mode 100644 index f2cced0d..00000000 --- a/uwBridge/apps/client/example!/filesystem/asset/css/tour/default.css +++ /dev/null @@ -1,246 +0,0 @@ -.shepherd-element-attached-bottom.shepherd-element-attached-right.shepherd-target-attached-top.shepherd-target-attached-left .shepherd-content:before, -.shepherd-element-attached-bottom.shepherd-element-attached-left.shepherd-target-attached-top.shepherd-target-attached-right .shepherd-content:before, -.shepherd-element-attached-top.shepherd-element-attached-right.shepherd-target-attached-bottom.shepherd-target-attached-left .shepherd-content:before, -.shepherd-element-attached-top.shepherd-element-attached-left.shepherd-target-attached-bottom.shepherd-target-attached-right .shepherd-content:before { - display: none; } - -.shepherd-element, .shepherd-element:after, .shepherd-element:before, .shepherd-element *, .shepherd-element *:after, .shepherd-element *:before { - box-sizing: border-box; } - -.shepherd-element { - position: absolute; - display: none; } - .shepherd-element.shepherd-open { - display: block; } - -.shepherd-element.shepherd-theme-default { - max-width: 100%; - max-height: 100%; } - .shepherd-element.shepherd-theme-default .shepherd-content { - border-radius: 5px; - position: relative; - font-family: inherit; - background: #f6f6f6; - color: #444; - padding: 1em; - font-size: 1.1em; - line-height: 1.5em; } - .shepherd-element.shepherd-theme-default .shepherd-content:before { - content: ""; - display: block; - position: absolute; - width: 0; - height: 0; - border-color: transparent; - border-width: 16px; - border-style: solid; - pointer-events: none; } - .shepherd-element.shepherd-theme-default.shepherd-element-attached-bottom.shepherd-element-attached-center .shepherd-content { - margin-bottom: 16px; } - .shepherd-element.shepherd-theme-default.shepherd-element-attached-bottom.shepherd-element-attached-center .shepherd-content:before { - top: 100%; - left: 50%; - margin-left: -16px; - border-top-color: #f6f6f6; } - .shepherd-element.shepherd-theme-default.shepherd-element-attached-top.shepherd-element-attached-center .shepherd-content { - margin-top: 16px; } - .shepherd-element.shepherd-theme-default.shepherd-element-attached-top.shepherd-element-attached-center .shepherd-content:before { - bottom: 100%; - left: 50%; - margin-left: -16px; - border-bottom-color: #f6f6f6; } - .shepherd-element.shepherd-theme-default.shepherd-element-attached-right.shepherd-element-attached-middle .shepherd-content { - margin-right: 16px; } - .shepherd-element.shepherd-theme-default.shepherd-element-attached-right.shepherd-element-attached-middle .shepherd-content:before { - left: 100%; - top: 50%; - margin-top: -16px; - border-left-color: #f6f6f6; } - .shepherd-element.shepherd-theme-default.shepherd-element-attached-left.shepherd-element-attached-middle .shepherd-content { - margin-left: 16px; } - .shepherd-element.shepherd-theme-default.shepherd-element-attached-left.shepherd-element-attached-middle .shepherd-content:before { - right: 100%; - top: 50%; - margin-top: -16px; - border-right-color: #f6f6f6; } - .shepherd-element.shepherd-theme-default.shepherd-element-attached-left.shepherd-target-attached-center .shepherd-content { - left: -32px; } - .shepherd-element.shepherd-theme-default.shepherd-element-attached-right.shepherd-target-attached-center .shepherd-content { - left: 32px; } - .shepherd-element.shepherd-theme-default.shepherd-element-attached-top.shepherd-element-attached-left.shepherd-target-attached-middle .shepherd-content { - margin-top: 16px; } - .shepherd-element.shepherd-theme-default.shepherd-element-attached-top.shepherd-element-attached-left.shepherd-target-attached-middle .shepherd-content:before { - bottom: 100%; - left: 16px; - border-bottom-color: #f6f6f6; } - .shepherd-element.shepherd-theme-default.shepherd-element-attached-top.shepherd-element-attached-right.shepherd-target-attached-middle .shepherd-content { - margin-top: 16px; } - .shepherd-element.shepherd-theme-default.shepherd-element-attached-top.shepherd-element-attached-right.shepherd-target-attached-middle .shepherd-content:before { - bottom: 100%; - right: 16px; - border-bottom-color: #f6f6f6; } - .shepherd-element.shepherd-theme-default.shepherd-element-attached-bottom.shepherd-element-attached-left.shepherd-target-attached-middle .shepherd-content { - margin-bottom: 16px; } - .shepherd-element.shepherd-theme-default.shepherd-element-attached-bottom.shepherd-element-attached-left.shepherd-target-attached-middle .shepherd-content:before { - top: 100%; - left: 16px; - border-top-color: #f6f6f6; } - .shepherd-element.shepherd-theme-default.shepherd-element-attached-bottom.shepherd-element-attached-right.shepherd-target-attached-middle .shepherd-content { - margin-bottom: 16px; } - .shepherd-element.shepherd-theme-default.shepherd-element-attached-bottom.shepherd-element-attached-right.shepherd-target-attached-middle .shepherd-content:before { - top: 100%; - right: 16px; - border-top-color: #f6f6f6; } - .shepherd-element.shepherd-theme-default.shepherd-element-attached-top.shepherd-element-attached-left.shepherd-target-attached-bottom .shepherd-content { - margin-top: 16px; } - .shepherd-element.shepherd-theme-default.shepherd-element-attached-top.shepherd-element-attached-left.shepherd-target-attached-bottom .shepherd-content:before { - bottom: 100%; - left: 16px; - border-bottom-color: #f6f6f6; } - .shepherd-element.shepherd-theme-default.shepherd-element-attached-top.shepherd-element-attached-right.shepherd-target-attached-bottom .shepherd-content { - margin-top: 16px; } - .shepherd-element.shepherd-theme-default.shepherd-element-attached-top.shepherd-element-attached-right.shepherd-target-attached-bottom .shepherd-content:before { - bottom: 100%; - right: 16px; - border-bottom-color: #f6f6f6; } - .shepherd-element.shepherd-theme-default.shepherd-element-attached-bottom.shepherd-element-attached-left.shepherd-target-attached-top .shepherd-content { - margin-bottom: 16px; } - .shepherd-element.shepherd-theme-default.shepherd-element-attached-bottom.shepherd-element-attached-left.shepherd-target-attached-top .shepherd-content:before { - top: 100%; - left: 16px; - border-top-color: #f6f6f6; } - .shepherd-element.shepherd-theme-default.shepherd-element-attached-bottom.shepherd-element-attached-right.shepherd-target-attached-top .shepherd-content { - margin-bottom: 16px; } - .shepherd-element.shepherd-theme-default.shepherd-element-attached-bottom.shepherd-element-attached-right.shepherd-target-attached-top .shepherd-content:before { - top: 100%; - right: 16px; - border-top-color: #f6f6f6; } - .shepherd-element.shepherd-theme-default.shepherd-element-attached-top.shepherd-element-attached-right.shepherd-target-attached-left .shepherd-content { - margin-right: 16px; } - .shepherd-element.shepherd-theme-default.shepherd-element-attached-top.shepherd-element-attached-right.shepherd-target-attached-left .shepherd-content:before { - top: 16px; - left: 100%; - border-left-color: #f6f6f6; } - .shepherd-element.shepherd-theme-default.shepherd-element-attached-top.shepherd-element-attached-left.shepherd-target-attached-right .shepherd-content { - margin-left: 16px; } - .shepherd-element.shepherd-theme-default.shepherd-element-attached-top.shepherd-element-attached-left.shepherd-target-attached-right .shepherd-content:before { - top: 16px; - right: 100%; - border-right-color: #f6f6f6; } - .shepherd-element.shepherd-theme-default.shepherd-element-attached-bottom.shepherd-element-attached-right.shepherd-target-attached-left .shepherd-content { - margin-right: 16px; } - .shepherd-element.shepherd-theme-default.shepherd-element-attached-bottom.shepherd-element-attached-right.shepherd-target-attached-left .shepherd-content:before { - bottom: 16px; - left: 100%; - border-left-color: #f6f6f6; } - .shepherd-element.shepherd-theme-default.shepherd-element-attached-bottom.shepherd-element-attached-left.shepherd-target-attached-right .shepherd-content { - margin-left: 16px; } - .shepherd-element.shepherd-theme-default.shepherd-element-attached-bottom.shepherd-element-attached-left.shepherd-target-attached-right .shepherd-content:before { - bottom: 16px; - right: 100%; - border-right-color: #f6f6f6; } - -.shepherd-element.shepherd-theme-default { - z-index: 9999; - max-width: 24em; - font-size: 1em; } - .shepherd-element.shepherd-theme-default.shepherd-element-attached-top.shepherd-element-attached-center.shepherd-has-title .shepherd-content:before, .shepherd-element.shepherd-theme-default.shepherd-element-attached-top.shepherd-element-attached-right.shepherd-target-attached-bottom.shepherd-has-title .shepherd-content:before, .shepherd-element.shepherd-theme-default.shepherd-element-attached-top.shepherd-element-attached-left.shepherd-target-attached-bottom.shepherd-has-title .shepherd-content:before { - border-bottom-color: #e6e6e6; } - .shepherd-element.shepherd-theme-default.shepherd-has-title .shepherd-content header { - background: #e6e6e6; - padding: 1em; } - .shepherd-element.shepherd-theme-default.shepherd-has-title .shepherd-content header a.shepherd-cancel-link { - padding: 0; - margin-bottom: 0; } - .shepherd-element.shepherd-theme-default.shepherd-has-cancel-link .shepherd-content header h3 { - float: left; } - .shepherd-element.shepherd-theme-default .shepherd-content { - box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.17); - padding: 0; } - .shepherd-element.shepherd-theme-default .shepherd-content * { - font-size: inherit; } - .shepherd-element.shepherd-theme-default .shepherd-content header { - *zoom: 1; - border-radius: 5px 5px 0 0; } - .shepherd-element.shepherd-theme-default .shepherd-content header:after { - content: ""; - display: table; - clear: both; } - .shepherd-element.shepherd-theme-default .shepherd-content header h3 { - margin: 0; - line-height: 1; - font-weight: normal; } - .shepherd-element.shepherd-theme-default .shepherd-content header a.shepherd-cancel-link { - float: right; - text-decoration: none; - font-size: 1.25em; - line-height: .8em; - font-weight: normal; - color: rgba(0, 0, 0, 0.5); - opacity: 0.25; - position: relative; - top: .1em; - padding: .8em; - margin-bottom: -.8em; } - .shepherd-element.shepherd-theme-default .shepherd-content header a.shepherd-cancel-link:hover { - opacity: 1; } - .shepherd-element.shepherd-theme-default .shepherd-content .shepherd-text { - padding: 1em; } - .shepherd-element.shepherd-theme-default .shepherd-content .shepherd-text p { - margin: 0 0 .5em 0; - line-height: 1.3em; } - .shepherd-element.shepherd-theme-default .shepherd-content .shepherd-text p:last-child { - margin-bottom: 0; } - .shepherd-element.shepherd-theme-default .shepherd-content footer { - padding: 0 1em 1em; } - .shepherd-element.shepherd-theme-default .shepherd-content footer .shepherd-buttons { - text-align: right; - list-style: none; - padding: 0; - margin: 0; } - .shepherd-element.shepherd-theme-default .shepherd-content footer .shepherd-buttons li { - display: inline; - padding: 0; - margin: 0; } - .shepherd-element.shepherd-theme-default .shepherd-content footer .shepherd-buttons li .shepherd-button { - display: inline-block; - vertical-align: middle; - *vertical-align: auto; - *zoom: 1; - *display: inline; - border-radius: 3px; - cursor: pointer; - border: 0; - margin: 0 .5em 0 0; - font-family: inherit; - text-transform: uppercase; - letter-spacing: .1em; - font-size: .8em; - line-height: 1em; - padding: .75em 2em; - background: #3288e6; - color: #fff; } - .shepherd-element.shepherd-theme-default .shepherd-content footer .shepherd-buttons li .shepherd-button.shepherd-button-secondary { - background: #eee; - color: #888; } - .shepherd-element.shepherd-theme-default .shepherd-content footer .shepherd-buttons li:last-child .shepherd-button { - margin-right: 0; } - -.shepherd-start-tour-button.shepherd-theme-default { - display: inline-block; - vertical-align: middle; - *vertical-align: auto; - *zoom: 1; - *display: inline; - border-radius: 3px; - cursor: pointer; - border: 0; - margin: 0 .5em 0 0; - font-family: inherit; - text-transform: uppercase; - letter-spacing: .1em; - font-size: .8em; - line-height: 1em; - padding: .75em 2em; - background: #3288e6; - color: #fff; } diff --git a/uwBridge/apps/client/example!/filesystem/asset/css/tour/square-dark.css b/uwBridge/apps/client/example!/filesystem/asset/css/tour/square-dark.css deleted file mode 100644 index c6e758ab..00000000 --- a/uwBridge/apps/client/example!/filesystem/asset/css/tour/square-dark.css +++ /dev/null @@ -1,248 +0,0 @@ -.shepherd-element-attached-bottom.shepherd-element-attached-right.shepherd-target-attached-top.shepherd-target-attached-left .shepherd-content:before, -.shepherd-element-attached-bottom.shepherd-element-attached-left.shepherd-target-attached-top.shepherd-target-attached-right .shepherd-content:before, -.shepherd-element-attached-top.shepherd-element-attached-right.shepherd-target-attached-bottom.shepherd-target-attached-left .shepherd-content:before, -.shepherd-element-attached-top.shepherd-element-attached-left.shepherd-target-attached-bottom.shepherd-target-attached-right .shepherd-content:before { - display: none; } - -.shepherd-element, .shepherd-element:after, .shepherd-element:before, .shepherd-element *, .shepherd-element *:after, .shepherd-element *:before { - box-sizing: border-box; } - -.shepherd-element { - position: absolute; - display: none; } - .shepherd-element.shepherd-open { - display: block; } - -.shepherd-element.shepherd-theme-square-dark { - max-width: 100%; - max-height: 100%; } - .shepherd-element.shepherd-theme-square-dark .shepherd-content { - border-radius: 5px; - position: relative; - font-family: inherit; - background: #232323; - color: #eee; - padding: 1em; - font-size: 1.1em; - line-height: 1.5em; } - .shepherd-element.shepherd-theme-square-dark .shepherd-content:before { - content: ""; - display: block; - position: absolute; - width: 0; - height: 0; - border-color: transparent; - border-width: 16px; - border-style: solid; - pointer-events: none; } - .shepherd-element.shepherd-theme-square-dark.shepherd-element-attached-bottom.shepherd-element-attached-center .shepherd-content { - margin-bottom: 16px; } - .shepherd-element.shepherd-theme-square-dark.shepherd-element-attached-bottom.shepherd-element-attached-center .shepherd-content:before { - top: 100%; - left: 50%; - margin-left: -16px; - border-top-color: #232323; } - .shepherd-element.shepherd-theme-square-dark.shepherd-element-attached-top.shepherd-element-attached-center .shepherd-content { - margin-top: 16px; } - .shepherd-element.shepherd-theme-square-dark.shepherd-element-attached-top.shepherd-element-attached-center .shepherd-content:before { - bottom: 100%; - left: 50%; - margin-left: -16px; - border-bottom-color: #232323; } - .shepherd-element.shepherd-theme-square-dark.shepherd-element-attached-right.shepherd-element-attached-middle .shepherd-content { - margin-right: 16px; } - .shepherd-element.shepherd-theme-square-dark.shepherd-element-attached-right.shepherd-element-attached-middle .shepherd-content:before { - left: 100%; - top: 50%; - margin-top: -16px; - border-left-color: #232323; } - .shepherd-element.shepherd-theme-square-dark.shepherd-element-attached-left.shepherd-element-attached-middle .shepherd-content { - margin-left: 16px; } - .shepherd-element.shepherd-theme-square-dark.shepherd-element-attached-left.shepherd-element-attached-middle .shepherd-content:before { - right: 100%; - top: 50%; - margin-top: -16px; - border-right-color: #232323; } - .shepherd-element.shepherd-theme-square-dark.shepherd-element-attached-left.shepherd-target-attached-center .shepherd-content { - left: -32px; } - .shepherd-element.shepherd-theme-square-dark.shepherd-element-attached-right.shepherd-target-attached-center .shepherd-content { - left: 32px; } - .shepherd-element.shepherd-theme-square-dark.shepherd-element-attached-top.shepherd-element-attached-left.shepherd-target-attached-middle .shepherd-content { - margin-top: 16px; } - .shepherd-element.shepherd-theme-square-dark.shepherd-element-attached-top.shepherd-element-attached-left.shepherd-target-attached-middle .shepherd-content:before { - bottom: 100%; - left: 16px; - border-bottom-color: #232323; } - .shepherd-element.shepherd-theme-square-dark.shepherd-element-attached-top.shepherd-element-attached-right.shepherd-target-attached-middle .shepherd-content { - margin-top: 16px; } - .shepherd-element.shepherd-theme-square-dark.shepherd-element-attached-top.shepherd-element-attached-right.shepherd-target-attached-middle .shepherd-content:before { - bottom: 100%; - right: 16px; - border-bottom-color: #232323; } - .shepherd-element.shepherd-theme-square-dark.shepherd-element-attached-bottom.shepherd-element-attached-left.shepherd-target-attached-middle .shepherd-content { - margin-bottom: 16px; } - .shepherd-element.shepherd-theme-square-dark.shepherd-element-attached-bottom.shepherd-element-attached-left.shepherd-target-attached-middle .shepherd-content:before { - top: 100%; - left: 16px; - border-top-color: #232323; } - .shepherd-element.shepherd-theme-square-dark.shepherd-element-attached-bottom.shepherd-element-attached-right.shepherd-target-attached-middle .shepherd-content { - margin-bottom: 16px; } - .shepherd-element.shepherd-theme-square-dark.shepherd-element-attached-bottom.shepherd-element-attached-right.shepherd-target-attached-middle .shepherd-content:before { - top: 100%; - right: 16px; - border-top-color: #232323; } - .shepherd-element.shepherd-theme-square-dark.shepherd-element-attached-top.shepherd-element-attached-left.shepherd-target-attached-bottom .shepherd-content { - margin-top: 16px; } - .shepherd-element.shepherd-theme-square-dark.shepherd-element-attached-top.shepherd-element-attached-left.shepherd-target-attached-bottom .shepherd-content:before { - bottom: 100%; - left: 16px; - border-bottom-color: #232323; } - .shepherd-element.shepherd-theme-square-dark.shepherd-element-attached-top.shepherd-element-attached-right.shepherd-target-attached-bottom .shepherd-content { - margin-top: 16px; } - .shepherd-element.shepherd-theme-square-dark.shepherd-element-attached-top.shepherd-element-attached-right.shepherd-target-attached-bottom .shepherd-content:before { - bottom: 100%; - right: 16px; - border-bottom-color: #232323; } - .shepherd-element.shepherd-theme-square-dark.shepherd-element-attached-bottom.shepherd-element-attached-left.shepherd-target-attached-top .shepherd-content { - margin-bottom: 16px; } - .shepherd-element.shepherd-theme-square-dark.shepherd-element-attached-bottom.shepherd-element-attached-left.shepherd-target-attached-top .shepherd-content:before { - top: 100%; - left: 16px; - border-top-color: #232323; } - .shepherd-element.shepherd-theme-square-dark.shepherd-element-attached-bottom.shepherd-element-attached-right.shepherd-target-attached-top .shepherd-content { - margin-bottom: 16px; } - .shepherd-element.shepherd-theme-square-dark.shepherd-element-attached-bottom.shepherd-element-attached-right.shepherd-target-attached-top .shepherd-content:before { - top: 100%; - right: 16px; - border-top-color: #232323; } - .shepherd-element.shepherd-theme-square-dark.shepherd-element-attached-top.shepherd-element-attached-right.shepherd-target-attached-left .shepherd-content { - margin-right: 16px; } - .shepherd-element.shepherd-theme-square-dark.shepherd-element-attached-top.shepherd-element-attached-right.shepherd-target-attached-left .shepherd-content:before { - top: 16px; - left: 100%; - border-left-color: #232323; } - .shepherd-element.shepherd-theme-square-dark.shepherd-element-attached-top.shepherd-element-attached-left.shepherd-target-attached-right .shepherd-content { - margin-left: 16px; } - .shepherd-element.shepherd-theme-square-dark.shepherd-element-attached-top.shepherd-element-attached-left.shepherd-target-attached-right .shepherd-content:before { - top: 16px; - right: 100%; - border-right-color: #232323; } - .shepherd-element.shepherd-theme-square-dark.shepherd-element-attached-bottom.shepherd-element-attached-right.shepherd-target-attached-left .shepherd-content { - margin-right: 16px; } - .shepherd-element.shepherd-theme-square-dark.shepherd-element-attached-bottom.shepherd-element-attached-right.shepherd-target-attached-left .shepherd-content:before { - bottom: 16px; - left: 100%; - border-left-color: #232323; } - .shepherd-element.shepherd-theme-square-dark.shepherd-element-attached-bottom.shepherd-element-attached-left.shepherd-target-attached-right .shepherd-content { - margin-left: 16px; } - .shepherd-element.shepherd-theme-square-dark.shepherd-element-attached-bottom.shepherd-element-attached-left.shepherd-target-attached-right .shepherd-content:before { - bottom: 16px; - right: 100%; - border-right-color: #232323; } - -.shepherd-element.shepherd-theme-square-dark { - border-radius: 0; - z-index: 9999; - max-width: 24em; - font-size: 1em; } - .shepherd-element.shepherd-theme-square-dark.shepherd-element-attached-top.shepherd-element-attached-center.shepherd-has-title .shepherd-content:before, .shepherd-element.shepherd-theme-square-dark.shepherd-element-attached-top.shepherd-element-attached-right.shepherd-target-attached-bottom.shepherd-has-title .shepherd-content:before, .shepherd-element.shepherd-theme-square-dark.shepherd-element-attached-top.shepherd-element-attached-left.shepherd-target-attached-bottom.shepherd-has-title .shepherd-content:before { - border-bottom-color: #303030; } - .shepherd-element.shepherd-theme-square-dark.shepherd-has-title .shepherd-content header { - background: #303030; - padding: 1em; } - .shepherd-element.shepherd-theme-square-dark.shepherd-has-title .shepherd-content header a.shepherd-cancel-link { - padding: 0; - margin-bottom: 0; } - .shepherd-element.shepherd-theme-square-dark.shepherd-has-cancel-link .shepherd-content header h3 { - float: left; } - .shepherd-element.shepherd-theme-square-dark .shepherd-content { - box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.17); - border-radius: 0; - padding: 0; } - .shepherd-element.shepherd-theme-square-dark .shepherd-content * { - font-size: inherit; } - .shepherd-element.shepherd-theme-square-dark .shepherd-content header { - *zoom: 1; - border-radius: 0; } - .shepherd-element.shepherd-theme-square-dark .shepherd-content header:after { - content: ""; - display: table; - clear: both; } - .shepherd-element.shepherd-theme-square-dark .shepherd-content header h3 { - margin: 0; - line-height: 1; - font-weight: normal; } - .shepherd-element.shepherd-theme-square-dark .shepherd-content header a.shepherd-cancel-link { - float: right; - text-decoration: none; - font-size: 1.25em; - line-height: .8em; - font-weight: normal; - color: rgba(0, 0, 0, 0.5); - opacity: 0.25; - position: relative; - top: .1em; - padding: .8em; - margin-bottom: -.8em; } - .shepherd-element.shepherd-theme-square-dark .shepherd-content header a.shepherd-cancel-link:hover { - opacity: 1; } - .shepherd-element.shepherd-theme-square-dark .shepherd-content .shepherd-text { - padding: 1em; } - .shepherd-element.shepherd-theme-square-dark .shepherd-content .shepherd-text p { - margin: 0 0 .5em 0; - line-height: 1.3em; } - .shepherd-element.shepherd-theme-square-dark .shepherd-content .shepherd-text p:last-child { - margin-bottom: 0; } - .shepherd-element.shepherd-theme-square-dark .shepherd-content footer { - padding: 0 1em 1em; } - .shepherd-element.shepherd-theme-square-dark .shepherd-content footer .shepherd-buttons { - text-align: right; - list-style: none; - padding: 0; - margin: 0; } - .shepherd-element.shepherd-theme-square-dark .shepherd-content footer .shepherd-buttons li { - display: inline; - padding: 0; - margin: 0; } - .shepherd-element.shepherd-theme-square-dark .shepherd-content footer .shepherd-buttons li .shepherd-button { - display: inline-block; - vertical-align: middle; - *vertical-align: auto; - *zoom: 1; - *display: inline; - border-radius: 0; - cursor: pointer; - border: 0; - margin: 0 .5em 0 0; - font-family: inherit; - text-transform: uppercase; - letter-spacing: .1em; - font-size: .8em; - line-height: 1em; - padding: .75em 2em; - background: #3288e6; - color: #fff; } - .shepherd-element.shepherd-theme-square-dark .shepherd-content footer .shepherd-buttons li .shepherd-button.shepherd-button-secondary { - background: #eee; - color: #888; } - .shepherd-element.shepherd-theme-square-dark .shepherd-content footer .shepherd-buttons li:last-child .shepherd-button { - margin-right: 0; } - -.shepherd-start-tour-button.shepherd-theme-square-dark { - display: inline-block; - vertical-align: middle; - *vertical-align: auto; - *zoom: 1; - *display: inline; - border-radius: 0; - cursor: pointer; - border: 0; - margin: 0 .5em 0 0; - font-family: inherit; - text-transform: uppercase; - letter-spacing: .1em; - font-size: .8em; - line-height: 1em; - padding: .75em 2em; - background: #3288e6; - color: #fff; } diff --git a/uwBridge/apps/client/example!/filesystem/asset/css/tour/square.css b/uwBridge/apps/client/example!/filesystem/asset/css/tour/square.css deleted file mode 100644 index 8625d45c..00000000 --- a/uwBridge/apps/client/example!/filesystem/asset/css/tour/square.css +++ /dev/null @@ -1,248 +0,0 @@ -.shepherd-element-attached-bottom.shepherd-element-attached-right.shepherd-target-attached-top.shepherd-target-attached-left .shepherd-content:before, -.shepherd-element-attached-bottom.shepherd-element-attached-left.shepherd-target-attached-top.shepherd-target-attached-right .shepherd-content:before, -.shepherd-element-attached-top.shepherd-element-attached-right.shepherd-target-attached-bottom.shepherd-target-attached-left .shepherd-content:before, -.shepherd-element-attached-top.shepherd-element-attached-left.shepherd-target-attached-bottom.shepherd-target-attached-right .shepherd-content:before { - display: none; } - -.shepherd-element, .shepherd-element:after, .shepherd-element:before, .shepherd-element *, .shepherd-element *:after, .shepherd-element *:before { - box-sizing: border-box; } - -.shepherd-element { - position: absolute; - display: none; } - .shepherd-element.shepherd-open { - display: block; } - -.shepherd-element.shepherd-theme-square { - max-width: 100%; - max-height: 100%; } - .shepherd-element.shepherd-theme-square .shepherd-content { - border-radius: 5px; - position: relative; - font-family: inherit; - background: #f6f6f6; - color: #444; - padding: 1em; - font-size: 1.1em; - line-height: 1.5em; } - .shepherd-element.shepherd-theme-square .shepherd-content:before { - content: ""; - display: block; - position: absolute; - width: 0; - height: 0; - border-color: transparent; - border-width: 16px; - border-style: solid; - pointer-events: none; } - .shepherd-element.shepherd-theme-square.shepherd-element-attached-bottom.shepherd-element-attached-center .shepherd-content { - margin-bottom: 16px; } - .shepherd-element.shepherd-theme-square.shepherd-element-attached-bottom.shepherd-element-attached-center .shepherd-content:before { - top: 100%; - left: 50%; - margin-left: -16px; - border-top-color: #f6f6f6; } - .shepherd-element.shepherd-theme-square.shepherd-element-attached-top.shepherd-element-attached-center .shepherd-content { - margin-top: 16px; } - .shepherd-element.shepherd-theme-square.shepherd-element-attached-top.shepherd-element-attached-center .shepherd-content:before { - bottom: 100%; - left: 50%; - margin-left: -16px; - border-bottom-color: #f6f6f6; } - .shepherd-element.shepherd-theme-square.shepherd-element-attached-right.shepherd-element-attached-middle .shepherd-content { - margin-right: 16px; } - .shepherd-element.shepherd-theme-square.shepherd-element-attached-right.shepherd-element-attached-middle .shepherd-content:before { - left: 100%; - top: 50%; - margin-top: -16px; - border-left-color: #f6f6f6; } - .shepherd-element.shepherd-theme-square.shepherd-element-attached-left.shepherd-element-attached-middle .shepherd-content { - margin-left: 16px; } - .shepherd-element.shepherd-theme-square.shepherd-element-attached-left.shepherd-element-attached-middle .shepherd-content:before { - right: 100%; - top: 50%; - margin-top: -16px; - border-right-color: #f6f6f6; } - .shepherd-element.shepherd-theme-square.shepherd-element-attached-left.shepherd-target-attached-center .shepherd-content { - left: -32px; } - .shepherd-element.shepherd-theme-square.shepherd-element-attached-right.shepherd-target-attached-center .shepherd-content { - left: 32px; } - .shepherd-element.shepherd-theme-square.shepherd-element-attached-top.shepherd-element-attached-left.shepherd-target-attached-middle .shepherd-content { - margin-top: 16px; } - .shepherd-element.shepherd-theme-square.shepherd-element-attached-top.shepherd-element-attached-left.shepherd-target-attached-middle .shepherd-content:before { - bottom: 100%; - left: 16px; - border-bottom-color: #f6f6f6; } - .shepherd-element.shepherd-theme-square.shepherd-element-attached-top.shepherd-element-attached-right.shepherd-target-attached-middle .shepherd-content { - margin-top: 16px; } - .shepherd-element.shepherd-theme-square.shepherd-element-attached-top.shepherd-element-attached-right.shepherd-target-attached-middle .shepherd-content:before { - bottom: 100%; - right: 16px; - border-bottom-color: #f6f6f6; } - .shepherd-element.shepherd-theme-square.shepherd-element-attached-bottom.shepherd-element-attached-left.shepherd-target-attached-middle .shepherd-content { - margin-bottom: 16px; } - .shepherd-element.shepherd-theme-square.shepherd-element-attached-bottom.shepherd-element-attached-left.shepherd-target-attached-middle .shepherd-content:before { - top: 100%; - left: 16px; - border-top-color: #f6f6f6; } - .shepherd-element.shepherd-theme-square.shepherd-element-attached-bottom.shepherd-element-attached-right.shepherd-target-attached-middle .shepherd-content { - margin-bottom: 16px; } - .shepherd-element.shepherd-theme-square.shepherd-element-attached-bottom.shepherd-element-attached-right.shepherd-target-attached-middle .shepherd-content:before { - top: 100%; - right: 16px; - border-top-color: #f6f6f6; } - .shepherd-element.shepherd-theme-square.shepherd-element-attached-top.shepherd-element-attached-left.shepherd-target-attached-bottom .shepherd-content { - margin-top: 16px; } - .shepherd-element.shepherd-theme-square.shepherd-element-attached-top.shepherd-element-attached-left.shepherd-target-attached-bottom .shepherd-content:before { - bottom: 100%; - left: 16px; - border-bottom-color: #f6f6f6; } - .shepherd-element.shepherd-theme-square.shepherd-element-attached-top.shepherd-element-attached-right.shepherd-target-attached-bottom .shepherd-content { - margin-top: 16px; } - .shepherd-element.shepherd-theme-square.shepherd-element-attached-top.shepherd-element-attached-right.shepherd-target-attached-bottom .shepherd-content:before { - bottom: 100%; - right: 16px; - border-bottom-color: #f6f6f6; } - .shepherd-element.shepherd-theme-square.shepherd-element-attached-bottom.shepherd-element-attached-left.shepherd-target-attached-top .shepherd-content { - margin-bottom: 16px; } - .shepherd-element.shepherd-theme-square.shepherd-element-attached-bottom.shepherd-element-attached-left.shepherd-target-attached-top .shepherd-content:before { - top: 100%; - left: 16px; - border-top-color: #f6f6f6; } - .shepherd-element.shepherd-theme-square.shepherd-element-attached-bottom.shepherd-element-attached-right.shepherd-target-attached-top .shepherd-content { - margin-bottom: 16px; } - .shepherd-element.shepherd-theme-square.shepherd-element-attached-bottom.shepherd-element-attached-right.shepherd-target-attached-top .shepherd-content:before { - top: 100%; - right: 16px; - border-top-color: #f6f6f6; } - .shepherd-element.shepherd-theme-square.shepherd-element-attached-top.shepherd-element-attached-right.shepherd-target-attached-left .shepherd-content { - margin-right: 16px; } - .shepherd-element.shepherd-theme-square.shepherd-element-attached-top.shepherd-element-attached-right.shepherd-target-attached-left .shepherd-content:before { - top: 16px; - left: 100%; - border-left-color: #f6f6f6; } - .shepherd-element.shepherd-theme-square.shepherd-element-attached-top.shepherd-element-attached-left.shepherd-target-attached-right .shepherd-content { - margin-left: 16px; } - .shepherd-element.shepherd-theme-square.shepherd-element-attached-top.shepherd-element-attached-left.shepherd-target-attached-right .shepherd-content:before { - top: 16px; - right: 100%; - border-right-color: #f6f6f6; } - .shepherd-element.shepherd-theme-square.shepherd-element-attached-bottom.shepherd-element-attached-right.shepherd-target-attached-left .shepherd-content { - margin-right: 16px; } - .shepherd-element.shepherd-theme-square.shepherd-element-attached-bottom.shepherd-element-attached-right.shepherd-target-attached-left .shepherd-content:before { - bottom: 16px; - left: 100%; - border-left-color: #f6f6f6; } - .shepherd-element.shepherd-theme-square.shepherd-element-attached-bottom.shepherd-element-attached-left.shepherd-target-attached-right .shepherd-content { - margin-left: 16px; } - .shepherd-element.shepherd-theme-square.shepherd-element-attached-bottom.shepherd-element-attached-left.shepherd-target-attached-right .shepherd-content:before { - bottom: 16px; - right: 100%; - border-right-color: #f6f6f6; } - -.shepherd-element.shepherd-theme-square { - border-radius: 0; - z-index: 9999; - max-width: 24em; - font-size: 1em; } - .shepherd-element.shepherd-theme-square.shepherd-element-attached-top.shepherd-element-attached-center.shepherd-has-title .shepherd-content:before, .shepherd-element.shepherd-theme-square.shepherd-element-attached-top.shepherd-element-attached-right.shepherd-target-attached-bottom.shepherd-has-title .shepherd-content:before, .shepherd-element.shepherd-theme-square.shepherd-element-attached-top.shepherd-element-attached-left.shepherd-target-attached-bottom.shepherd-has-title .shepherd-content:before { - border-bottom-color: #e6e6e6; } - .shepherd-element.shepherd-theme-square.shepherd-has-title .shepherd-content header { - background: #e6e6e6; - padding: 1em; } - .shepherd-element.shepherd-theme-square.shepherd-has-title .shepherd-content header a.shepherd-cancel-link { - padding: 0; - margin-bottom: 0; } - .shepherd-element.shepherd-theme-square.shepherd-has-cancel-link .shepherd-content header h3 { - float: left; } - .shepherd-element.shepherd-theme-square .shepherd-content { - box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.17); - border-radius: 0; - padding: 0; } - .shepherd-element.shepherd-theme-square .shepherd-content * { - font-size: inherit; } - .shepherd-element.shepherd-theme-square .shepherd-content header { - *zoom: 1; - border-radius: 0; } - .shepherd-element.shepherd-theme-square .shepherd-content header:after { - content: ""; - display: table; - clear: both; } - .shepherd-element.shepherd-theme-square .shepherd-content header h3 { - margin: 0; - line-height: 1; - font-weight: normal; } - .shepherd-element.shepherd-theme-square .shepherd-content header a.shepherd-cancel-link { - float: right; - text-decoration: none; - font-size: 1.25em; - line-height: .8em; - font-weight: normal; - color: rgba(0, 0, 0, 0.5); - opacity: 0.25; - position: relative; - top: .1em; - padding: .8em; - margin-bottom: -.8em; } - .shepherd-element.shepherd-theme-square .shepherd-content header a.shepherd-cancel-link:hover { - opacity: 1; } - .shepherd-element.shepherd-theme-square .shepherd-content .shepherd-text { - padding: 1em; } - .shepherd-element.shepherd-theme-square .shepherd-content .shepherd-text p { - margin: 0 0 .5em 0; - line-height: 1.3em; } - .shepherd-element.shepherd-theme-square .shepherd-content .shepherd-text p:last-child { - margin-bottom: 0; } - .shepherd-element.shepherd-theme-square .shepherd-content footer { - padding: 0 1em 1em; } - .shepherd-element.shepherd-theme-square .shepherd-content footer .shepherd-buttons { - text-align: right; - list-style: none; - padding: 0; - margin: 0; } - .shepherd-element.shepherd-theme-square .shepherd-content footer .shepherd-buttons li { - display: inline; - padding: 0; - margin: 0; } - .shepherd-element.shepherd-theme-square .shepherd-content footer .shepherd-buttons li .shepherd-button { - display: inline-block; - vertical-align: middle; - *vertical-align: auto; - *zoom: 1; - *display: inline; - border-radius: 0; - cursor: pointer; - border: 0; - margin: 0 .5em 0 0; - font-family: inherit; - text-transform: uppercase; - letter-spacing: .1em; - font-size: .8em; - line-height: 1em; - padding: .75em 2em; - background: #3288e6; - color: #fff; } - .shepherd-element.shepherd-theme-square .shepherd-content footer .shepherd-buttons li .shepherd-button.shepherd-button-secondary { - background: #eee; - color: #888; } - .shepherd-element.shepherd-theme-square .shepherd-content footer .shepherd-buttons li:last-child .shepherd-button { - margin-right: 0; } - -.shepherd-start-tour-button.shepherd-theme-square { - display: inline-block; - vertical-align: middle; - *vertical-align: auto; - *zoom: 1; - *display: inline; - border-radius: 0; - cursor: pointer; - border: 0; - margin: 0 .5em 0 0; - font-family: inherit; - text-transform: uppercase; - letter-spacing: .1em; - font-size: .8em; - line-height: 1em; - padding: .75em 2em; - background: #3288e6; - color: #fff; } diff --git a/uwBridge/apps/client/example!/filesystem/asset/js/action/browserCheck.js b/uwBridge/apps/client/example!/filesystem/asset/js/action/browserCheck.js deleted file mode 100644 index 6a4c5341..00000000 --- a/uwBridge/apps/client/example!/filesystem/asset/js/action/browserCheck.js +++ /dev/null @@ -1,28 +0,0 @@ -(async () => { - const { - request, - each, - isString, - isBoolean, - } = app; - const { userAgentData } = navigator; - if (userAgentData) { - const { - brands, - mobile, - platform - } = userAgentData; - const browserInfo = { - mobile, - platform - }; - each(brands, (item, key) => { - if (isString(item) || isBoolean(item)) { - browserInfo[key] = item; - } - }); - request('security.ban', { - userAgentData, - }); - } -})(); diff --git a/uwBridge/apps/client/example!/filesystem/asset/js/lib/googleAnalytics.js b/uwBridge/apps/client/example!/filesystem/asset/js/lib/googleAnalytics.js deleted file mode 100644 index b7fad461..00000000 --- a/uwBridge/apps/client/example!/filesystem/asset/js/lib/googleAnalytics.js +++ /dev/null @@ -1,12 +0,0 @@ -(async function(){ -(()=>{ - (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ - (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), - m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) - })(window,document,'script','https://www.google-analytics.com/analytics.js','ga'); - - ga('create', 'UA-84103315-1', 'auto'); - ga('send', 'pageview'); -})(); - -})(); \ No newline at end of file diff --git a/uwBridge/apps/client/example!/filesystem/asset/js/lib/plugins.js b/uwBridge/apps/client/example!/filesystem/asset/js/lib/plugins.js deleted file mode 100644 index aa1f3318..00000000 --- a/uwBridge/apps/client/example!/filesystem/asset/js/lib/plugins.js +++ /dev/null @@ -1,3 +0,0 @@ -(async function(){ - -})(); \ No newline at end of file diff --git a/uwBridge/apps/client/example!/filesystem/asset/js/lib/scrollToEager.js b/uwBridge/apps/client/example!/filesystem/asset/js/lib/scrollToEager.js deleted file mode 100644 index 69ade906..00000000 --- a/uwBridge/apps/client/example!/filesystem/asset/js/lib/scrollToEager.js +++ /dev/null @@ -1,161 +0,0 @@ -(function() { - var ShepherdInstallHelper, addEventListener, buttonLocation, firstStepSelector, options, ready, render, tour; - - addEventListener = function(el, eventName, handler) { - if (el.addEventListener) { - return el.addEventListener(eventName, handler); - } else { - return el.attachEvent("on" + eventName, function() { - return handler.call(el); - }); - } - }; - - ready = function(fn) { - if (document.readyState !== 'loading') { - return fn(); - } else if (document.addEventListener) { - return document.addEventListener('DOMContentLoaded', fn); - } else { - return document.attachEvent('onreadystatechange', function() { - if (document.readyState !== 'loading') { - return fn(); - } - }); - } - }; - - firstStepSelector = void 0; - - options = INSTALL_OPTIONS; - - tour = null; - - buttonLocation = null; - - render = function() { - var existing, i, id, j, k, lastI, len, len1, open, ref, ref1, step, stepOptions, steps, textLines; - tour || (tour = new Shepherd.Tour); - steps = []; - ref = options.steps; - for (j = 0, len = ref.length; j < len; j++) { - step = ref[j]; - if (step.text && step.attachToSelector && step.attachToDirection) { - if (typeof step.text === 'string') { - textLines = step.text.split('\n'); - if (textLines.length) { - step.text = textLines; - } - } - steps.push(step); - } - } - open = (ref1 = tour.getCurrentStep()) != null ? ref1.id : void 0; - lastI = -1; - for (i = k = 0, len1 = steps.length; k < len1; i = ++k) { - step = steps[i]; - if (i === 0) { - firstStepSelector = step.attachToSelector; - } - stepOptions = { - title: step.title, - text: step.text, - showCancelLink: step.showCancelLink, - attachTo: step.attachToSelector + ' ' + step.attachToDirection, - classes: "shepherd-element shepherd-theme-" + options.theme, - scrollTo: options.scrollTo - }; - stepOptions.buttons = []; - if (i > 0) { - stepOptions.buttons.push({ - text: 'Back', - action: tour.back, - classes: 'shepherd-button-secondary' - }); - } else if (steps.length > 1) { - stepOptions.buttons.push({ - text: 'Exit', - action: tour.cancel, - classes: 'shepherd-button-secondary' - }); - } - if (i < steps.length - 1) { - stepOptions.buttons.push({ - text: 'Next', - action: tour.next - }); - } else { - stepOptions.buttons.push({ - text: 'Done', - action: tour.next - }); - } - id = "step-" + i; - existing = tour.getById(id); - if (existing) { - existing.setOptions(stepOptions); - existing.render(); - if (open === id) { - tour.show(id); - } - } else { - tour.addStep('step-' + i, stepOptions); - } - lastI = i; - } - while (existing = tour.getById("step-" + (++lastI))) { - tour.removeStep(existing.id); - } - return ready(function() { - var button, ref2, start, tries; - if (options.trigger === 'first-page-visit' && !Shepherd.activeTour) { - tries = 0; - start = function() { - if (document.querySelector(firstStepSelector)) { - tour.start(); - if (INSTALL_ID !== 'preview') { - return typeof localStorage !== "undefined" && localStorage !== null ? localStorage.eagerShepherdHasRun = 'true' : void 0; - } - } else if (tries < 3) { - tries++; - return setTimeout(start, 250); - } - }; - if (INSTALL_ID === 'preview' || ((ref2 = window.localStorage) != null ? ref2.eagerShepherdHasRun : void 0) !== 'true') { - start(); - } - } - if (options.trigger === 'button-click') { - buttonLocation = Eager.createElement(options.buttonLocation, buttonLocation); - button = document.createElement('button'); - button.className = "shepherd-start-tour-button shepherd-theme-" + options.theme; - button.appendChild(document.createTextNode(options.buttonText)); - if (buttonLocation) { - buttonLocation.appendChild(button); - return addEventListener(button, 'click', function() { - return tour.start(); - }); - } - } else if (buttonLocation != null ? buttonLocation.parentNode : void 0) { - Eager.createElement({ - method: 'append', - selector: 'x:not(x)' - }, buttonLocation); - return buttonLocation = null; - } - }); - }; - - render(); - - ShepherdInstallHelper = { - setOptions: function(opts) { - options = opts; - return render(); - }, - tour: tour - }; - - window.ShepherdInstallHelper = ShepherdInstallHelper; - -}).call(this); diff --git a/uwBridge/apps/client/example!/filesystem/asset/js/lib/tether.js b/uwBridge/apps/client/example!/filesystem/asset/js/lib/tether.js deleted file mode 100644 index d5d02615..00000000 --- a/uwBridge/apps/client/example!/filesystem/asset/js/lib/tether.js +++ /dev/null @@ -1,1443 +0,0 @@ -/*! tether 0.6.5 */ - - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - define(factory); - } else if (typeof exports === 'object') { - module.exports = factory(require,exports,module); - } else { - root.Tether = factory(); - } -}(this, function(require,exports,module) { - -(function() { - var Evented, addClass, defer, deferred, extend, flush, getBounds, getOffsetParent, getOrigin, getScrollBarSize, getScrollParent, hasClass, node, removeClass, uniqueId, updateClasses, zeroPosCache, - __hasProp = {}.hasOwnProperty, - __indexOf = [].indexOf || function(item) { for (var i = 0, l = this.length; i < l; i++) { if (i in this && this[i] === item) return i; } return -1; }, - __slice = [].slice; - - if (this.Tether == null) { - this.Tether = { - modules: [] - }; - } - - getScrollParent = function(el) { - var parent, position, scrollParent, style, _ref; - position = getComputedStyle(el).position; - if (position === 'fixed') { - return el; - } - scrollParent = void 0; - parent = el; - while (parent = parent.parentNode) { - try { - style = getComputedStyle(parent); - } catch (_error) {} - if (style == null) { - return parent; - } - if (/(auto|scroll)/.test(style['overflow'] + style['overflow-y'] + style['overflow-x'])) { - if (position !== 'absolute' || ((_ref = style['position']) === 'relative' || _ref === 'absolute' || _ref === 'fixed')) { - return parent; - } - } - } - return document.body; - }; - - uniqueId = (function() { - var id; - id = 0; - return function() { - return id++; - }; - })(); - - zeroPosCache = {}; - - getOrigin = function(doc) { - var id, k, node, v, _ref; - node = doc._tetherZeroElement; - if (node == null) { - node = doc.createElement('div'); - node.setAttribute('data-tether-id', uniqueId()); - extend(node.style, { - top: 0, - left: 0, - position: 'absolute' - }); - doc.body.appendChild(node); - doc._tetherZeroElement = node; - } - id = node.getAttribute('data-tether-id'); - if (zeroPosCache[id] == null) { - zeroPosCache[id] = {}; - _ref = node.getBoundingClientRect(); - for (k in _ref) { - v = _ref[k]; - zeroPosCache[id][k] = v; - } - defer(function() { - return zeroPosCache[id] = void 0; - }); - } - return zeroPosCache[id]; - }; - - node = null; - - getBounds = function(el) { - var box, doc, docEl, k, origin, v, _ref; - if (el === document) { - doc = document; - el = document.documentElement; - } else { - doc = el.ownerDocument; - } - docEl = doc.documentElement; - box = {}; - _ref = el.getBoundingClientRect(); - for (k in _ref) { - v = _ref[k]; - box[k] = v; - } - origin = getOrigin(doc); - box.top -= origin.top; - box.left -= origin.left; - if (box.width == null) { - box.width = document.body.scrollWidth - box.left - box.right; - } - if (box.height == null) { - box.height = document.body.scrollHeight - box.top - box.bottom; - } - box.top = box.top - docEl.clientTop; - box.left = box.left - docEl.clientLeft; - box.right = doc.body.clientWidth - box.width - box.left; - box.bottom = doc.body.clientHeight - box.height - box.top; - return box; - }; - - getOffsetParent = function(el) { - return el.offsetParent || document.documentElement; - }; - - getScrollBarSize = function() { - var inner, outer, width, widthContained, widthScroll; - inner = document.createElement('div'); - inner.style.width = '100%'; - inner.style.height = '200px'; - outer = document.createElement('div'); - extend(outer.style, { - position: 'absolute', - top: 0, - left: 0, - pointerEvents: 'none', - visibility: 'hidden', - width: '200px', - height: '150px', - overflow: 'hidden' - }); - outer.appendChild(inner); - document.body.appendChild(outer); - widthContained = inner.offsetWidth; - outer.style.overflow = 'scroll'; - widthScroll = inner.offsetWidth; - if (widthContained === widthScroll) { - widthScroll = outer.clientWidth; - } - document.body.removeChild(outer); - width = widthContained - widthScroll; - return { - width: width, - height: width - }; - }; - - extend = function(out) { - var args, key, obj, val, _i, _len, _ref; - if (out == null) { - out = {}; - } - args = []; - Array.prototype.push.apply(args, arguments); - _ref = args.slice(1); - for (_i = 0, _len = _ref.length; _i < _len; _i++) { - obj = _ref[_i]; - if (obj) { - for (key in obj) { - if (!__hasProp.call(obj, key)) continue; - val = obj[key]; - out[key] = val; - } - } - } - return out; - }; - - removeClass = function(el, name) { - var cls, _i, _len, _ref, _results; - if (el.classList != null) { - _ref = name.split(' '); - _results = []; - for (_i = 0, _len = _ref.length; _i < _len; _i++) { - cls = _ref[_i]; - if (cls.trim()) { - _results.push(el.classList.remove(cls)); - } - } - return _results; - } else { - return el.className = el.className.replace(new RegExp("(^| )" + (name.split(' ').join('|')) + "( |$)", 'gi'), ' '); - } - }; - - addClass = function(el, name) { - var cls, _i, _len, _ref, _results; - if (el.classList != null) { - _ref = name.split(' '); - _results = []; - for (_i = 0, _len = _ref.length; _i < _len; _i++) { - cls = _ref[_i]; - if (cls.trim()) { - _results.push(el.classList.add(cls)); - } - } - return _results; - } else { - removeClass(el, name); - return el.className += " " + name; - } - }; - - hasClass = function(el, name) { - if (el.classList != null) { - return el.classList.contains(name); - } else { - return new RegExp("(^| )" + name + "( |$)", 'gi').test(el.className); - } - }; - - updateClasses = function(el, add, all) { - var cls, _i, _j, _len, _len1, _results; - for (_i = 0, _len = all.length; _i < _len; _i++) { - cls = all[_i]; - if (__indexOf.call(add, cls) < 0) { - if (hasClass(el, cls)) { - removeClass(el, cls); - } - } - } - _results = []; - for (_j = 0, _len1 = add.length; _j < _len1; _j++) { - cls = add[_j]; - if (!hasClass(el, cls)) { - _results.push(addClass(el, cls)); - } else { - _results.push(void 0); - } - } - return _results; - }; - - deferred = []; - - defer = function(fn) { - return deferred.push(fn); - }; - - flush = function() { - var fn, _results; - _results = []; - while (fn = deferred.pop()) { - _results.push(fn()); - } - return _results; - }; - - Evented = (function() { - function Evented() {} - - Evented.prototype.on = function(event, handler, ctx, once) { - var _base; - if (once == null) { - once = false; - } - if (this.bindings == null) { - this.bindings = {}; - } - if ((_base = this.bindings)[event] == null) { - _base[event] = []; - } - return this.bindings[event].push({ - handler: handler, - ctx: ctx, - once: once - }); - }; - - Evented.prototype.once = function(event, handler, ctx) { - return this.on(event, handler, ctx, true); - }; - - Evented.prototype.off = function(event, handler) { - var i, _ref, _results; - if (((_ref = this.bindings) != null ? _ref[event] : void 0) == null) { - return; - } - if (handler == null) { - return delete this.bindings[event]; - } else { - i = 0; - _results = []; - while (i < this.bindings[event].length) { - if (this.bindings[event][i].handler === handler) { - _results.push(this.bindings[event].splice(i, 1)); - } else { - _results.push(i++); - } - } - return _results; - } - }; - - Evented.prototype.trigger = function() { - var args, ctx, event, handler, i, once, _ref, _ref1, _results; - event = arguments[0], args = 2 <= arguments.length ? __slice.call(arguments, 1) : []; - if ((_ref = this.bindings) != null ? _ref[event] : void 0) { - i = 0; - _results = []; - while (i < this.bindings[event].length) { - _ref1 = this.bindings[event][i], handler = _ref1.handler, ctx = _ref1.ctx, once = _ref1.once; - handler.apply(ctx != null ? ctx : this, args); - if (once) { - _results.push(this.bindings[event].splice(i, 1)); - } else { - _results.push(i++); - } - } - return _results; - } - }; - - return Evented; - - })(); - - this.Tether.Utils = { - getScrollParent: getScrollParent, - getBounds: getBounds, - getOffsetParent: getOffsetParent, - extend: extend, - addClass: addClass, - removeClass: removeClass, - hasClass: hasClass, - updateClasses: updateClasses, - defer: defer, - flush: flush, - uniqueId: uniqueId, - Evented: Evented, - getScrollBarSize: getScrollBarSize - }; - -}).call(this); - -(function() { - var MIRROR_LR, MIRROR_TB, OFFSET_MAP, Tether, addClass, addOffset, attachmentToOffset, autoToFixedAttachment, defer, extend, flush, getBounds, getOffsetParent, getOuterSize, getScrollBarSize, getScrollParent, getSize, now, offsetToPx, parseAttachment, parseOffset, position, removeClass, tethers, transformKey, updateClasses, within, _Tether, _ref, - __slice = [].slice, - __bind = function(fn, me){ return function(){ return fn.apply(me, arguments); }; }; - - if (this.Tether == null) { - throw new Error("You must include the utils.js file before tether.js"); - } - - Tether = this.Tether; - - _ref = Tether.Utils, getScrollParent = _ref.getScrollParent, getSize = _ref.getSize, getOuterSize = _ref.getOuterSize, getBounds = _ref.getBounds, getOffsetParent = _ref.getOffsetParent, extend = _ref.extend, addClass = _ref.addClass, removeClass = _ref.removeClass, updateClasses = _ref.updateClasses, defer = _ref.defer, flush = _ref.flush, getScrollBarSize = _ref.getScrollBarSize; - - within = function(a, b, diff) { - if (diff == null) { - diff = 1; - } - return (a + diff >= b && b >= a - diff); - }; - - transformKey = (function() { - var el, key, _i, _len, _ref1; - el = document.createElement('div'); - _ref1 = ['transform', 'webkitTransform', 'OTransform', 'MozTransform', 'msTransform']; - for (_i = 0, _len = _ref1.length; _i < _len; _i++) { - key = _ref1[_i]; - if (el.style[key] !== void 0) { - return key; - } - } - })(); - - tethers = []; - - position = function() { - var tether, _i, _len; - for (_i = 0, _len = tethers.length; _i < _len; _i++) { - tether = tethers[_i]; - tether.position(false); - } - return flush(); - }; - - now = function() { - var _ref1; - return (_ref1 = typeof performance !== "undefined" && performance !== null ? typeof performance.now === "function" ? performance.now() : void 0 : void 0) != null ? _ref1 : +(new Date); - }; - - (function() { - var event, lastCall, lastDuration, pendingTimeout, tick, _i, _len, _ref1, _results; - lastCall = null; - lastDuration = null; - pendingTimeout = null; - tick = function() { - if ((lastDuration != null) && lastDuration > 16) { - lastDuration = Math.min(lastDuration - 16, 250); - pendingTimeout = setTimeout(tick, 250); - return; - } - if ((lastCall != null) && (now() - lastCall) < 10) { - return; - } - if (pendingTimeout != null) { - clearTimeout(pendingTimeout); - pendingTimeout = null; - } - lastCall = now(); - position(); - return lastDuration = now() - lastCall; - }; - _ref1 = ['resize', 'scroll', 'touchmove']; - _results = []; - for (_i = 0, _len = _ref1.length; _i < _len; _i++) { - event = _ref1[_i]; - _results.push(window.addEventListener(event, tick)); - } - return _results; - })(); - - MIRROR_LR = { - center: 'center', - left: 'right', - right: 'left' - }; - - MIRROR_TB = { - middle: 'middle', - top: 'bottom', - bottom: 'top' - }; - - OFFSET_MAP = { - top: 0, - left: 0, - middle: '50%', - center: '50%', - bottom: '100%', - right: '100%' - }; - - autoToFixedAttachment = function(attachment, relativeToAttachment) { - var left, top; - left = attachment.left, top = attachment.top; - if (left === 'auto') { - left = MIRROR_LR[relativeToAttachment.left]; - } - if (top === 'auto') { - top = MIRROR_TB[relativeToAttachment.top]; - } - return { - left: left, - top: top - }; - }; - - attachmentToOffset = function(attachment) { - var _ref1, _ref2; - return { - left: (_ref1 = OFFSET_MAP[attachment.left]) != null ? _ref1 : attachment.left, - top: (_ref2 = OFFSET_MAP[attachment.top]) != null ? _ref2 : attachment.top - }; - }; - - addOffset = function() { - var left, offsets, out, top, _i, _len, _ref1; - offsets = 1 <= arguments.length ? __slice.call(arguments, 0) : []; - out = { - top: 0, - left: 0 - }; - for (_i = 0, _len = offsets.length; _i < _len; _i++) { - _ref1 = offsets[_i], top = _ref1.top, left = _ref1.left; - if (typeof top === 'string') { - top = parseFloat(top, 10); - } - if (typeof left === 'string') { - left = parseFloat(left, 10); - } - out.top += top; - out.left += left; - } - return out; - }; - - offsetToPx = function(offset, size) { - if (typeof offset.left === 'string' && offset.left.indexOf('%') !== -1) { - offset.left = parseFloat(offset.left, 10) / 100 * size.width; - } - if (typeof offset.top === 'string' && offset.top.indexOf('%') !== -1) { - offset.top = parseFloat(offset.top, 10) / 100 * size.height; - } - return offset; - }; - - parseAttachment = parseOffset = function(value) { - var left, top, _ref1; - _ref1 = value.split(' '), top = _ref1[0], left = _ref1[1]; - return { - top: top, - left: left - }; - }; - - _Tether = (function() { - _Tether.modules = []; - - function _Tether(options) { - this.position = __bind(this.position, this); - var module, _i, _len, _ref1, _ref2; - tethers.push(this); - this.history = []; - this.setOptions(options, false); - _ref1 = Tether.modules; - for (_i = 0, _len = _ref1.length; _i < _len; _i++) { - module = _ref1[_i]; - if ((_ref2 = module.initialize) != null) { - _ref2.call(this); - } - } - this.position(); - } - - _Tether.prototype.getClass = function(key) { - var _ref1, _ref2; - if ((_ref1 = this.options.classes) != null ? _ref1[key] : void 0) { - return this.options.classes[key]; - } else if (((_ref2 = this.options.classes) != null ? _ref2[key] : void 0) !== false) { - if (this.options.classPrefix) { - return "" + this.options.classPrefix + "-" + key; - } else { - return key; - } - } else { - return ''; - } - }; - - _Tether.prototype.setOptions = function(options, position) { - var defaults, key, _i, _len, _ref1, _ref2; - this.options = options; - if (position == null) { - position = true; - } - defaults = { - offset: '0 0', - targetOffset: '0 0', - targetAttachment: 'auto auto', - classPrefix: 'tether' - }; - this.options = extend(defaults, this.options); - _ref1 = this.options, this.element = _ref1.element, this.target = _ref1.target, this.targetModifier = _ref1.targetModifier; - if (this.target === 'viewport') { - this.target = document.body; - this.targetModifier = 'visible'; - } else if (this.target === 'scroll-handle') { - this.target = document.body; - this.targetModifier = 'scroll-handle'; - } - _ref2 = ['element', 'target']; - for (_i = 0, _len = _ref2.length; _i < _len; _i++) { - key = _ref2[_i]; - if (this[key] == null) { - throw new Error("Tether Error: Both element and target must be defined"); - } - if (this[key].jquery != null) { - this[key] = this[key][0]; - } else if (typeof this[key] === 'string') { - this[key] = document.querySelector(this[key]); - } - } - addClass(this.element, this.getClass('element')); - addClass(this.target, this.getClass('target')); - if (!this.options.attachment) { - throw new Error("Tether Error: You must provide an attachment"); - } - this.targetAttachment = parseAttachment(this.options.targetAttachment); - this.attachment = parseAttachment(this.options.attachment); - this.offset = parseOffset(this.options.offset); - this.targetOffset = parseOffset(this.options.targetOffset); - if (this.scrollParent != null) { - this.disable(); - } - if (this.targetModifier === 'scroll-handle') { - this.scrollParent = this.target; - } else { - this.scrollParent = getScrollParent(this.target); - } - if (this.options.enabled !== false) { - return this.enable(position); - } - }; - - _Tether.prototype.getTargetBounds = function() { - var bounds, fitAdj, hasBottomScroll, height, out, scrollBottom, scrollPercentage, style, target; - if (this.targetModifier != null) { - switch (this.targetModifier) { - case 'visible': - if (this.target === document.body) { - return { - top: pageYOffset, - left: pageXOffset, - height: innerHeight, - width: innerWidth - }; - } else { - bounds = getBounds(this.target); - out = { - height: bounds.height, - width: bounds.width, - top: bounds.top, - left: bounds.left - }; - out.height = Math.min(out.height, bounds.height - (pageYOffset - bounds.top)); - out.height = Math.min(out.height, bounds.height - ((bounds.top + bounds.height) - (pageYOffset + innerHeight))); - out.height = Math.min(innerHeight, out.height); - out.height -= 2; - out.width = Math.min(out.width, bounds.width - (pageXOffset - bounds.left)); - out.width = Math.min(out.width, bounds.width - ((bounds.left + bounds.width) - (pageXOffset + innerWidth))); - out.width = Math.min(innerWidth, out.width); - out.width -= 2; - if (out.top < pageYOffset) { - out.top = pageYOffset; - } - if (out.left < pageXOffset) { - out.left = pageXOffset; - } - return out; - } - break; - case 'scroll-handle': - target = this.target; - if (target === document.body) { - target = document.documentElement; - bounds = { - left: pageXOffset, - top: pageYOffset, - height: innerHeight, - width: innerWidth - }; - } else { - bounds = getBounds(target); - } - style = getComputedStyle(target); - hasBottomScroll = target.scrollWidth > target.clientWidth || 'scroll' === [style.overflow, style.overflowX] || this.target !== document.body; - scrollBottom = 0; - if (hasBottomScroll) { - scrollBottom = 15; - } - height = bounds.height - parseFloat(style.borderTopWidth) - parseFloat(style.borderBottomWidth) - scrollBottom; - out = { - width: 15, - height: height * 0.975 * (height / target.scrollHeight), - left: bounds.left + bounds.width - parseFloat(style.borderLeftWidth) - 15 - }; - fitAdj = 0; - if (height < 408 && this.target === document.body) { - fitAdj = -0.00011 * Math.pow(height, 2) - 0.00727 * height + 22.58; - } - if (this.target !== document.body) { - out.height = Math.max(out.height, 24); - } - scrollPercentage = this.target.scrollTop / (target.scrollHeight - height); - out.top = scrollPercentage * (height - out.height - fitAdj) + bounds.top + parseFloat(style.borderTopWidth); - if (this.target === document.body) { - out.height = Math.max(out.height, 24); - } - return out; - } - } else { - return getBounds(this.target); - } - }; - - _Tether.prototype.clearCache = function() { - return this._cache = {}; - }; - - _Tether.prototype.cache = function(k, getter) { - if (this._cache == null) { - this._cache = {}; - } - if (this._cache[k] == null) { - this._cache[k] = getter.call(this); - } - return this._cache[k]; - }; - - _Tether.prototype.enable = function(position) { - if (position == null) { - position = true; - } - addClass(this.target, this.getClass('enabled')); - addClass(this.element, this.getClass('enabled')); - this.enabled = true; - if (this.scrollParent !== document) { - this.scrollParent.addEventListener('scroll', this.position); - } - if (position) { - return this.position(); - } - }; - - _Tether.prototype.disable = function() { - removeClass(this.target, this.getClass('enabled')); - removeClass(this.element, this.getClass('enabled')); - this.enabled = false; - if (this.scrollParent != null) { - return this.scrollParent.removeEventListener('scroll', this.position); - } - }; - - _Tether.prototype.destroy = function() { - var i, tether, _i, _len, _results; - this.disable(); - _results = []; - for (i = _i = 0, _len = tethers.length; _i < _len; i = ++_i) { - tether = tethers[i]; - if (tether === this) { - tethers.splice(i, 1); - break; - } else { - _results.push(void 0); - } - } - return _results; - }; - - _Tether.prototype.updateAttachClasses = function(elementAttach, targetAttach) { - var add, all, side, sides, _i, _j, _len, _len1, _ref1, - _this = this; - if (elementAttach == null) { - elementAttach = this.attachment; - } - if (targetAttach == null) { - targetAttach = this.targetAttachment; - } - sides = ['left', 'top', 'bottom', 'right', 'middle', 'center']; - if ((_ref1 = this._addAttachClasses) != null ? _ref1.length : void 0) { - this._addAttachClasses.splice(0, this._addAttachClasses.length); - } - add = this._addAttachClasses != null ? this._addAttachClasses : this._addAttachClasses = []; - if (elementAttach.top) { - add.push("" + (this.getClass('element-attached')) + "-" + elementAttach.top); - } - if (elementAttach.left) { - add.push("" + (this.getClass('element-attached')) + "-" + elementAttach.left); - } - if (targetAttach.top) { - add.push("" + (this.getClass('target-attached')) + "-" + targetAttach.top); - } - if (targetAttach.left) { - add.push("" + (this.getClass('target-attached')) + "-" + targetAttach.left); - } - all = []; - for (_i = 0, _len = sides.length; _i < _len; _i++) { - side = sides[_i]; - all.push("" + (this.getClass('element-attached')) + "-" + side); - } - for (_j = 0, _len1 = sides.length; _j < _len1; _j++) { - side = sides[_j]; - all.push("" + (this.getClass('target-attached')) + "-" + side); - } - return defer(function() { - if (_this._addAttachClasses == null) { - return; - } - updateClasses(_this.element, _this._addAttachClasses, all); - updateClasses(_this.target, _this._addAttachClasses, all); - return _this._addAttachClasses = void 0; - }); - }; - - _Tether.prototype.position = function(flushChanges) { - var elementPos, elementStyle, height, left, manualOffset, manualTargetOffset, module, next, offset, offsetBorder, offsetParent, offsetParentSize, offsetParentStyle, offsetPosition, ret, scrollLeft, scrollTop, scrollbarSize, side, targetAttachment, targetOffset, targetPos, targetSize, top, width, _i, _j, _len, _len1, _ref1, _ref2, _ref3, _ref4, _ref5, _ref6, - _this = this; - if (flushChanges == null) { - flushChanges = true; - } - if (!this.enabled) { - return; - } - this.clearCache(); - targetAttachment = autoToFixedAttachment(this.targetAttachment, this.attachment); - this.updateAttachClasses(this.attachment, targetAttachment); - elementPos = this.cache('element-bounds', function() { - return getBounds(_this.element); - }); - width = elementPos.width, height = elementPos.height; - if (width === 0 && height === 0 && (this.lastSize != null)) { - _ref1 = this.lastSize, width = _ref1.width, height = _ref1.height; - } else { - this.lastSize = { - width: width, - height: height - }; - } - targetSize = targetPos = this.cache('target-bounds', function() { - return _this.getTargetBounds(); - }); - offset = offsetToPx(attachmentToOffset(this.attachment), { - width: width, - height: height - }); - targetOffset = offsetToPx(attachmentToOffset(targetAttachment), targetSize); - manualOffset = offsetToPx(this.offset, { - width: width, - height: height - }); - manualTargetOffset = offsetToPx(this.targetOffset, targetSize); - offset = addOffset(offset, manualOffset); - targetOffset = addOffset(targetOffset, manualTargetOffset); - left = targetPos.left + targetOffset.left - offset.left; - top = targetPos.top + targetOffset.top - offset.top; - _ref2 = Tether.modules; - for (_i = 0, _len = _ref2.length; _i < _len; _i++) { - module = _ref2[_i]; - ret = module.position.call(this, { - left: left, - top: top, - targetAttachment: targetAttachment, - targetPos: targetPos, - attachment: this.attachment, - elementPos: elementPos, - offset: offset, - targetOffset: targetOffset, - manualOffset: manualOffset, - manualTargetOffset: manualTargetOffset, - scrollbarSize: scrollbarSize - }); - if ((ret == null) || typeof ret !== 'object') { - continue; - } else if (ret === false) { - return false; - } else { - top = ret.top, left = ret.left; - } - } - next = { - page: { - top: top, - left: left - }, - viewport: { - top: top - pageYOffset, - bottom: pageYOffset - top - height + innerHeight, - left: left - pageXOffset, - right: pageXOffset - left - width + innerWidth - } - }; - if (document.body.scrollWidth > window.innerWidth) { - scrollbarSize = this.cache('scrollbar-size', getScrollBarSize); - next.viewport.bottom -= scrollbarSize.height; - } - if (document.body.scrollHeight > window.innerHeight) { - scrollbarSize = this.cache('scrollbar-size', getScrollBarSize); - next.viewport.right -= scrollbarSize.width; - } - if (((_ref3 = document.body.style.position) !== '' && _ref3 !== 'static') || ((_ref4 = document.body.parentElement.style.position) !== '' && _ref4 !== 'static')) { - next.page.bottom = document.body.scrollHeight - top - height; - next.page.right = document.body.scrollWidth - left - width; - } - if (((_ref5 = this.options.optimizations) != null ? _ref5.moveElement : void 0) !== false && (this.targetModifier == null)) { - offsetParent = this.cache('target-offsetparent', function() { - return getOffsetParent(_this.target); - }); - offsetPosition = this.cache('target-offsetparent-bounds', function() { - return getBounds(offsetParent); - }); - offsetParentStyle = getComputedStyle(offsetParent); - elementStyle = getComputedStyle(this.element); - offsetParentSize = offsetPosition; - offsetBorder = {}; - _ref6 = ['Top', 'Left', 'Bottom', 'Right']; - for (_j = 0, _len1 = _ref6.length; _j < _len1; _j++) { - side = _ref6[_j]; - offsetBorder[side.toLowerCase()] = parseFloat(offsetParentStyle["border" + side + "Width"]); - } - offsetPosition.right = document.body.scrollWidth - offsetPosition.left - offsetParentSize.width + offsetBorder.right; - offsetPosition.bottom = document.body.scrollHeight - offsetPosition.top - offsetParentSize.height + offsetBorder.bottom; - if (next.page.top >= (offsetPosition.top + offsetBorder.top) && next.page.bottom >= offsetPosition.bottom) { - if (next.page.left >= (offsetPosition.left + offsetBorder.left) && next.page.right >= offsetPosition.right) { - scrollTop = offsetParent.scrollTop; - scrollLeft = offsetParent.scrollLeft; - next.offset = { - top: next.page.top - offsetPosition.top + scrollTop - offsetBorder.top, - left: next.page.left - offsetPosition.left + scrollLeft - offsetBorder.left - }; - } - } - } - this.move(next); - this.history.unshift(next); - if (this.history.length > 3) { - this.history.pop(); - } - if (flushChanges) { - flush(); - } - return true; - }; - - _Tether.prototype.move = function(position) { - var css, elVal, found, key, moved, offsetParent, point, same, transcribe, type, val, write, writeCSS, _i, _len, _ref1, _ref2, - _this = this; - if (this.element.parentNode == null) { - return; - } - same = {}; - for (type in position) { - same[type] = {}; - for (key in position[type]) { - found = false; - _ref1 = this.history; - for (_i = 0, _len = _ref1.length; _i < _len; _i++) { - point = _ref1[_i]; - if (!within((_ref2 = point[type]) != null ? _ref2[key] : void 0, position[type][key])) { - found = true; - break; - } - } - if (!found) { - same[type][key] = true; - } - } - } - css = { - top: '', - left: '', - right: '', - bottom: '' - }; - transcribe = function(same, pos) { - var xPos, yPos, _ref3; - if (((_ref3 = _this.options.optimizations) != null ? _ref3.gpu : void 0) !== false) { - if (same.top) { - css.top = 0; - yPos = pos.top; - } else { - css.bottom = 0; - yPos = -pos.bottom; - } - if (same.left) { - css.left = 0; - xPos = pos.left; - } else { - css.right = 0; - xPos = -pos.right; - } - css[transformKey] = "translateX(" + (Math.round(xPos)) + "px) translateY(" + (Math.round(yPos)) + "px)"; - if (transformKey !== 'msTransform') { - return css[transformKey] += " translateZ(0)"; - } - } else { - if (same.top) { - css.top = "" + pos.top + "px"; - } else { - css.bottom = "" + pos.bottom + "px"; - } - if (same.left) { - return css.left = "" + pos.left + "px"; - } else { - return css.right = "" + pos.right + "px"; - } - } - }; - moved = false; - if ((same.page.top || same.page.bottom) && (same.page.left || same.page.right)) { - css.position = 'absolute'; - transcribe(same.page, position.page); - } else if ((same.viewport.top || same.viewport.bottom) && (same.viewport.left || same.viewport.right)) { - css.position = 'fixed'; - transcribe(same.viewport, position.viewport); - } else if ((same.offset != null) && same.offset.top && same.offset.left) { - css.position = 'absolute'; - offsetParent = this.cache('target-offsetparent', function() { - return getOffsetParent(_this.target); - }); - if (getOffsetParent(this.element) !== offsetParent) { - defer(function() { - _this.element.parentNode.removeChild(_this.element); - return offsetParent.appendChild(_this.element); - }); - } - transcribe(same.offset, position.offset); - moved = true; - } else { - css.position = 'absolute'; - transcribe({ - top: true, - left: true - }, position.page); - } - if (!moved && this.element.parentNode.tagName !== 'BODY') { - this.element.parentNode.removeChild(this.element); - document.body.appendChild(this.element); - } - writeCSS = {}; - write = false; - for (key in css) { - val = css[key]; - elVal = this.element.style[key]; - if (elVal !== '' && val !== '' && (key === 'top' || key === 'left' || key === 'bottom' || key === 'right')) { - elVal = parseFloat(elVal); - val = parseFloat(val); - } - if (elVal !== val) { - write = true; - writeCSS[key] = css[key]; - } - } - if (write) { - return defer(function() { - return extend(_this.element.style, writeCSS); - }); - } - }; - - return _Tether; - - })(); - - Tether.position = position; - - this.Tether = extend(_Tether, Tether); - -}).call(this); - -(function() { - var BOUNDS_FORMAT, MIRROR_ATTACH, defer, extend, getBoundingRect, getBounds, getOuterSize, getSize, updateClasses, _ref, - __indexOf = [].indexOf || function(item) { for (var i = 0, l = this.length; i < l; i++) { if (i in this && this[i] === item) return i; } return -1; }; - - _ref = this.Tether.Utils, getOuterSize = _ref.getOuterSize, getBounds = _ref.getBounds, getSize = _ref.getSize, extend = _ref.extend, updateClasses = _ref.updateClasses, defer = _ref.defer; - - MIRROR_ATTACH = { - left: 'right', - right: 'left', - top: 'bottom', - bottom: 'top', - middle: 'middle' - }; - - BOUNDS_FORMAT = ['left', 'top', 'right', 'bottom']; - - getBoundingRect = function(tether, to) { - var i, pos, side, size, style, _i, _len; - if (to === 'scrollParent') { - to = tether.scrollParent; - } else if (to === 'window') { - to = [pageXOffset, pageYOffset, innerWidth + pageXOffset, innerHeight + pageYOffset]; - } - if (to === document) { - to = to.documentElement; - } - if (to.nodeType != null) { - pos = size = getBounds(to); - style = getComputedStyle(to); - to = [pos.left, pos.top, size.width + pos.left, size.height + pos.top]; - for (i = _i = 0, _len = BOUNDS_FORMAT.length; _i < _len; i = ++_i) { - side = BOUNDS_FORMAT[i]; - side = side[0].toUpperCase() + side.substr(1); - if (side === 'Top' || side === 'Left') { - to[i] += parseFloat(style["border" + side + "Width"]); - } else { - to[i] -= parseFloat(style["border" + side + "Width"]); - } - } - } - return to; - }; - - this.Tether.modules.push({ - position: function(_arg) { - var addClasses, allClasses, attachment, bounds, changeAttachX, changeAttachY, cls, constraint, eAttachment, height, left, oob, oobClass, p, pin, pinned, pinnedClass, removeClass, side, tAttachment, targetAttachment, targetHeight, targetSize, targetWidth, to, top, width, _i, _j, _k, _l, _len, _len1, _len2, _len3, _len4, _len5, _m, _n, _ref1, _ref2, _ref3, _ref4, _ref5, _ref6, _ref7, _ref8, - _this = this; - top = _arg.top, left = _arg.left, targetAttachment = _arg.targetAttachment; - if (!this.options.constraints) { - return true; - } - removeClass = function(prefix) { - var side, _i, _len, _results; - _this.removeClass(prefix); - _results = []; - for (_i = 0, _len = BOUNDS_FORMAT.length; _i < _len; _i++) { - side = BOUNDS_FORMAT[_i]; - _results.push(_this.removeClass("" + prefix + "-" + side)); - } - return _results; - }; - _ref1 = this.cache('element-bounds', function() { - return getBounds(_this.element); - }), height = _ref1.height, width = _ref1.width; - if (width === 0 && height === 0 && (this.lastSize != null)) { - _ref2 = this.lastSize, width = _ref2.width, height = _ref2.height; - } - targetSize = this.cache('target-bounds', function() { - return _this.getTargetBounds(); - }); - targetHeight = targetSize.height; - targetWidth = targetSize.width; - tAttachment = {}; - eAttachment = {}; - allClasses = [this.getClass('pinned'), this.getClass('out-of-bounds')]; - _ref3 = this.options.constraints; - for (_i = 0, _len = _ref3.length; _i < _len; _i++) { - constraint = _ref3[_i]; - if (constraint.outOfBoundsClass) { - allClasses.push(constraint.outOfBoundsClass); - } - if (constraint.pinnedClass) { - allClasses.push(constraint.pinnedClass); - } - } - for (_j = 0, _len1 = allClasses.length; _j < _len1; _j++) { - cls = allClasses[_j]; - _ref4 = ['left', 'top', 'right', 'bottom']; - for (_k = 0, _len2 = _ref4.length; _k < _len2; _k++) { - side = _ref4[_k]; - allClasses.push("" + cls + "-" + side); - } - } - addClasses = []; - tAttachment = extend({}, targetAttachment); - eAttachment = extend({}, this.attachment); - _ref5 = this.options.constraints; - for (_l = 0, _len3 = _ref5.length; _l < _len3; _l++) { - constraint = _ref5[_l]; - to = constraint.to, attachment = constraint.attachment, pin = constraint.pin; - if (attachment == null) { - attachment = ''; - } - if (__indexOf.call(attachment, ' ') >= 0) { - _ref6 = attachment.split(' '), changeAttachY = _ref6[0], changeAttachX = _ref6[1]; - } else { - changeAttachX = changeAttachY = attachment; - } - bounds = getBoundingRect(this, to); - if (changeAttachY === 'target' || changeAttachY === 'both') { - if (top < bounds[1] && tAttachment.top === 'top') { - top += targetHeight; - tAttachment.top = 'bottom'; - } - if (top + height > bounds[3] && tAttachment.top === 'bottom') { - top -= targetHeight; - tAttachment.top = 'top'; - } - } - if (changeAttachY === 'together') { - if (top < bounds[1] && tAttachment.top === 'top') { - if (eAttachment.top === 'bottom') { - top += targetHeight; - tAttachment.top = 'bottom'; - top += height; - eAttachment.top = 'top'; - } else if (eAttachment.top === 'top') { - top += targetHeight; - tAttachment.top = 'bottom'; - top -= height; - eAttachment.top = 'bottom'; - } - } - if (top + height > bounds[3] && tAttachment.top === 'bottom') { - if (eAttachment.top === 'top') { - top -= targetHeight; - tAttachment.top = 'top'; - top -= height; - eAttachment.top = 'bottom'; - } else if (eAttachment.top === 'bottom') { - top -= targetHeight; - tAttachment.top = 'top'; - top += height; - eAttachment.top = 'top'; - } - } - if (tAttachment.top === 'middle') { - if (top + height > bounds[3] && eAttachment.top === 'top') { - top -= height; - eAttachment.top = 'bottom'; - } else if (top < bounds[1] && eAttachment.top === 'bottom') { - top += height; - eAttachment.top = 'top'; - } - } - } - if (changeAttachX === 'target' || changeAttachX === 'both') { - if (left < bounds[0] && tAttachment.left === 'left') { - left += targetWidth; - tAttachment.left = 'right'; - } - if (left + width > bounds[2] && tAttachment.left === 'right') { - left -= targetWidth; - tAttachment.left = 'left'; - } - } - if (changeAttachX === 'together') { - if (left < bounds[0] && tAttachment.left === 'left') { - if (eAttachment.left === 'right') { - left += targetWidth; - tAttachment.left = 'right'; - left += width; - eAttachment.left = 'left'; - } else if (eAttachment.left === 'left') { - left += targetWidth; - tAttachment.left = 'right'; - left -= width; - eAttachment.left = 'right'; - } - } else if (left + width > bounds[2] && tAttachment.left === 'right') { - if (eAttachment.left === 'left') { - left -= targetWidth; - tAttachment.left = 'left'; - left -= width; - eAttachment.left = 'right'; - } else if (eAttachment.left === 'right') { - left -= targetWidth; - tAttachment.left = 'left'; - left += width; - eAttachment.left = 'left'; - } - } else if (tAttachment.left === 'center') { - if (left + width > bounds[2] && eAttachment.left === 'left') { - left -= width; - eAttachment.left = 'right'; - } else if (left < bounds[0] && eAttachment.left === 'right') { - left += width; - eAttachment.left = 'left'; - } - } - } - if (changeAttachY === 'element' || changeAttachY === 'both') { - if (top < bounds[1] && eAttachment.top === 'bottom') { - top += height; - eAttachment.top = 'top'; - } - if (top + height > bounds[3] && eAttachment.top === 'top') { - top -= height; - eAttachment.top = 'bottom'; - } - } - if (changeAttachX === 'element' || changeAttachX === 'both') { - if (left < bounds[0] && eAttachment.left === 'right') { - left += width; - eAttachment.left = 'left'; - } - if (left + width > bounds[2] && eAttachment.left === 'left') { - left -= width; - eAttachment.left = 'right'; - } - } - if (typeof pin === 'string') { - pin = (function() { - var _len4, _m, _ref7, _results; - _ref7 = pin.split(','); - _results = []; - for (_m = 0, _len4 = _ref7.length; _m < _len4; _m++) { - p = _ref7[_m]; - _results.push(p.trim()); - } - return _results; - })(); - } else if (pin === true) { - pin = ['top', 'left', 'right', 'bottom']; - } - pin || (pin = []); - pinned = []; - oob = []; - if (top < bounds[1]) { - if (__indexOf.call(pin, 'top') >= 0) { - top = bounds[1]; - pinned.push('top'); - } else { - oob.push('top'); - } - } - if (top + height > bounds[3]) { - if (__indexOf.call(pin, 'bottom') >= 0) { - top = bounds[3] - height; - pinned.push('bottom'); - } else { - oob.push('bottom'); - } - } - if (left < bounds[0]) { - if (__indexOf.call(pin, 'left') >= 0) { - left = bounds[0]; - pinned.push('left'); - } else { - oob.push('left'); - } - } - if (left + width > bounds[2]) { - if (__indexOf.call(pin, 'right') >= 0) { - left = bounds[2] - width; - pinned.push('right'); - } else { - oob.push('right'); - } - } - if (pinned.length) { - pinnedClass = (_ref7 = this.options.pinnedClass) != null ? _ref7 : this.getClass('pinned'); - addClasses.push(pinnedClass); - for (_m = 0, _len4 = pinned.length; _m < _len4; _m++) { - side = pinned[_m]; - addClasses.push("" + pinnedClass + "-" + side); - } - } - if (oob.length) { - oobClass = (_ref8 = this.options.outOfBoundsClass) != null ? _ref8 : this.getClass('out-of-bounds'); - addClasses.push(oobClass); - for (_n = 0, _len5 = oob.length; _n < _len5; _n++) { - side = oob[_n]; - addClasses.push("" + oobClass + "-" + side); - } - } - if (__indexOf.call(pinned, 'left') >= 0 || __indexOf.call(pinned, 'right') >= 0) { - eAttachment.left = tAttachment.left = false; - } - if (__indexOf.call(pinned, 'top') >= 0 || __indexOf.call(pinned, 'bottom') >= 0) { - eAttachment.top = tAttachment.top = false; - } - if (tAttachment.top !== targetAttachment.top || tAttachment.left !== targetAttachment.left || eAttachment.top !== this.attachment.top || eAttachment.left !== this.attachment.left) { - this.updateAttachClasses(eAttachment, tAttachment); - } - } - defer(function() { - updateClasses(_this.target, addClasses, allClasses); - return updateClasses(_this.element, addClasses, allClasses); - }); - return { - top: top, - left: left - }; - } - }); - -}).call(this); - -(function() { - var defer, getBounds, updateClasses, _ref; - - _ref = this.Tether.Utils, getBounds = _ref.getBounds, updateClasses = _ref.updateClasses, defer = _ref.defer; - - this.Tether.modules.push({ - position: function(_arg) { - var abutted, addClasses, allClasses, bottom, height, left, right, side, sides, targetPos, top, width, _i, _j, _k, _l, _len, _len1, _len2, _len3, _ref1, _ref2, _ref3, _ref4, _ref5, - _this = this; - top = _arg.top, left = _arg.left; - _ref1 = this.cache('element-bounds', function() { - return getBounds(_this.element); - }), height = _ref1.height, width = _ref1.width; - targetPos = this.getTargetBounds(); - bottom = top + height; - right = left + width; - abutted = []; - if (top <= targetPos.bottom && bottom >= targetPos.top) { - _ref2 = ['left', 'right']; - for (_i = 0, _len = _ref2.length; _i < _len; _i++) { - side = _ref2[_i]; - if ((_ref3 = targetPos[side]) === left || _ref3 === right) { - abutted.push(side); - } - } - } - if (left <= targetPos.right && right >= targetPos.left) { - _ref4 = ['top', 'bottom']; - for (_j = 0, _len1 = _ref4.length; _j < _len1; _j++) { - side = _ref4[_j]; - if ((_ref5 = targetPos[side]) === top || _ref5 === bottom) { - abutted.push(side); - } - } - } - allClasses = []; - addClasses = []; - sides = ['left', 'top', 'right', 'bottom']; - allClasses.push(this.getClass('abutted')); - for (_k = 0, _len2 = sides.length; _k < _len2; _k++) { - side = sides[_k]; - allClasses.push("" + (this.getClass('abutted')) + "-" + side); - } - if (abutted.length) { - addClasses.push(this.getClass('abutted')); - } - for (_l = 0, _len3 = abutted.length; _l < _len3; _l++) { - side = abutted[_l]; - addClasses.push("" + (this.getClass('abutted')) + "-" + side); - } - defer(function() { - updateClasses(_this.target, addClasses, allClasses); - return updateClasses(_this.element, addClasses, allClasses); - }); - return true; - } - }); - -}).call(this); - -(function() { - this.Tether.modules.push({ - position: function(_arg) { - var left, result, shift, shiftLeft, shiftTop, top, _ref; - top = _arg.top, left = _arg.left; - if (!this.options.shift) { - return; - } - result = function(val) { - if (typeof val === 'function') { - return val.call(this, { - top: top, - left: left - }); - } else { - return val; - } - }; - shift = result(this.options.shift); - if (typeof shift === 'string') { - shift = shift.split(' '); - shift[1] || (shift[1] = shift[0]); - shiftTop = shift[0], shiftLeft = shift[1]; - shiftTop = parseFloat(shiftTop, 10); - shiftLeft = parseFloat(shiftLeft, 10); - } else { - _ref = [shift.top, shift.left], shiftTop = _ref[0], shiftLeft = _ref[1]; - } - top += shiftTop; - left += shiftLeft; - return { - top: top, - left: left - }; - } - }); - -}).call(this); - -return this.Tether; - -})); diff --git a/uwBridge/apps/client/example!/filesystem/asset/js/lib/tour.js b/uwBridge/apps/client/example!/filesystem/asset/js/lib/tour.js deleted file mode 100644 index 4e34e36d..00000000 --- a/uwBridge/apps/client/example!/filesystem/asset/js/lib/tour.js +++ /dev/null @@ -1 +0,0 @@ -!function(t,e){"function"==typeof define&&define.amd?define(["tether"],e):"object"==typeof exports?module.exports=e(require("tether")):t.Shepherd=e(t.Tether)}(this,function(t){"use strict";function e(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function n(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}function i(t){return"undefined"==typeof t}function r(t){return t&&t.constructor===Array}function o(t){return t&&t.constructor===Object}function s(t){return"object"==typeof t}function h(t){var e=document.createElement("div");return e.innerHTML=t,e.children[0]}function c(t,e){var n=void 0;return i(t.matches)?i(t.matchesSelector)?i(t.msMatchesSelector)?i(t.webkitMatchesSelector)?i(t.mozMatchesSelector)?i(t.oMatchesSelector)||(n=t.oMatchesSelector):n=t.mozMatchesSelector:n=t.webkitMatchesSelector:n=t.msMatchesSelector:n=t.matchesSelector:n=t.matches,n.call(t,e)}function l(t){if(s(t))return t.hasOwnProperty("element")&&t.hasOwnProperty("on")?t:null;var e=S.exec(t);if(!e)return null;var n=e[2];return"["===n[0]&&(n=n.substring(1,n.length-1)),{element:e[1],on:n}}function a(t,e){if(null===t||i(t))return t;if(s(t))return t;for(var n=t.split(" "),r={},o=e.length-1,h=n.length-1;h>=0;h--){if(0===o){r[e[o]]=n.slice(0,h+1).join(" ");break}r[e[o]]=n[h],o--}return r}var u=function(){function t(t,e){for(var n=0;n");var e=document.createElement("div");e.className="shepherd-content",this.el.appendChild(e);var n=document.createElement("header");if(e.appendChild(n),this.options.title&&(n.innerHTML+="

"+this.options.title+"

",this.el.className+=" shepherd-has-title"),this.options.showCancelLink){var r=h("");n.appendChild(r),this.el.className+=" shepherd-has-cancel-link",this.bindCancelLink(r)}i(this.options.text)||!function(){var n=h("
"),i=t.options.text;"function"==typeof i&&(i=i.call(t,n)),i instanceof HTMLElement?n.appendChild(i):("string"==typeof i&&(i=[i]),i.map(function(t){n.innerHTML+="

"+t+"

"})),e.appendChild(n)}(),this.options.buttons&&!function(){var n=document.createElement("footer"),i=h("");t.options.buttons.map(function(e){var n=h("
  • "+e.text+"");i.appendChild(n),t.bindButtonEvents(e,n.querySelector("a"))}),n.appendChild(i),e.appendChild(n)}(),document.body.appendChild(this.el),this.setupTether(),this.options.advanceOn&&this.bindAdvance()}},{key:"bindCancelLink",value:function(t){var e=this;t.addEventListener("click",function(t){t.preventDefault(),e.cancel()})}},{key:"bindButtonEvents",value:function(t,e){var n=this;t.events=t.events||{},i(t.action)||(t.events.click=t.action);for(var r in t.events)if({}.hasOwnProperty.call(t.events,r)){var o=t.events[r];"string"==typeof o&&!function(){var t=o;o=function(){return n.tour.show(t)}}(),e.addEventListener(r,o)}this.on("destroy",function(){for(var n in t.events)if({}.hasOwnProperty.call(t.events,n)){var i=t.events[n];e.removeEventListener(n,i)}})}}]),p}(f),T=function(t){function r(){var t=this,n=arguments.length<=0||void 0===arguments[0]?{}:arguments[0];e(this,r),d(Object.getPrototypeOf(r.prototype),"constructor",this).call(this,n),this.bindMethods(),this.options=n,this.steps=this.options.steps||[];var i=["complete","cancel","hide","start","show","active","inactive"];return i.map(function(e){!function(e){t.on(e,function(n){n=n||{},n.tour=t,w.trigger(e,n)})}(e)}),this}return n(r,t),u(r,[{key:"bindMethods",value:function(){var t=this,e=["next","back","cancel","complete","hide"];e.map(function(e){t[e]=t[e].bind(t)})}},{key:"addStep",value:function(t,e){return i(e)&&(e=t),e instanceof O?e.tour=this:("string"!=typeof t&&"number"!=typeof t||(e.id=t.toString()),e=m({},this.options.defaults,e),e=new O(this,e)),this.steps.push(e),this}},{key:"removeStep",value:function(t){for(var e=this.getCurrentStep(),n=0;n { + import 'js/action/geoLocation'; + const { + router, + view, + request, + utility: { cnsl } + } = app; + cnsl('app router Module', 'important'); + await router.setup({ + methods: { + async security() { + return view.get('@shared.loginStatus'); + }, + async fail() { + return 'login'; + }, + async success() { + return view.get('@shared.account.role'); + }, + async onLoad() { + if (view.get('@shared.loginStatus')) { + const statsResults = await request('stats.load', {}); + console.log(statsResults); + await view.set('@shared.stats', statsResults); + await view.update('@shared.stats'); + } + }, + }, + defaults: { + secured: true, + role: true, + root: 'routes', + route: { + default: 'dash', + failed: '404' + } + }, + routes: [{ + match: '^/$', + path: `dash`, + }, { + match: '^/page/', + secured: false, + role: false + }] + }); +})(); diff --git a/uwBridge/apps/client/example!/filesystem/public/Sentivate.js b/uwBridge/apps/client/example!/filesystem/public/Sentivate.js index 92b65553..0aac9033 100644 --- a/uwBridge/apps/client/example!/filesystem/public/Sentivate.js +++ b/uwBridge/apps/client/example!/filesystem/public/Sentivate.js @@ -17,11 +17,7 @@ start(data) { return app.workerRequest('configure', data); }, - log(...args) { - if (app.debug) { - apply(console.log, console, args); - } - }, + log: console.log, security: { clear() { app.log('Cleanup'); @@ -983,13 +979,13 @@ }; const { utility: { - each: each$5, isString: isString$3, isArray, apply: apply$2 + each: each$5, isString: isString$3, isArray, apply: apply$1 } } = app; const logMulti = console; function debugMultiEvent(...args) { if (app.debug || app.debugMultiEvent) { - apply$2(logMulti.log, logMulti, args); + apply$1(logMulti.log, logMulti, args); } } const multiEvent = (currentView, componentEvent, events, ...args) => { @@ -1082,7 +1078,7 @@ const { watch: watch$1, utility: { - each: each$3, get, apply: apply$1 + each: each$3, get, apply } } = app; const createWatchers = (currentView, item, key) => { @@ -1170,15 +1166,15 @@ const onConstruct = function(componentConfig) { const sourceConstruct = componentConfig.onconstruct; componentConfig.onconstruct = function(...args) { - apply$1(buildComponentEvents, this, [componentConfig, ...args]); + apply(buildComponentEvents, this, [componentConfig, ...args]); if (sourceConstruct) { - return apply$1(sourceConstruct, this, args); + return apply(sourceConstruct, this, args); } }; const sourceRender = componentConfig.onrender; componentConfig.onrender = function(...args) { if (sourceRender) { - return apply$1(sourceRender, this, args); + return apply(sourceRender, this, args); } }; }; @@ -1535,7 +1531,7 @@ this.pathState = pathState; this.match = match; await this.compilePath(); - await Ractive.sharedSet('@shared.currentPath', this.pathname); + await Ractive.sharedSet('currentPath', this.pathname); await Ractive.sharedSet('navState', false); this.log('Checking if Model Loaded', match.model); if (match.assets) { diff --git a/uwBridge/system/compile/build/front/bundle.js b/uwBridge/system/compile/build/front/bundle.js index 92b65553..0aac9033 100644 --- a/uwBridge/system/compile/build/front/bundle.js +++ b/uwBridge/system/compile/build/front/bundle.js @@ -17,11 +17,7 @@ start(data) { return app.workerRequest('configure', data); }, - log(...args) { - if (app.debug) { - apply(console.log, console, args); - } - }, + log: console.log, security: { clear() { app.log('Cleanup'); @@ -983,13 +979,13 @@ }; const { utility: { - each: each$5, isString: isString$3, isArray, apply: apply$2 + each: each$5, isString: isString$3, isArray, apply: apply$1 } } = app; const logMulti = console; function debugMultiEvent(...args) { if (app.debug || app.debugMultiEvent) { - apply$2(logMulti.log, logMulti, args); + apply$1(logMulti.log, logMulti, args); } } const multiEvent = (currentView, componentEvent, events, ...args) => { @@ -1082,7 +1078,7 @@ const { watch: watch$1, utility: { - each: each$3, get, apply: apply$1 + each: each$3, get, apply } } = app; const createWatchers = (currentView, item, key) => { @@ -1170,15 +1166,15 @@ const onConstruct = function(componentConfig) { const sourceConstruct = componentConfig.onconstruct; componentConfig.onconstruct = function(...args) { - apply$1(buildComponentEvents, this, [componentConfig, ...args]); + apply(buildComponentEvents, this, [componentConfig, ...args]); if (sourceConstruct) { - return apply$1(sourceConstruct, this, args); + return apply(sourceConstruct, this, args); } }; const sourceRender = componentConfig.onrender; componentConfig.onrender = function(...args) { if (sourceRender) { - return apply$1(sourceRender, this, args); + return apply(sourceRender, this, args); } }; }; @@ -1535,7 +1531,7 @@ this.pathState = pathState; this.match = match; await this.compilePath(); - await Ractive.sharedSet('@shared.currentPath', this.pathname); + await Ractive.sharedSet('currentPath', this.pathname); await Ractive.sharedSet('navState', false); this.log('Checking if Model Loaded', match.model); if (match.assets) { diff --git a/uwBridge/system/compile/build/front/coreBundle.js b/uwBridge/system/compile/build/front/coreBundle.js index 13db1c79..39196692 100644 --- a/uwBridge/system/compile/build/front/coreBundle.js +++ b/uwBridge/system/compile/build/front/coreBundle.js @@ -4,11 +4,7 @@ start(data) { return app.workerRequest('configure', data); }, - log(...args) { - if (app.debug) { - apply(console.log, console, args); - } - }, + log: console.log, security: { clear() { app.log('Cleanup'); @@ -970,13 +966,13 @@ }; const { utility: { - each: each$5, isString: isString$3, isArray, apply: apply$2 + each: each$5, isString: isString$3, isArray, apply: apply$1 } } = app; const logMulti = console; function debugMultiEvent(...args) { if (app.debug || app.debugMultiEvent) { - apply$2(logMulti.log, logMulti, args); + apply$1(logMulti.log, logMulti, args); } } const multiEvent = (currentView, componentEvent, events, ...args) => { @@ -1069,7 +1065,7 @@ const { watch: watch$1, utility: { - each: each$3, get, apply: apply$1 + each: each$3, get, apply } } = app; const createWatchers = (currentView, item, key) => { @@ -1157,15 +1153,15 @@ const onConstruct = function(componentConfig) { const sourceConstruct = componentConfig.onconstruct; componentConfig.onconstruct = function(...args) { - apply$1(buildComponentEvents, this, [componentConfig, ...args]); + apply(buildComponentEvents, this, [componentConfig, ...args]); if (sourceConstruct) { - return apply$1(sourceConstruct, this, args); + return apply(sourceConstruct, this, args); } }; const sourceRender = componentConfig.onrender; componentConfig.onrender = function(...args) { if (sourceRender) { - return apply$1(sourceRender, this, args); + return apply(sourceRender, this, args); } }; }; @@ -1522,7 +1518,7 @@ this.pathState = pathState; this.match = match; await this.compilePath(); - await Ractive.sharedSet('@shared.currentPath', this.pathname); + await Ractive.sharedSet('currentPath', this.pathname); await Ractive.sharedSet('navState', false); this.log('Checking if Model Loaded', match.model); if (match.assets) { diff --git a/uwBridge/system/compile/source/front/core/app.js b/uwBridge/system/compile/source/front/core/app.js index 703c4568..51947669 100644 --- a/uwBridge/system/compile/source/front/core/app.js +++ b/uwBridge/system/compile/source/front/core/app.js @@ -3,11 +3,7 @@ const app = { start(data) { return app.workerRequest('configure', data); }, - log(...args) { - if (app.debug) { - apply(console.log, console, args); - } - }, + log: console.log, security: { clear() { app.log('Cleanup'); diff --git a/uwBridge/system/compile/source/front/core/router.js b/uwBridge/system/compile/source/front/core/router.js index 8e623d53..7eddcfbd 100644 --- a/uwBridge/system/compile/source/front/core/router.js +++ b/uwBridge/system/compile/source/front/core/router.js @@ -158,7 +158,7 @@ class Router { this.pathState = pathState; this.match = match; await this.compilePath(); - await Ractive.sharedSet('@shared.currentPath', this.pathname); + await Ractive.sharedSet('currentPath', this.pathname); await Ractive.sharedSet('navState', false); this.log('Checking if Model Loaded', match.model); if (match.assets) {