web/data/cubicweb.schema.css
author Sylvain Thénault <sylvain.thenault@logilab.fr>
Mon, 26 Sep 2011 17:48:48 +0200
branchstable
changeset 7858 f91255a3b2c2
parent 5767 1d811df051c2
permissions -rw-r--r--
[web request] fix stupid error that gone through the review
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
0
b97547f5f1fa Showtime !
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
diff changeset
     1
/* styles for schema views
b97547f5f1fa Showtime !
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
diff changeset
     2
 *
b97547f5f1fa Showtime !
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
diff changeset
     3
 *  :organization: Logilab
5767
1d811df051c2 [packaging] MANIFEST.in cleanups, update js/css copyright, remove no more used files
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 5461
diff changeset
     4
 *  :copyright: 2003-2010 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
0
b97547f5f1fa Showtime !
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
diff changeset
     5
 *  :contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
b97547f5f1fa Showtime !
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
diff changeset
     6
 */
b97547f5f1fa Showtime !
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
diff changeset
     7
850
b747f1a1ced0 Split cubicweb.css into small parts
Julien Jehannet <julien.jehannet@logilab.fr>
parents: 0
diff changeset
     8
b747f1a1ced0 Split cubicweb.css into small parts
Julien Jehannet <julien.jehannet@logilab.fr>
parents: 0
diff changeset
     9
.titleUnderline {
b747f1a1ced0 Split cubicweb.css into small parts
Julien Jehannet <julien.jehannet@logilab.fr>
parents: 0
diff changeset
    10
  color: #000;
b747f1a1ced0 Split cubicweb.css into small parts
Julien Jehannet <julien.jehannet@logilab.fr>
parents: 0
diff changeset
    11
  clear: left;
b747f1a1ced0 Split cubicweb.css into small parts
Julien Jehannet <julien.jehannet@logilab.fr>
parents: 0
diff changeset
    12
  margin: 0px;
b747f1a1ced0 Split cubicweb.css into small parts
Julien Jehannet <julien.jehannet@logilab.fr>
parents: 0
diff changeset
    13
  padding-top: 0.5em;
b747f1a1ced0 Split cubicweb.css into small parts
Julien Jehannet <julien.jehannet@logilab.fr>
parents: 0
diff changeset
    14
  border-bottom: 1px solid black;
b747f1a1ced0 Split cubicweb.css into small parts
Julien Jehannet <julien.jehannet@logilab.fr>
parents: 0
diff changeset
    15
}
b747f1a1ced0 Split cubicweb.css into small parts
Julien Jehannet <julien.jehannet@logilab.fr>
parents: 0
diff changeset
    16
b747f1a1ced0 Split cubicweb.css into small parts
Julien Jehannet <julien.jehannet@logilab.fr>
parents: 0
diff changeset
    17
5461
68c51466a685 [css] fix schema css + d-t-w
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents: 5233
diff changeset
    18
div.relationDefinition {
68c51466a685 [css] fix schema css + d-t-w
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents: 5233
diff changeset
    19
  float: left;
0
b97547f5f1fa Showtime !
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
diff changeset
    20
  position: relative;
b97547f5f1fa Showtime !
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
diff changeset
    21
  width: 60%;
b97547f5f1fa Showtime !
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
diff changeset
    22
  padding: 0;
b97547f5f1fa Showtime !
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
diff changeset
    23
}
b97547f5f1fa Showtime !
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
diff changeset
    24
5461
68c51466a685 [css] fix schema css + d-t-w
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents: 5233
diff changeset
    25
div.acl{
0
b97547f5f1fa Showtime !
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
diff changeset
    26
  position: relative;
b97547f5f1fa Showtime !
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
diff changeset
    27
/*  right: 20%;*/
5233
673b63953e7a ticket #787103, entity schema view enhancements
Sandrine Ribeau <sandrine.ribeau@logilab.fr>
parents: 850
diff changeset
    28
  width: 25%;
0
b97547f5f1fa Showtime !
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
diff changeset
    29
  padding:0px 0px 0px 2em;
b97547f5f1fa Showtime !
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
diff changeset
    30
}
b97547f5f1fa Showtime !
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
diff changeset
    31
5461
68c51466a685 [css] fix schema css + d-t-w
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents: 5233
diff changeset
    32
div.acl table td,
68c51466a685 [css] fix schema css + d-t-w
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents: 5233
diff changeset
    33
div.acl table tr {
5233
673b63953e7a ticket #787103, entity schema view enhancements
Sandrine Ribeau <sandrine.ribeau@logilab.fr>
parents: 850
diff changeset
    34
    padding: 2px 2px 2px 2px;
673b63953e7a ticket #787103, entity schema view enhancements
Sandrine Ribeau <sandrine.ribeau@logilab.fr>
parents: 850
diff changeset
    35
}
673b63953e7a ticket #787103, entity schema view enhancements
Sandrine Ribeau <sandrine.ribeau@logilab.fr>
parents: 850
diff changeset
    36
