web/data/cubicweb.preferences.css
author Sylvain Thénault <sylvain.thenault@logilab.fr>
Fri, 20 May 2011 17:20:51 +0200
branchstable
changeset 7408 9ad9ce340c5f
parent 5819 1017163825c7
permissions -rw-r--r--
[form rendering] some refactoring to ease FormRenderer overriding
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 preferences form (views/management.py)
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: 1870
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
5819
1017163825c7 [css] more css rework, need visual test in compat/new modes
katia
parents: 5767
diff changeset
     8
div.propertiesform {
1017163825c7 [css] more css rework, need visual test in compat/new modes
katia
parents: 5767
diff changeset
     9
  margin-bottom: 1.2857em;
1017163825c7 [css] more css rework, need visual test in compat/new modes
katia
parents: 5767
diff changeset
    10
  line-height: 1.2857em;
1017163825c7 [css] more css rework, need visual test in compat/new modes
katia
parents: 5767
diff changeset
    11
  font-size: %(h3FontSize)s;
1017163825c7 [css] more css rework, need visual test in compat/new modes
katia
parents: 5767
diff changeset
    12
}
1611
5f9889daf662 style for preferences
Katia Saurfelt <katia.saurfelt@logilab.fr>
parents: 0
diff changeset
    13
5819
1017163825c7 [css] more css rework, need visual test in compat/new modes
katia
parents: 5767
diff changeset
    14
div.propertiesform a {
1017163825c7 [css] more css rework, need visual test in compat/new modes
katia
parents: 5767
diff changeset
    15
  display: block;
1017163825c7 [css] more css rework, need visual test in compat/new modes
katia
parents: 5767
diff changeset
    16
  margin: 10px 0px 6px 0px;
1017163825c7 [css] more css rework, need visual test in compat/new modes
katia
parents: 5767
diff changeset
    17
  padding-left: 16px;
1017163825c7 [css] more css rework, need visual test in compat/new modes
katia
parents: 5767
diff changeset
    18
  font-weight: bold;
1017163825c7 [css] more css rework, need visual test in compat/new modes
katia
parents: 5767
diff changeset
    19
  color: #000;
1017163825c7 [css] more css rework, need visual test in compat/new modes
katia
parents: 5767
diff changeset
    20
  background: transparent url("puce_down.png") 3px center no-repeat;
1017163825c7 [css] more css rework, need visual test in compat/new modes
katia
parents: 5767
diff changeset
    21
  text-decoration:none;
1017163825c7 [css] more css rework, need visual test in compat/new modes
katia
parents: 5767
diff changeset
    22
}
1017163825c7 [css] more css rework, need visual test in compat/new modes
katia
parents: 5767
diff changeset
    23
1017163825c7 [css] more css rework, need visual test in compat/new modes
katia
parents: 5767
diff changeset
    24
div.propertiesform a:hover {
1017163825c7 [css] more css rework, need visual test in compat/new modes
katia
parents: 5767
diff changeset
    25
  background-color: %(listingHeaderBgColor)s;
1017163825c7 [css] more css rework, need visual test in compat/new modes
katia
parents: 5767
diff changeset
    26
}
1017163825c7 [css] more css rework, need visual test in compat/new modes
katia
parents: 5767
diff changeset
    27
1017163825c7 [css] more css rework, need visual test in compat/new modes
katia
parents: 5767
diff changeset
    28
.preferences .validateButton {
1017163825c7 [css] more css rework, need visual test in compat/new modes
katia
parents: 5767
diff changeset
    29
  margin-top: 0px;
1611
5f9889daf662 style for preferences
Katia Saurfelt <katia.saurfelt@logilab.fr>
parents: 0
diff changeset
    30
 }
5f9889daf662 style for preferences
Katia Saurfelt <katia.saurfelt@logilab.fr>
parents: 0
diff changeset
    31
5819
1017163825c7 [css] more css rework, need visual test in compat/new modes
katia
parents: 5767
diff changeset
    32
fieldset.preferences {
1017163825c7 [css] more css rework, need visual test in compat/new modes
katia
parents: 5767
diff changeset
    33
  margin: 7px 1em 0;
1017163825c7 [css] more css rework, need visual test in compat/new modes
katia
parents: 5767
diff changeset
    34
  padding: 2px 6px 6px;
1017163825c7 [css] more css rework, need visual test in compat/new modes
katia
parents: 5767
diff changeset
    35
  border : 1px solid %(pageContentBorderColor)s;
1611
5f9889daf662 style for preferences
Katia Saurfelt <katia.saurfelt@logilab.fr>
parents: 0
diff changeset
    36
}
5f9889daf662 style for preferences
Katia Saurfelt <katia.saurfelt@logilab.fr>
parents: 0
diff changeset
    37
