@import "alchemy/defaults"; /* Reset */ .alchemy-tinymce-dialog, .alchemy-tinymce-dialog div, .alchemy-tinymce-dialog span, .alchemy-tinymce-dialog a { vertical-align: baseline; text-align: left; position: absolute; border: 0; padding: 0; margin: 0; font: $default-font-style; color: $text-color; text-decoration: none; font-weight: normal; width: auto; height: auto; overflow: hidden; display: block; background-color: transparent; } /* General */ .alchemy-tinymce-dialog { position: absolute; direction: ltr; border: $default-border; @extend .rounded-border; } .alchemy-tinymce-dialog .mceWrapper { position: static; } .mceEventBlocker { position: fixed; left: 0; top: 0; width: 100%; height: 100% } .alchemy-tinymce-dialog .mcePlaceHolder { border: 1px solid #000; background: #888; top: 0; left: 0; @include opacity(0.5); } .alchemy-tinymce-dialog_modalBlocker { position: fixed; left: 0; top: 0; width: 100%; height: 100%; background-color: #f4f4f4; @include opacity(0.5); display: none } /* Top */ .alchemy-tinymce-dialog .mceTop, .alchemy-tinymce-dialog .mceTop div { top: 0; width: 100%; height: 31px; } .alchemy-tinymce-dialog .mceTop .mceLeft { width: 0px; } .alchemy-tinymce-dialog .mceTop .mceCenter, a.mceMove { width: 100%; height: 31px; background: $light-blue; color: $text-color; } .alchemy-tinymce-dialog .mceTop .mceRight { right: 0; width: 0px; height: 32px; } .alchemy-tinymce-dialog .mceTop span { width: 100%; text-align: left; vertical-align: middle; line-height: 31px; font-weight: bold; color: white; padding-left: 12px; } /* Middle */ .alchemy-tinymce-dialog .mceMiddle, .alchemy-tinymce-dialog .mceMiddle div { top: 0 } .alchemy-tinymce-dialog .mceMiddle { width: 100%; height: 100%; /*clip: rect(23px auto auto auto)*/ } .alchemy-tinymce-dialog .mceMiddle .mceLeft { left: 0; width: 0; height: 100%; background-color: white; z-index: 1; } .alchemy-tinymce-dialog .mceMiddle span { top: 31px; left: 0px; width: 100%; height: 100%; background: #FFF } .alchemy-tinymce-dialog .mceMiddle .mceRight { right: 0; width: 0px; height: 100%; background-color: white; z-index: 1; } /* Bottom */ .alchemy-tinymce-dialog .mceBottom, .alchemy-tinymce-dialog .mceBottom div { height: 0 } .alchemy-tinymce-dialog .mceBottom { left: 0; bottom: 0; width: 100% } .alchemy-tinymce-dialog .mceBottom div { top: 0 } .alchemy-tinymce-dialog .mceBottom .mceLeft { left: 0; width: 0px; } .alchemy-tinymce-dialog .mceBottom .mceCenter { width: 100%; left: 0; background-color: white; } .alchemy-tinymce-dialog .mceBottom .mceRight { right: 0; width: 0px; } .alchemy-tinymce-dialog .mceBottom span { display: none } .alchemy-tinymce-dialog .mceStatusbar .mceBottom, .alchemy-tinymce-dialog .mceStatusbar .mceBottom div { height: 23px } .alchemy-tinymce-dialog .mceStatusbar .mceBottom .mceLeft { } .alchemy-tinymce-dialog .mceStatusbar .mceBottom .mceCenter { } .alchemy-tinymce-dialog .mceStatusbar .mceBottom .mceRight { } .alchemy-tinymce-dialog .mceStatusbar .mceBottom span { display: block; left: 7px; font: $default-font-style; line-height: 23px } /* Actions */ .alchemy-tinymce-dialog a { width: 29px; height: 16px; } .alchemy-tinymce-dialog .mceClose { @extend .icon-cross; width: 16px; height: 16px; top: 7px; right: 8px; text-align: center; &:before { font-size: 16px; position: relative; top: 2px; } } .alchemy-tinymce-dialog .mceMin { display: none; right: 68px; } .alchemy-tinymce-dialog .mceMed { display: none; right: 28px; width: 16px; height: 16px; @extend .icon-fullscreen-exit; top: 6px; padding-top: 3px; } .alchemy-tinymce-dialog .mceMax { display: none; right: 28px; width: 16px; height: 16px; @extend .icon-fullscreen; top: 6px; padding-top: 3px; } .alchemy-tinymce-dialog .mceClose, .alchemy-tinymce-dialog .mceMin, .alchemy-tinymce-dialog .mceMed, .alchemy-tinymce-dialog .mceMax { &:hover { border: 1px solid $button-hover-border-color; @extend .rounded-border; background-color: $button-hover-bg-color; color: $text-color; font-weight: normal; } } .alchemy-tinymce-dialog .mceClose { &:hover { top: 6px; right: 7px; } } .alchemy-tinymce-dialog .mceMax, .alchemy-tinymce-dialog .mceMed { &:hover { top: 5px; right: 27px; } } .alchemy-tinymce-dialog .mceMove { display: none; cursor: move; height: 31px; width: 100%; } .alchemy-tinymce-dialog .mceMovable .mceMove { display: block; right: 0; } /* Resize */ .alchemy-tinymce-dialog .mceResize { top: auto; left: auto; display: none; width: 4px; height: 4px; background: transparent no-repeat 0 -75px; } .alchemy-tinymce-dialog .mceResizable .mceResize { display: block } .alchemy-tinymce-dialog .mceResizable .mceMin, .alchemy-tinymce-dialog .mceMax { display: none } .alchemy-tinymce-dialog .mceMinimizable .mceMin { display: block } .alchemy-tinymce-dialog .mceMaximizable .mceMax { display: block } .alchemy-tinymce-dialog .mceMaximized .mceMed { display: block } .alchemy-tinymce-dialog .mceMaximized .mceMax { display: none } .alchemy-tinymce-dialog a.mceResizeN { top: 0; left: 0; width: 100%; cursor: n-resize; height: 4px; } .alchemy-tinymce-dialog a.mceResizeNW { top: 0; left: 0; cursor: nw-resize } .alchemy-tinymce-dialog a.mceResizeNE { top: 0; right: 0; cursor: ne-resize } .alchemy-tinymce-dialog a.mceResizeW { top: 0; left: 0; height: 100%; cursor: w-resize; width: 4px; } .alchemy-tinymce-dialog a.mceResizeE { top: 0; right: 0; height: 100%; cursor: e-resize; width: 4px; } .alchemy-tinymce-dialog a.mceResizeS { bottom: 0; left: 0; width: 100%; cursor: s-resize; height: 4px; } .alchemy-tinymce-dialog a.mceResizeSW { bottom: 0; left: 0; cursor: sw-resize } .alchemy-tinymce-dialog a.mceResizeSE { bottom: 1px; right: 1px; cursor: se-resize; background: image-url("alchemy/ui-icons_666666_256x240.png") no-repeat -80px -224px; width: 14px; height: 14px; } /* Alert/Confirm */ .alchemy-tinymce-dialog .mceButton { @extend %button-defaults; bottom: 10px; // width: 80px; // height: 25px; // line-height: 25px; vertical-align: middle; text-align: center; outline: 0; } .alchemy-tinymce-dialog .mceMiddle .mceIcon { left: 15px; top: 35px; width: 16px; height: 16px; } .alchemy-tinymce-dialog .mceAlert .mceMiddle span, .alchemy-tinymce-dialog .mceConfirm .mceMiddle span { background: transparent; left: 8px; top: 35px; width: auto; height: 50px; text-align: center; overflow: auto; white-space: normal } .alchemy-tinymce-dialog a:hover { font-weight: normal; } .alchemy-tinymce-dialog .mceAlert .mceMiddle, .alchemy-tinymce-dialog .mceConfirm .mceMiddle { background: $light-gray; } .alchemy-tinymce-dialog .mceAlert .mceOk { left: 50%; top: auto; margin-left: -40px } .alchemy-tinymce-dialog .mceAlert .mceIcon { background: image-url("alchemy/icons.png") 0 -88px; } .alchemy-tinymce-dialog .mceConfirm .mceOk { left: 50%; top: auto; margin-left: -90px } .alchemy-tinymce-dialog .mceConfirm .mceCancel { left: 50%; top: auto } .alchemy-tinymce-dialog .mceConfirm .mceIcon { background: image-url("alchemy/icons.png") 0 -88px; }