0
b97547f5f1fa Showtime !
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
diff changeset
    37
div.schema table {
b97547f5f1fa Showtime !
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
diff changeset
    38
  width : 100%;
b97547f5f1fa Showtime !
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
diff changeset
    39
}
b97547f5f1fa Showtime !
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
diff changeset
    40
5461
68c51466a685 [css] fix schema css + d-t-w
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents: 5233
diff changeset
    41
div.entityAttributes{
68c51466a685 [css] fix schema css + d-t-w
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents: 5233
diff changeset
    42
 margin: 3em 0 5em;
0
b97547f5f1fa Showtime !
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
diff changeset
    43
 font: normal 9pt Arial;
b97547f5f1fa Showtime !
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
diff changeset
    44
}
b97547f5f1fa Showtime !
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
diff changeset
    45
b97547f5f1fa Showtime !
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
diff changeset
    46
div.box div.title{
b97547f5f1fa Showtime !
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
diff changeset
    47
 padding:0.2em 0.2em;
b97547f5f1fa Showtime !
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
diff changeset
    48
 margin: 0 auto;
b97547f5f1fa Showtime !
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
diff changeset
    49
}
b97547f5f1fa Showtime !
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
diff changeset
    50
b97547f5f1fa Showtime !
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
diff changeset
    51
span.stereotype {
b97547f5f1fa Showtime !
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
diff changeset
    52
  font-style: italic;
b97547f5f1fa Showtime !
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
diff changeset
    53
  font-size:  80%;
b97547f5f1fa Showtime !
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
diff changeset
    54
}
b97547f5f1fa Showtime !
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
diff changeset
    55
b97547f5f1fa Showtime !
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
diff changeset
    56
div.box div.line span{
b97547f5f1fa Showtime !
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
diff changeset
    57
 padding: 0 1em;
b97547f5f1fa Showtime !
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
diff changeset
    58
}
b97547f5f1fa Showtime !
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
diff changeset
    59
b97547f5f1fa Showtime !
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
diff changeset
    60
div.body{
b97547f5f1fa Showtime !
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
diff changeset
    61
 padding : 0.2em;
5461
68c51466a685 [css] fix schema css + d-t-w
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents: 5233
diff changeset
    62
 padding-bottom : 0.4em;
0
b97547f5f1fa Showtime !
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
diff changeset
    63
 overflow: auto;
b97547f5f1fa Showtime !
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
diff changeset
    64
}
b97547f5f1fa Showtime !
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
diff changeset
    65
b97547f5f1fa Showtime !
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
diff changeset
    66
div.body table td{
5461
68c51466a685 [css] fix schema css + d-t-w
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents: 5233
diff changeset
    67
 padding:0.4em;
0
b97547f5f1fa Showtime !
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
diff changeset
    68
 }
b97547f5f1fa Showtime !
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
diff changeset
    69
b97547f5f1fa Showtime !
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
diff changeset
    70
div.box{
b97547f5f1fa Showtime !
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
diff changeset
    71
 float:left;
b97547f5f1fa Showtime !
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
diff changeset
    72
 border:1px solid black;
b97547f5f1fa Showtime !
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
diff changeset
    73
}
b97547f5f1fa Showtime !
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
diff changeset
    74
b97547f5f1fa Showtime !
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
diff changeset
    75
div.vl{
b97547f5f1fa Showtime !
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
diff changeset
    76
 float:left;
5461
68c51466a685 [css] fix schema css + d-t-w
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents: 5233
diff changeset
    77
 position:relative;
68c51466a685 [css] fix schema css + d-t-w
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents: 5233
diff changeset
    78
 margin-top:1em;
68c51466a685 [css] fix schema css + d-t-w
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents: 5233
diff changeset
    79
 border-top:1px solid black;
68c51466a685 [css] fix schema css + d-t-w
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents: 5233
diff changeset
    80
 line-height : 1px;
68c51466a685 [css] fix schema css + d-t-w
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents: 5233
diff changeset
    81
 width: 1em;
0
b97547f5f1fa Showtime !
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
diff changeset
    82
 height : 0px}
b97547f5f1fa Showtime !
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
diff changeset
    83
b97547f5f1fa Showtime !
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
diff changeset
    84
