Corrections CSS
This commit is contained in:
@@ -153,8 +153,10 @@ conference.title=Title
|
||||
conference.description=Description
|
||||
conference.otherInformations=Complementary information
|
||||
conference.linkMenu.title=Adding Conference
|
||||
conference.linkMenu.choose=Choosing current conference
|
||||
conference.linkMenu.change=Change current conference
|
||||
conference.linkMenu.choose=Select a conference
|
||||
conference.linkMenu.change=Change conference
|
||||
noCurrentConferenceText=No conference selected
|
||||
currentConferenceText=You have selected :
|
||||
|
||||
conference.errors.dateStartNonValid=This date is not valid
|
||||
conference.errors.dateStartSuperiorEnd=The start date must be earlier than the end date
|
||||
|
||||
@@ -15,13 +15,17 @@
|
||||
|
||||
<c:choose>
|
||||
<c:when test="${currentConferenceId != null}">
|
||||
La conf<EFBFBD>rence courante est :<br />
|
||||
<span class="currentConferenceTitle">${currentConference.title}</span>
|
||||
<fmt:message key="currentConferenceText"/>
|
||||
<div class="cbb button to-right">
|
||||
<a href="<c:url value="listConference.htm"/>"><fmt:message key="conference.linkMenu.change" /></a>
|
||||
</div>
|
||||
<h1>${currentConference.title}</h1>
|
||||
</c:when>
|
||||
<c:otherwise>
|
||||
Il n'y a pas de conf<6E>rence courante.<br />
|
||||
<div class="cbb button to-right">
|
||||
<a href="<c:url value="listConference.htm"/>"><fmt:message key="conference.linkMenu.choose" /></a>
|
||||
</div>
|
||||
<h1><fmt:message key="noCurrentConferenceText"/></h1>
|
||||
</c:otherwise>
|
||||
</c:choose>
|
||||
|
||||
|
||||
@@ -29,26 +29,41 @@
|
||||
<tr>
|
||||
<td class="formLabel"><fmt:message key="conference2.article" />
|
||||
</td>
|
||||
<td><form:input onclick="ds_sh(this);" path="dateArticle"
|
||||
cssStyle="cursor: text" /> <div class="formError"><form:errors path="dateArticle" /></div></td>
|
||||
<td><form:input onfocus="ds_sh(this);" path="dateArticle"
|
||||
cssStyle="cursor: text" />
|
||||
<div class="formErrors">
|
||||
<form:errors path="dateArticle" />
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="formLabel"><fmt:message key="conference2.evaluation" />
|
||||
</td>
|
||||
<td><form:input onclick="ds_sh(this);" path="dateEvaluation"
|
||||
cssStyle="cursor: text" /> <div class="formError"><form:errors path="dateEvaluation" /></div>
|
||||
<td><form:input onfocus="ds_sh(this);" path="dateEvaluation"
|
||||
cssStyle="cursor: text" />
|
||||
<div class="formErrors">
|
||||
<form:errors path="dateEvaluation" />
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="formLabel"><fmt:message key="conference2.start" />
|
||||
</td>
|
||||
<td><form:input onclick="ds_sh(this);" path="dateStart"
|
||||
cssStyle="cursor: text" /> <div class="formError"><form:errors path="dateStart" /></div></td>
|
||||
<td><form:input onfocus="ds_sh(this);" path="dateStart"
|
||||
cssStyle="cursor: text" />
|
||||
<div class="formErrors">
|
||||
<form:errors path="dateStart" />
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="formLabel"><fmt:message key="conference2.end" /></td>
|
||||
<td><form:input onclick="ds_sh(this);" path="dateEnd"
|
||||
cssStyle="cursor: text" /> <div class="formError"><form:errors path="dateEnd" /></div></td>
|
||||
<td><form:input onfocus="ds_sh(this);" path="dateEnd"
|
||||
cssStyle="cursor: text" />
|
||||
<div class="formErrors">
|
||||
<form:errors path="dateEnd" />
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
<tfoot>
|
||||
|
||||
@@ -2,6 +2,29 @@
|
||||
cbb function by Roger Johansson, http://www.456bereastreet.com/
|
||||
*/
|
||||
var cbb = {
|
||||
mouseOver : function(event) {
|
||||
var element = Event.findElement(event,'.cb');
|
||||
element.select("div").invoke('addClassName','hover');
|
||||
},
|
||||
mouseOut : function(event) {
|
||||
var element = Event.findElement(event,'.cb');
|
||||
element.select("div").invoke('removeClassName','hover');
|
||||
},
|
||||
mouseDown : function(event) {
|
||||
var element = Event.findElement(event,'.cb');
|
||||
element.select("div").invoke('addClassName','down');
|
||||
event.stop();
|
||||
},
|
||||
mouseUp : function(event) {
|
||||
var element = Event.findElement(event,'.cb');
|
||||
element.select("div").invoke('removeClassName','down');
|
||||
event.stop();
|
||||
},
|
||||
mouseClick : function(event) {
|
||||
var element = Event.findElement(event,'.cb');
|
||||
document.location = element.select("a").first().href;
|
||||
event.stop();
|
||||
},
|
||||
init : function() {
|
||||
// Check that the browser supports the DOM methods used
|
||||
if (!document.getElementById || !document.createElement || !document.appendChild) return false;
|
||||
@@ -40,6 +63,11 @@ var cbb = {
|
||||
cbb.insertBottom(oOuter);
|
||||
}
|
||||
}
|
||||
$$(".button").invoke('observe','mouseover',cbb.mouseOver);
|
||||
$$(".button").invoke('observe','mouseout',cbb.mouseOut);
|
||||
$$(".button").invoke('observe','mousedown',cbb.mouseDown);
|
||||
$$(".button").invoke('observe','mouseup',cbb.mouseUp);
|
||||
$$(".button").invoke('observe','click',cbb.mouseClick);
|
||||
},
|
||||
insertTop : function(obj) {
|
||||
var oOuter, oInner;
|
||||
|
||||
@@ -48,10 +48,6 @@ form > table > thead th {
|
||||
background-color: #ffedbb;
|
||||
}
|
||||
|
||||
textarea {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.formHelp {
|
||||
min-height: 30px;
|
||||
padding: 5px;
|
||||
@@ -179,6 +175,14 @@ textarea {
|
||||
padding-left: 100px;
|
||||
}
|
||||
|
||||
#header #bar h1 {
|
||||
font-variant: small-caps;
|
||||
font-size: large;
|
||||
font-weight: bold;
|
||||
padding-top: 10px;
|
||||
color: #4d2410;
|
||||
}
|
||||
|
||||
#header #bar #rightborder {
|
||||
width: 6px;
|
||||
height: 70px;
|
||||
@@ -456,7 +460,7 @@ table.content_table {
|
||||
border-bottom: 2px solid #df9b7b;
|
||||
}
|
||||
|
||||
/* Normal styling */
|
||||
/* cbb : Normal styling */
|
||||
.cb {
|
||||
margin:0.5em 0;
|
||||
}
|
||||
@@ -519,7 +523,88 @@ table.content_table {
|
||||
}
|
||||
.i3 {display:inline-block;}
|
||||
.i3 {display:block;}
|
||||
/* Default CSS ends here */
|
||||
|
||||
|
||||
/* cbb button styling */
|
||||
.button {
|
||||
margin: 0;
|
||||
max-width: 400px;
|
||||
display: block;
|
||||
}
|
||||
/* Top corners and border */
|
||||
.button .bt {
|
||||
height:5px;
|
||||
margin:0 0 0 5px;
|
||||
background:url(../images/button-box.png) no-repeat 100% 0;
|
||||
}
|
||||
|
||||
.button .bt div {
|
||||
position:relative;
|
||||
left:-5px;
|
||||
width:5px;
|
||||
height:5px;
|
||||
background:url(../images/button-box.png) no-repeat 0 0;
|
||||
font-size:0;
|
||||
line-height:0;
|
||||
}
|
||||
|
||||
/* Bottom corners and border */
|
||||
.button .bb {
|
||||
height:5px;
|
||||
margin:0 0 0 5px;
|
||||
background:url(../images/button-box.png) no-repeat 100% 100%;
|
||||
}
|
||||
.button .bb div {
|
||||
position:relative;
|
||||
left:-5px;
|
||||
width:5px;
|
||||
height:5px;
|
||||
background:url(../images/button-box.png) no-repeat 0 100%;
|
||||
font-size:0;
|
||||
line-height:0;
|
||||
}
|
||||
|
||||
/* Left border */
|
||||
.button .i1 {
|
||||
padding:0;
|
||||
margin-left: 0;
|
||||
background-color: #a75500;
|
||||
}
|
||||
/* Right border */
|
||||
.button .i2 {
|
||||
padding:0;
|
||||
margin-right: 0;
|
||||
background-color: #a75500;
|
||||
}
|
||||
/* Wrapper for the content. Use it to set the background colour and insert some padding between the borders and the content. */
|
||||
.button .i3 {
|
||||
display:block;
|
||||
margin:0;
|
||||
padding:1px 10px;
|
||||
background: url(../images/button-box.png) no-repeat 1px -5px;
|
||||
}
|
||||
/* Make the content wrapper auto clearing so it will contain floats (see http://positioniseverything.net/easyclearing.html). */
|
||||
.button .i3:after {
|
||||
content:".";
|
||||
display:block;
|
||||
height:0;
|
||||
clear:both;
|
||||
visibility:hidden;
|
||||
}
|
||||
.button .i3 {display:inline-block;}
|
||||
.button .i3 {display:block;}
|
||||
|
||||
.button .hover {
|
||||
background-image: url(../images/button-box-hover.png);
|
||||
}
|
||||
|
||||
.button .down {
|
||||
background-image: url(../images/button-box-down.png);
|
||||
}
|
||||
|
||||
.to-right {
|
||||
float: right;
|
||||
}
|
||||
|
||||
/* @end */
|
||||
|
||||
@@ -537,3 +622,7 @@ table.content_table {
|
||||
background-image: url(../images/button_background_hover.png);
|
||||
}
|
||||
/* @end */
|
||||
|
||||
#loginFull_forgotPassword {
|
||||
float: right;
|
||||
}
|
||||
Reference in New Issue
Block a user