author | Adrien Di Mascio <Adrien.DiMascio@logilab.fr> |
Fri, 27 Aug 2010 13:44:55 +0200 | |
branch | stable |
changeset 6165 | 7da7c270bbbd |
parent 5767 | 1d811df051c2 |
permissions | -rw-r--r-- |
0 | 1 |
/* styles for schema views |
2 |
* |
|
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 | 5 |
* :contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr |
6 |
*/ |
|
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 | 20 |
position: relative; |
21 |
width: 60%; |
|
22 |
padding: 0; |
|
23 |
} |
|
24 |
||
5461
68c51466a685
[css] fix schema css + d-t-w
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents:
5233
diff
changeset
|
25 |
div.acl{ |
0 | 26 |
position: relative; |
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 | 29 |
padding:0px 0px 0px 2em; |
30 |
} |
|
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 | 37 |
div.schema table { |
38 |
width : 100%; |
|
39 |
} |
|
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 | 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; |
|
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 | 63 |
overflow: auto; |
64 |
} |
|
65 |
||
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 | 68 |
} |
69 |
||
70 |
div.box{ |
|
71 |
float:left; |
|
72 |
border:1px solid black; |
|
73 |
} |
|
74 |
||
75 |
div.vl{ |
|
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 | 82 |
height : 0px} |
83 |
||
84 |
div.hl{ |
|
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 | 90 |
height : 10px |
91 |
} |
|
92 |
||
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 | 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*/ |
|
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 | 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; |
|
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 | 118 |
padding:0.2em} |
119 |
||
120 |
div.firstvar{ |
|
121 |
margin-top:1em;} |
|
122 |
||
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 | 125 |
} |
126 |
||
127 |
div.lastvar{ |
|
128 |
border:none; |
|
129 |
} |
|
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 | 132 |
div.var a, |
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 | 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 | 137 |
} |