div.hl{
b97547f5f1fa Showtime !
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
diff changeset
    85
 float:left;
5461
68c51466a685 [css] fix schema css + d-t-w
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents: 5233
diff changeset
    86
 position:relative;
68c51466a685 [css] fix schema css + d-t-w
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents: 5233
diff changeset
    87
 margin-top:1em;
68c51466a685 [css] fix schema css + d-t-w
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents: 5233
diff changeset
    88
 border-left:1px solid black;
68c51466a685 [css] fix schema css + d-t-w
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents: 5233
diff changeset
    89
 width: 1px;
0
b97547f5f1fa Showtime !
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
diff changeset
    90
 height : 10px
b97547f5f1fa Showtime !
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
diff changeset
    91
}
b97547f5f1fa Showtime !
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
diff changeset
    92
b97547f5f1fa Showtime !
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
diff changeset
    93
div.rels{
5461
68c51466a685 [css] fix schema css + d-t-w
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents: 5233
diff changeset
    94
 float:left;
68c51466a685 [css] fix schema css + d-t-w
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents: 5233
diff changeset
    95
 position:relative;
68c51466a685 [css] fix schema css + d-t-w
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents: 5233
diff changeset
    96
 margin-top:1em;
68c51466a685 [css] fix schema css + d-t-w
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents: 5233
diff changeset
    97
 border-left:1px solid black;
0
b97547f5f1fa Showtime !
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
diff changeset
    98
 margin-left:-2px;}
b97547f5f1fa Showtime !
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
diff changeset
    99
b97547f5f1fa Showtime !
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
diff changeset
   100
div.firstrel, div.rel, div.lastrel{
b97547f5f1fa Showtime !
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
diff changeset
   101
 line-height:1em;
b97547f5f1fa Showtime !
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
diff changeset
   102
 border:1px solid white;
b97547f5f1fa Showtime !
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
diff changeset
   103
 border-bottom:1px solid black;
b97547f5f1fa Showtime !
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
diff changeset
   104
 padding: 0px 0.6em 0.2em;
b97547f5f1fa Showtime !
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
diff changeset
   105
}
b97547f5f1fa Showtime !
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
diff changeset
   106
b97547f5f1fa Showtime !
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
diff changeset
   107
/* FIXME set to 9em or an image*/
5461
68c51466a685 [css] fix schema css + d-t-w
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents: 5233
diff changeset
   108
div.rel, div.lastrel{
0
b97547f5f1fa Showtime !
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
diff changeset
   109
 margin-top:0.7em}
b97547f5f1fa Showtime !
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
diff changeset
   110
b97547f5f1fa Showtime !
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
diff changeset
   111
div.vars{
b97547f5f1fa Showtime !
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
diff changeset
   112
 float:left;
b97547f5f1fa Showtime !
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
diff changeset
   113
}
b97547f5f1fa Showtime !
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
diff changeset
   114
b97547f5f1fa Showtime !
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
diff changeset
   115
div.firstvar, div.var, div.lastvar{
b97547f5f1fa Showtime !
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
diff changeset
   116
 line-height:1em;
5461
68c51466a685 [css] fix schema css + d-t-w
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents: 5233
diff changeset
   117
 border:1px solid black;
0
b97547f5f1fa Showtime !
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
diff changeset
   118
 padding:0.2em}
b97547f5f1fa Showtime !
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
diff changeset
   119
b97547f5f1fa Showtime !
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
diff changeset
   120
div.firstvar{
b97547f5f1fa Showtime !
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
diff changeset
   121
 margin-top:1em;}
b97547f5f1fa Showtime !
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
diff changeset
   122
b97547f5f1fa Showtime !
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
diff changeset
   123
div.var{
5461
68c51466a685 [css] fix schema css + d-t-w
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents: 5233
diff changeset
   124
 margin-top:0.5em;
0
b97547f5f1fa Showtime !
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
diff changeset
   125
}
b97547f5f1fa Showtime !
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
diff changeset
   126
b97547f5f1fa Showtime !
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
diff changeset
   127
div.lastvar{
b97547f5f1fa Showtime !
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
diff changeset
   128
 border:none;
b97547f5f1fa Showtime !
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
diff changeset
   129
}
b97547f5f1fa Showtime !
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
diff changeset
   130
5461
68c51466a685 [css] fix schema css + d-t-w
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents: 5233
diff changeset
   131
div.firstvar a,
0
b97547f5f1fa Showtime !
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
diff changeset
   132
div.var a,
b97547f5f1fa Showtime !
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
diff changeset
   133
div.rel a,
5461
68c51466a685 [css] fix schema css + d-t-w
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents: 5233
diff changeset
   134
div.firstrel a{
0
b97547f5f1fa Showtime !
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
diff changeset
   135
 padding:0px ! important;
5461
68c51466a685 [css] fix schema css + d-t-w
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents: 5233
diff changeset
   136
 margin : 0px ! important;
0
b97547f5f1fa Showtime !
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
diff changeset
   137
}