UNPKG

@progress/kendo-ui

Version:

This package is part of the [Kendo UI for jQuery](http://www.telerik.com/kendo-ui) suite.

149 lines (129 loc) 3.64 kB
/*! * Copyright 2018 Telerik EAD * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ // Window .k-window { padding: 0; border-width: @window-border-width; border-style: @window-border-style; display: inline-block; position: absolute; z-index: 10001; .k-overlay { position: absolute; opacity: 0; } } // Title bar .k-window-titlebar { padding: @window-titlebar-padding-y @window-titlebar-padding-x; border-width: @window-titlebar-border-width; border-style: @window-titlebar-border-style; width: 100%; box-sizing: border-box; white-space: nowrap; min-height: 16px; // icon size } // Title bar title text .k-window-title { font-size: @window-title-font-size; line-height: @window-title-line-height; display: block; text-overflow: ellipsis; overflow: hidden; cursor: default; } .k-window-title::before { // Empty title height fix content: ""; display: inline-block; } // Title bar actions .k-window-titlebar .k-window-actions { // margin: -.25em 0; position: absolute; top: (@window-titlebar-padding-y / 2); right: (@window-titlebar-padding-x / 2); } .k-window-titlebar .k-window-action { padding: 2px; width: 20px; height: 20px; border-width: 0; box-sizing: content-box; opacity: .7; &:hover { opacity: 1; } } // Content .k-window-content, .k-prompt-container { padding: @window-inner-padding-y @window-inner-padding-x; height: 100%; overflow: auto; position: relative; outline: 0; } .k-window-content + .k-prompt-container { margin-top: -@window-inner-padding-y; } .k-prompt-container .k-textbox { width: 100%; } .k-window-iframecontent { padding: 0; overflow: visible; .k-content-frame { vertical-align: top; border: 0; width: 100%; height: 100%; } } .k-window-content > .km-scroll-container { height: 100%; } .k-window > .k-resize-handle { position: absolute; z-index: 1; background-color: #fff; font-size: 0; line-height: 6px; opacity: 0; zoom: 1; } .k-resize-n { top: -3px; left: 0; width: 100%; height: 6px; cursor: n-resize; } .k-resize-e { top: 0; right: -3px; width: 6px; height: 100%; cursor: e-resize; } .k-resize-s { bottom: -3px; left: 0; width: 100%; height: 6px; cursor: s-resize; } .k-resize-w { top: 0; left: -3px; width: 6px; height: 100%; cursor: w-resize; } .k-resize-se { bottom: -3px; right: -3px; width: 6px; height: 6px; cursor: se-resize; } .k-resize-sw { bottom: -3px; left: -3px; width: 6px; height: 6px; cursor: sw-resize; } .k-resize-ne { top: -3px; right: -3px; width: 6px; height: 6px; cursor: ne-resize; } .k-resize-nw { top: -3px; left: -3px; width: 6px; height: 6px; cursor: nw-resize; } .k-overlay { position: fixed; top: 0; left: 0; z-index: 10001; width: 100%; height: 100%; background-color: #000; opacity: .5; -webkit-backface-visibility: hidden; } .k-window > .k-action-buttons, .k-window-content > .k-action-buttons { border-width: 1px 0 0; border-style: solid; }