[label] Display the required image immediately after the label (closes #3729267)

authorKatia Saurfelt <katia.saurfelt@logilab.fr>
changeset208f387cf2f1
branchstable
phasepublic
hiddenno
parent revision#fb3edec9b79b [forms] merge autforms.py into forms.py
child revision#b3a9748a7e95 [reledit] Prevent reledit icon hovering from moving (related to #3702676)
files modified by this revision
data/cubes.bootstrap.css
# HG changeset patch
# User Katia Saurfelt <katia.saurfelt@logilab.fr>
# Date 1397036152 -7200
# Wed Apr 09 11:35:52 2014 +0200
# Branch stable
# Node ID 208f387cf2f1a02d96a44680ab362f3062a25038
# Parent fb3edec9b79b8159c069478362cbeddfd995562b
[label] Display the required image immediately after the label (closes #3729267)

diff --git a/data/cubes.bootstrap.css b/data/cubes.bootstrap.css
@@ -211,13 +211,14 @@
1 
2  iframe {
3    border: 0;
4  }
5 
6 -label.required {
7 +label.required:after {
8 +  content: "";
9    background: url("required.png") 100% 50% no-repeat;
10 -  padding-right: 8px;
11 +  padding-right: 0.8em;
12  }
13 
14 
15  /* RELEDIT FORM /
16  /*----------------------------------- */