1870
015dfeaf1d89 trailing space cleanup, js lint, a small indent for preference sections
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents: 1865
diff changeset
    38
div.component {
5819
1017163825c7 [css] more css rework, need visual test in compat/new modes
katia
parents: 5767
diff changeset
    39
  margin: 0 0 1em 16px;
0
b97547f5f1fa Showtime !
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
diff changeset
    40
}
b97547f5f1fa Showtime !
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
diff changeset
    41
5819
1017163825c7 [css] more css rework, need visual test in compat/new modes
katia
parents: 5767
diff changeset
    42
a.componentTitle {
0
b97547f5f1fa Showtime !
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
diff changeset
    43
 font-weight: bold;
5819
1017163825c7 [css] more css rework, need visual test in compat/new modes
katia
parents: 5767
diff changeset
    44
 color: #000
1865
62d3726ad8cb restore ajax validation cwpreferencies
Katia Saurfelt <katia.saurfelt@logilab.fr>
parents: 1611
diff changeset
    45
}
62d3726ad8cb restore ajax validation cwpreferencies
Katia Saurfelt <katia.saurfelt@logilab.fr>
parents: 1611
diff changeset
    46
5819
1017163825c7 [css] more css rework, need visual test in compat/new modes
katia
parents: 5767
diff changeset
    47
a.componentTitle:visited {
1017163825c7 [css] more css rework, need visual test in compat/new modes
katia
parents: 5767
diff changeset
    48
  color: #000;
0
b97547f5f1fa Showtime !
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
diff changeset
    49
}
1611
5f9889daf662 style for preferences
Katia Saurfelt <katia.saurfelt@logilab.fr>
parents: 0
diff changeset
    50
1865
62d3726ad8cb restore ajax validation cwpreferencies
Katia Saurfelt <katia.saurfelt@logilab.fr>
parents: 1611
diff changeset
    51
div.preffield {
5819
1017163825c7 [css] more css rework, need visual test in compat/new modes
katia
parents: 5767
diff changeset
    52
  margin-bottom: 5px;
1017163825c7 [css] more css rework, need visual test in compat/new modes
katia
parents: 5767
diff changeset
    53
  padding: 2px 5px;
1017163825c7 [css] more css rework, need visual test in compat/new modes
katia
parents: 5767
diff changeset
    54
  background: %(listingHeaderBgColor)s;
1865
62d3726ad8cb restore ajax validation cwpreferencies
Katia Saurfelt <katia.saurfelt@logilab.fr>
parents: 1611
diff changeset
    55
}
62d3726ad8cb restore ajax validation cwpreferencies
Katia Saurfelt <katia.saurfelt@logilab.fr>
parents: 1611
diff changeset
    56
5819
1017163825c7 [css] more css rework, need visual test in compat/new modes
katia
parents: 5767
diff changeset
    57
div.prefinput {
1017163825c7 [css] more css rework, need visual test in compat/new modes
katia
parents: 5767
diff changeset
    58
  margin: .3em;
1865
62d3726ad8cb restore ajax validation cwpreferencies
Katia Saurfelt <katia.saurfelt@logilab.fr>
parents: 1611
diff changeset
    59
}
62d3726ad8cb restore ajax validation cwpreferencies
Katia Saurfelt <katia.saurfelt@logilab.fr>
parents: 1611
diff changeset
    60
1611
5f9889daf662 style for preferences
Katia Saurfelt <katia.saurfelt@logilab.fr>
parents: 0
diff changeset
    61
div.prefinput select.changed,
5819
1017163825c7 [css] more css rework, need visual test in compat/new modes
katia
parents: 5767
diff changeset
    62
div.prefinput input.changed {
1017163825c7 [css] more css rework, need visual test in compat/new modes
katia
parents: 5767
diff changeset
    63
  border: 1px solid #000;
1017163825c7 [css] more css rework, need visual test in compat/new modes
katia
parents: 5767
diff changeset
    64
  font-weight: bold;
1611
5f9889daf662 style for preferences
Katia Saurfelt <katia.saurfelt@logilab.fr>
parents: 0
diff changeset
    65
}
5f9889daf662 style for preferences
Katia Saurfelt <katia.saurfelt@logilab.fr>
parents: 0
diff changeset
    66
5f9889daf662 style for preferences
Katia Saurfelt <katia.saurfelt@logilab.fr>
parents: 0
diff changeset
    67
