Paul Tagliamonte has proposed merging lp:~paultag/loco-directory/bug-612089 
into lp:loco-directory.

Requested reviews:
  loco-directory-dev (loco-directory-dev)
Related bugs:
  #612089 Add a style box around confirmation messages
  https://bugs.launchpad.net/bugs/612089


CSS Changes for Notifications / Messages, Closes LP#612089

-- 
https://code.launchpad.net/~paultag/loco-directory/bug-612089/+merge/33017
Your team loco-directory-dev is requested to review the proposed merge of 
lp:~paultag/loco-directory/bug-612089 into lp:loco-directory.
=== modified file 'loco_directory/media/css/newstyle.css'
--- loco_directory/media/css/newstyle.css	2010-08-17 01:55:04 +0000
+++ loco_directory/media/css/newstyle.css	2010-08-18 15:05:56 +0000
@@ -142,6 +142,31 @@
 .team-event-nav li {
   list-style: none;
   margin: -1px 2px 0 3px;
-  padding: 0pxpx;
+  padding: 0px;
   display: inline; 
 }
+
+.message .content-shim {
+	margin:                      5px; /* buffer the bulb in */
+	padding:                     5px; /* un-suck the text */
+        background-repeat:           no-repeat;
+        background-image:            url(../img/infobox-icon.png);
+	padding-left:                30px; /* infobox icon is 22x22 */
+}
+
+.message {
+	width:                       70%;
+	margin-left:                 auto;
+	margin-right:                auto;
+	background-color:            #FFFFB6;
+	border-radius:               8px;
+	box-shadow:                  0px 1px 1px #FFE4B6;
+}
+
+.message { /* noncss 3. XXX: remove me in 20 years. */
+	-webkit-border-radius:       8px;
+	-moz-border-radius:          8px;
+	-moz-box-shadow:             0px 1px 1px #FFE4B6;
+	-webkit-box-shadow:          0px 1px 1px #FFE4B6;
+}
+

=== added file 'loco_directory/media/img/infobox-icon.png'
Binary files loco_directory/media/img/infobox-icon.png	1970-01-01 00:00:00 +0000 and loco_directory/media/img/infobox-icon.png	2010-08-18 15:05:56 +0000 differ
=== modified file 'loco_directory/templates/base.html'
--- loco_directory/templates/base.html	2010-08-17 00:44:41 +0000
+++ loco_directory/templates/base.html	2010-08-18 15:05:56 +0000
@@ -27,7 +27,7 @@
 {% block messages %}
 	{% if messages %}
 	  {% for message in messages %}
-	    <p>{{ message }}</p>
+	    <div class = 'message' ><div class = 'content-shim' >{{ message }}</div></div>
 	  {% endfor %}
 	{% endif %}
 {% endblock %}

_______________________________________________
Mailing list: https://launchpad.net/~loco-directory-dev
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~loco-directory-dev
More help   : https://help.launchpad.net/ListHelp

Reply via email to