From: Matti Tahvonen Date: Tue, 5 Aug 2008 06:33:35 +0000 (+0000) Subject: fixes #18678 (too long captions in panels) X-Git-Tag: 6.7.0.beta1~4408 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=6c1552572fe86c42af51bae1efd4dfe3e8c079e5;p=vaadin-framework.git fixes #18678 (too long captions in panels) svn changeset:5132/svn branch:trunk --- diff --git a/WebContent/ITMILL/themes/default/panel/panel.css b/WebContent/ITMILL/themes/default/panel/panel.css index ead87031fe..bb1bb305d3 100644 --- a/WebContent/ITMILL/themes/default/panel/panel.css +++ b/WebContent/ITMILL/themes/default/panel/panel.css @@ -10,6 +10,9 @@ text-align: left /* Force default alignment */ } +.i-panel { + background: transparent url(img/top-left.png) no-repeat; +} .i-panel:before { display: block; content: ""; @@ -41,6 +44,7 @@ border: 1px solid #babfc0; border-top: none; background: #fff; + overflow:hidden; } .i-panel-nocaption { @@ -55,7 +59,6 @@ position: relative; width: 9px; height: 9px; - background: transparent url(img/top-left.png) no-repeat; margin: -15px 0 5px -19px; } @@ -93,6 +96,9 @@ /* Light panel style */ +.i-panel-light { + background: transparent; +} .i-panel-light:before { display: none; } diff --git a/WebContent/ITMILL/themes/default/styles.css b/WebContent/ITMILL/themes/default/styles.css index be51f448dd..6cdd5c9ef4 100644 --- a/WebContent/ITMILL/themes/default/styles.css +++ b/WebContent/ITMILL/themes/default/styles.css @@ -820,6 +820,9 @@ i-orderedlayout-margin-top { text-align: left /* Force default alignment */ } +.i-panel { + background: transparent url(panel/img/top-left.png) no-repeat; +} .i-panel:before { display: block; content: ""; @@ -851,6 +854,12 @@ i-orderedlayout-margin-top { border: 1px solid #babfc0; border-top: none; background: #fff; + overflow:hidden; +} + +.i-panel-caption, +.i-panel-caption-light { + text-overflow: ellipsis; } .i-panel-nocaption { @@ -865,7 +874,6 @@ i-orderedlayout-margin-top { position: relative; width: 9px; height: 9px; - background: transparent url(panel/img/top-left.png) no-repeat; margin: -15px 0 5px -19px; } @@ -903,6 +911,9 @@ i-orderedlayout-margin-top { /* Light panel style */ +.i-panel-light { + background: transparent; +} .i-panel-light:before { display: none; }