web/data/cubicweb.schema.css
changeset 0 b97547f5f1fa
child 850 b747f1a1ced0
equal deleted inserted replaced
-1:000000000000 0:b97547f5f1fa
       
     1 /* styles for schema views
       
     2  *
       
     3  *  :organization: Logilab
       
     4  *  :copyright: 2003-2008 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
       
     5  *  :contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
       
     6  */
       
     7 
       
     8 div.relationDefinition { 
       
     9   float: left;   
       
    10   position: relative;
       
    11   width: 60%;
       
    12   padding: 0;
       
    13 }
       
    14 
       
    15 div.acl{ 
       
    16   position: relative;
       
    17 /*  right: 20%;*/
       
    18   float: right; 
       
    19   width: 10%;
       
    20   padding:0px 0px 0px 2em;
       
    21 }
       
    22 
       
    23 div.schema table {
       
    24   width : 100%;
       
    25 }
       
    26 
       
    27 div.entityAttributes{ 
       
    28  margin: 3em 0 5em; 
       
    29  font: normal 9pt Arial;
       
    30 }
       
    31 
       
    32 div.box div.title{
       
    33  border-bottom:1px solid black;
       
    34  padding:0.2em 0.2em;
       
    35  margin: 0 auto;
       
    36 }
       
    37 
       
    38 span.stereotype {
       
    39   font-style: italic;
       
    40   font-size:  80%;
       
    41 }
       
    42 
       
    43 div.box div.line span{
       
    44  padding: 0 1em;
       
    45 }
       
    46 
       
    47 div.body{
       
    48  padding : 0.2em;
       
    49  padding-bottom : 0.4em; 
       
    50  overflow: auto;
       
    51 }
       
    52 
       
    53 div.body table td{
       
    54  padding:0.4em; 
       
    55  }
       
    56 
       
    57 div.box{
       
    58  float:left;
       
    59  border:1px solid black;
       
    60  width:50%; 
       
    61 }
       
    62 
       
    63 div.vl{
       
    64  float:left;
       
    65  position:relative; 
       
    66  margin-top:1em; 
       
    67  border-top:1px solid black; 
       
    68  line-height : 1px; 
       
    69  width: 1em; 
       
    70  height : 0px}
       
    71 
       
    72 div.hl{
       
    73  float:left;
       
    74  position:relative; 
       
    75  margin-top:1em;  
       
    76  border-left:1px solid black; 
       
    77  width: 1px; 
       
    78  height : 10px
       
    79 }
       
    80 
       
    81 div.rels{
       
    82  float:left; 
       
    83  position:relative; 
       
    84  margin-top:1em; 
       
    85  border-left:1px solid black;  
       
    86  margin-left:-2px;}
       
    87 
       
    88 div.firstrel, div.rel, div.lastrel{
       
    89  line-height:1em;
       
    90  border:1px solid white;
       
    91  border-bottom:1px solid black;
       
    92  padding: 0px 0.6em 0.2em;
       
    93 }
       
    94 
       
    95 /* FIXME set to 9em or an image*/
       
    96 div.rel, div.lastrel{ 
       
    97  margin-top:0.7em}
       
    98 
       
    99 div.vars{
       
   100  float:left;
       
   101 }
       
   102 
       
   103 div.firstvar, div.var, div.lastvar{
       
   104  line-height:1em;
       
   105  border:1px solid black; 
       
   106  padding:0.2em}
       
   107 
       
   108 div.firstvar{
       
   109  margin-top:1em;}
       
   110 
       
   111 div.var{
       
   112  margin-top:0.5em; 
       
   113 }
       
   114 
       
   115 div.lastvar{
       
   116  border:none;
       
   117 }
       
   118 
       
   119 div.firstvar a, 
       
   120 div.var a,
       
   121 div.rel a,
       
   122 div.firstrel a{ 
       
   123  padding:0px ! important;
       
   124  margin : 0px ! important; 
       
   125 }