@external body {
margin:0px;
font-family:Arial, Helvetica, sans-serif;
font-size:11px;
color:#333333;
}
@external a {
color:#333333;
text-decoration:none;
}
@external #header {
padding:5px 10px;
}
.clr {
clear:both;
}
@external #header-left {
float:left;
}
@external #header-right {
float:right;
padding-top:7px;
font-size:13px;
}
.left {
width:16%;
float:left;
}
.center {
width:42%;
float:left;
}
.right {
width:42%;
float:left;
}
.pop-up {
width:250px;
float:right;
}
@sprite .heading-left {
/* background:url(images/heading-left.jpg) left top no-repeat; */
gwt-image:'headingLeft';
height:32px;
padding-left:12px;
}
@sprite .heading-right {
/*background:url(images/heading-right.jpg) right top no-repeat;*/
gwt-image:'headingRight';
height:32px;
padding-right:12px;
}
@sprite .heading-middel {
/*background:url(images/heading-mid.jpg) top repeat-x;*/
gwt-image:'headingMid';
height:26px;
line-height:26px;
padding-top:6px;
padding-left:5px;
color:#FFFFFF;
}
.heading-middel-text {
float:left;
}
.heading-middel-icon {
float:right;
padding-top:11px;
padding-right:5px;
}
@sprite .middel-shadow-left {
/*background:url(images/mid-left.jpg) left repeat-y;*/
gwt-image:'midLeft';
padding-left:8px;
}
@sprite .middel-shadow-right {
/*background:url(images/mid-right.jpg) right repeat-y;*/
gwt-image:'midRight';
padding-right:8px;
min-height:500px;
}
@sprite .middel-shadow-right1 {
/*background:url(images/mid-right.jpg) right repeat-y;*/
gwt-image:'midRight';
padding-right:8px;
min-height:460px;
}
@sprite .middel-shadow-right2 {
/*background:url(images/mid-right.jpg) right repeat-y;*/
gwt-image:'midRight';
padding-right:8px;
}
@sprite .middel-shadow-right3 {
/*background:url(images/mid-right.jpg) right repeat-y;*/
gwt-image:'midRight';
padding-right:8px;
min-height:460px;
}
.box .middel-shadow-right {
min-height:inherit;
}
.middel-shadow-right3 ul,
.middel-shadow-right2 ul,
.middel-shadow-right ul {
margin:0px;
padding:10px;
}
@sprite .middel-shadow-right3 li,
.middel-shadow-right2 li,
.middel-shadow-right li {
gwt-image:'arrow';
margin:0px;
padding:0px 0 0 15px;
/*background:url(images/arrow.jpg) left no-repeat;*/
list-style:none;
}
@sprite .bottom-left {
/*background:url(images/bot-left.jpg) left top no-repeat;*/
gwt-image:'botLeft';
padding-left:12px;
height:12px;
}
@sprite .bottom-right {
/*background:url(images/bot-right.jpg) right top no-repeat;*/
gwt-image:'botRight';
padding-right:12px;
height:12px;
}
@sprite .bottom-middel {
/*background:url(images/bot-mid.jpg) top repeat-x;*/
gwt-image:'botMid';
height:12px;
}
@sprite .bottom-blue-left {
/*background:url(images/bot-b-left.jpg) left bottom no-repeat;*/
gwt-image:'botBLeft';
padding-left:12px;
}
@sprite .bottom-blue-right {
/*background:url(images/bot-b-right.jpg) right bottom no-repeat;*/
gwt-image:'botBRight';
padding-right:12px;
}
@sprite .bottom-blue-middel {
/*background:url(images/bot-b-mid.jpg) bottom repeat-x;*/
gwt-image:'botBMid';
padding:5px 4px 13px;
text-align:right;
}
.light-blue {
background:#c9e2fc;
padding:4px 10px;
}
.light-blue .inputdiv {
float:left;
width:25.3%;
margin-right:2px;
}
.light-blue .inputdiv1 {
float:left;
width:20%;
margin-right:2px;
}
.light-blue .inputdiv2 {
float:left;
width:12%;
margin-right:2px;
}
.light-blue .inputdiv3 {
float:left;
width:15%;
margin-right:2px;
padding-top:12px;
}
.light-blue select {
border:1px solid #5896db;
width:50px;
}
.light-blue input.inputbox {
width:93%;
border:1px solid #5896db;
padding:1px 2px;
}
@external form {
margin:0px;
padding:0px;
}
@external #footer {
background:url(images/footer.jpg) top repeat-x;
line-height:32px;
text-align:center;
color:#fff;
}
@external #footer a {
color:#FFFFFF;
text-decoration:none;
}
@external #footer1 {
text-align:center;
line-height:32px;
}
.font-label {
font-size: small;
font-style: normal;
font-weight: bold;
font-family: verdana, arial, helvetica, sans-serif;
float: inherit;
width: auto;
color: #4B4A4A; /* previous color for black #4B4A4A */
padding-bottom: 3px;
padding-right: 15px;
padding-top: 3x;
text-align: center;
text-shadow: 1px 1px 0 #DDDDFF;
}
Also,
i made to resource.style().ensureInjected().
But still there is no luck. Same situation.
On Tue, Mar 1, 2011 at 10:35 PM, Thomas Broyer <t.broyer@gmail.com> wrote:
On Monday, February 28, 2011 7:33:47 PM UTC+1, Deepak Singh wrote:Hi,Now it compiles fine but the page UI is not rendering style.css and the sprite images.I have done this in onModuleLoad()StyleInjector.inject(resource.style().getText());You should rather use: resource.style().ensureInjected();
On Monday, February 28, 2011 10:35:45 PM UTC+1, John LaBanca wrote:The class names are obfuscated. You can try adding @NotStrict to MyResources#style(), but that isn't really recommended because the compiler can't optimize.Or you can mark the classes as @external within the CSS, with the same drawback (well, almost, the compiler will still merge/split/reorder a few things, right?).--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
No comments:
Post a Comment