web/data/cubicweb.iprogress.css
author Sylvain Thénault <sylvain.thenault@logilab.fr>
Fri, 19 Apr 2013 16:25:45 +0200
branchstable
changeset 8914 e80dfffc2c2a
parent 8138 86da196640ae
permissions -rw-r--r--
[facet js] fix reordering of facet check boxes. Closes #2732947 Before this patch, when one select an element, it's moved to the top of the select content. Fine. But when it's later deselected, it stays there instead of moving back to its original location. This patch fixes that by introducing a facetCheckBoxReorder function which properly reorder the whole facet, instead of buggy attempt to locally reorder.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
0
b97547f5f1fa Showtime !
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
diff changeset
     1
/*
b97547f5f1fa Showtime !
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
diff changeset
     2
 *  :organization: Logilab
4347
af7b256bf2d5 fix copyright
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 4211
diff changeset
     3
 *  :copyright: 2003-2010 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
0
b97547f5f1fa Showtime !
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
diff changeset
     4
 *  :contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
b97547f5f1fa Showtime !
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
diff changeset
     5
 */
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
/******************************************************************************/
b97547f5f1fa Showtime !
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
diff changeset
     8
/* progressbar                                                                */
b97547f5f1fa Showtime !
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
diff changeset
     9
/******************************************************************************/
b97547f5f1fa Showtime !
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
diff changeset
    10
5819
1017163825c7 [css] more css rework, need visual test in compat/new modes
katia
parents: 4348
diff changeset
    11
.done { background:red }
0
b97547f5f1fa Showtime !
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
diff changeset
    12
5819
1017163825c7 [css] more css rework, need visual test in compat/new modes
katia
parents: 4348
diff changeset
    13
.inprogress { background:green }
0
b97547f5f1fa Showtime !
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
diff changeset
    14
5819
1017163825c7 [css] more css rework, need visual test in compat/new modes
katia
parents: 4348
diff changeset
    15
.overpassed { background: yellow}
0
b97547f5f1fa Showtime !
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
diff changeset
    16
b97547f5f1fa Showtime !
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
diff changeset
    17
4211
eac4b23a42ff [views] backport progressbar template from shingouz
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents: 0
diff changeset
    18
canvas.progressbar {
eac4b23a42ff [views] backport progressbar template from shingouz
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents: 0
diff changeset
    19
  border:1px solid black;
0
b97547f5f1fa Showtime !
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
diff changeset
    20
}
b97547f5f1fa Showtime !
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
diff changeset
    21
b97547f5f1fa Showtime !
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
diff changeset
    22
.progressbarback {
5819
1017163825c7 [css] more css rework, need visual test in compat/new modes
katia
parents: 4348
diff changeset
    23
  border: 1px solid #000000;
1017163825c7 [css] more css rework, need visual test in compat/new modes
katia
parents: 4348
diff changeset
    24
  background: transparent;
1017163825c7 [css] more css rework, need visual test in compat/new modes
katia
parents: 4348
diff changeset
    25
  height: 10px;
1017163825c7 [css] more css rework, need visual test in compat/new modes
katia
parents: 4348
diff changeset
    26
  width: 100px;
0
b97547f5f1fa Showtime !
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
diff changeset
    27
}
b97547f5f1fa Showtime !
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
diff changeset
    28
b97547f5f1fa Showtime !
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
diff changeset
    29
/******************************************************************************/
b97547f5f1fa Showtime !
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
diff changeset
    30
/* progress table                                                             */
b97547f5f1fa Showtime !
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
diff changeset
    31
/******************************************************************************/
b97547f5f1fa Showtime !
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
diff changeset
    32
5819
1017163825c7 [css] more css rework, need visual test in compat/new modes
katia
parents: 4348
diff changeset
    33
table.progress {
0
b97547f5f1fa Showtime !
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
diff changeset
    34
 /* The default table view */
5819
1017163825c7 [css] more css rework, need visual test in compat/new modes
katia
parents: 4348
diff changeset
    35
  margin: 10px 0px 1em;
1017163825c7 [css] more css rework, need visual test in compat/new modes
katia
parents: 4348
diff changeset
    36
  width: 100%;
1017163825c7 [css] more css rework, need visual test in compat/new modes
katia
parents: 4348
diff changeset
    37
  font-size: 0.9167em;
0
b97547f5f1fa Showtime !
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
diff changeset
    38
}
b97547f5f1fa Showtime !
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
diff changeset
    39
