# HG changeset patch # User Pawel Solyga # Date 1236559416 0 # Node ID 2d3bcf1a17e39de3e28b7006b06de7cb8659f671 # Parent 7596a1d31723b2a3a353dad92f997bcf77384849 Move all the jquery-purr css settings into separate file and add it to base.html template only if needed. Patch by: Pawel Solyga Reviewed by: to-be-reviewed diff -r 7596a1d31723 -r 2d3bcf1a17e3 app/soc/content/css/jquery-purr-090308.css --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/app/soc/content/css/jquery-purr-090308.css Mon Mar 09 00:43:36 2009 +0000 @@ -0,0 +1,52 @@ +/* jquery purr */ + +#purr-container { + position:fixed; + bottom:0; + right:0; +} + +.tooltip { + position: relative; + width: 300px; +} + +.tooltip .close { + position: absolute; + top: 12px; + right: 12px; + display: block; + width: 18px; + height: 17px; + text-indent: -9999px; + background: url('/soc/content/images/purrClose.png') no-repeat 0 10px; +} + +.tooltip-body { + min-height: 50px; + padding: 22px 22px 0 22px; + background: url('/soc/content/images/purrTop.png') no-repeat left top; + color: #f9f9f9; +} + +.tooltip-body img { + width: 50px; + margin: 0 10px 0 0; + float: left; +} + +.tooltip-body h3 { + margin: 0; + font-size: 1.1em; +} + +.tooltip-body p { + margin: 5px 0 0 60px; + font-size: 0.8em; + line-height: 1.4em; +} + +.tooltip-bottom { + height: 22px; + background: url('/soc/content/images/purrBottom.png') no-repeat left top; +} \ No newline at end of file diff -r 7596a1d31723 -r 2d3bcf1a17e3 app/soc/content/css/soc-090120.css --- a/app/soc/content/css/soc-090120.css Mon Mar 09 00:42:08 2009 +0000 +++ b/app/soc/content/css/soc-090120.css Mon Mar 09 00:43:36 2009 +0000 @@ -242,45 +242,6 @@ padding: 3px; } -/* TOOLTIPS */ - -#purr-container { - position:fixed; - bottom:0; - right:0; -} - -.tooltip { - position: relative; - width: 300px; -} - -.tooltip .close { - position: absolute; - top: 12px; - right: 12px; - display: block; - width: 18px; - height: 17px; - text-indent: -9999px; - background: url('/soc/content/images/purrClose.png') no-repeat 0 10px; -} -.tooltip-body { - min-height: 50px; - padding: 22px 22px 0 22px; - background: url('/soc/content/images/purrTop.png') no-repeat left top; - color: #f9f9f9; -} -.tooltip-body img {width: 50px; margin: 0 10px 0 0; float: left;} -.tooltip-body h3 {margin: 0; font-size: 1.1em;} -.tooltip-body p {margin: 5px 0 0 60px; font-size: 0.8em; line-height: 1.4em;} - -.tooltip-bottom { - height: 22px; - background: url('/soc/content/images/purrBottom.png') no-repeat left top; -} - - #logo { padding-right: 18px; position: absolute; diff -r 7596a1d31723 -r 2d3bcf1a17e3 app/soc/templates/soc/base.html --- a/app/soc/templates/soc/base.html Mon Mar 09 00:42:08 2009 +0000 +++ b/app/soc/templates/soc/base.html Mon Mar 09 00:43:36 2009 +0000 @@ -23,6 +23,9 @@ {% if uses_jq_thickbox %} {% endif %} + {% if uses_jq_purr %} + + {% endif %} {% if uses_jq_datetimepicker %} {% endif %}