X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=resources%2Flib%2Foojs-ui%2Foojs-ui-apex.css;h=b6e8d3a5e681dd5f20e24e5a35b05d4fc063a8fb;hb=c48d04e343bde440b186d99329a008a5a7d489b0;hp=3ddb5b3948c1195f3454a9a266d3571e5404ab78;hpb=7ea8383baebe63b9657e328023bc1f7a1208d528;p=lhc%2Fweb%2Fwiklou.git diff --git a/resources/lib/oojs-ui/oojs-ui-apex.css b/resources/lib/oojs-ui/oojs-ui-apex.css index 3ddb5b3948..94ebbe3528 100644 --- a/resources/lib/oojs-ui/oojs-ui-apex.css +++ b/resources/lib/oojs-ui/oojs-ui-apex.css @@ -1,24 +1,21 @@ .oo-ui-dialog { background-color: #fff; background-color: rgba(255, 255, 255, 0.5); + /* Opening and closing animation */ + opacity: 0; - -webkit-transition: all 250ms ease-in-out; - -moz-transition: all 250ms ease-in-out; - -ms-transition: all 250ms ease-in-out; - -o-transition: all 250ms ease-in-out; - transition: all 250ms ease-in-out; } -.oo-ui-dialog .oo-ui-window-frame { - background-color: #fff; - border: solid 1px #ccc; - border-radius: 0.5em; +.oo-ui-dialog > .oo-ui-window-frame { -webkit-transform: scale(0.5); -moz-transform: scale(0.5); -ms-transform: scale(0.5); -o-transform: scale(0.5); transform: scale(0.5); - box-shadow: 0 0.2em 1em rgba(0, 0, 0, 0.3); +} + +.oo-ui-dialog.oo-ui-window-setup, +.oo-ui-dialog.oo-ui-window-setup > .oo-ui-window-frame { -webkit-transition: all 250ms ease-in-out; -moz-transition: all 250ms ease-in-out; -ms-transition: all 250ms ease-in-out; @@ -26,11 +23,11 @@ transition: all 250ms ease-in-out; } -.oo-ui-dialog-open { +.oo-ui-dialog.oo-ui-window-ready { opacity: 1; } -.oo-ui-dialog-open .oo-ui-window-frame { +.oo-ui-dialog.oo-ui-window-ready > .oo-ui-window-frame { -webkit-transform: scale(1); -moz-transform: scale(1); -ms-transform: scale(1); @@ -38,10 +35,96 @@ transform: scale(1); } +.oo-ui-dialog-content .oo-ui-window-head, +.oo-ui-dialog-content .oo-ui-window-body, +.oo-ui-dialog-content .oo-ui-window-foot { + position: absolute; + right: 0; + left: 0; + overflow: hidden; + -webkit-box-sizing: border-box; + -moz-box-sizing: border-box; + box-sizing: border-box; +} + +.oo-ui-dialog-content .oo-ui-window-head { + top: 0; + height: 3.8em; + padding: 0.5em; +} + +.oo-ui-dialog-content .oo-ui-window-title { + line-height: 2.8em; +} + +.oo-ui-dialog-content .oo-ui-window-icon { + width: 2.4em; + height: 2.8em; + line-height: 2.8em; +} + +.oo-ui-dialog-content .oo-ui-window-closeButton { + float: right; + margin: 0.25em 0.25em; +} + +.oo-ui-dialog-content .oo-ui-window-body { + top: 3.8em; + bottom: 4.8em; +} + +.oo-ui-dialog-content-footless .oo-ui-window-body { + bottom: 0; +} + +.oo-ui-dialog > .oo-ui-window-frame { + top: 1em; + bottom: 1em; + background-color: #fff; + border: solid 1px #ccc; + border-radius: 0.5em; + box-shadow: 0 0.2em 1em rgba(0, 0, 0, 0.3); +} + +.oo-ui-dialog-small > .oo-ui-window-frame { + width: 400px; + max-height: 230px; +} + +.oo-ui-dialog-medium > .oo-ui-window-frame { + width: 600px; + max-height: 460px; +} + +.oo-ui-dialog-large > .oo-ui-window-frame { + width: 800px; + max-height: 690px; +} + +.oo-ui-dialog-content .oo-ui-window-head, +.oo-ui-dialog-content .oo-ui-window-foot { + z-index: 1; +} + .oo-ui-dialog-content .oo-ui-window-body { + z-index: 2; box-shadow: 0 0 0.66em rgba(0, 0, 0, 0.25); } +.oo-ui-dialog-content .oo-ui-window-foot { + bottom: 0; + height: 4.8em; + padding: 1em; +} + +.oo-ui-dialog-content .oo-ui-window-foot .oo-ui-buttonedElement-framed { + margin: 0.125em 0.25em; +} + +.oo-ui-dialog-content .oo-ui-window-overlay { + z-index: 3; +} + .oo-ui-frame-content { font-family: sans-serif; font-size: 0.8em; @@ -157,6 +240,8 @@ } .oo-ui-buttonedElement-framed .oo-ui-buttonedElement-button { + padding: 0.2em 0.8em; + margin: 0.1em 0; text-shadow: 0 1px 1px rgba(255, 255, 255, 0.5); background: #eeeeee; background-image: -webkit-gradient(linear, right top, right bottom, color-stop(0%, #ffffff), color-stop(100%, #dddddd)); @@ -195,6 +280,16 @@ box-shadow: inset 0 1px 4px 0 rgba(0, 0, 0, 0.07); } +.oo-ui-buttonedElement-framed.oo-ui-iconedElement .oo-ui-buttonedElement-button > .oo-ui-iconedElement-icon { + margin-right: -0.5em; + margin-left: -0.5em; +} + +.oo-ui-buttonedElement-framed.oo-ui-iconedElement.oo-ui-labeledElement .oo-ui-buttonedElement-button > .oo-ui-iconedElement-icon { + margin-right: 0.3em; + margin-left: -0.5em; +} + .oo-ui-buttonedElement-framed.oo-ui-flaggableElement-primary .oo-ui-buttonedElement-button { background: #cde7f4; background-image: -webkit-gradient(linear, right top, right bottom, color-stop(0%, #eaf4fa), color-stop(100%, #b0d9ee)); @@ -279,12 +374,8 @@ box-shadow: none; } -.oo-ui-bookletLayout > .oo-ui-gridLayout > .oo-ui-panelLayout { - -webkit-transition: width 250ms ease-in-out, height 250ms ease-in-out, top 250ms ease-in-out, left 250ms ease-in-out; - -moz-transition: width 250ms ease-in-out, height 250ms ease-in-out, top 250ms ease-in-out, left 250ms ease-in-out; - -ms-transition: width 250ms ease-in-out, height 250ms ease-in-out, top 250ms ease-in-out, left 250ms ease-in-out; - -o-transition: width 250ms ease-in-out, height 250ms ease-in-out, top 250ms ease-in-out, left 250ms ease-in-out; - transition: width 250ms ease-in-out, height 250ms ease-in-out, top 250ms ease-in-out, left 250ms ease-in-out; +.oo-ui-bookletLayout-stackLayout .oo-ui-panelLayout { + padding: 1.5em; } .oo-ui-bookletLayout-outlinePanel { @@ -295,14 +386,30 @@ box-shadow: 0 0 0.25em rgba(0, 0, 0, 0.25); } +.oo-ui-fieldLayout-disabled .oo-ui-labeledElement-label { + color: #ccc; +} + .oo-ui-fieldsetLayout { border: none; } -.oo-ui-fieldsetLayout > legend.oo-ui-labeledElement-label { +.oo-ui-fieldsetLayout > .oo-ui-labeledElement-label { font-size: 1.5em; } +.oo-ui-panelLayout { + position: absolute; + top: 0; + right: 0; + bottom: 0; + left: 0; +} + +.oo-ui-panelLayout-padded { + padding: 2em; +} + .oo-ui-barToolGroup .oo-ui-tool { margin: -1px 0 -1px -1px; border: solid 1px transparent; @@ -410,6 +517,10 @@ opacity: 0.2; } +.oo-ui-listToolGroup.oo-ui-widget-disabled { + color: #ccc; +} + .oo-ui-listToolGroup.oo-ui-widget-disabled .oo-ui-indicatedElement-indicator, .oo-ui-listToolGroup.oo-ui-widget-disabled .oo-ui-iconedElement-icon { opacity: 0.2; @@ -441,9 +552,7 @@ .oo-ui-menuToolGroup.oo-ui-widget-disabled { color: #ccc; - text-shadow: 0 1px 1px #fff; - background-color: #f3f3f3; - border-color: #ddd; + border-color: rgba(0, 0, 0, 0.05); } .oo-ui-menuToolGroup.oo-ui-widget-disabled .oo-ui-indicatedElement-indicator, @@ -620,6 +729,10 @@ padding-right: 1.5em; } +.oo-ui-outlineItemWidget.oo-ui-indicatedElement .oo-ui-indicatedElement-indicator { + opacity: 0.5; +} + .oo-ui-outlineItemWidget-level-0 { padding-left: 3.5em; } @@ -657,8 +770,7 @@ font-style: italic; } -.oo-ui-outlineItemWidget.oo-ui-flaggableElement-empty .oo-ui-iconedElement-icon, -.oo-ui-outlineItemWidget.oo-ui-flaggableElement-empty .oo-ui-indicatedElement-indicator { +.oo-ui-outlineItemWidget.oo-ui-flaggableElement-empty .oo-ui-iconedElement-icon { opacity: 0.5; }