From 51ec3e7532e1af0368f955a313739a7eb49ce4d7 Mon Sep 17 00:00:00 2001
From: Jesse Beach <splendidnoise@gmail.com>
Date: Thu, 24 Mar 2011 23:44:08 -0400
Subject: [PATCH] http://drupal.org/node/1103412

---
 css/views-admin.bartik-rtl.css |    5 +
 css/views-admin.bartik.css     |  214 ++++++++++++++++++++++++++++++++++++++++
 css/views-admin.ctools.css     |    4 +
 css/views-admin.seven.css      |    8 ++
 css/views-admin.theme.css      |   10 +--
 5 files changed, 233 insertions(+), 8 deletions(-)
 create mode 100644 css/views-admin.bartik-rtl.css
 create mode 100644 css/views-admin.bartik.css

diff --git a/css/views-admin.bartik-rtl.css b/css/views-admin.bartik-rtl.css
new file mode 100644
index 0000000..0402f26
--- /dev/null
+++ b/css/views-admin.bartik-rtl.css
@@ -0,0 +1,5 @@
+/**
+ * The .bartik.css file is intended to contain styles that override declarations
+ * in the Bartik theme.
+ */
+ 
\ No newline at end of file
diff --git a/css/views-admin.bartik.css b/css/views-admin.bartik.css
new file mode 100644
index 0000000..9986830
--- /dev/null
+++ b/css/views-admin.bartik.css
@@ -0,0 +1,214 @@
+/**
+ * The .bartik.css file is intended to contain styles that override declarations
+ * in the Bartik theme.
+ */
+ 
+/* @group Attachment details tabs
+ *
+ * The tabs that switch between sections
+ */
+
+.views-displays .region-content .secondary, 
+.views-displays .region-content .secondary {
+  padding-bottom: 0;
+  padding-left: 0;
+}
+
+.views-displays .secondary a {
+  font-size: smaller;
+}
+
+.views-displays .secondary > li a {
+  -moz-border-radius: 5px;
+  -webkit-border-radius: 5px;
+  border-radius: 5px;
+}
+
+.views-displays .secondary > li.open a { 
+  -moz-border-radius: 5px 5px 0 0;
+  -webkit-border-bottom-left-radius: 0;
+  -webkit-border-bottom-right-radius: 0;
+  -webkit-border-top-left-radius: 5px;
+  -webkit-border-top-right-radius: 5px;
+  border-radius: 5px 5px 0 0;
+}
+
+.views-displays .secondary .open > a:hover {
+  color: #0071B3;
+}
+
+.views-displays .secondary input.form-submit {
+  font-size: smaller;
+}
+
+/* @end */
+
+/* @group Modal dialog box
+ *
+ * The contents of the popup dialog on the views edit form.
+ */
+ 
+.views-filterable-options .even .form-type-checkbox {
+  background-color: #F9F9F9;
+}
+
+.views-ui-dialog .ui-dialog-titlebar-close,
+.views-ui-dialog #views-ajax-title,
+.views-ui-dialog .views-override,
+.views-ui-dialog .form-buttons {
+  background-color: #f6f6f6;
+}
+
+/* @end */
+
+/* @group CTools */
+
+/* @group Buttons */
+
+.ctools-button {
+  background-image:
+    -moz-linear-gradient(
+      -90deg,
+      #ffffff 0px,
+      #f9f9f9 100%);
+  background-image:
+    -webkit-gradient(
+      linear,
+      left top,
+      left bottom,
+      color-stop(0.0, rgba(255, 255, 255, 1.0)),
+      color-stop(1.0, rgba(249, 249, 249, 1.0))
+    );
+  background-image:
+    -webkit-linear-gradient(
+      -90deg,
+      #ffffff 0px,
+      #f9f9f9 100%);
+  background-image:
+    linear-gradient(
+      -90deg,
+      #ffffff 0px,
+      #f9f9f9 100%);
+  -moz-border-radius: 5px;
+  -webkit-border-radius: 5px;
+  border-radius: 5px;
+  padding-bottom: 1px;
+  padding-top: 1px;
+}
+
+.ctools-button:hover {
+  background-image:
+    -moz-linear-gradient(
+      -90deg,
+      #ffffff 0px,
+      #f1f1f1 100%);
+  background-image:
+    -webkit-gradient(
+      linear,
+      left top,
+      left bottom,
+      color-stop(0.0, rgba(255, 255, 255, 1.0)),
+      color-stop(1.0, rgba(241, 241, 241, 1.0))
+    );
+  background-image:
+    -webkit-linear-gradient(
+      -90deg,
+      #ffffff 0px,
+      #f1f1f1 100%);
+  background-image:
+    linear-gradient(
+      -90deg,
+      #ffffff 0px,
+      #f1f1f1 100%);
+}
+
+.ctools-button li {
+  padding-left: 9px;
+  padding-right: 9px;
+}
+
+.ctools-content ul.actions {
+  padding-bottom: 0;
+}
+
+.ctools-dropbutton.open:hover {
+  background-image:
+    -moz-linear-gradient(
+      -90deg,
+      #ffffff 0px,
+      #f9f9f9 100%);
+  background-image:
+    -webkit-gradient(
+      linear,
+      left top,
+      left bottom,
+      color-stop(0.0, rgba(255, 255, 255, 1.0)),
+      color-stop(1.0, rgba(249, 249, 249, 1.0))
+    );
+  background-image:
+    -webkit-linear-gradient(
+      -90deg,
+      #ffffff 0px,
+      #f9f9f9 100%);
+  background-image:
+    linear-gradient(
+      -90deg,
+      #ffffff 0px,
+      #f9f9f9 100%);
+}
+
+.ctools-dropbutton.open {
+  -moz-box-shadow: 1px 1px 2px rgba(0,0,0,0.25);
+  -webkit-box-shadow: 1px 1px 2px rgba(0,0,0,0.25);
+  box-shadow: 1px 1px 2px rgba(0,0,0,0.25);
+}
+
+.ctools-twisty {
+  top: 0.6667em;
+}
+
+.ctools-dropbutton.open .ctools-twisty {
+  top: 0.3333em;
+}
+
+.ctools-dropbutton li {
+  padding-right: 7px;
+}
+
+.views-ui-display-tab-actions .ctools-button input.form-submit {
+  margin-right: 0;
+  margin-top: 0;
+}
+
+/* @end */
+
+/* @group Collapsible */
+
+.ctools-toggle {
+  margin-top: 0.9em;
+}
+
+.ctools-toggle.ctools-toggle-collapsed {
+  margin-top: 0.72em;
+}
+
+.views-display-column > .ctools-toggle {
+  margin-top: 14px;
+}
+
+.views-display-column > .ctools-toggle.ctools-toggle-collapsed {
+  margin-top: 12px;
+}
+
+.views-ui-display-tab-actions .ctools-button input {
+  color: #0071B3;
+}
+
+.views-ui-display-tab-actions .ctools-button input:hover,
+.views-ui-display-tab-actions .ctools-button input:focus {
+  color: #018FE2;
+}
+
+/* @end */
+
+/* @end */
\ No newline at end of file
diff --git a/css/views-admin.ctools.css b/css/views-admin.ctools.css
index 094ede6..5aca45f 100644
--- a/css/views-admin.ctools.css
+++ b/css/views-admin.ctools.css
@@ -102,6 +102,10 @@
   margin-bottom: 0;
 }
 
+.views-ui-display-tab-actions .ctools-button input:hover {
+  background: none;
+}
+
 /* @end */
 
 /* @group Collapsible */
diff --git a/css/views-admin.seven.css b/css/views-admin.seven.css
index 8cbc8e1..186c618 100644
--- a/css/views-admin.seven.css
+++ b/css/views-admin.seven.css
@@ -370,6 +370,14 @@ table th {
   top: -1px;
 }
 
+.views-ui-dialog fieldset.collapsible {
+  padding-top: 1.5em;
+}
+
+.views-ui-dialog fieldset.collapsed {
+  padding-top: 2.5em;
+}
+
 .filterable-option .form-item.form-type-checkbox {
   /* This selector is aggressive because Seven's reset for .form-items is aggressive. */
   padding-bottom: 4px;
diff --git a/css/views-admin.theme.css b/css/views-admin.theme.css
index 6a082b5..b5af3af 100644
--- a/css/views-admin.theme.css
+++ b/css/views-admin.theme.css
@@ -438,6 +438,7 @@ td.group-title {
 .views-displays .secondary a {
   border: 1px solid #cbcbcb;
   display: inline-block;
+  font-size: small;
   line-height: 1.3333;
   padding: 3px 7px;
 }
@@ -486,6 +487,7 @@ td.group-title {
 .views-displays .secondary .action-list input.form-submit {
   background: none repeat scroll 0 0 transparent;
   border: medium none;
+  margin: 0;
   padding: 0;
 }
 
@@ -754,14 +756,6 @@ td.group-title {
   display: none;
 }
 
-.views-ui-dialog fieldset.collapsible {
-  padding-top: 1.5em;
-}
-
-.views-ui-dialog fieldset.collapsed {
-  padding-top: 2.5em;
-}
-
 .views-filterable-options .form-type-checkbox {
   border: 1px solid #CCC;
   padding: 5px 8px;
-- 
1.7.3.4

