diff options
author | Marc Englund <marc.englund@itmill.com> | 2009-05-12 11:12:45 +0000 |
---|---|---|
committer | Marc Englund <marc.englund@itmill.com> | 2009-05-12 11:12:45 +0000 |
commit | e14bcef7f580a6e85c85665cd633105288c8f9c5 (patch) | |
tree | b4c92e97bd78c98e3cd81ab76b5a42513009ac8b /WebContent/VAADIN/themes/base/window/window.css | |
parent | e0c9e338d7e575d29c19a391854f6539bd30b10d (diff) | |
download | vaadin-framework-e14bcef7f580a6e85c85665cd633105288c8f9c5.tar.gz vaadin-framework-e14bcef7f580a6e85c85665cd633105288c8f9c5.zip |
Renaming ITMILL/ -> VAADIN/ part 1 (for #2904)
svn changeset:7762/svn branch:6.0
Diffstat (limited to 'WebContent/VAADIN/themes/base/window/window.css')
-rw-r--r-- | WebContent/VAADIN/themes/base/window/window.css | 150 |
1 files changed, 150 insertions, 0 deletions
diff --git a/WebContent/VAADIN/themes/base/window/window.css b/WebContent/VAADIN/themes/base/window/window.css new file mode 100644 index 0000000000..bf14c0a453 --- /dev/null +++ b/WebContent/VAADIN/themes/base/window/window.css @@ -0,0 +1,150 @@ +.v-window { + background: #fff; +} +.v-window-outerheader { + cursor: move; + padding: 0.3em 1em; + height: 1em; +} +.v-window-header { + font-weight: bold; +} +/* A more specific selector to make sure padding isn't so easily overridden */ +div.v-window-header { + white-space: nowrap; + text-overflow: ellipsis; + -ms-text-overflow: ellipsis; + overflow: hidden; + padding: 0; +} +.v-ie6 .v-window-header { + width: 100%; +} +.v-window-header .v-icon { + vertical-align: middle; /* This has to be 'middle', not 'bottom', to allow larger icons than 16px */ +} +/* Partial fix for bug #1106 */ +/* Target Firefox 2 (somehow this will force almost all window borders on top of a Flash object) */ +.v-window-contents, x:-moz-any-link { + overflow: hidden; +} +/* Target Firefox 3 (it doesn't need any trickery, so revert the previous) */ +.v-window-contents, x:-moz-any-link, x:default { + overflow: visible; +} +.v-window-footer { + overflow: hidden; +} +.v-window-resizebox { + display: inline; /* fix IE6 double float margin bug */ + float: right; + width: 10px; + height: 10px; + cursor: se-resize; + background: #ddd; + overflow: hidden; +} +.v-window-resizebox-disabled { + cursor: default; + display: none; +} +.v-window-closebox { + position: absolute; + top: 0; + right: 0; + width: 1em; + height: 1em; + background: red; + cursor: pointer; + overflow: hidden; +} +.v-window-modalitycurtain { + top: 0; + left: 0; + background: #999; + opacity: 0.5; + position: fixed; + width: 100%; + height: 100%; + filter: alpha(opacity=50); +} +/* IE6 workaround for position:fixed; */ +.v-ie6 .v-window-modalitycurtain { + position: absolute; + top: expression(document.documentElement.scrollTop + "px"); +} +/* min-width for IE6 */ +.v-ie6 .v-window { + width: 0; /* */ +} +/* Shadow for window */ +.v-shadow-window { + position: absolute; +} +.v-shadow-window .top-left { + position: absolute; overflow: hidden; + top: -10px; left: -15px; + width: 28px; height: 28px; + background: transparent url(img/shadow/top-left.png); +} +.v-shadow-window .top { + position: absolute; overflow: hidden; + top: -10px; left: 13px; + height: 28px; + right: 13px; + background: transparent url(img/shadow/top.png); +} +.v-shadow-window .top-right { + position: absolute; overflow: hidden; + top: -10px; right: -15px; + width: 28px; height: 28px; + background: transparent url(img/shadow/top-right.png); +} +.v-shadow-window .left { + position: absolute; overflow: hidden; + top: 18px; left: -15px; + width: 28px; + bottom: 10px; + background: transparent url(img/shadow/left.png); +} +.v-shadow-window .center { + position: absolute; overflow: hidden; + top: 18px; left: 13px; + bottom: 10px; right: 13px; + background: transparent url(img/shadow/center.png); +} +.v-shadow-window .right { + position: absolute; overflow: hidden; + top: 18px; right: -15px; + width: 28px; + bottom: 10px; + background: transparent url(img/shadow/right.png); +} +.v-shadow-window .bottom-left { + position: absolute; overflow: hidden; + bottom: -18px; left: -15px; + width: 28px; height: 28px; + background: transparent url(img/shadow/bottom-left.png); +} +.v-shadow-window .bottom { + position: absolute; overflow: hidden; + bottom: -18px; left: 13px; + right: 13px; height: 28px; + background: transparent url(img/shadow/bottom.png); +} +.v-shadow-window .bottom-right { + position: absolute; overflow: hidden; + bottom: -18px; right: -15px; + width: 28px; height: 28px; + background: transparent url(img/shadow/bottom-right.png); +} +/* For IE6 (no transparent png's, we use a blur filter) */ +.v-ie6 .v-shadow-window * { + display: none; +} +.v-ie6 .v-shadow-window { + background: #000; + filter: progid:DXImageTransform.Microsoft.Blur(pixelRadius=5) alpha(opacity=20); + margin-top: 2px; + margin-left: 2px; +}
\ No newline at end of file |