Author: vjrj Date: 2008-07-05 21:00:57 +0200 (Sat, 05 Jul 2008) New Revision: 784 Removed: sandbox3/src/main/java/org/op/public/sandbox.css Modified: sandbox3/src/main/java/org/op/client/EntityWorkspace.java sandbox3/src/main/java/org/op/public/css/sandbox.css Log: more ext probes Modified: sandbox3/src/main/java/org/op/client/EntityWorkspace.java =================================================================== --- sandbox3/src/main/java/org/op/client/EntityWorkspace.java 2008-07-05 18:27:10 UTC (rev 783) +++ sandbox3/src/main/java/org/op/client/EntityWorkspace.java 2008-07-05 19:00:57 UTC (rev 784) @@ -20,9 +20,9 @@ private final Toolbar containerBottomBar; private final RoundedPanel roundedTitle; private final RoundedPanel roundedBottom; + private final DefaultBorderLayout containerWrap; public EntityWorkspace() { - super.setCls("entityworkspace"); final Panel titles = new Panel(); titles.setBorder(false); titles.setLayout(new AnchorLayout()); @@ -50,7 +50,7 @@ bottomPanel.add(roundedBottom, new AnchorLayoutData("100% -" + DEF_TOOLBAR_HEIGHT)); final DefaultBorderLayout contentWrap = new DefaultBorderLayout(); - final DefaultBorderLayout containerWrap = new DefaultBorderLayout(); + containerWrap = new DefaultBorderLayout(); contentWrap.setBorder(true); containerWrap.setBorder(true); content = new Panel(); @@ -120,11 +120,13 @@ public void setTheme(final WsTheme theme) { final String themeS = theme.toString(); + super.setCls("entityworkspace-" + theme); roundedTitle.setCornerStyleName("entity-title-rd-" + theme); roundedBottom.setCornerStyleName("entity-bottom-rd-" + theme); title.addStyleDependentName(themeS); subTitle.addStyleDependentName(themeS); bottom.addStyleDependentName(themeS); + container.setStyleName("entity-container-" + theme); } public void setTitle(final View view) { Modified: sandbox3/src/main/java/org/op/public/css/sandbox.css =================================================================== --- sandbox3/src/main/java/org/op/public/css/sandbox.css 2008-07-05 18:27:10 UTC (rev 783) +++ sandbox3/src/main/java/org/op/public/css/sandbox.css 2008-07-05 19:00:57 UTC (rev 784) @@ -17,6 +17,14 @@ background: transparent none repeat scroll 0% 50%; } +.entityworkspace-def .x-layout-split { + background: #DEAA87 none repeat scroll 0% 50%; +} + +.entityworkspace-green .x-layout-split { + background: #DCE8AB none repeat scroll 0% 50%; +} + .entity-title { line-height: 22px; } @@ -61,6 +69,14 @@ background: #5FD35F; } +.entity-container-def div { + background: #FFD09D none repeat scroll 0% 50%; +} + +.entity-container-green { + background: #CFA none repeat scroll 0% 50%; +} + .entity-bottom { line-height:2em; } Deleted: sandbox3/src/main/java/org/op/public/sandbox.css =================================================================== --- sandbox3/src/main/java/org/op/public/sandbox.css 2008-07-05 18:27:10 UTC (rev 783) +++ sandbox3/src/main/java/org/op/public/sandbox.css 2008-07-05 19:00:57 UTC (rev 784) @@ -1,52 +0,0 @@ -@CHARSET "UTF-8"; - -.toolbar-transparent { - background: #EFEFEF none repeat scroll 0% 50%; - border-top: 0px; -} - -.entity .x-layout-split { - background: blue none repeat scroll 0% 50%; -} - -.entityworkspace .x-layout-split { - background: transparent none repeat scroll 0% 50%; -} - -.entity-title { - background: blue none repeat scroll 0% 50%; - height: 100%; - line-height: 18px; -} - -.entity-subtitle { - background: cyan none repeat scroll 0%; - height: 100%; - line-height:2em; -} - -.entity-bottom { - background-color: blue; - height: 100%; - line-height:2em; -} - -.entity-title-rd { - -} - -.faketoolbar-top-line { -border-top-color: rgb(208, 208, 208); -border-top-style: solid; -border-top-width: 1px; -} - -.faketoolbar-bottom-line { -border-bottom-color: rgb(208, 208, 208); -border-bottom-style: solid; -border-bottom-width: 1px; -} - -.entity-bottom-rd { - -} \ No newline at end of file