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