diff --git a/code/libraries/joomlatools/component/koowa/resources/assets/css/build/component.css b/code/libraries/joomlatools/component/koowa/resources/assets/css/build/component.css index e3c139454..a93e7c910 100644 --- a/code/libraries/joomlatools/component/koowa/resources/assets/css/build/component.css +++ b/code/libraries/joomlatools/component/koowa/resources/assets/css/build/component.css @@ -1,4 +1,1000 @@ -.select2-container { +/* Dropdowns + ========================================================================== */ +/** + * Dropdown arrow/caret + */ +.k-caret { + display: inline-block; + width: 0; + height: 0; + margin-left: 2px; + vertical-align: middle; + border-top: 4px dashed; + border-right: 4px solid transparent; + border-left: 4px solid transparent; +} + +[dir="rtl"] .k-caret { + margin-left: 0; + margin-right: 2px; +} + +/** + * The dropdown wrapper (div) + */ +.k-dropdown { + position: relative; +} + +/** + * The dropdown toggle + */ +.k-dropdown__toggle img { + max-width: 16px; +} + +/** + * The dropdown menu (ul) + * + * 1. Hide by default, but block on "open" of the menu + * 2. Ensures proper alignment if parent has it changed (e.g., modal footer) + */ +.k-dropdown__menu { + position: absolute; + top: 100%; + left: 0; + z-index: 1000; + display: none; + /* 1 */ + float: left; + min-width: 160px; + text-align: left; + /* 2 */ + background-color: white; + border: 1px solid #e0e0e0; + border-radius: 4px; + box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175); + background-clip: padding-box; + /** + * Winning over .k-ui-namespace ul + */ + /** + * Links within the dropdown menu + * + * 1. prevent links from randomly breaking onto new lines + */ +} + +[dir="rtl"] .k-dropdown__menu { + left: auto; + right: 0; + float: right; + text-align: right; +} + +.k-dropdown__menu.k-dropdown__menu { + padding: 5px 0; + margin: 2px 0 0; + list-style: none; +} + +.k-dropdown__menu a { + display: block; + padding: 5px 15px; + clear: both; + font-weight: normal; + line-height: 20px; + color: #222222; + white-space: nowrap; + /* 1 */ +} + +/** + * Dividers (basically an hr) within the dropdown + */ +.k-dropdown__divider { + height: 1px; + margin: 5px 0; + overflow: hidden; + background-color: #e5e5e5; +} + +/** + * Hover / Focus state + */ +.k-dropdown__menu a:hover, .k-dropdown__menu a:focus { + text-decoration: none; + color: #151515; + background-color: #e6e6e6; +} + +/** + * Active state + */ +.k-dropdown__menu .k-is-active a, .k-dropdown__menu .k-is-active a:hover, .k-dropdown__menu .k-is-active a:focus { + color: white; + text-decoration: none; + outline: 0; + background-color: #3071a9; +} + +/** + * Disabled state + * + * Gray out text and ensure the hover/focus state remains gray + */ +.k-dropdown__menu .k-is-disabled a { + /** + * Nuke hover/focus effects + * + * 1. Remove CSS gradient + */ +} + +.k-dropdown__menu .k-is-disabled a, .k-dropdown__menu .k-is-disabled a:hover, .k-dropdown__menu .k-is-disabled a:focus { + color: #343434; +} + +.k-dropdown__menu .k-is-disabled a:hover, .k-dropdown__menu .k-is-disabled a:focus { + text-decoration: none; + background-color: transparent; + background-image: none; + /* 1 */ + cursor: not-allowed; +} + +/** + * Open state for the dropdown + */ +.k-dropdown.k-is-open { + /** + * Show the menu + */ + /** + * Remove the outline when :focus is triggered + */ +} + +.k-dropdown.k-is-open > .k-dropdown__menu { + display: block; +} + +.k-dropdown.k-is-open > a { + outline: 0; +} + +/** + * Backdrop to catch body clicks on mobile, etc. + */ +.k-dropdown-backdrop { + position: fixed; + left: 0; + right: 0; + bottom: 0; + top: 0; + z-index: 990; +} + +/** + * Dropup + * + * Allow for dropdowns to go bottom up (aka, dropup-menu) + */ +.k-dropdown--dropup { + /** + * Reverse the caret + */ + /** + * Different positioning for bottom up menu + */ +} + +.k-dropdown--dropup .k-caret { + border-top: 0; + border-bottom: 4px dashed; + content: ""; +} + +.k-dropdown--dropup .k-dropdown__menu { + top: auto; + bottom: 100%; + margin-bottom: 2px; +} + +/** + * Dropdown grid + */ +.k-dropdown__menu--grid { + width: 212px; + /** + * override above default settings + */ +} + +.k-dropdown__menu--grid.k-dropdown__menu--grid { + padding: 5px; +} + +[dir="rtl"] .k-dropdown__menu--grid.k-dropdown__menu--grid { + padding: 5px; +} + +.k-dropdown__menu--grid img { + max-width: 16px; + max-height: 16px; +} + +.k-dropdown__menu--grid li { + float: left; + width: 40px; + height: 40px; + margin: 0; + padding: 0; + display: block; +} + +[dir="rtl"] .k-dropdown__menu--grid li { + float: right; +} + +.k-dropdown__menu--grid li a { + display: block; + padding: 0; + margin: 0; + width: 40px; + height: 40px; + text-align: center; + border-radius: 3px; + float: left; +} + +.k-dropdown__menu--grid li a [class^="k-icon-document-"], +.k-dropdown__menu--grid li a [class*=" k-icon-document-"] { + display: block; + vertical-align: middle; + margin: 12px auto; +} + +.k-dropdown__menu--grid .k-dropdown__block-item { + min-width: 100%; + clear: both; + height: auto; + margin: 5px 0 -5px; +} + +.k-dropdown__menu--grid .k-dropdown__block-item a { + position: relative; + height: auto; + width: auto; + float: none; + border-top: 1px solid #e5e5e5; + text-align: left; + margin: 0 -5px; + padding: 5px 15px; + border-radius: 0 0 4px 4px; +} + +[dir="rtl"] .k-dropdown__menu--grid .k-dropdown__block-item a { + text-align: right; +} + +/* Modal + ========================================================================== */ +.mfp-bg { + top: 0; + left: 0; + width: 100%; + height: 100%; + z-index: 1042; + overflow: hidden; + position: fixed; + background: #0b0b0b; + opacity: 0.8; +} + +[dir="rtl"] .mfp-bg { + left: auto; + right: 0; +} + +.mfp-wrap { + top: 0; + left: 0; + width: 100%; + height: 100%; + z-index: 1043; + position: fixed; + -webkit-backface-visibility: hidden; +} + +[dir="rtl"] .mfp-wrap { + left: auto; + right: 0; +} + +.mfp-container { + text-align: center; + position: absolute; + width: 100%; + height: 100%; + max-height: 100%; + left: 0; + top: 0; + padding: 0 8px; + box-sizing: border-box; + min-height: 420px; +} + +[dir="rtl"] .mfp-container { + left: auto; + right: 0; +} + +.mfp-container.mfp-inline-holder { + padding-top: 40px; + padding-bottom: 40px; + white-space: nowrap; +} + +.mfp-container .mfp-inline { + display: block; + width: auto; + height: auto; + padding: 15px; +} + +.mfp-container .mfp-iframe-scaler .mfp-iframe, +.mfp-container .mfp-inline { + background: white; + box-shadow: 0 0 8px rgba(0, 0, 0, 0.6); +} + +.mfp-container:before { + content: ' '; + display: inline-block; + height: 100%; + vertical-align: middle; +} + +.mfp-align-top .mfp-container:before { + display: none; +} + +.mfp-content { + position: relative; + display: inline-block; + vertical-align: middle; + margin: 0 auto; + text-align: left; + z-index: 1045; + min-width: 280px; + max-width: 100% !important; + max-height: 100% !important; +} + +[dir="rtl"] .mfp-content { + text-align: right; +} + +.mfp-inline-holder .mfp-content, +.mfp-ajax-holder .mfp-content { + cursor: auto; + max-width: 100% !important; + width: auto; + height: auto; + max-height: 100%; + margin: 0 auto; +} + +.mfp-ajax-cur { + cursor: progress; +} + +.mfp-zoom-out-cur, +.mfp-zoom-out-cur .mfp-image-holder .mfp-close { + cursor: zoom-out; +} + +.mfp-zoom { + cursor: pointer; + cursor: zoom-in; +} + +.mfp-auto-cursor .mfp-content { + cursor: auto; +} + +.mfp-close, +.mfp-arrow, +.mfp-preloader, +.mfp-counter { + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; +} + +.mfp-loading.mfp-figure { + display: none; +} + +.mfp-hide { + display: none !important; +} + +.mfp-preloader { + color: #cccccc; + position: absolute; + top: 50%; + width: auto; + text-align: center; + margin-top: -0.8em; + left: 8px; + right: 8px; + z-index: 1044; +} + +.mfp-preloader a { + color: #cccccc; +} + +.mfp-preloader a:hover { + color: white; +} + +.mfp-s-ready .mfp-preloader { + display: none; +} + +.mfp-s-error .mfp-content { + display: none; +} + +button.mfp-close, +button.mfp-arrow { + overflow: visible; + cursor: pointer; + background: transparent; + border: 0; + -webkit-appearance: none; + display: block; + padding: 0; + z-index: 1046; + box-shadow: none; +} + +button::-moz-focus-inner { + padding: 0; + border: 0; +} + +.mfp-close { + position: absolute; + text-decoration: none; + opacity: 0.65; + margin: 0; + padding: 0; + color: white; + text-align: center; + width: 40px; + height: 40px; + top: -40px; + font-size: 21px; + line-height: 28px; + right: -14px; +} + +[dir="rtl"] .mfp-close { + right: auto; + left: -14px; +} + +.mfp-close:hover, .mfp-close:focus { + border: none; + background: transparent; + margin: 0; + padding: 0; + color: white; + opacity: 1; +} + +.mfp-close-btn-in .mfp-close { + color: white; +} + +.mfp-counter { + position: absolute; + top: 0; + right: 0; + color: #cccccc; +} + +[dir="rtl"] .mfp-counter { + right: auto; + left: 0; +} + +.mfp-arrow { + position: absolute; + opacity: 0.65; + margin: 0; + top: 50%; + margin-top: -55px; + padding: 0; + width: 90px; + height: 110px; + -webkit-tap-highlight-color: transparent; +} + +.mfp-arrow:active { + margin-top: -54px; +} + +.mfp-arrow:hover, +.mfp-arrow:focus { + opacity: 1; +} + +.mfp-arrow:before, .mfp-arrow:after, +.mfp-arrow .mfp-b, +.mfp-arrow .mfp-a { + content: ''; + display: block; + width: 0; + height: 0; + position: absolute; + left: 0; + top: 0; + margin-top: 35px; + margin-left: 35px; + border: medium inset transparent; +} + +[dir="rtl"] .mfp-arrow:before, [dir="rtl"] .mfp-arrow:after, +[dir="rtl"] .mfp-arrow .mfp-b, +[dir="rtl"] .mfp-arrow .mfp-a { + left: auto; + right: 0; + margin-left: 0; + margin-right: 35px; +} + +.mfp-arrow:after, +.mfp-arrow .mfp-a { + border-top-width: 13px; + border-bottom-width: 13px; + top: 8px; +} + +.mfp-arrow:before, +.mfp-arrow .mfp-b { + border-top-width: 21px; + border-bottom-width: 21px; +} + +.mfp-arrow-left { + left: 0; +} + +[dir="rtl"] .mfp-arrow-left { + left: auto; + right: 0; +} + +.mfp-arrow-left:after, +.mfp-arrow-left .mfp-a { + border-right: 17px solid white; + margin-left: 31px; +} + +[dir="rtl"] .mfp-arrow-left:after, +[dir="rtl"] .mfp-arrow-left .mfp-a { + border-right: none; + border-left: 17px solid white; + margin-left: 0; + margin-right: 31px; +} + +.mfp-arrow-left:before, +.mfp-arrow-left .mfp-b { + border-right: 27px solid #3f3f3f; + margin-left: 25px; +} + +[dir="rtl"] .mfp-arrow-left:before, +[dir="rtl"] .mfp-arrow-left .mfp-b { + border-right: none; + border-left: 27px solid #3f3f3f; + margin-left: 0; + margin-right: 25px; +} + +.mfp-arrow-right { + right: 0; +} + +[dir="rtl"] .mfp-arrow-right { + right: auto; + left: 0; +} + +.mfp-arrow-right:after, +.mfp-arrow-right .mfp-a { + border-left: 17px solid white; + margin-left: 39px; +} + +[dir="rtl"] .mfp-arrow-right:after, +[dir="rtl"] .mfp-arrow-right .mfp-a { + border-left: none; + border-right: 17px solid white; + margin-left: 0; + margin-right: 39px; +} + +.mfp-arrow-right:before, +.mfp-arrow-right .mfp-b { + border-left: 27px solid #3f3f3f; +} + +[dir="rtl"] .mfp-arrow-right:before, +[dir="rtl"] .mfp-arrow-right .mfp-b { + border-left: none; + border-right: 27px solid #3f3f3f; +} + +.mfp-iframe-holder { + padding-top: 40px; + padding-bottom: 40px; +} + +.mfp-iframe-holder .mfp-content { + line-height: 0; + width: 100%; + height: 100%; + max-width: 1080px !important; + max-height: 800px !important; +} + +.mfp-iframe-scaler:before, .mfp-iframe-scaler:after { + display: table; + content: " "; +} + +.mfp-iframe-scaler:after { + clear: both; +} + +.mfp-iframe-scaler iframe { + position: absolute; + display: block; + top: 0; + left: 0; + width: 100%; + height: 100%; + box-shadow: 0 0 8px rgba(0, 0, 0, 0.6); + background: black; +} + +[dir="rtl"] .mfp-iframe-scaler iframe { + left: auto; + right: 0; +} + +.mfp-iframe-holder .mfp-close { + top: -40px; +} + +/* Main image in popup */ +img.mfp-img { + width: auto; + max-width: 100%; + height: auto; + display: block; + line-height: 0; + box-sizing: border-box; + padding: 40px 0; + margin: 0 auto; +} + +/* The shadow behind the image */ +.mfp-figure:after { + content: ''; + position: absolute; + left: 0; + right: 0; + top: 40px; + bottom: 40px; + display: block; + width: auto; + height: auto; + z-index: -1; + box-shadow: 0 0 8px rgba(0, 0, 0, 0.6); + background: #444444; +} + +.mfp-figure { + line-height: 0; +} + +.mfp-figure figure { + margin: 0; + padding: 0; +} + +.mfp-bottom-bar { + margin-top: -36px; + position: absolute; + top: 100%; + left: 0; + width: 100%; + cursor: auto; +} + +[dir="rtl"] .mfp-bottom-bar { + left: auto; + right: 0; +} + +.mfp-title { + text-align: left; + line-height: 18px; + color: #f3f3f3; + padding-right: 36px; +} + +[dir="rtl"] .mfp-title { + text-align: right; + padding-right: 0; + padding-left: 36px; +} + +.mfp-figure small { + color: #bdbdbd; + display: block; +} + +.mfp-image-holder .mfp-content { + max-width: 100%; +} + +.mfp-gallery .mfp-image-holder .mfp-figure { + cursor: pointer; +} + +@media screen and (max-width: 800px) and (orientation: landscape), screen and (max-height: 300px) { + /* Remove all paddings around the image on small screen */ + .mfp-img-mobile .mfp-image-holder { + padding-left: 0; + padding-right: 0; + } + .mfp-img-mobile img.mfp-img { + padding: 0; + } + /* The shadow behind the image */ + .mfp-img-mobile .mfp-figure:after { + top: 0; + bottom: 0; + } + .mfp-img-mobile .mfp-bottom-bar { + background: rgba(0, 0, 0, 0.6); + bottom: 0; + margin: 0; + top: auto; + padding: 3px 5px; + position: fixed; + box-sizing: border-box; + } + .mfp-img-mobile .mfp-bottom-bar:empty { + padding: 0; + } + .mfp-img-mobile .mfp-counter { + right: 5px; + top: 3px; + } + [dir="rtl"] .mfp-img-mobile .mfp-counter { + right: auto; + left: 5px; + } + .mfp-img-mobile .mfp-close { + top: 0; + right: 0; + width: 35px; + height: 35px; + line-height: 35px; + background: rgba(0, 0, 0, 0.6); + position: fixed; + text-align: center; + padding: 0; + } + [dir="rtl"] .mfp-img-mobile .mfp-close { + right: auto; + left: 0; + } + .mfp-img-mobile .mfp-figure small { + display: inline; + margin-left: 5px; + } + [dir="rtl"] .mfp-img-mobile .mfp-figure small { + margin-left: 0; + margin-right: 5px; + } +} + +@media all and (max-width: 900px) { + .mfp-arrow { + -webkit-transform: scale(0.75); + transform: scale(0.75); + } + .mfp-arrow-left { + -webkit-transform-origin: 0; + transform-origin: 0; + } + .mfp-arrow-right { + -webkit-transform-origin: 100%; + transform-origin: 100%; + } + .mfp-container { + padding-left: 6px; + padding-right: 6px; + } +} + +.mfp-ie7 .mfp-img { + padding: 0; +} + +.mfp-ie7 .mfp-bottom-bar { + width: 600px; + left: 50%; + margin-left: -300px; + margin-top: 5px; + padding-bottom: 5px; +} + +[dir="rtl"] .mfp-ie7 .mfp-bottom-bar { + left: auto; + right: 50%; + margin-left: 0; + margin-right: -300px; +} + +.mfp-ie7 .mfp-container { + padding: 0; +} + +.mfp-ie7 .mfp-content { + padding-top: 44px; +} + +.mfp-ie7 .mfp-close { + top: 0; + right: 0; + padding-top: 0; +} + +[dir="rtl"] .mfp-ie7 .mfp-close { + right: auto; + left: 0; +} + +/** + * Custom styling for inline modals + */ +.k-small-inline-modal-holder { + position: relative; + max-width: 480px !important; + width: 100%; + margin: auto; +} + +.k-huge-inline-modal-holder { + position: relative; + max-width: 100% !important; + max-height: 100% !important; + width: 100%; + margin: auto; +} + +.k-huge-inline-modal-holder .k-inline-modal { + max-width: 100% !important; + max-height: 100% !important; +} + +.k-inline-modal { + padding: 16px; + background: white; + border-radius: 5px; + box-shadow: 0 0 5px rgba(0, 0, 0, 0.5); + width: 100%; + box-sizing: border-box; + max-width: 1080px !important; + max-height: none !important; + white-space: normal; + margin-top: 32px; +} + +.k-inline-modal:first-child { + margin-top: 0; +} + +.k-inline-modal form { + margin: 0; +} + +.k-inline-modal__title { + margin-bottom: 16px; + margin-top: 0; + font-weight: 400; + font-size: 17px; + line-height: 24px; +} + +.k-inline-modal__title:last-child { + margin-bottom: 0; +} + +/* Select2 overrides + ========================================================================== */ +.select2.select2-container--bootstrap { + width: 100% !important; + max-width: 100% !important; +} + +html { + /*! Select2 Bootstrap Theme v0.1.0-beta.9 | MIT License | github.com/select2/select2-bootstrap-theme */ + /*------------------------------------* #ADDITIONAL GOODIES +\*------------------------------------*/ + /** + * Address Bootstrap's validation states + * + * If a Select2 widget parent has one of Bootstrap's validation state modifier + * classes, adjust Select2's border colors and focus states accordingly. + * You may apply said classes to the Select2 dropdown (body > .select2-container) + * via JavaScript match Bootstraps' to make its styles match. + * + * @see http://getbootstrap.com/css/#forms-control-validation + */ + /** + * Select2 widgets in Bootstrap Input Groups + * + * When Select2 widgets are combined with other elements using Bootstraps + * "Input Group" component, we don't want specific edges of the Select2 + * container to have a border-radius. + * + * Use .select2-bootstrap-prepend and .select2-bootstrap-append on + * a Bootstrap 3 .input-group to let the contained Select2 widget know which + * edges should not be rounded as they are directly followed by another element. + * + * @see http://getbootstrap.com/components/#input-groups + */ + /** + * Mimick Bootstraps .input-group .form-control styles. + * + * @see https://github.com/twbs/bootstrap/blob/master/less/input-groups.less + */ + /** + * Adjust alignment of Bootstrap buttons in Bootstrap Input Groups to address + * Multi Select2's height which - depending on how many elements have been selected - + * may grow taller than its initial size. + * + * @see http://getbootstrap.com/components/#input-groups + */ + /** + * Temporary fix for https://github.com/select2/select2-bootstrap-theme/issues/9 + * + * Provides `!important` for certain properties of the class applied to the + * original `