5819
1017163825c7 [css] more css rework, need visual test in compat/new modes
katia
parents: 4348
diff changeset
    40
table.progress th {
1017163825c7 [css] more css rework, need visual test in compat/new modes
katia
parents: 4348
diff changeset
    41
  white-space: nowrap;
1017163825c7 [css] more css rework, need visual test in compat/new modes
katia
parents: 4348
diff changeset
    42
  font-weight: bold;
1017163825c7 [css] more css rework, need visual test in compat/new modes
katia
parents: 4348
diff changeset
    43
  background: %(listingHeaderBgColor)s;
1017163825c7 [css] more css rework, need visual test in compat/new modes
katia
parents: 4348
diff changeset
    44
  padding: 2px 4px;
1017163825c7 [css] more css rework, need visual test in compat/new modes
katia
parents: 4348
diff changeset
    45
  font-size:8pt;
0
b97547f5f1fa Showtime !
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
diff changeset
    46
}
b97547f5f1fa Showtime !
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
diff changeset
    47
b97547f5f1fa Showtime !
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
diff changeset
    48
table.progress th,
5819
1017163825c7 [css] more css rework, need visual test in compat/new modes
katia
parents: 4348
diff changeset
    49
table.progress td {
1017163825c7 [css] more css rework, need visual test in compat/new modes
katia
parents: 4348
diff changeset
    50
  border: 1px solid %(listingBorderColor)s;
0
b97547f5f1fa Showtime !
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
diff changeset
    51
}
b97547f5f1fa Showtime !
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
diff changeset
    52
5819
1017163825c7 [css] more css rework, need visual test in compat/new modes
katia
parents: 4348
diff changeset
    53
table.progress td {
1017163825c7 [css] more css rework, need visual test in compat/new modes
katia
parents: 4348
diff changeset
    54
  text-align: right;
1017163825c7 [css] more css rework, need visual test in compat/new modes
katia
parents: 4348
diff changeset
    55
  padding: 2px 3px;
0
b97547f5f1fa Showtime !
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
diff changeset
    56
}
b97547f5f1fa Showtime !
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
diff changeset
    57
b97547f5f1fa Showtime !
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
diff changeset
    58
table.progress th.tdleft,
5819
1017163825c7 [css] more css rework, need visual test in compat/new modes
katia
parents: 4348
diff changeset
    59
table.progress td.tdleft {
1017163825c7 [css] more css rework, need visual test in compat/new modes
katia
parents: 4348
diff changeset
    60
  text-align: left;
1017163825c7 [css] more css rework, need visual test in compat/new modes
katia
parents: 4348
diff changeset
    61
  padding: 2px 3px 2px 5px;
0
b97547f5f1fa Showtime !
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
diff changeset
    62
}
b97547f5f1fa Showtime !
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
diff changeset
    63
5819
1017163825c7 [css] more css rework, need visual test in compat/new modes
katia
parents: 4348
diff changeset
    64
table.progress tr.highlighted {
8138
86da196640ae [css] fix typo in uiprops/css
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 5819
diff changeset
    65
  background-color: %(listingHighlightedBgColor)s;
0
b97547f5f1fa Showtime !
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
diff changeset
    66
}
b97547f5f1fa Showtime !
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
diff changeset
    67
b97547f5f1fa Showtime !
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
diff changeset
    68
table.progress tr.highlighted .progressbarback {
8138
86da196640ae [css] fix typo in uiprops/css
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 5819
diff changeset
    69
  border: 1px solid %(listingHighlightedBgColor)s;
0
b97547f5f1fa Showtime !
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
diff changeset
    70
}
b97547f5f1fa Showtime !
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
diff changeset
    71
b97547f5f1fa Showtime !
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
diff changeset
    72
table.progress .progressbarback {
5819
1017163825c7 [css] more css rework, need visual test in compat/new modes
katia
parents: 4348
diff changeset
    73
  border: 1px solid #777;
0
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
5819
1017163825c7 [css] more css rework, need visual test in compat/new modes
katia
parents: 4348
diff changeset
    76
.progress_data {
1017163825c7 [css] more css rework, need visual test in compat/new modes
katia
parents: 4348
diff changeset
    77
  padding-right: 3px;
1017163825c7 [css] more css rework, need visual test in compat/new modes
katia
parents: 4348
diff changeset
    78
}