web/data/cubicweb.preferences.css
author Sylvain Thénault <sylvain.thenault@logilab.fr>
Tue, 23 Feb 2010 12:51:20 +0100
branchstable
changeset 4661 87672c718c3c
parent 1870 015dfeaf1d89
child 5767 1d811df051c2
permissions -rw-r--r--
[form] cache field value in form.formvalues using (field, form) key since in some case the same field instance may be shared accross multiple forms, which may share the formvalues dict in case of sub-forms

/* styles for preferences form (views/management.py)
 *
 *  :organization: Logilab
 *  :copyright: 2003-2008 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
 *  :contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
 */


.preferences .validateButton{
 margin-top:0px;
 }

fieldset.preferences{
 border : 1px solid #CFCEB7;
 margin:7px 1em 0;
 padding:2px 6px 6px;
}

div.component {
 margin-left: 1em;
}

div.componentLink{
 margin-top:0.3em;
 }

a.componentTitle{
 font-weight:bold;
 color: #000/*#0083AB;*/
 }

a.componentTitle:visited{
 color: #000;
}

h2.propertiesform a{
 display:block;
 margin: 10px 0px 6px 0px;
 font-weight: bold;
 color: #000;
 padding: 0.2em 0.2em 0.2em 16px;
 background:#eeedd9 url("puce_down.png") 3px center no-repeat;
 font-size:89%;
}

h2.propertiesform a:hover{
 background-color:#cfceb7;
}

h2.propertiesform a:hover,
h2.propertiesform a:visited{
 text-decoration:none;
 color: #000;
}

div.preffield {
 margin-bottom: 5px;
 padding:2px 5px;
 background:#eeedd9;
}

div.prefinput{
 margin:.3em;
}


div.prefinput select.changed,
div.prefinput input.changed{
 border: 1px solid #000;
 font-weight:bold;

}

div.prefinput select,
div.prefinput input{
 background:#fff;
 border: 1px solid #CFCEB7;
}

.prefinput input.error {
 /* background:#fff url(error.png) no-repeat scroll 100% 50% !important; */
 border:1px solid red !important;
 color:red;
 padding-right:1em;
}


div.formsg{
 font-weight:bold;
 margin:0.5em 0px;
}


div.critical{
 color:red;
 padding-left:20px;
 background:#fff url(critical.png) no-repeat;
 }

div.formsg .msg{
 color : green;
}

.helper{
  font-size: 96%;
  color: #555544;
  padding:0;
}

div.prefinput .helper:hover {
  color: #000;
  cursor: default;
}

div.openlink{
 display:inline;
 }