[ckan-changes] commit/ckan: 2 new changesets

Bitbucket commits-noreply at bitbucket.org
Sat Sep 17 15:51:30 UTC 2011


2 new changesets in ckan:

http://bitbucket.org/okfn/ckan/changeset/81ff13b42dad/
changeset:   81ff13b42dad
branch:      feature-1348-ux-tweaks
user:        zephod
date:        2011-09-17 17:19:41
summary:     [ux,dataset/edit][m]: Updated the look of 'Add a resource' div.
affected #:  2 files (-1 bytes)

--- a/ckan/public/css/style.css	Sat Sep 17 15:09:39 2011 +0100
+++ b/ckan/public/css/style.css	Sat Sep 17 16:19:41 2011 +0100
@@ -833,6 +833,22 @@
   float: right;
 }
 
+div.resource-add {
+  background: #eee;
+  padding-top: 10px;
+  padding-bottom: 5px;
+  border: 1px solid #e0e0e0;
+  border-left: none;
+  border-right: none;
+}
+div.resource-add li h4 {
+  display: inline;
+  padding-right: 20px;
+}
+div.resource-add-subpane {
+  margin-top: 10px;
+}
+
 /* ==================== */
 /* = Add Dataset Page = */
 /* ==================== */
@@ -911,11 +927,15 @@
 ul.tabs li a {
   display: inline-block;
   padding: 2px 8px;
+  margin-right: 10px;
   font-size: 10px;
   font-weight: bold;
   text-decoration: none;
   color: #666;
-  border: 1px solid transparent;
+  border: 1px solid #DDD;
+  border-color: #DDD;
+  border-right-color: #BBB;
+  border-bottom-color: #BBB;
   -webkit-border-radius: 10px;
   -moz-border-radius: 10px;
   border-top-left-radius: 10px 10px;


--- a/ckan/templates/package/new_package_form.html	Sat Sep 17 15:09:39 2011 +0100
+++ b/ckan/templates/package/new_package_form.html	Sat Sep 17 16:19:41 2011 +0100
@@ -151,12 +151,11 @@
 
   <div class="resource-add"><ul class="tabs">
-      <li>Add a resource:</li>
+      <li><h4>Add a resource:</h4></li><li><a href="#" action="upload-file" class="action-resource-tab">Upload a file</a></li><li><a href="#" action="link-file" class="action-resource-tab">Link to a file</a></li><li><a href="#" action="link-api" class="action-resource-tab">Link to an API</a></li></ul>
-    <div class="resource-add-form"></div></div></fieldset>
 


http://bitbucket.org/okfn/ckan/changeset/03904fc50cbf/
changeset:   03904fc50cbf
branch:      feature-1348-ux-tweaks
user:        zephod
date:        2011-09-17 17:51:19
summary:     [ux,dataset/edit][s]: CSS hackery to move navigation tabs to left hand side on edit page.
affected #:  1 file (-1 bytes)

--- a/ckan/public/css/style.css	Sat Sep 17 16:19:41 2011 +0100
+++ b/ckan/public/css/style.css	Sat Sep 17 16:51:19 2011 +0100
@@ -728,11 +728,23 @@
   display: none;
 }
 
-body.edit.package div#content {
+body.package.edit div#content {
+  margin-right: 9px;
+  margin-left: 0px;
+  float: right;
+  padding-right: 0;
+  padding-left: 40px;
+  border: none;
+  border-left: 1px solid #eee;
+}
+body.package.edit div#sidebar {
+  padding-left: 0px;
+  float: left;
   margin-right: 0px;
 }
-body.edit.package div#sidebar {
-  padding-left: 0px;
+body.package.edit ul.widget-list {
+  margin-left: 1.5em;
+  margin-right: 0;
 }
 ul.edit-form-navigation {
   list-style-type: none;
@@ -758,16 +770,13 @@
   background-image:         linear-gradient(top, #f0f0f0, #e2e2e2);
             filter: progid:DXImageTransform.Microsoft.gradient(startColorStr='#f0f0f0', EndColorStr='#e2e2e2');
 
-  border-left: none;
-     -moz-border-radius: 5px; 
-  -webkit-border-radius: 5px; 
-          border-radius: 5px; 
-     -moz-border-bottom-left-radius: 0px; 
-  -webkit-border-bottom-left-radius: 0px; 
-          border-bottom-left-radius: 0px; 
-     -moz-border-top-left-radius: 0px; 
-  -webkit-border-top-left-radius: 0px; 
-          border-top-left-radius: 0px; 
+  border-right: none;
+     -moz-border-radius-bottomleft: 5px; 
+  -webkit-border-bottom-left-radius: 5px; 
+          border-bottom-left-radius: 5px; 
+     -moz-border-radius-topleft: 5px; 
+  -webkit-border-top-left-radius: 5px; 
+          border-top-left-radius: 5px; 
 
   -moz-background-clip: padding; -webkit-background-clip: padding-box; background-clip: padding-box; 
 }
@@ -849,6 +858,7 @@
   margin-top: 10px;
 }
 
+
 /* ==================== */
 /* = Add Dataset Page = */
 /* ==================== */

Repository URL: https://bitbucket.org/okfn/ckan/

--

This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.




More information about the ckan-changes mailing list