[marinemap] push by perrygeo...@gmail.com - Add create new icon for userkml css on 2011-12-02 21:03 GMT

1 view
Skip to first unread message

mari...@googlecode.com

unread,
Dec 2, 2011, 4:03:19 PM12/2/11
to marinema...@googlegroups.com
Revision: 2700a42eeef9
Author: Matthew Perry <mpe...@ecotrust.org>
Date: Fri Dec 2 13:03:00 2011
Log: Add create new icon for userkml css
http://code.google.com/p/marinemap/source/detail?r=2700a42eeef9

Modified:
/lingcod/features/models.py
/lingcod/layers/models.py

=======================================
--- /lingcod/features/models.py Fri Dec 2 09:41:24 2011
+++ /lingcod/features/models.py Fri Dec 2 13:03:00 2011
@@ -105,6 +105,7 @@
padding-left: 22px;
position: relative;
left: -22px;
+ height: 16px;
} """ % (klass.model_uid(), url, klass.model_uid(), url)

@property
=======================================
--- /lingcod/layers/models.py Mon Jun 13 13:15:50 2011
+++ /lingcod/layers/models.py Fri Dec 2 13:03:00 2011
@@ -40,7 +40,15 @@
def css(klass):
return """ li.%s > .icon {
background: url('%scommon/images/kml_document_icon.png') no-repeat
0 0 ! important;
- } """ % (klass.model_uid(), settings.MEDIA_URL)
+ }
+ div.%s > .goog-menuitem-content {
+ background: url('%scommon/images/kml_document_icon.png') no-repeat 0
0 ! important;
+ display: block !important;
+ left: -22px;
+ padding-left: 22px;
+ position: relative;
+ height: 16px;
+ }""" % (klass.model_uid(), settings.MEDIA_URL, klass.model_uid(),
settings.MEDIA_URL)

@property
def kml_style(self):

Reply all
Reply to author
Forward
0 new messages