]> source.dussan.org Git - vaadin-framework.git/commitdiff
fixes #18678 (too long captions in panels)
authorMatti Tahvonen <matti.tahvonen@itmill.com>
Tue, 5 Aug 2008 06:33:35 +0000 (06:33 +0000)
committerMatti Tahvonen <matti.tahvonen@itmill.com>
Tue, 5 Aug 2008 06:33:35 +0000 (06:33 +0000)
svn changeset:5132/svn branch:trunk

WebContent/ITMILL/themes/default/panel/panel.css
WebContent/ITMILL/themes/default/styles.css

index ead87031fe5a9b6786832f37d49c6c22c2d85ff6..bb1bb305d3736de40f63b311a4af4ade03ed229e 100644 (file)
@@ -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;
 }
index be51f448dd38a577f7064e98ce9aa23fc0d7a132..6cdd5c9ef467d2f2fd630f3c8d496ab5dc04a2b8 100644 (file)
@@ -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;
 }