cubicweb/web/data/cubicweb.schema.css
author Denis Laxalde <denis.laxalde@logilab.fr>
Sat, 16 Jan 2016 13:48:51 +0100
changeset 11057 0b59724cb3f2
parent 5767 web/data/cubicweb.schema.css@1d811df051c2
permissions -rw-r--r--
Reorganize source tree to have a "cubicweb" top-level package Basically: mkdir cubicweb hg mv *.py -X setup.py cubicweb hg mv dataimport devtools entities etwist ext hooks i18n misc schemas server skeleton sobjects test web wsgi cubicweb Other changes: * adjust path to cubicweb-ctl in devtools tests * update setup.py to avoid importing __pkginfo__ (exec it instead), replace os.path.walk by os.walk and prepend `modname` here and there * update tox.ini to account for new test locations * update doc/conf.py so that it still finds __pkginfo__.py and CWDIR in doc/Makefile

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


.titleUnderline {
  color: #000;
  clear: left;
  margin: 0px;
  padding-top: 0.5em;
  border-bottom: 1px solid black;
}


div.relationDefinition {
  float: left;
  position: relative;
  width: 60%;
  padding: 0;
}

div.acl{
  position: relative;
/*  right: 20%;*/
  width: 25%;
  padding:0px 0px 0px 2em;
}

div.acl table td,
div.acl table tr {
    padding: 2px 2px 2px 2px;
}

div.schema table {
  width : 100%;
}

div.entityAttributes{
 margin: 3em 0 5em;
 font: normal 9pt Arial;
}

div.box div.title{
 padding:0.2em 0.2em;
 margin: 0 auto;
}

span.stereotype {
  font-style: italic;
  font-size:  80%;
}

div.box div.line span{
 padding: 0 1em;
}

div.body{
 padding : 0.2em;
 padding-bottom : 0.4em;
 overflow: auto;
}

div.body table td{
 padding:0.4em;
 }

div.box{
 float:left;
 border:1px solid black;
}

div.vl{
 float:left;
 position:relative;
 margin-top:1em;
 border-top:1px solid black;
 line-height : 1px;
 width: 1em;
 height : 0px}

div.hl{
 float:left;
 position:relative;
 margin-top:1em;
 border-left:1px solid black;
 width: 1px;
 height : 10px
}

div.rels{
 float:left;
 position:relative;
 margin-top:1em;
 border-left:1px solid black;
 margin-left:-2px;}

div.firstrel, div.rel, div.lastrel{
 line-height:1em;
 border:1px solid white;
 border-bottom:1px solid black;
 padding: 0px 0.6em 0.2em;
}

/* FIXME set to 9em or an image*/
div.rel, div.lastrel{
 margin-top:0.7em}

div.vars{
 float:left;
}

div.firstvar, div.var, div.lastvar{
 line-height:1em;
 border:1px solid black;
 padding:0.2em}

div.firstvar{
 margin-top:1em;}

div.var{
 margin-top:0.5em;
}

div.lastvar{
 border:none;
}

div.firstvar a,
div.var a,
div.rel a,
div.firstrel a{
 padding:0px ! important;
 margin : 0px ! important;
}