.prefinput input.error {
5819
1017163825c7 [css] more css rework, need visual test in compat/new modes
katia
parents: 5767
diff changeset
    68
  border:1px solid red !important;
1017163825c7 [css] more css rework, need visual test in compat/new modes
katia
parents: 5767
diff changeset
    69
  color:red;
1017163825c7 [css] more css rework, need visual test in compat/new modes
katia
parents: 5767
diff changeset
    70
  padding-right:1em;
1611
5f9889daf662 style for preferences
Katia Saurfelt <katia.saurfelt@logilab.fr>
parents: 0
diff changeset
    71
}
5f9889daf662 style for preferences
Katia Saurfelt <katia.saurfelt@logilab.fr>
parents: 0
diff changeset
    72
5819
1017163825c7 [css] more css rework, need visual test in compat/new modes
katia
parents: 5767
diff changeset
    73
div.formsg {
1017163825c7 [css] more css rework, need visual test in compat/new modes
katia
parents: 5767
diff changeset
    74
  font-weight: bold;
1017163825c7 [css] more css rework, need visual test in compat/new modes
katia
parents: 5767
diff changeset
    75
  margin: 0.5em 0px;
1865
62d3726ad8cb restore ajax validation cwpreferencies
Katia Saurfelt <katia.saurfelt@logilab.fr>
parents: 1611
diff changeset
    76
}
1611
5f9889daf662 style for preferences
Katia Saurfelt <katia.saurfelt@logilab.fr>
parents: 0
diff changeset
    77
5819
1017163825c7 [css] more css rework, need visual test in compat/new modes
katia
parents: 5767
diff changeset
    78
div.critical {
1017163825c7 [css] more css rework, need visual test in compat/new modes
katia
parents: 5767
diff changeset
    79
  color: red;
1017163825c7 [css] more css rework, need visual test in compat/new modes
katia
parents: 5767
diff changeset
    80
  padding-left: 20px;
1017163825c7 [css] more css rework, need visual test in compat/new modes
katia
parents: 5767
diff changeset
    81
  background: #fff url(critical.png) no-repeat;
1611
5f9889daf662 style for preferences
Katia Saurfelt <katia.saurfelt@logilab.fr>
parents: 0
diff changeset
    82
 }
5f9889daf662 style for preferences
Katia Saurfelt <katia.saurfelt@logilab.fr>
parents: 0
diff changeset
    83
5819
1017163825c7 [css] more css rework, need visual test in compat/new modes
katia
parents: 5767
diff changeset
    84
div.formsg .msg {
1017163825c7 [css] more css rework, need visual test in compat/new modes
katia
parents: 5767
diff changeset
    85
  color: green;
1611
5f9889daf662 style for preferences
Katia Saurfelt <katia.saurfelt@logilab.fr>
parents: 0
diff changeset
    86
}
5f9889daf662 style for preferences
Katia Saurfelt <katia.saurfelt@logilab.fr>
parents: 0
diff changeset
    87
5819
1017163825c7 [css] more css rework, need visual test in compat/new modes
katia
parents: 5767
diff changeset
    88
.helper {
1611
5f9889daf662 style for preferences
Katia Saurfelt <katia.saurfelt@logilab.fr>
parents: 0
diff changeset
    89
  font-size: 96%;
5819
1017163825c7 [css] more css rework, need visual test in compat/new modes
katia
parents: 5767
diff changeset
    90
  color: %(helperColor)s;
1017163825c7 [css] more css rework, need visual test in compat/new modes
katia
parents: 5767
diff changeset
    91
  padding: 0;
1611
5f9889daf662 style for preferences
Katia Saurfelt <katia.saurfelt@logilab.fr>
parents: 0
diff changeset
    92
}
5f9889daf662 style for preferences
Katia Saurfelt <katia.saurfelt@logilab.fr>
parents: 0
diff changeset
    93
5f9889daf662 style for preferences
Katia Saurfelt <katia.saurfelt@logilab.fr>
parents: 0
diff changeset
    94
div.prefinput .helper:hover {
5f9889daf662 style for preferences
Katia Saurfelt <katia.saurfelt@logilab.fr>
parents: 0
diff changeset
    95
  color: #000;
5f9889daf662 style for preferences
Katia Saurfelt <katia.saurfelt@logilab.fr>
parents: 0
diff changeset
    96
  cursor: default;
5f9889daf662 style for preferences
Katia Saurfelt <katia.saurfelt@logilab.fr>
parents: 0
diff changeset
    97
}
5f9889daf662 style for preferences
Katia Saurfelt <katia.saurfelt@logilab.fr>
parents: 0
diff changeset
    98
5819
1017163825c7 [css] more css rework, need visual test in compat/new modes
katia
parents: 5767
diff changeset
    99
div.openlink {
1017163825c7 [css] more css rework, need visual test in compat/new modes
katia
parents: 5767
diff changeset
   100
  display: inline;
1865
62d3726ad8cb restore ajax validation cwpreferencies
Katia Saurfelt <katia.saurfelt@logilab.fr>
parents: 1611
diff changeset
   101
 }