web/data/cubicweb.reset.css
author Aurelien Campeas <aurelien.campeas@logilab.fr>
Thu, 24 Oct 2013 13:15:53 +0200
changeset 9395 96dba2efd16d
parent 7743 e55e439a6888
permissions -rw-r--r--
[hooks/security] provide attribute "add" permission As of today, the update permission on attributes is checked at entity *creation* time. This forbids using update permissions the proper way. We set it to be checked at entity update time only. We introduce a specific 'add' permission rule for attributes. For backward compatibility, its default value will be the same as the current 'update' permission. Notes: * needs a new yams version (ticket #149216) * introduces two new 'add_permissions' rdefs (attribute - group|rqlexpr) * if the update permission was () and the bw compat kicks in, the rule is not enforced, to avoid un-creatable entity types -- this restriction will be lifted when the bw compat is gone * small internal refactoring on check_entity_attributes * one small pre 3.6.1 bw compat snippet must be removed from schemaserial Closes #2965518.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
7743
e55e439a6888 [css] closes #1880740: update cubicweb.reset.css file (meyerweb.com)
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 5819
diff changeset
     1
/* http://meyerweb.com/eric/tools/css/reset/ 
e55e439a6888 [css] closes #1880740: update cubicweb.reset.css file (meyerweb.com)
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 5819
diff changeset
     2
   v2.0 | 20110126
e55e439a6888 [css] closes #1880740: update cubicweb.reset.css file (meyerweb.com)
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 5819
diff changeset
     3
   License: none (public domain)
e55e439a6888 [css] closes #1880740: update cubicweb.reset.css file (meyerweb.com)
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 5819
diff changeset
     4
*/
5437
ac19fdcd297b [css] use meyer's public domain reset css
Nicolas Chauvat <nicolas.chauvat@logilab.fr>
parents:
diff changeset
     5
ac19fdcd297b [css] use meyer's public domain reset css
Nicolas Chauvat <nicolas.chauvat@logilab.fr>
parents:
diff changeset
     6
html, body, div, span, applet, object, iframe,
ac19fdcd297b [css] use meyer's public domain reset css
Nicolas Chauvat <nicolas.chauvat@logilab.fr>
parents:
diff changeset
     7
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
ac19fdcd297b [css] use meyer's public domain reset css
Nicolas Chauvat <nicolas.chauvat@logilab.fr>
parents:
diff changeset
     8
a, abbr, acronym, address, big, cite, code,
7743
e55e439a6888 [css] closes #1880740: update cubicweb.reset.css file (meyerweb.com)
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 5819
diff changeset
     9
del, dfn, em, img, ins, kbd, q, s, samp,
5437
ac19fdcd297b [css] use meyer's public domain reset css
Nicolas Chauvat <nicolas.chauvat@logilab.fr>
parents:
diff changeset
    10
small, strike, strong, sub, sup, tt, var,
ac19fdcd297b [css] use meyer's public domain reset css
Nicolas Chauvat <nicolas.chauvat@logilab.fr>
parents:
diff changeset
    11
b, u, i, center,
ac19fdcd297b [css] use meyer's public domain reset css
Nicolas Chauvat <nicolas.chauvat@logilab.fr>
parents:
diff changeset
    12
dl, dt, dd, ol, ul, li,
ac19fdcd297b [css] use meyer's public domain reset css
Nicolas Chauvat <nicolas.chauvat@logilab.fr>
parents:
diff changeset
    13
fieldset, form, label, legend,
7743
e55e439a6888 [css] closes #1880740: update cubicweb.reset.css file (meyerweb.com)
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 5819
diff changeset
    14
table, caption, tbody, tfoot, thead, tr, th, td,
e55e439a6888 [css] closes #1880740: update cubicweb.reset.css file (meyerweb.com)
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 5819
diff changeset
    15
article, aside, canvas, details, embed, 
e55e439a6888 [css] closes #1880740: update cubicweb.reset.css file (meyerweb.com)
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 5819
diff changeset
    16
figure, figcaption, footer, header, hgroup, 
e55e439a6888 [css] closes #1880740: update cubicweb.reset.css file (meyerweb.com)
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 5819
diff changeset
    17
menu, nav, output, ruby, section, summary,
e55e439a6888 [css] closes #1880740: update cubicweb.reset.css file (meyerweb.com)
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 5819
diff changeset
    18
time, mark, audio, video {
e55e439a6888 [css] closes #1880740: update cubicweb.reset.css file (meyerweb.com)
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 5819
diff changeset
    19
	margin: 0;
e55e439a6888 [css] closes #1880740: update cubicweb.reset.css file (meyerweb.com)
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 5819
diff changeset
    20
	padding: 0;
e55e439a6888 [css] closes #1880740: update cubicweb.reset.css file (meyerweb.com)
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 5819
diff changeset
    21
	border: 0;
e55e439a6888 [css] closes #1880740: update cubicweb.reset.css file (meyerweb.com)
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 5819
diff changeset
    22
	font-size: 100%;
e55e439a6888 [css] closes #1880740: update cubicweb.reset.css file (meyerweb.com)
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 5819
diff changeset
    23
	font: inherit;
e55e439a6888 [css] closes #1880740: update cubicweb.reset.css file (meyerweb.com)
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 5819
diff changeset
    24
	vertical-align: baseline;
e55e439a6888 [css] closes #1880740: update cubicweb.reset.css file (meyerweb.com)
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 5819
diff changeset
    25
}
e55e439a6888 [css] closes #1880740: update cubicweb.reset.css file (meyerweb.com)
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 5819
diff changeset
    26
/* HTML5 display-role reset for older browsers */
e55e439a6888 [css] closes #1880740: update cubicweb.reset.css file (meyerweb.com)
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 5819
diff changeset
    27
article, aside, details, figcaption, figure, 
e55e439a6888 [css] closes #1880740: update cubicweb.reset.css file (meyerweb.com)
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 5819
diff changeset
    28
footer, header, hgroup, menu, nav, section {
e55e439a6888 [css] closes #1880740: update cubicweb.reset.css file (meyerweb.com)
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 5819
diff changeset
    29
	display: block;
5437
ac19fdcd297b [css] use meyer's public domain reset css
Nicolas Chauvat <nicolas.chauvat@logilab.fr>
parents:
diff changeset
    30
}
ac19fdcd297b [css] use meyer's public domain reset css
Nicolas Chauvat <nicolas.chauvat@logilab.fr>
parents:
diff changeset
    31
body {
7743
e55e439a6888 [css] closes #1880740: update cubicweb.reset.css file (meyerweb.com)
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 5819
diff changeset
    32
	line-height: 1;
5437
ac19fdcd297b [css] use meyer's public domain reset css
Nicolas Chauvat <nicolas.chauvat@logilab.fr>
parents:
diff changeset
    33
}
ac19fdcd297b [css] use meyer's public domain reset css
Nicolas Chauvat <nicolas.chauvat@logilab.fr>
parents:
diff changeset
    34
ol, ul {
7743
e55e439a6888 [css] closes #1880740: update cubicweb.reset.css file (meyerweb.com)
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 5819
diff changeset
    35
	list-style: none;
5437
ac19fdcd297b [css] use meyer's public domain reset css
Nicolas Chauvat <nicolas.chauvat@logilab.fr>
parents:
diff changeset
    36
}
ac19fdcd297b [css] use meyer's public domain reset css
Nicolas Chauvat <nicolas.chauvat@logilab.fr>
parents:
diff changeset
    37
blockquote, q {
7743
e55e439a6888 [css] closes #1880740: update cubicweb.reset.css file (meyerweb.com)
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 5819
diff changeset
    38
	quotes: none;
5437
ac19fdcd297b [css] use meyer's public domain reset css
Nicolas Chauvat <nicolas.chauvat@logilab.fr>
parents:
diff changeset
    39
}
ac19fdcd297b [css] use meyer's public domain reset css
Nicolas Chauvat <nicolas.chauvat@logilab.fr>
parents:
diff changeset
    40
blockquote:before, blockquote:after,
ac19fdcd297b [css] use meyer's public domain reset css
Nicolas Chauvat <nicolas.chauvat@logilab.fr>
parents:
diff changeset
    41
q:before, q:after {
7743
e55e439a6888 [css] closes #1880740: update cubicweb.reset.css file (meyerweb.com)
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 5819
diff changeset
    42
	content: '';
e55e439a6888 [css] closes #1880740: update cubicweb.reset.css file (meyerweb.com)
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 5819
diff changeset
    43
	content: none;
5437
ac19fdcd297b [css] use meyer's public domain reset css
Nicolas Chauvat <nicolas.chauvat@logilab.fr>
parents:
diff changeset
    44
}
ac19fdcd297b [css] use meyer's public domain reset css
Nicolas Chauvat <nicolas.chauvat@logilab.fr>
parents:
diff changeset
    45
table {
7743
e55e439a6888 [css] closes #1880740: update cubicweb.reset.css file (meyerweb.com)
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 5819
diff changeset
    46
	border-collapse: collapse;
e55e439a6888 [css] closes #1880740: update cubicweb.reset.css file (meyerweb.com)
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 5819
diff changeset
    47
	border-spacing: 0;
5819
1017163825c7 [css] more css rework, need visual test in compat/new modes
katia
parents: 5479
diff changeset
    48
}