web/data/cubicweb.acl.css
author Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
Thu, 12 Nov 2009 18:27:59 +0100
branchstable
changeset 3834 e3e64352063d
parent 1494 d68aac1cda0d
child 5232 78c1a531f7b3
permissions -rw-r--r--
[javascript] fid form / onfailure behaviour If onfailure is specified, it should be done _before_ any default / standard CW action is done. The callback signature should be the same as the onsuccess one. If the onfailure callback returns true, the default actions will still take place afterwards, otherwise (i.e. return false), the processing stops directly after the callback.

/* styles for access control forms)
 *
 *  :organization: Logilab
 *  :copyright: 2003-2008 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
 *  :contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
 */

/******************************************************************************/
/* security edition form (views/management.py)                                */
/******************************************************************************/

h2.schema{
 background : #ff7700;
 color: #fff;
 font-weight: bold;
 padding : 0.1em 0.3em;
}


h3.schema{ 
 font-weight: bold;
}

h4 a,
h4 a:link,
h4 a:visited{ 
 color:#000;
 }

table.schemaInfo {
  margin: 1em 0em;
  text-align: left;
  border: 1px solid black;
  border-collapse: collapse;
  width:100%;
}

table.schemaInfo th,
table.schemaInfo td {
  padding: .3em .5em;
  border: 1px solid grey;
  width:33%; 
}


table.schemaInfo tr th {   
 padding: 0.2em 0px 0.2em 5px;
 background-image:none;
 background-color:#dfdfdf;
}

table.schemaInfo thead tr {
  border: 1px solid #dfdfdf;
} 

table.schemaInfo td {
  padding: 3px 10px 3px 5px; 

}

.users{ 
 color : #00CC33;
 font-weight: bold }

.guests{ 
 color :  #ff7700;
 font-weight: bold;
}

.staff{  
 color : #0083ab;
 font-weight: bold;
}

.owners{ 
 color : #8b0000;
 font-weight: bold;
}

.discret,
a.grey{ 
 color:#666;
}

a.grey:hover{ 
 color:#000;
}

.red{ 
 color :  #ff7700;
 }

div#schema_security{ 
 width:780px;
 }
/******************************************************************************/
/* user groups edition form (views/euser.py)                                  */
/******************************************************************************/

table#groupedit {
  margin: 1ex 1em;
  text-align: left;
  border: 1px solid black;
  border-collapse: collapse;
}

table#groupedit th,
table#groupedit td {
  padding: 0.5em 1em;
}

table#groupedit tr {
  border-bottom: 1px solid black;
}

table#groupedit tr.nogroup {
  border: 1px solid red;
  margin: 1px;
}

table#groupedit td {
  text-align: center;
  padding: 0.5em;
}