summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/jetpack/modules/widgets/eu-cookie-law/style.css')
-rw-r--r--plugins/jetpack/modules/widgets/eu-cookie-law/style.css19
1 files changed, 18 insertions, 1 deletions
diff --git a/plugins/jetpack/modules/widgets/eu-cookie-law/style.css b/plugins/jetpack/modules/widgets/eu-cookie-law/style.css
index b97f306d..c1e2520f 100644
--- a/plugins/jetpack/modules/widgets/eu-cookie-law/style.css
+++ b/plugins/jetpack/modules/widgets/eu-cookie-law/style.css
@@ -1,4 +1,4 @@
-.widget_eu_cookie_law_widget.widget {
+.widget_eu_cookie_law_widget {
border: none;
bottom: 1em;
display: none;
@@ -11,6 +11,15 @@
z-index: 50001;
}
+.widget_eu_cookie_law_widget.widget.top {
+ bottom: auto;
+ top: 1em;
+}
+
+.admin-bar .widget_eu_cookie_law_widget.widget.top {
+ top: 3em;
+}
+
#eu-cookie-law {
background-color: #fff;
border: 1px solid #dedede;
@@ -42,6 +51,14 @@
}
/**
+ * Using a highly-specific rule to make sure that certain form styles
+ * will be reset
+ */
+#eu-cookie-law form {
+ margin-bottom: 0;
+}
+
+/**
* Using a highly-specific rule to make sure that all button styles
* will be reset
*/