-
FEATURED COMPONENTS
First time here? Check out the FAQ!
I am using ZK 7.0 EE I have used the ztx.bat tool and created my own folder based theme. It is being correctly registered and shows as the current theme after I register and set it. The cookie exists for theme and is properly set to mydefaulttheme. This is the code I use to register and set my theme :
Themes.register("mydefaulttheme", ThemeOrigin.FOLDER);
Themes.register("tablet:mydefaulttheme", ThemeOrigin.FOLDER);
Themes.setTheme(Executions.getCurrent(), "mydefaulttheme");
Here is the directory structure under application root which is as it should be:
WebRoot
-theme
- mydefaulttheme
- js
- zkex
- zkmax
- zul
The problem I am having is when I make changes to the .css.dsp files, those changes are not being reflected when I run. I have made some dramatic changes just to test and see if they would show up and they don't.
Any ideas?
Thanks! Andy
tr.z-row-over .td.z-row-inner .z-row-content{
border-bottom: 1px solid white;
border-top: 1px solid white;
background-image: none;
}
tr.z-row-over .td.z-row-inner, tr.z-row-over > .z-cell {
background-image: none;
}
.z-row:hover
{
background-image: none;
color : white !important;
}
.z-row:hover > .z-row-inner, .z-row:hover > z.cell
{
background: none !important;
position:relative;
}
.z-row-over .td.z-row-inner .z-row-content{
border-bottom: 1px solid white;
border-top: 1px solid white;
background-image: none;
}
.z-row-over .td.z-row-inner, tr.z-row-over > .z-cell {
background-image: none;
}
.z-row:hover
{
background-image: none;
color : white !important;
}
.z-row:hover > .z-row-inner, .z-row:hover > z.cell
{
background: none !important;
position:relative;
}
.z-row .z-row-inner,.z-row .z-cell
{
background:white;
border-top:none;
border-left:1px solid white;
border-right:1px solid #FFFFFF;
border-bottom:1px solid #FFFFFF;
}
.z-grid-odd .z-cell {
background-color: #FFFFFF;
border-bottom: 1px solid #FFFFFF;
border-left: 1px solid #FFFFFF;
border-top: 1px solid #FFFFFF;
}
.z-grid
{
border: 0 solid #FFFFFF;
overflow: hidden;
}
Asked: 2013-12-02 19:27:38 +0800
Seen: 41 times
Last updated: May 22 '14
composite component help [closed]
EL in a forEach @command not working?
Different template for each grid row
Cardlayout animation is broken
Grid RowRender slow using 6.5.1 and sizable=true
setVisible(false), component will load or not
Decimalbox and doublebox value rounded on iPad
history management with page status
Hi Anacle, I can't reproduce this issue. Can you tell me more details like what server and what browser/version you observe this issue with?
ashishd ( 2013-12-03 10:29:09 +0800 )editWe are running via Jboss 7 and I have tried checking my site via firefox on ubuntu and our Ipad App (basically safari). I will try running some more tests, is there any special way I should edit the css.dsp files? I was making changes like I would in any css.
ansancle ( 2013-12-03 11:25:37 +0800 )editWhen I open the developer tools from FirefoX and look at the html, this is in the body definition : <body class="gecko gecko23 mydefaulttheme" > so it really looks like it's using the theme, but ever change I make under the theme is ignored.
ansancle ( 2013-12-03 17:56:44 +0800 )editWhat sort of changes are you making to theme files? Can you give me an example so I can try similar sample.
ashishd ( 2013-12-16 08:11:14 +0800 )editI made the following changes in grid.css.dsp for example and none of them showed up. I had to put the same changes into an included .css file to get my results. See response, thought I could post code in the comment but can't. The changes basically eliminate any grid border or background coloring.
ansancle ( 2013-12-16 13:43:14 +0800 )edit