Add some color in error messages + img for hints

This commit is contained in:
Brice Maron 2011-10-16 13:12:11 +02:00
parent c383543ec9
commit 5d09a5e37e
3 changed files with 106 additions and 2 deletions

View File

@ -121,5 +121,6 @@ div.jp-play-bar, div.jp-seek-bar { padding:0; }
.pager { list-style:none; float:right; display:inline; margin:.7em 13em 0 0; }
.pager li { display:inline-block; }
li.error { width:640px; margin:4em auto; padding:1em 1em 1em 4em; background:#ffe .8em .8em no-repeat; border:1px solid #ccc; -moz-border-radius:10px; -webkit-border-radius:10px; border-radius:10px; }
li.error { width:640px; margin:4em auto; padding:1em 1em 1em 4em; background:#ffe .8em .8em no-repeat; color: #FF3B3B; border:1px solid #ccc; -moz-border-radius:10px; -webkit-border-radius:10px; border-radius:10px; }
.ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default { overflow: hidden; text-overflow: ellipsis; }
.hint { background-image: url('/core/img/actions/info.png'); background-repeat:no-repeat; color: #777777; padding-left: 25px; background-position: 0 0.3em;}

BIN
core/img/actions/info.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 483 B

103
core/img/actions/info.svg Normal file
View File

@ -0,0 +1,103 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="16px"
height="16px"
id="svg3281"
version="1.1"
inkscape:version="0.48.2 r9819"
sodipodi:docname="info.svg"
inkscape:export-filename="/home/emerzh/Documents/img/actions/info.png"
inkscape:export-xdpi="250.02"
inkscape:export-ydpi="250.02">
<defs
id="defs3283">
<linearGradient
id="linearGradient4567">
<stop
style="stop-color:#000000;stop-opacity:1;"
offset="0"
id="stop4569" />
<stop
id="stop4575"
offset="1"
style="stop-color:#363636;stop-opacity:1;" />
</linearGradient>
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient4567"
id="linearGradient4573"
x1="-0.2628715"
y1="6.7423267"
x2="14.00297"
y2="6.7423267"
gradientUnits="userSpaceOnUse" />
</defs>
<sodipodi:namedview
id="base"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="16.28125"
inkscape:cx="10.49929"
inkscape:cy="9.3022797"
inkscape:current-layer="layer1"
showgrid="true"
inkscape:grid-bbox="true"
inkscape:document-units="px"
inkscape:window-width="1920"
inkscape:window-height="1018"
inkscape:window-x="-5"
inkscape:window-y="-10"
inkscape:window-maximized="1" />
<metadata
id="metadata3286">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title></dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<g
id="layer1"
inkscape:label="Layer 1"
inkscape:groupmode="layer">
<path
sodipodi:type="arc"
style="fill:url(#linearGradient4573);fill-opacity:1;stroke:none;opacity:0.7"
id="path4057"
sodipodi:cx="6.8700495"
sodipodi:cy="6.7423267"
sodipodi:rx="4.9329209"
sodipodi:ry="4.9329209"
d="m 11.80297,6.7423267 a 4.9329209,4.9329209 0 1 1 -9.8658415,0 4.9329209,4.9329209 0 1 1 9.8658415,0 z"
transform="matrix(1.5203974,0,0,1.5203974,-2.4452051,-2.2510159)" />
<text
xml:space="preserve"
style="font-size:15.25139999px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans"
x="5.9410372"
y="13.850288"
id="text4577"
sodipodi:linespacing="125%"><tspan
sodipodi:role="line"
id="tspan4579"
x="5.9410372"
y="13.850288"
style="font-size:15.25139999px;fill:#ffffff;fill-opacity:1">i</tspan></text>
</g>
</svg>

After

Width:  |  Height:  |  Size: 3.2 KiB